> For the complete documentation index, see [llms.txt](https://blog.gooey.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://blog.gooey.ai/how-to-use-gooey.ai-with-google-colab.md).

# How to Use Gooey.AI with Google Colab

We had a customer in a workshop today ask us: I want the following

1. Take a Google query
2. Summarize the results
3. Make an image prompt and generate the picture

Here's the Google Colab that does just that (you'll need to swap out the GooeyAI API key to run it):

{% embed url="<https://colab.research.google.com/drive/1DZFnwTozvjMjwoj-J0JGQmppCFPDAc8w#scrollTo=-xc1TEsKXsjq>" %}

Plus, here's the video of how we made it:

{% embed url="<https://youtu.be/yp3U681cwzI>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://blog.gooey.ai/how-to-use-gooey.ai-with-google-colab.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
