GET

/v1/schemas/meta/image/v1/images/edits

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

docs-derived

Source trace
361efdc7d4626de2d7a581a60cd6509326bf3fcc305d2db4bd9ac0a9b13005d0
{
  "fetchedAt": 1794201665,
  "extractorVersion": "2",
  "verifiedAt": null
}

Request body

11 properties · 2 required · 1 $defs
propertytypedescriptionconstraints
prompt*stringText description of the edits to apply.
model*stringModel ID.
imagestringImage to edit. PNG format.format: binary
nintegerNumber of edited images to generate. Range: 1-10. Defaults to 1. (minimum: 1, maximum: 10, default: 1)1 ≤ n ≤ 10 · default: 1
sizestringRequested image shape as width x height (e.g., '1024x1024'). The values set the aspect ratio; the image is produced at the generator's own resolution, so the returned pixel dimensions will not necessarily match the numbers supplied.
response_formatenumFormat for the edited images. One of url or b64_json. Default: b64_json. (default: b64_json)url | b64_json
reasoning_strengthenumHow much reasoning the image generator applies before producing the edited image. One of low or high. low returns after a single generation pass (no self-refinement); high (the default) lets the generator iteratively refine. (default: high)low | high
moderationstringModeration level for the safety pipeline. One of auto or low. Enabled per model: on models where it is not enabled, any moderation value returns 400 (code: unsupported_parameter, param: moderation); omitting moderation is always valid. On enabled models, unkno…
streambooleanIf true, streams the response as server-sent events. Defaults to false. (default: false)default: false
partial_imagesintegerNumber of partial images to generate during streaming. Range: 0-3. Accepted but ignored. (minimum: 0, maximum: 3, default: 0)0 ≤ n ≤ 3 · default: 0
tool_enablementimage-tool-enablementPer-tool controls for the image generator's planner. Omit to keep the default (all tools available).

Types

1 $defs

image-tool-enablementobject

enable_image_searchbooleanWhether the image generator may search the web for visual references. false disables it.
enable_web_searchbooleanWhether the image generator may search the web for facts. false disables it (also drops the browser tools).
enable_shellbooleanWhether the image generator may run code to build layouts and charts. false disables it.

Validate a payload

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