ideogram-ai/ideogram-4-6-precise-edit
Precisely edit source images with Ideogram 4.6, at up to 4K, or 8K with a context window.
Capabilities
Cost
$0.600 / image
Input Parameters
| Name | Type | Description | Default | Constraints |
|---|---|---|---|---|
image* | string(uri) | The source image to edit, up to 8192x8192 pixels. The output keeps its width and height. Without a context_window region, edits are bounded by 4096x4096 pixels, and a larger image comes back scaled down to fit. | — | — |
prompt* | string | Text prompt describing the edit to apply. | — | — |
context_window | string | Which region of the image to edit. 'auto' fits a region around the masked area (without a mask it edits the whole image). 'none' edits the whole image. Or name the region as 'y_min,x_min,y_max,x_max' in source-image pixels (rows first; max edges exclusive). The region must be at least 256px on each side, between 1:6 and 6:1, and at most 4096x4096 pixels (2048x2048 at very_low). Only the region changes and the rest of the image comes back untouched, so 4K and 8K images keep their full resolution. | "auto" | — |
mask | string(uri) | Optional black and white mask matching the source dimensions. Black pixels are edited, white pixels are preserved. | — | — |
num_images | integer | Number of images to generate. | 1 | min: 1, max: 8 |
quality | string | Edit quality. Higher quality is slower and more expensive; 'high' renders several candidates and returns the best. 'very_low' renders up to 2K. | "medium" | very_lowlowmediumhigh |
reference_images | array | Up to 4 reference images to guide the edit (3 when a mask is provided). | — | — |
seed | integer | Random seed. Set for reproducible generation. | — | max: 2147483647 |
imagerequiredstringThe source image to edit, up to 8192x8192 pixels. The output keeps its width and height. Without a context_window region, edits are bounded by 4096x4096 pixels, and a larger image comes back scaled down to fit.
promptrequiredstringText prompt describing the edit to apply.
context_windowstringWhich region of the image to edit. 'auto' fits a region around the masked area (without a mask it edits the whole image). 'none' edits the whole image. Or name the region as 'y_min,x_min,y_max,x_max' in source-image pixels (rows first; max edges exclusive). The region must be at least 256px on each side, between 1:6 and 6:1, and at most 4096x4096 pixels (2048x2048 at very_low). Only the region changes and the rest of the image comes back untouched, so 4K and 8K images keep their full resolution.
"auto"maskstringOptional black and white mask matching the source dimensions. Black pixels are edited, white pixels are preserved.
num_imagesintegerNumber of images to generate.
1min: 1, max: 8qualitystringEdit quality. Higher quality is slower and more expensive; 'high' renders several candidates and returns the best. 'very_low' renders up to 2K.
"medium"reference_imagesarrayUp to 4 reference images to guide the edit (3 when a mask is provided).
seedintegerRandom seed. Set for reproducible generation.
31d6d99347cbUpdated: 11/26/202629 runs
cinemasetfree