> For the complete documentation index, see [llms.txt](https://docs.rbot.site/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rbot.site/discord-en/talking-to-the-ai/image-generation.md).

# Image Generation

{% hint style="info" %}
If you don't know how to write prompts for image generation, you can check out part of this article to generate images through AI chat
{% endhint %}

If you want to generate an image within a conversation, you can go here. This guide is for the /generate\_image command

To generate an image, use the /generate\_image command. In the prompt field, enter what you want to generate

<figure><img src="https://2907848295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Bijd4WREgt6P8JTIedC%2Fuploads%2FfoUfoA5FqdemxdRQMexs%2Fimage.png?alt=media&#x26;token=73f5db44-b6a8-4ac4-abf5-b322daaaf1f8" alt=""><figcaption></figcaption></figure>

In the model field, choose an available model from the list (this field is optional)

<figure><img src="https://2907848295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Bijd4WREgt6P8JTIedC%2Fuploads%2FpK87wyokWO2nZKzavfJF%2Fimage.png?alt=media&#x26;token=71611a82-85b5-414a-9700-ec78620844e1" alt=""><figcaption></figcaption></figure>

Send the command and get your result

<figure><img src="https://2907848295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Bijd4WREgt6P8JTIedC%2Fuploads%2FDauzTiRfU8dA8CCuTXZV%2Fimage.png?alt=media&#x26;token=28549c5c-d084-4928-9999-3737bef42556" alt=""><figcaption></figcaption></figure>

As with the previous feature, you can generate an image once every 5 minutes
