[Integrations](https://spiral.ai/integrations) › [VS Code](https://spiral.ai/integrations/vscode) › [Sonilo v1.1 Video to Music](https://spiral.ai/integrations/vscode/sonilo-v1-1-video-to-music)

# How to Use Sonilo v1.1 Video to Music in VS Code

Sonilo v1.1 Video to Music writes a score around your video's pacing, mood, and cuts. It returns separate music audio for editing, making it useful for product demos, social clips, and narrated videos.

|  |  |
| --- | --- |
| Model | Sonilo v1.1 Video to Music |
| Available through | fal |
| Category | Audio |
| Price | Up to $0.702 per run at the default inputs for 60 seconds of input. |
| Returns | audio |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Sonilo v1.1 Video to Music in VS Code

- Use Sonilo v1.1 Video to Music to score assets/product-demo.mp4, a 45-second walkthrough. Read the project brief and request minimal electronic music with soft synth plucks and warm bass that supports the narration.
- Use Sonilo v1.1 Video to Music on exports/launch-ad.mp4, a 20-second product ad. Request an electronic pulse with muted drums and a musical lift at the reveal, then prepare a preview with the returned track.
- Use Sonilo v1.1 Video to Music to score exports/tutorial.mp4, a two-minute tutorial. Request gentle acoustic music with fingerpicked guitar and soft piano, with the music supporting the spoken explanation.
- Use Sonilo v1.1 Video to Music on exports/social-cut.mp4, a 30-second clip. Request mellow jazz with electric piano and brushed drums, then add the generated music to a review copy.
- Use Sonilo v1.1 Video to Music to rescore exports/client-pitch.mp4, a 60-second edit. Request restrained cinematic music with piano and strings, give the written direction strong influence, and keep the returned audio beside the review video.

## How to set up Sonilo v1.1 Video to Music in VS Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to VS Code on the console's Agents & MCP page, or run:

```bash
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
```

2. **Sign in**: VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

### Use the Spiral skill

1. **Send VS Code this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Sonilo v1.1 Video to Music**: One request; the result comes back by polling or a webhook.

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

Then paste one of the prompts above: VS Code finds Sonilo v1.1 Video to Music on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/vscode

## Sonilo v1.1 Video to Music tools and prices

- [V1.1 · Video to Music](https://spiral.ai/tools/fal/sonilo/v1.1/video-to-music) (fal): $0.0117 per second.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| num_samples | 1 to 3 | 1 | How many distinct music tracks to generate for the video. |
| prompt |  | — | Optional text prompt steering the musical style. If omitted, a prompt is generated automatically from the video. |
| prompt_influence | 0 to 1 | 0.5 | Turn it up to match the text prompt |
| start_offset | 0 to 600 | — | Optional. Start scoring from this offset (seconds) into the video. Requires Start Offset + Duration <= Video Duration. |
| duration | 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. |

## What can you do with Sonilo v1.1 Video to Music in VS Code?

Turn finished project videos into scored demos, explainers, and launch clips. A coding agent can use the project's creative brief to request music, then place the returned audio into the edit.

### Product demo scores

Score a finished product walkthrough with music that follows on-screen motion and changes in pace. Ask for a restrained arrangement when narration carries the explanation.

### Paid social cutdowns

Generate music for each completed ad cut, directing the score toward the product reveal and closing card. Review the music against each edit before choosing it.

### Narrated YouTube videos

Create a music bed for an edited explainer or channel video. Describe the score's supporting role alongside its genre and instruments.

### Short social videos

Give a finished social clip its own score based on the video's mood and pacing. Try a light acoustic direction or an electronic pulse against the same picture.

### Client pitch edits

Score a completed pitch video to make its intended musical direction reviewable. Supply a concrete description of mood and instrumentation for the client to assess.

### Localized campaign videos

Generate a score for each finished localized video so the music follows that edit's pacing. Describe the desired musical role rather than expecting one recording to fit every cut.

### Soundtrack tools for video apps

Let users request music for an edited video and preview the returned audio against the picture. Offer musical briefs that specify genre, instruments, feel, and purpose.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All VS Code guides](https://spiral.ai/integrations/vscode)

## Sonilo v1.1 Video to Music in other agents

- [Amp](https://spiral.ai/integrations/amp/sonilo-v1-1-video-to-music)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/sonilo-v1-1-video-to-music)
- [Claude](https://spiral.ai/integrations/claude-desktop/sonilo-v1-1-video-to-music)
- [Claude Code](https://spiral.ai/integrations/claude-code/sonilo-v1-1-video-to-music)
- [Cline](https://spiral.ai/integrations/cline/sonilo-v1-1-video-to-music)
- [Codex](https://spiral.ai/integrations/codex/sonilo-v1-1-video-to-music)
- [Cursor](https://spiral.ai/integrations/cursor/sonilo-v1-1-video-to-music)
- [Devin](https://spiral.ai/integrations/devin/sonilo-v1-1-video-to-music)
- [dots](https://spiral.ai/integrations/dots/sonilo-v1-1-video-to-music)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/sonilo-v1-1-video-to-music)
- [Gemini](https://spiral.ai/integrations/gemini/sonilo-v1-1-video-to-music)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/sonilo-v1-1-video-to-music)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/sonilo-v1-1-video-to-music)
- [goose](https://spiral.ai/integrations/goose/sonilo-v1-1-video-to-music)
- [Grok](https://spiral.ai/integrations/grok/sonilo-v1-1-video-to-music)
- [Grok Build](https://spiral.ai/integrations/grok-build/sonilo-v1-1-video-to-music)
- [Hermes](https://spiral.ai/integrations/hermes/sonilo-v1-1-video-to-music)
- [Instinct](https://spiral.ai/integrations/instinct/sonilo-v1-1-video-to-music)
- [Manus](https://spiral.ai/integrations/manus/sonilo-v1-1-video-to-music)
- [Muse](https://spiral.ai/integrations/muse/sonilo-v1-1-video-to-music)
- [Muse Code](https://spiral.ai/integrations/muse-code/sonilo-v1-1-video-to-music)
- [n8n](https://spiral.ai/integrations/n8n/sonilo-v1-1-video-to-music)
- [Notion](https://spiral.ai/integrations/notion/sonilo-v1-1-video-to-music)
- [OpenClaw](https://spiral.ai/integrations/openclaw/sonilo-v1-1-video-to-music)
- [opencode](https://spiral.ai/integrations/opencode/sonilo-v1-1-video-to-music)
- [Perplexity](https://spiral.ai/integrations/perplexity/sonilo-v1-1-video-to-music)
- [Raycast](https://spiral.ai/integrations/raycast/sonilo-v1-1-video-to-music)
- [Windsurf](https://spiral.ai/integrations/windsurf/sonilo-v1-1-video-to-music)
- [Zapier](https://spiral.ai/integrations/zapier/sonilo-v1-1-video-to-music)

## More VS Code guides

- [Sonilo v1.1 Text to Sound Effects](https://spiral.ai/integrations/vscode/sonilo-v1-1-text-to-sound-effects)
- [Sonilo v1.1 Video to Sound Effects](https://spiral.ai/integrations/vscode/sonilo-v1-1-video-to-sound-effects)
- [Sonilo V1.1 Text to Music](https://spiral.ai/integrations/vscode/sonilo-v1-1-text-to-music)
- [Stable Audio 2.5 Audio to Audio](https://spiral.ai/integrations/vscode/stable-audio-2-5-audio-to-audio)
- [Seed Speech TTS 2.0](https://spiral.ai/integrations/vscode/seed-speech-tts-2-0)
- [Stable Audio 2.5 Inpaint](https://spiral.ai/integrations/vscode/stable-audio-2-5-inpaint)

## Questions about Sonilo v1.1 Video to Music in VS Code

**Can VS Code use Sonilo v1.1 Video to Music?**

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Sonilo v1.1 Video to Music like any built-in tool.

**How much does Sonilo v1.1 Video to Music cost in VS Code?**

Up to $0.702 per run at the default inputs for 60 seconds of input. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your VS Code plan is separate.

**Do I need a fal account to use Sonilo v1.1 Video to Music in VS Code?**

No. Spiral runs Sonilo v1.1 Video to Music on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Sonilo v1.1 Video to Music in VS Code?**

About two minutes: add the hosted server, then sign in.

**Does VS Code wait while Sonilo v1.1 Video to Music runs?**

Sonilo v1.1 Video to Music runs in the background. VS Code starts the run, checks on it and gives you the audio when it's ready.

**What is Sonilo v1.1 Video to Music best suited for?**

Use it when you already have an edited video and want music shaped by its pacing, mood, and cuts. Product demos, social clips, and narrated explainers are practical starting points.

**Does Sonilo v1.1 Video to Music return audio or a finished video?**

It returns separate music audio as AAC in an M4A file. Plan to place that track into your video edit.

**How long can the source video be?**

Sonilo's v1.1 release announcement lists video support up to 600 seconds, or 10 minutes.

**What should I put in a music prompt?**

Name a genre, two or three instruments, a tempo or feel, and what the music should do in the scene. For example: gentle acoustic folk with fingerpicked guitar and soft piano, supporting narration through a product walkthrough.

**How do I make Sonilo follow my musical direction more closely?**

Increase prompt influence when a specific musical style matters. Compare the result against the picture to check both the style and the timing.

