← All models
Run Ideogram 4.5 to generate images from prompts or edit source images with natural language instructions.
images
Details
- Accepts
- text
Pricing
- Price
- 1 cr / image
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| 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. |
| seed | integer | Random seed. Set for reproducible generation. |
| size | —enum: source, 1024x1024, 1280x896, 896x1280, 1344x768, 768x1344… | Output size. 'source' preserves the source image proportions. Ignored when a mask is provided. |
| 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. |
| promptrequired | string | Text prompt. Describe the image to generate, or the edit to apply to the source images. |
| quality | —enum: very_low, low, medium, high | Edit quality. Higher quality is slower and more expensive. |
| num_images | integer | Number of images to generate. |