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
Write Image Generation Prompt with the subject, composition, and required style.
Choose Image Generation Model.
Set the size and other options supported by that model.
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
Image Generation Prompt (required)
prompt
Text description of the image to generate
Configuration
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
Image URL
image_url
Direct URL to the generated image (if available)
Related guides
Was this helpful?

