How to Use Sonilo v1.1 Video to Music in Codex
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.
Prompts to try with Sonilo v1.1 Video to Music in Codex
Copy an example into Codex, or ask in your own words.
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 Codex
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
codex mcp add spiral --url https://api.spiral.ai/mcp
- Sign in
Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.
codex mcp login spiral
Use the Spiral skill
- Send Codex this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Sonilo v1.1 Video to Music
One request; the result comes back by polling or a webhook.
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: Codex finds Sonilo v1.1 Video to Music on Spiral, shows the price and runs it.
Sonilo v1.1 Video to Music providers and prices
Spiral runs Sonilo v1.1 Video to Music through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Sonilo v1.1 Video to Music works from your video URL and prompt. Ask Codex for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Number of samples | 1 to 3 | 1 | How many distinct music tracks to generate for 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. |
Every API field of V1.1 · Video to Music is on its tool page: open its card above.
What can you do with Sonilo v1.1 Video to Music in Codex?
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.
More on Sonilo v1.1 Video to Music and Codex
Overview
Sonilo v1.1 Video to Music in other agents
Questions about Sonilo v1.1 Video to Music in Codex
Can Codex use Sonilo v1.1 Video to Music?
Yes. Add Spiral to Codex as an MCP server, and Codex 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 Codex?
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 Codex plan is separate.
Do I need a fal account to use Sonilo v1.1 Video to Music in Codex?
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 Codex?
About two minutes: add the hosted server, then sign in.
Does Codex wait while Sonilo v1.1 Video to Music runs?
Sonilo v1.1 Video to Music runs in the background. Codex 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.
Start using Sonilo v1.1 Video to Music in Codex
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Codex:
set up https://spiral.ai/SKILL.md


