GET

/v1/schemas/fal/image/xai/grok-imagine-image

kind inputactivity imagehash 09e048d7…extracted Oct 29, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
9b233d447ca4f10b6173c5275a82e3307797e7d27f564756fd7942b73f4b578a
{
  "fetchedAt": 1793250001,
  "extractorVersion": "1",
  "verifiedAt": null
}

Request body

7 properties · 1 required · 0 $defs
propertytypedescriptionconstraints
prompt*stringText description of the desired image.length ≤ 8000
output_formatenumThe format of the generated image.jpeg | png | webp · default: "jpeg"
resolutionenumResolution of the generated image. `1k` for standard resolution, `2k` for high resolution.1k | 2k · default: "1k"
sync_modebooleanIf `True`, the media will be returned as a data URI and the output data won't be available in the request history.default: false
aspect_ratioenumAspect ratio of the generated image. Use auto to let the provider choose.auto | 2:1 | 20:9 | 19.5:9 | 16:9 | 4:3 · +8 more · default: "1:1"
enable_safety_checkerbooleanAuthorized callers may set false to request relaxed screening.default: true
num_imagesintegerNumber of images to generate.1 ≤ n ≤ 4 · default: 1

Validate a payload

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