Ideogram 4.6 Edit API

ideogram/v4.6/edit
image_urls · mask_url · reference_image_urls

The Ideogram 4.6 Edit API changes a photo from a written instruction: add signage and lettering, swap materials, restyle a scene or paint inside a mask, with up to 4 reference images guiding the result. The rest of the image stays in place. The Ideogram 4.6 Edit API starts at 1.6 credits ($0.008) per 2K image.

Get API Key
Input
Required325/10000
Required
Image Urls

Drag and drop files, paste from clipboard, or provide a URL. Exactly one source image (public HTTP(S) URL).

1/1 files added

Optional
Mask Url

Drag and drop files, paste from clipboard, or provide a URL. Optional mask marking the area to change. Requires size auto.

Optional
Reference Image Urls

Drag and drop files, paste from clipboard, or provide a URL. Up to 4 reference images, or 3 when a mask is set.

Optional
Optional
Optional
Optional
Optional
Optional
Optional
OutputReady

Estimated cost: 12 credits · $0.0600 · 4K

The 4K rate is reserved until the source size is read; the task settles to its final charge and returns the difference.

Continue using

What is the Ideogram 4.6 Edit API?

Ideogram 4.6 is Ideogram's image model that makes images up to 4K, accepts up to five reference images and offers Very low, Low, Medium and High quality. The Ideogram 4.6 Edit API takes one source image plus a prompt that works as an edit instruction, and optionally a mask marking what to change and up to 4 more reference images, so one request can carry five images in total. It returns one to eight edited images, priced by quality and by the 2K or 4K tier of the output.

Why Choose the Ideogram 4.6 Edit API?

The Ideogram 4.6 Edit API brings Ideogram's lettering into real photos and keeps the untouched parts of the scene as they were.

  • Lettering written into photosThe chalkboard example adds "PASTÉIS DE NATA", "1,40 €" and "Fresh from 7am" to a blank sign on a Lisbon street.

  • The scene stays intactSay what must stay the same; in the example the tiles, the sleeping cat, the tram rails and the morning light remain as shot.

  • Masks for targeted editsAdd mask_url to mark the area to change, and use edit_precision high with context_window auto to keep the edit inside a window based on your mask.

  • Reference imagesPass up to 4 reference images, or 3 with a mask, to bring in a product, a character or a style.

  • Price follows the output sizeA source up to 2048×2048 pixels in area edits at the 2K rate, from 1.6 credits per image.

What parameters does the Ideogram 4.6 Edit API accept?

The Ideogram 4.6 Edit API needs prompt and one image in image_urls. Every other field is optional.

ParameterRequirementDescription
promptRequired

Edit instruction, non-blank, up to 10,000 characters. Quote any lettering to add.

image_urlsRequired

Exactly one source image, as an array with one public HTTP(S) URL or image data URI.

mask_urlOptional

Mask image marking the area to change, as a URL or image data URI. Requires size auto.

reference_image_urlsOptional

Up to 4 reference images, or up to 3 when mask_url is set. They guide the result.

edit_precisionOptional

regular or high. high requires size auto and leaves out background.

Defaultregularhigh
context_windowOptional

none or auto. auto bases the edit window on your mask and requires edit_precision high plus mask_url.

Defaultnoneauto
qualityOptional

very_low, low, medium or high. very_low uses the 2K tier.

Defaultmediumvery_lowlowhigh
sizeOptional

auto follows the source image. A preset (1:1, 1:1 HD, 4:3, 3:4, 16:9, 9:16) or WIDTHxHEIGHT (sides 256–4096 in multiples of 32, ratio within 6:1) works with edit_precision regular and no mask.

Defaultauto
nOptional

Number of edited images, 1–8.

Default1
backgroundOptional

transparent or opaque, with edit_precision regular.

transparentopaque
seedOptional

Integer from 0 to 2147483647 for repeatable results.

How do you use the Ideogram 4.6 Edit API?

Send one source image with an edit instruction, add a mask or references when needed, then read the edited image URLs.

  1. Choose the source imagePut one public image URL in image_urls; its size sets the price tier when size is auto.

  2. Write the edit instructionDescribe the change, quote any lettering, and list what should stay the same.

  3. Add a mask or referencesUse mask_url to limit the change to one area, and reference_image_urls to bring in objects or styles.

  4. Pick quality and submitStart at low for tests, then submit the model ID and input and keep the task_id.

  5. Collect the resultPoll until finished and read the edited images from files[].

