# Ideogram 4.5 Precise Edit

`ideogram/ideogram-4-5-precise-edit` · Ideogram · image

Change a specific detail and preserve detail outside the edit. For sources larger than a 2048 × 2048 image by area, a context window can target a region at its original resolution.

[Model page](https://sociaro.com/models/ideogram/ideogram-4-5-precise-edit) · [JSON](https://sociaro.com/models/ideogram/ideogram-4-5-precise-edit.json) · [Model pricing](https://sociaro.com/pricing?model=ideogram%2Fideogram-4-5-precise-edit) · [Documentation](https://docs.sociaro.com/models/ideogram-ideogram-4-5-precise-edit/) · [Playground](https://my.sociaro.com/playground/?model=ideogram/ideogram-4-5-precise-edit) · [Launch page](https://sociaro.com/models/ideogram-4-5-precise-edit)

## Use cases

- Recolor awnings in an architectural photograph
- Swap a product material through several approval rounds

## Technical details

- API model ID — ideogram/ideogram-4-5-precise-edit
- Provider — Ideogram
- Modality — Image
- Input — Text prompt · Images · Edit mask
- Output — Image
- Endpoint — POST /v2/jobs
- Workflow — Image edit

## Request parameters

- `prompt` (string, required) — The edit instruction, in natural language or as a structured JSON prompt, 1 to 10000 characters.
  - 1–10000 characters
- `context_window` (string) — Edit the whole image with none, fit a region to a mask with auto, or specify a rectangle in source pixels.
  - A region preserves the original dimensions. Whole-image edits above 4,194,304 pixels are scaled down.
  - Auto needs a mask. If the selection exceeds 4,194,304 pixels, the model falls back to a whole-image edit.
  - Use y_min,x_min,y_max,x_max with exclusive maxima. Regions must fit the image, span at least 256 px per side and use at most 4,194,304 pixels.
  - The region’s aspect ratio must be between 1:6 and 6:1.
- `quality` (string) — The rendering quality, from `very_low` (the fastest and cheapest) up to `high`; higher quality takes longer and is priced higher, and it defaults to `medium`.
  - Allowed values — `very_low`, `low`, `medium`, `high`
- `seed` (integer) — Random seed, a whole number from 0 to 2147483647; set it for reproducible generation.
  - 0–2147483647
- `image` (string, required) — Provide the image to edit as a direct public HTTPS URL to a JPEG, PNG or WebP file up to 50 MB.
  - Use a regional edit to retain full resolution above 4,194,304 pixels.
- `reference_images` (array) — Images that guide the edit and are never edited themselves; at most 3 when `mask` is sent. 1 to 4 public https URLs that answer without a redirect; each JPEG, PNG or WEBP, up to 50 MB.
  - 1–4 items
- `mask` (string) — Apply edits to the black parts of a mask and preserve the white parts. Match the mask dimensions to the input image.
  - Include both black and white. Supply a direct public HTTPS URL to a JPEG, PNG or WebP file up to 50 MB.

## Pricing

Rates in USD. Catalogue timestamp 2026-11-21T02:23:44Z.

- USD 0.008 per image · very_low · active
- USD 0.03 per image · low · active
- USD 0.06 per image · medium · active
- USD 0.22 per image · high · active

- Leaving out quality gives medium.
- Every image the generator produces is billed, including an image it withholds after its safety check (a withheld image is not delivered); num_images multiplies the price.

## Examples

### Gathering clouds

A prompt turns the pale sky over a white house into a dark bank of clouds. The car, siding and striped lawn remain in place.

[Preview](https://previews.sociaro.com/shared/promo/gallery/ideogram/overcast-house-preview-d7527542.webp) · [Full result (image)](https://previews.sociaro.com/shared/promo/gallery/ideogram/overcast-house-result-ced3a835.png)

1400 × 781

Source inputs

- [Source house (image)](https://previews.sociaro.com/shared/promo/ideogram-4-5-precise-edit/house-before.webp) · [Thumbnail](https://previews.sociaro.com/shared/promo/gallery/ideogram/house-thumb-f5e8a130.webp)

### The front lawn

Ideogram filled the bare patches with freshly mown grass. The edit window spanned the full width of the photo, from row 1,152 to 1,600.

[Preview](https://previews.sociaro.com/shared/promo/gallery/ideogram/farmhouse-lawn-preview-04e5572e.webp) · [Full result (image)](https://previews.sociaro.com/shared/promo/gallery/ideogram/farmhouse-lawn-result-399dc81a.webp) · [Provider example](https://ideogram.ai/tools/precise-edit/#pe-demo-panel-lawn-green)

2496 × 1664

Source inputs

- [Source farmhouse (image)](https://previews.sociaro.com/shared/promo/gallery/ideogram/farmhouse-lawn-source-57b1906a.webp) · [Thumbnail](https://previews.sociaro.com/shared/promo/gallery/ideogram/farmhouse-lawn-thumb-8460bb4f.webp)
