> For the complete documentation index, see [llms.txt](https://academy.gooey.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.gooey.ai/ai-for-creatives/how-to-generate-images-with-a-custom-ai-image-model.md).

# How to generate images with a custom AI Image model?

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

#### Click on Copy Model URL

{% embed url="<https://docs.gooey.ai/~gitbook/image?url=https%3A%2F%2F662560811-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F5BFP5RUm6rTLXk8wUSTf%252Fuploads%252FCC2tp0bjbfzndvJSGnkU%252F9.png%3Falt%3Dmedia&width=768&dpr=3&quality=100&sign=f8eb870d&sv=2>" %}

#### Go to Compare Image Generator Workflow:

{% embed url="<https://gooey.ai/compare-ai-image-generators/mughal-miniature-modern-tech-scene-qby6xg0ox4sn/>" %}

You can change your prompt here and make sure you add your trigger word, you can use the example below&#x20;

{% code title="Prompt" overflow="wrap" %}

```
mughal miniature painting of man typing on laptop in a tshirt with the words “gooey.ai” in the style of mugh4l painting
```

{% endcode %}

<figure><img src="/files/cqCJsehUGbo09pfiG4hF" alt=""><figcaption></figcaption></figure>

#### You can paste your Model URL link here

<figure><img src="/files/NbNRNj5oR44jgqPymMsm" alt=""><figcaption></figcaption></figure>

#### Click on "Run"

<figure><img src="/files/YcjrDj0kIIz2GmOyhakv" alt=""><figcaption></figcaption></figure>


---

# 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, and the optional `goal` query parameter:

```
GET https://academy.gooey.ai/ai-for-creatives/how-to-generate-images-with-a-custom-ai-image-model.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
