GET
/v1/schemas/fal/video/fal-ai/workflow-utilities/trim-video
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source tracea4e8f3a5991be0aa059c85b93a1efa887bb00dc6451e6894fb1be628725b7247{
"fetchedAt": 1796446801,
"extractorVersion": "2",
"verifiedAt": null
} |
Request body
5 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| video_url* | string | URL of the video file to trim | |
| start_time | number | Start time in seconds | n ≥ 0 · default: 1 |
| end_time | number | End time in seconds. If not provided, uses duration instead. | nullable |
| trim_end_seconds | number | Seconds to cut off the end of the video: the output ends at (video duration - trim_end_seconds). Cannot be combined with end_time; duration is ignored when set. When start_time is omitted, the output starts at 0 instead of the start_time default. | n > 0 · nullable |
| duration | number | Duration in seconds from start_time. Ignored if end_time or trim_end_seconds is provided. | n > 0 · nullable |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/workflow-utilities/trim-video","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}