GET

/v1/schemas/fal/image/xai/grok-imagine-image/v2.0/edit?kind=output

kind outputactivity imagehash fea73876…extracted Aug 15, 2026version currentsource upstream spec ↗

Response body

2 properties · 1 required · 1 $defs
propertytypedescriptionconstraints
images*ImageFile[]The URL of the edited image.
revised_promptstringThe enhanced prompt that was used to generate the image.nullable

Types

1 $defs

ImageFileobject

widthintegerThe width of the imagenullable
content_typestringThe mime type of the file.nullable
file_sizeintegerThe size of the file in bytes.nullable
file_namestringThe name of the file. It will be auto-generated if not provided.nullable
url*stringThe URL where the file can be downloaded from.
heightintegerThe height of the imagenullable

Validate a payload

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