GET

/v1/schemas/fal/image/ideogram/v4.5/edit

kind inputactivity imagehash b75751fd…extracted Nov 23, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
7f901a60ad1524ed74f81d106cb09b8260b0168e0e381cde4c447d07c5bf7eb8
{
  "fetchedAt": 1795410001,
  "extractorVersion": "2",
  "verifiedAt": null
}

Request body

15 properties · 2 required · 2 $defs
propertytypedescriptionconstraints
image_url*stringPrimary source image to edit.
prompt*stringThe generation or editing prompt.length ≥ 1 · length ≤ 10000
sync_modebooleanReturn image data directly in the response.default: false
seedintegerRandom seed. Omit to choose automatically.nullable
mask_urlstringMask matching the source dimensions. Black edits, white preserves. Must contain both regions after rounding.nullable
num_imagesintegerNumber of images to generate.1 ≤ n ≤ 8 · default: 1
enable_safety_checkerbooleanAuthorized callers may set false to request relaxed screening.default: true
reference_image_urlsstring[]Up to four references plus the primary source, or three references plus the primary source and mask.items ≤ 4
edit_precisionenumregular uses Generate; high uses Precise Edit with unchanged-pixel restoration. Both always prepare structured edit instructions.regular | high · default: "regular"
context_window_boxContextWindowBoxExplicit region to edit with high edit_precision, in source pixels with exclusive x_max/y_max. Must lie inside the image, measure at least 256 pixels per side, cover at most 4194304 pixels, and have an aspect ratio within 1:6 and 6:1. A mask may select only pixels inside it. Cannot be combined with context_window auto. Leave unset to edit the whole image.nullable
enable_copyright_detectionbooleanRun Ideogram copyright detection on the outputs. Adds latency; flagged images are dropped and not billed. Leave unset for the provider default.nullable
backgroundenumRegular edits only. transparent returns an image with an alpha channel; opaque forces a solid background; auto lets the model decide. Leave unset for the model default.transparent | opaque | auto · nullable
image_sizeImageSize | enumauto preserves source geometry, downscaled by the provider if needed. provider_auto lets Ideogram pick a supported size of about 2K from the sources and prompt. Only unmasked regular edits accept provider_auto, named presets or custom sizes: dimensions >=256, …default: "auto"
qualityenumQuality tier for either edit precision. Defaults to medium.very_low | low | medium | high · default: "medium"
context_windowenumRegion to edit with high edit_precision. none edits the whole image, downscaled to at most 4194304 pixels. auto requires mask_url and fits the region around the mask; an oversized mask falls back to whole-image editing. Set context_window_box instead to pick t…none | auto · default: "none"

Types

2 $defs

ContextWindowBoxobject

x_max*integerRight edge in source pixels (exclusive).n ≥ 0
y_max*integerBottom edge in source pixels (exclusive).n ≥ 0
x_min*integerLeft edge in source pixels (inclusive).n ≥ 0
y_min*integerTop edge in source pixels (inclusive).n ≥ 0

ImageSizeobject

widthintegerThe width of the generated image.0 < n ≤ 14142 · default: 512
heightintegerThe height of the generated image.0 < n ≤ 14142 · default: 512

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"fal","endpointId":"ideogram/v4.5/edit","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}