GET
/v1/schemas/fal/video/xai/grok-imagine-video/text-to-video
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source tracec7287f69f2f3810736d1ad7ae6c51bebbe6e79aa4f1ed9e0b5a695bbd3a4470d{
"fetchedAt": 1791522002,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
5 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 |
| duration | integer | Video duration in seconds. | 1 ≤ n ≤ 15 · default: 6 |
| resolution | enum | Resolution of the output video. | 480p | 720p · default: "720p" |
| aspect_ratio | enum | Aspect ratio of the generated video. | 16:9 | 4:3 | 3:2 | 1:1 | 2:3 | 3:4 · +1 more · default: "16:9" |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"xai/grok-imagine-video/text-to-video","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}