How much does the Ideogram 4.6 Edit API cost?

The Ideogram 4.6 Edit API charges per image by quality and tier: 1.6 to 44 credits at 2K and 12 to 120 credits at 4K. 1 credit = $0.005.

Price per request = rate × n. A preset or custom size fixes the tier, and very_low is always 2K. With size auto, the tier follows the source image: up to 2048×2048 pixels in area is 2K. If the source size cannot be read at submission, the 4K rate is reserved and the task settles to its final charge, returning the difference. Failed tasks are refunded in full. The chalkboard example, a 1264×848 source at low quality, cost 6 credits.

How much does the Ideogram 4.6 Edit API cost?
Quality2K tier (credits / image)4K tier (credits / image)
very_low1.6 ($0.008)—
low6 ($0.03)12 ($0.06)
medium12 ($0.06)40 ($0.20)
high44 ($0.22)120 ($0.60)

What is the Ideogram 4.6 Edit API best for?

The Ideogram 4.6 Edit API suits photo edits where text, products or materials change while the scene stays put.

  • Signs, menus and storefrontsWrite prices, names and opening hours onto boards, windows and awnings.

  • Product and packaging updatesChange a label, a colorway or a material on an existing product photo.

  • Localized campaign imagesSwap the lettering in one hero photo for each market and language.

  • Masked retouchingReplace one object or surface inside a mask while the rest of the frame stays as shot.

Pro Tips

  • End the instruction with what must stay unchanged, as the chalkboard prompt does with the street, tiles, cat and light.
  • Describe the lettering style, such as neat white chalk or painted serif, so the new text matches the surface.
  • Use very_low for quick checks at 1.6 credits, then rerun the chosen edit at medium or high.
  • Keep sources at or under 2048×2048 pixels in area to stay in the 2K tier with size auto.

Notes

  • image_urls takes exactly one source image; add other images through reference_image_urls.
  • mask_url and edit_precision high both require size auto.
  • The chalkboard example returned a 1264×848 PNG, the size of its source.
  • Tasks run asynchronously: submission returns a task_id, and the finished status lists the image URLs. A top-level callback_url can receive the result.

Sources

Model details on this page come from Ideogram's own documentation:

“Ideogram 4.6 makes images up to 4K, accepts up to five reference images, and offers Very low, Low, Medium and High quality.”

— Ideogram, Models | Ideogram docs

“A mask marks what you want to change; an edit window limits the region that the edit can use.”

— Ideogram, Masks and Inpainting | Ideogram docs

Ideogram 4.6 Edit API FAQ

What is the Ideogram 4.6 Edit API?

The Ideogram 4.6 Edit API gives developers the editing side of Ideogram 4.6, Ideogram's model that makes images up to 4K and accepts up to five reference images. On Vidgo it edits one source image from a prompt, with an optional mask and up to 4 reference images, and returns one to eight results. You can call it programmatically or try it from the playground above.

How much does the Ideogram 4.6 Edit API cost?

At 2K an edited image costs 1.6, 6, 12 or 44 credits for very_low, low, medium or high. At 4K it costs 12, 40 or 120 credits for low, medium or high. The total is the rate times n.

How is the 2K or 4K tier chosen for an edit?

A preset or custom size sets the tier directly, and very_low is always 2K. With size auto, the source image decides: up to 2048×2048 pixels in area is 2K, larger is 4K. If the size cannot be read at submission, the 4K rate is reserved and the task settles to its final charge.

Can the Ideogram 4.6 Edit API add text to a photo?

Yes. Quote the words and describe the lettering style and surface, as in the Lisbon chalkboard example that writes a pastry name, a price and opening time onto a blank board.

How do masks work in the Ideogram 4.6 Edit API?

mask_url marks the area you want to change and requires size auto. With edit_precision high you can also set context_window auto, which bases the edit window on your mask. With a mask, reference_image_urls accepts up to 3 images.

How many images can one Ideogram 4.6 Edit API request use?

One source image in image_urls plus up to 4 in reference_image_urls, five in total, or up to 3 references when a mask is set.