Skip to content

Sonilo

Sonilo video to music

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.

API model IDsonilo/video-to-music
The Recraft launch filmSonilo’s techno score was edited for the 40-second launch film and mixed with transition effects.1280 × 720 · 24 fps

Best for

Technical details

Read the model documentation
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_urlstring · 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

  • promptstring · Optional

    Mood, genre, instruments.

    text

  • output_formatstring · Optional · Default: m4a

    The format of the audio tracks returned.

    • m4a
    • wav
    • mp3
  • duckingboolean · Optional · Default: false

    Adds a ducked track: the music dipped under the dialogue. The clean track is returned as well.

    • true
    • false
  • preserve_speechboolean · 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

Additional parameters

  • prompt_influencenumber · Optional · Default: 0.5

    How literally the music follows the prompt; lower lets the video lead.

    0 … 1

  • segmentsarray · Optional

    Timed sections inside one track. The generator checks the contents and answers 400 with its own reason.

    array of objects

  • stemsboolean · 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
  • variants_numinteger · Optional · Default: 1

    Distinct tracks in one job, each billed as its own track.

    1 … 10

Pricing

Billable unit and optionsRate (USD)
Per second of generated audiothe first track's length, measured to the millisecond and rounded up to a whole second$0.009
Minimum per track10 s minimum, for each variant$0.09

Billing notes

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

Catalogue rates on 21 Nov 2026. Prices exclude VAT.

View in pricing catalogue