Skip to content
Last updated

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.

  5. Populate a form

FieldDescription
NameThe name of this Image Generator
Select image model typeOnly Nova Canvas is available
Select image return modeID 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.

  1. Select Image Generator as Target.

  2. Populate a form

FieldDescription
Function nameA name of this tool
Function descriptionA description of this tool
TargetImage Generator (for image generation)
Target Image GeneratorSelect 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.