Skip to content

Ideogram V4.5 Edit

Integrate

Model id ideogram/v4.5/edit
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/ideogram/v4.5/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

This request: $0.06 60 API credits Run it on this page

Get API key
Ideogram Image Editing Reference inputs #realism#typography#editing

Ideogram 4.5 prompt-based image edit with optional mask, up to 4 references and a high-precision mode

Ideogram · Image

Your first result goes here

Build a request below and run it with your API key. Outputs are copied to our storage, kept forever or 7 days for free.

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

•required 88 / 10000

Prompt describing the generation or edit.

•required image_url
Drop a file, or

Main source image for editing.

quality default medium

Quality level applied with either edit precision setting; medium is the default.

image_size default auto

Output size selection: named presets and custom dimensions are available only for regular edits without masks, with each dimension >=256 and divisible by 32, area <=4194304, and ratio <=6:1. Choose auto to retain the source geometry, allowing the provider to downscale when necessary.

num_images default 1

Count of images to produce.

Advanced images · mask · edit_precision · seed
reference_image_urls
Drop a file, or · up to 4

Reference images accompanying the primary source: at most four without a mask, or three when a mask is also supplied.

mask_url
Drop a file, or

Edit-and-preserve mask: after rounding, it must still include both black regions for editing and white regions for preservation. Its dimensions must equal the source's.

edit_precision default regular

Choose the editing precision; structured edit instructions are prepared regardless of the selection. With high, Precise Edit restores unchanged pixels; regular uses Generate instead.

Random seed, selected automatically when omitted.

POST /run/ideogram/v4.5/edit?wait=20 quote → $0.06
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/ideogram/v4.5/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About Ideogram V4.5 Edit

Edits a source image from a prompt of up to 10,000 characters. Optional `mask_url` limits the edit area, and `reference_image_urls` accepts up to 4 references. `edit_precision` high restores unchanged pixels, while `quality` runs from very_low to high. Generates up to 8 images per call.

Parameters

Send either the canonical name or the native name, not both. Canonical names

NameType DefaultAllowed Description
promptrequired
Typestring
≤ 10,000 characters
Prompt describing the generation or edit.
image_urlrequired image
Typeurl · image
Main source image for editing.
reference_image_urlsoptional images
Typeurl[] · image
≤ 4 items
Reference images accompanying the primary source: at most four without a mask, or three when a mask is also supplied.
mask_urloptional mask
Typeurl · image
Edit-and-preserve mask: after rounding, it must still include both black regions for editing and white regions for preservation. Its dimensions must equal the source's.
edit_precisionoptional
Typeenum
Defaultregular
regularhigh
Choose the editing precision; structured edit instructions are prepared regardless of the selection. With high, Precise Edit restores unchanged pixels; regular uses Generate instead.
qualityoptional
Typeenum
Defaultmedium
very_lowlowmediumhigh
Quality level applied with either edit precision setting; medium is the default.
image_sizeoptional
Typeobject
Defaultauto
autosquaresquare_hdportrait_4_3landscape_4_3portrait_16_9landscape_16_9
Output size selection: named presets and custom dimensions are available only for regular edits without masks, with each dimension >=256 and divisible by 32, area <=4194304, and ratio <=6:1. Choose auto to retain the source geometry, allowing the provider to downscale when necessary.
num_imagesoptional num_outputs
Typeinteger
Default1
1 – 8
Count of images to produce.
seedoptional
Typeinteger | null
Random seed, selected automatically when omitted.
required Canonical name, also accepted

File parameters take a public https:// URL, a data: URI up to 10 MB, or the file_url of an upload. Files

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ideogram/v4.5/edit",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 60,
    "usd": "0.06",
    "charged": 60,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200
      }
    ],
    "seed": 42
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
images
array of object {url, content_type, file_name, file_size}
seed
integerSeed value used for random number generation.

More models: Image Editing

For AI agents: this page as Markdown is at https://doitong.com/en-US/developers/models/ideogram/v4.5/edit.md. All models and guides: https://doitong.com/developers/llms.txt