V1.1 · Video to Music
sonilo/v1.1/video-to-musicEdit and transform audio with V1.1 · Video to Music from fal through one Spiral API key. It runs in the background and returns audio. Pay as you go, with no subscription.
Pricing
$0.0117 per second.
Limits
- Runs
- In the background
- Returns
- audio
- Longest queue wait
- 1 hour
- Run deadline
- 30 minutes
- Longest run, end to end
- 255 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
video_url required | URL or file | — | Public http(s) URL of the source video to score. |
num_samples | number (whole) 1 to 3 | 1 | How many distinct music tracks to generate for the video. |
prompt | text | — | Optional text prompt steering the musical style. If omitted, a prompt is generated automatically from the video. |
prompt_influence | number 0 to 1 | 0.5 | Turn it up to match the text prompt |
start_offset | number 0 to 600 | — | Optional. Start scoring from this offset (seconds) into the video. Requires Start Offset + Duration <= Video Duration. |
duration | number 1 to 600 | — | 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. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "fal",
"model": "sonilo/v1.1/video-to-music",
"input": {
"video_url": "https://v3b.fal.media/files/b/0a9ddd00/2QssaYyFxstvVlmIraSns_Sonilo_Demo_Original_1.mp4"
}
}'Frequently asked questions
How much does V1.1 · Video to Music cost?
$0.0117 per second. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use V1.1 · Video to Music through an API?
Send `POST /v1/runs` with `"provider": "fal"`, `"model": "sonilo/v1.1/video-to-music"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with fal to use V1.1 · Video to Music?
No. Spiral runs it on its own fal account and charges your Spiral balance.
Can my AI agent use V1.1 · Video to Music?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.