You're looking at a specific version of this model. Jump to the model overview.

ideogram-ai /ideogram-4-5:cbf57ad8

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
prompt
string
Text prompt. Describe the image to generate, or the edit to apply to the source images.
images
array
Up to 5 source images to edit. Omit for text-to-image generation. When a mask is provided, the first image is edited and the rest are used as references.
mask
string
Optional black and white mask for editing. Black pixels are edited, white pixels are preserved. Only used when at least one source image is provided. When a mask is used, the output matches the source size and the size input is ignored.
size
None
source
Output size. 'source' preserves the source image proportions. Ignored when a mask is provided.
quality
None
medium
Edit quality. Higher quality is slower and more expensive.
num_images
integer
1

Min: 1

Max: 8

Number of images to generate.
seed
integer

Max: 2147483647

Random seed. Set for reproducible generation.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'items': {'format': 'uri', 'type': 'string'},
 'title': 'Output',
 'type': 'array'}