Image Generation

Generate images from text prompts using AI

Introduction

Dust agents can generate images from text prompts using the Image Generation capability. This powerful feature allows your agents to create custom visuals based on natural language descriptions, enabling a wide range of creative and practical applications.

The Image Generation capability uses the gemini-2.5-flash-image model to transform your text descriptions into high-quality images. Whether you need illustrations, concept art, mockups, or visual aids, your agents can create them on demand.

How to Enable Image Generation

When creating or editing an agent:

  1. In the Agent Builder, click on Add Tools
  2. Select the Image Generation capability
  3. Save your agent

That's it! Your agent can now generate images when needed.

How to Use Image Generation

As a tool in an agent

When the Image Generation capability is enabled, your agent can autonomously decide to generate images when it determines they would be helpful for the task at hand. The agent evaluates your request and uses image generation when it's appropriate to create visual content.

For example, if you ask an agent with Image Generation enabled to "help me design a logo concept," the agent will automatically use the image generation tool to create visual proposals.

In conversations

You can directly ask any agent with Image Generation enabled to create images in your conversations. Simply describe what you want to see, and the agent will generate the image for you.

Safety features

Example Prompts

Here are some practical examples of prompts you can use:

Illustration:

Create an illustration of a modern workspace with a computer, coffee cup, and natural lighting


Concept Art:

Generate a futuristic cityscape at sunset with flying vehicles and tall buildings


Product Mockup:

Design a minimalist product packaging for a tech gadget, using blue and white colors


Visual Aid:

Create a diagram showing the flow of data between a client, server, and database

💡

Tip: Be specific in your descriptions. Include details about style, colors, composition, and mood to get better results.

Advanced Usage

Best Practices

  • Be descriptive: Provide clear, detailed descriptions of what you want to see
  • Specify style: Mention artistic styles, color schemes, or reference styles when relevant
  • Iterate: Don't hesitate to ask for modifications if the first result isn't quite right
  • Context matters: Explain the purpose of the image to help the agent make better creative decisions

Tips for Better Results

  • Include information about lighting, perspective, and composition
  • Mention specific objects, colors, and their relationships
  • Describe the mood or atmosphere you want to convey
  • Reference specific artistic styles or techniques when applicable
📘

Note: Generated images are subject to content policies and may not be appropriate for all use cases. Review the generated content to ensure it meets your needs.

Use Cases

Image Generation opens up numerous possibilities:

  • Marketing materials: Create visuals for presentations, social media, and campaigns
  • Concept development: Quickly visualize ideas and iterate on designs
  • Educational content: Generate diagrams, illustrations, and visual aids
  • Product design: Explore visual concepts and mockups
  • Creative projects: Generate artwork, illustrations, and creative visuals

For any questions about using Image Generation with your Dust agents, please reach out to the Dust support team.