Sonilo 1.1 Video to Music
sonilo/1.1/video-to-musicSonilo 1.1 Video to Music scores a video with a matching music track that follows its pacing and scene changes, optionally steered by a style prompt.
- Base price
- $0.27USD / run
- Execution
- async
- Model type
- audio
- Input fields
- 5
Try the model
Playground
Your output will appear here
Complete the inputs, then click Run.
Model card
Specifications
Pricing
- Base price
- $0.27 / run
Context & modalities
- Input
- Schema-defined
- Output
- audio
Capabilities
- Chat
- Not supported
- Vision
- Not supported
- Reasoning
- Not supported
- Structured output
- Not supported
- Function calling
- Not supported
- Audio input
- Not supported
Access
- Provider
- Sonilo
- Model ID
- sonilo/1.1/video-to-music
- Execution
- async
- Base URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
API README
Sonilo 1.1 Video to Music
Sonilo 1.1 Video to Music writes a soundtrack that follows a video's pacing and scene changes.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
video | video file or URL, required | — | Video to score. |
prompt | string | — | Optional style; generated from the video when empty. |
duration | number 1–600 | — | Length of the segment to score; defaults to the rest of the video. |
start_offset | number 0–600 | — | Where scoring starts, in seconds. |
prompt_influence | number 0–1 | 0.5 | Higher follows the prompt more. |
Billing
$0.009 per started second of generated music, with a 10-second minimum. The quote uses duration, or the video length minus start_offset; the final charge uses the output length.
| Music length | Price |
|---|---|
| 5 s | $0.09 |
| 30 s | $0.27 |
| 120 s | $1.08 |
Failed runs are not charged.
Prompting
- Name genre and mood; leave
promptempty to let Sonilo read the video.
Also on SandBase
Related: sonilo/1.1/text-to-music, sonilo/1.1/text-to-sound-effects, sonilo/1.1/video-to-sound-effects.
Start building
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "sonilo/1.1/video-to-music",
"video": "https://v3b.fal.media/files/b/0a9ddd00/2QssaYyFxstvVlmIraSns_Sonilo_Demo_Original_1.mp4",
"prompt_influence": 0.5
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Input Schema
5 parameters · 1 required · 4 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
video | string | Required | Source video file or URL to score. |
prompt | string | Optional | Optional music style. If omitted, a prompt is generated from the video. |
duration | number | Optional | Optional length in seconds (1–600) of the segment to score, starting at start_offset. Defaults to the rest of the video. · Min: 1 · Max: 600 |
start_offset | number | Optional | Optional offset in seconds (0–600) to start scoring from. start_offset + duration must not exceed the video length. · Min: 0 · Max: 600 |
prompt_influence | number | Optional | How closely the music follows the prompt (0–1). · Min: 0 · Max: 1 · Default: 0.5 |
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-readable error description |
Async Workflow
This model runs asynchronously. Submit a request, then poll for the result.
- Submit: POST to /v1/run and read the returned
id. - Poll: GET /v1/run/{id} until status is
completed,failedortimeout. - Retrieve: read
outputsfrom the completed response.
Choose your model
Compare models
| Model | Type | Default price | Released |
|---|---|---|---|
Sonilo 1.1 Video to MusicThis model Sonilo | Audio | $0.27 / run | Jun 3, 2026 |
Sonilo | Audio | $0.27 / run | Jul 21, 2026 |
Sonilo | Audio | $0.01 / run | Jul 21, 2026 |
Sonilo | Audio | $0.23 / run | Jun 3, 2026 |
Questions
FAQ
How do I call Sonilo 1.1 Video to Music through SandBase?
Create a SandBase API key, then send requests with the model ID "sonilo/1.1/video-to-music" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.
Do I need a separate Sonilo account?
No. One SandBase API key and balance gives you access to Sonilo 1.1 Video to Music and the other models in the catalog; you do not need to sign up with Sonilo separately.
