Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Text to Image

Generate an image from a written description. Use this tool when a workflow needs an illustration or other newly created visual.

Use this tool

  1. Write Image Generation Prompt with the subject, composition, and required style.

  2. Choose Image Generation Model.

  3. Set the size and other options supported by that model.

  4. Run the tool and open Image URL to review the result.

Behavior and limits

Settings are model-specific. Quality, background, output format, and compression options apply to GPT Image models; Gemini has separate aspect-ratio and image-size controls. Generated text and details may need review before use.

Inputs

Field
Parameter
Description

Image Generation Prompt (required)

prompt

Text description of the image to generate

Configuration

Field
Parameter
Description

Image Generation Model (required)

model

AI model to use for image generation

Image Size

size

Size/aspect ratio of the generated image

Image Quality

quality

Quality level for image generation (GPT Image models only)

Background Style

background

Background style for the generated image (GPT Image models only)

Output Format

output_format

File format for the generated image (GPT Image models only)

Output Compression

output_compression

Compression level (0-100) for the generated image (GPT Image models only)

Aspect Ratio (Gemini)

aspect_ratio

Aspect ratio for Gemini image generation

Image Size (Gemini)

image_size

Image size preset for Gemini image generation

Use Google Search (Gemini)

enable_google_search

Allow Gemini image generation to use Google Search grounding. Default: false.

Outputs

Field
Parameter
Description

Image URL

image_url

Direct URL to the generated image (if available)

Was this helpful?