# How to generate your first AI image with Flux in ComfyUI

Start your ThinkDiffusion machine and load the text2image AI workflow

* Generate an image
* Generate images in different sizes
* Try writing your own prompts

{% embed url="<https://player.vimeo.com/video/1011001169?app_id=122963>" %}

{% file src="/files/2ARQBkcwBsl0K6LaQ5er" %}
How to generate your first AI image with Flux in ComfyUI
{% endfile %}

Full tutorial: <https://learn.thinkdiffusion.com/generate-your-first-ai-image-with-flux-on-thinkdiffusion/>


---

# Agent Instructions: 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://docs.thinkdiffusion.com/ai-art-video-models-and-apps/comfyui-in-the-cloud/how-to-generate-your-first-ai-image-with-flux-in-comfyui.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.
