# AI Agent: Create an image

The ‘**Create an image**’ AI Agent allows you to generate images directly within the Smartico Backoffice. It’s available directly in the ‘AI Assistant’ and anywhere you can upload an image - including missions, badges, levels, tournaments, mini-games, lootboxes, store items, raffles, and more. Generate stylish, custom visuals instantly and use them wherever you need.

#### How to use it?

1. **Inside a mission, mini-game, tournament, etc.**

* Open the mission, mini-game, tournament, or any other item you want to generate an image for.
* Go to the Image section and click “Generate with AI.”

<div data-with-frame="true"><figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2FssT3KpQDEb7hrSrBZsC9%2FScreenshot_20.png?alt=media&#x26;token=7ac0e3d5-4ba5-4334-b489-be2bca6fa1b5" alt="" width="563"><figcaption><p>BO: Generate an image for a Mission</p></figcaption></figure></div>

* (Optional) Set up a style for your label or brand. When you select that brand in the future, images will automatically be generated in the defined style.

<div data-with-frame="true"><figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2FqYg6uGPjJV5sry1XohQp%2FScreenshot_21.png?alt=media&#x26;token=04803655-0c06-472c-aec6-c8a7dbb27c89" alt="" width="563"><figcaption><p>BO: Brand styling in 'Create an image' AI Agent</p></figcaption></figure></div>

* Write a new prompt to describe the image or adjust the one that is already populated
* Once the images are generated, you can either apply one instantly or make adjustments while keeping the same style.

<div data-with-frame="true"><figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2FcFSLGzz63jEtoZqIpABF%2FScreenshot_22.png?alt=media&#x26;token=e6cec2c2-8b8a-4b18-b070-f5c120d2cc0f" alt="" width="563"><figcaption><p>BO: Generated image for a mission</p></figcaption></figure></div>

* You can also upload a reference image to guide the generation.
* When you're happy with the result, click Apply. The image will also be automatically saved in your Resource Manager so you can reuse it anytime.<br>

2. **Directly from the ‘AI Assistant’**

* Open the AI Assistant and select ‘Create an image’
* Set up a style for your label or brand. When you select that brand in the future, images will automatically be generated in the defined style.
* Write your prompt to describe the image you want to generate
* Once the images are generated, you can either save it or make adjustments while keeping the same style.
  * If you choose to save it, the image will be saved in your resource manager, and you can use it later whenever it is needed.
* You can also upload a reference image to guide the generation.

{% hint style="info" %}
For the best results, attach a reference image. This could be a screenshot from your site or any marketing material. While it can be difficult to describe a style in words, providing a reference image makes it much easier for the AI to capture the exact look and feel you want.
{% endhint %}

{% embed url="<https://vimeo.com/1170989900>" %}
