GET
/v1/schemas/fal/video/xai/grok-imagine-video/v1.5/text-to-video
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace35f90749698c6b88f971e925b70b57f160794ed85f3249f3d0328f6088586d53{
"fetchedAt": 1795410001,
"extractorVersion": "2",
"verifiedAt": null
} |
Request body
6 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | Text description of the desired video. | length ≤ 4096 |
| enable_safety_checker | boolean | Authorized callers may set false to request relaxed screening. | default: true |
| aspect_ratio | enum | Aspect ratio of the generated video. | 16:9 | 4:3 | 3:2 | 1:1 | 2:3 | 3:4 · +3 more · default: "16:9" |
| generate_audio | boolean | Whether to generate audio. When unset, xAI's default applies (audio included). | nullable |
| duration | integer | Video duration in seconds. | 1 ≤ n ≤ 15 · default: 6 |
| resolution | enum | Resolution of the output video. | 480p | 720p | 1080p · default: "720p" |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"xai/grok-imagine-video/v1.5/text-to-video","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}