# Sonilo video to music

`sonilo/video-to-music` · Sonilo · audio

Sonilo composes original music to match the pacing of an edited video, up to six minutes long. You can request alternate scores or a mix that dips the music under dialogue.

[Model page](https://sociaro.com/models/sonilo/video-to-music) · [JSON](https://sociaro.com/models/sonilo/video-to-music.json) · [Model pricing](https://sociaro.com/pricing?model=sonilo%2Fvideo-to-music) · [Documentation](https://docs.sociaro.com/models/sonilo-video-to-music/)

## Use cases

- Audition several scores against the same trailer cut
- Add music beneath a narrated product walkthrough

## Technical details

- API model ID — sonilo/video-to-music
- Provider — Sonilo
- Modality — Audio
- Input — Text prompt · Video
- Output — Audio
- Endpoint — POST /v1/sonilo/generations

## Request parameters

- `video_url` (string, required) — The finished video. A /v2 result link works at any time; a /v1/media link only while it is still well inside its hour.
  - public https URL, up to 6 min and 300 MB
- `prompt` (string, optional) — Mood, genre, instruments.
  - text
- `segments` (array, optional) — Timed sections inside one track. The generator checks the contents and answers 400 with its own reason.
  - array of objects
- `output_format` (string, optional, default `m4a`) — The format of the audio tracks returned.
  - m4a · wav · mp3
- `preserve_speech` (boolean, optional, default `false`) — Keeps the video's speech: adds a vocals track (the isolated speech) and a mux track (speech mixed with the music).
  - true · false
- `ducking` (boolean, optional, default `false`) — Adds a ducked track: the music dipped under the dialogue. The clean track is returned as well.
  - true · false
- `prompt_influence` (number, optional, default `0.5`) — How literally the music follows the prompt; lower lets the video lead.
  - 0 … 1
- `variants_num` (integer, optional, default `1`) — Distinct tracks in one job, each billed as its own track.
  - 1 … 10
- `stems` (boolean, optional, default `false`) — Adds drums, bass, vocals and other tracks for each generated track, and 2–6 minutes of waiting. If separation fails the job still succeeds without them.
  - true · false

## Pricing

Rates in USD. Catalogue timestamp 2026-11-21T02:23:44Z.

- USD 0.009 per second of generated audio · active · the first track's length, measured to the millisecond and rounded up to a whole second
- USD 0.09 minimum per track · active · 10 s minimum, for each variant

- Each variant is charged at the first track's billed length.

## Examples

### The Recraft launch film

Sonilo’s techno score was edited for the 40-second launch film and mixed with transition effects.

[Result (video)](https://previews.sociaro.com/shared/promo/home/recraft-launch-v3-eee5d851.mp4) · [Poster](https://previews.sociaro.com/shared/promo/home/recraft-launch-v3-675008ed.webp)

1280 × 720 · 24 fps

Source inputs

- [30-second source for the score (video)](https://previews.sociaro.com/shared/promo/home/techno-input-dbae911d.mp4) · [Thumbnail](https://previews.sociaro.com/shared/promo/home/techno-poster-b512d033.webp)

### Space documentary

Listen to seconds 15–33 of the score Sonilo wrote for a silent orbital storyboard.

[Result (audio)](https://previews.sociaro.com/shared/promo/catalog/sonilo-space-score.mp3)

Source inputs

- [Original scoring cue sheet · 54 seconds (video)](https://previews.sociaro.com/shared/promo/home/orbital-cue-sheet-a4b884ae.mp4) · [Thumbnail](https://previews.sociaro.com/shared/promo/home/orbital-cue-sheet-7592ed42.webp)
