# V1.1 · Video to Music

Edit 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.

- Provider: fal
- Category: Audio
- Runs: In the background
- Returns: audio
- Tool id: `fal` / `sonilo/v1.1/video-to-music`
- Page: https://spiral.ai/tools/fal/sonilo/v1.1/video-to-music

## Pricing

Up to $0.702 per run at the default inputs for 60 seconds of input.

## Limits

- 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 | Allowed | 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. |

## Example

```bash
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"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=fal&model=sonilo%2Fv1.1%2Fvideo-to-music

## Common questions

### V1.1 · Video to Music

**How much does V1.1 · Video to Music cost?**

Up to $0.702 per run at the default inputs for 60 seconds of input. 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.

