GET
/v1/schemas/fal/audio/sonilo/v1.1/video-to-music
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace17cfe756ea7fa6dbd08b548ef1bb4145a13f408f2fc9e1417fc9624a270dc743{
"fetchedAt": 1785819728,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
6 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| video_url* | string | Public http(s) URL of the source video to score. | |
| prompt_influence | number | Turn it up to match the text prompt | 0 ≤ n ≤ 1 · default: 0.5 |
| prompt | string | Optional text prompt steering the musical style. If omitted, a prompt is generated automatically from the video. | nullable |
| duration | number | Optional. Length (seconds) of the video segment to score. When set, scores a segment of this length starting at Start Offset (or from the beginning if Start Offset is unset). Defaults (None) to the rest of the video: the whole video when Start Offset is unset, or from Start Offset to the end when it is set. | 1 ≤ n ≤ 600 · nullable |
| start_offset | number | Optional. Start scoring from this offset (seconds) into the video. Requires Start Offset + Duration <= Video Duration. | 0 ≤ n ≤ 600 · nullable |
| num_samples | integer | How many distinct music tracks to generate for the video. | 1 ≤ n ≤ 3 · default: 1 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"sonilo/v1.1/video-to-music","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}