# Creating an Image Generator Image Generator object is a tool to handle image generation. If the image generator object instance exists, an Agent can configure it as a tool and utilize to generate images. ## Create an Image Generator 1. Open TD Console. 2. Navigate to **AI Agent Foundry**. 3. Select a **Project**. 4. Select **Image Generators** and then select **Create Image Generator**. ![](/assets/creating-image-generator-2025-08-05-21-34-34.09b653a8e4b6e3a974dc3e7b12668970a0d162e7654cb31e797372841afa3f24.91c26685.png) 5. Populate a form ![](/assets/creating-image-generator-2025-08-05-21-36-36.bdc7414d0a8b32396f27ea52554dcfaec620a646282e277cd3a8282de7e31a0a.91c26685.png) | Field | Description | | --- | --- | | Name | The name of this Image Generator | | Select image model type | Only *Nova Canvas* is available | | Select image return mode | *ID only* is available | 1. Click a *Create* Button if it is OK. ## Use Image generator To let Agent use an Image generator, it must be configured as tool in Agent. 1. Navigate to **Agents** tab. 2. Select an agent and open or create a new Agent. 3. Navigate to **Tools** tab and **add tool**. ![](/assets/creating-image-generator-2025-08-05-21-44-01.5763c70953d0f9f4db0b8e18dddc3e50f4bafdbceb292cebcf106c941537ea6f.91c26685.png) 1. Select **Image Generator** as **Target**. ![](/assets/creating-image-generator-2025-08-05-21-44-13.b64cef3c9011dd6f5a4eb50baba0f4e99aea6270e5fd8a55f68274e477934a3e.91c26685.png) 2. Populate a form ![](/assets/creating-image-generator-2025-08-05-21-50-08.bab991ae6ee472a4a69e86b4560afc9ab32cef9f0107d8561a01a1f4c6c62101.91c26685.png) | Field | Description | | --- | --- | | Function name | A name of this tool | | Function description | A description of this tool | | Target | Image Generator (for image generation) | | Target Image Generator | Select an existing image generator instance to use | | Target Function | - **Text to image**: Generate an image from text input - **Outpaint**: Edit an area outside of the mask area given by a user - **Inpaint**: Edit an masked area given by a user - **Image Variation**: Generate a variation of given image based on the text prompt - **Remove Background**: Remove an area outside of the mask area given by a user | 1. Create or Update an agent after populate all necessary information. To let agent generate an image via image generator tool call, the system prompt must describe that the agent can generate an image by calling the tool that uses an image generator.