GET
/v1/schemas/fal/video/fal-ai/motion-to-code/gsap?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace2dac4de68fe491c1b7f7238d471be1fb8c0b553e1595dbff1c22bb56f022ed92{
"fetchedAt": 1793250001,
"extractorVersion": "1",
"verifiedAt": null
} |
Response body
9 properties · 7 required · 3 $defs| property | type | description | constraints |
|---|---|---|---|
| timings* | object | Seconds spent in each step. | |
| duration* | number | Loop length in seconds. | |
| html* | string | Self-contained page that plays the animation: save it as an .html file and open it in a browser. | |
| rounds* | integer | Generation passes run, first one included. | |
| contact_sheet* | ImageFile | Last check: reference and render side by side at the same times. | |
| code* | string | The generated code: the HTML page, or the GLSL shader. | |
| video* | VideoFile | Preview rendered from the code, frame by frame. | |
| audio | AudioFile | The loop's soundtrack, cut to its length: audio_url, or the reference's sound. It is also in the preview, and the page plays it after a click. | nullable |
| reference_video | VideoFile | The clip MiniMax H3 Max made from the prompt or image, which the code rebuilds. | nullable |
Types
3 $defsAudioFileobject
| channels | integer | The number of channels in the audio | nullable |
| sample_rate | integer | The sample rate of the audio | nullable |
| file_name | string | The name of the file. It will be auto-generated if not provided. | nullable |
| duration | number | The duration of the audio | nullable |
| content_type | string | The mime type of the file. | nullable |
| url* | string | The URL where the file can be downloaded from. | |
| bitrate | string | integer | The bitrate of the audio (e.g., '192k' or 192000) | nullable |
| file_size | integer | The size of the file in bytes. | nullable |
ImageFileobject
| content_type | string | The mime type of the file. | nullable |
| url* | string | The URL where the file can be downloaded from. | |
| file_name | string | The name of the file. It will be auto-generated if not provided. | nullable |
| width | integer | The width of the image | nullable |
| height | integer | The height of the image | nullable |
| file_size | integer | The size of the file in bytes. | nullable |
VideoFileobject
| num_frames | integer | The number of frames in the video | nullable |
| file_name | string | The name of the file. It will be auto-generated if not provided. | nullable |
| duration | number | The duration of the video | nullable |
| height | integer | The height of the video | nullable |
| fps | number | The FPS of the video | nullable |
| content_type | string | The mime type of the file. | nullable |
| url* | string | The URL where the file can be downloaded from. | |
| width | integer | The width of the video | nullable |
| file_size | integer | The size of the file in bytes. | nullable |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/motion-to-code/gsap","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}