V1.1
/v1/run1.1 Video To Music by Sonilo - advanced AI model for video-to-audio. Delivers high-quality results with fast inference, suitable for both creative and production workflows.
Request body
Submit an async generation request. The model field selects the model; other fields are model-specific input parameters.
Model identifier. Set to sonilo/1.1/video-to-music.
Default: sonilo/1.1/video-to-music
Optional text prompt steering the musical style. If omitted, a prompt is generated automatically from the video.
Public http(s) URL of the source video to score.
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.
Range: 1 to 600
How many distinct music tracks to generate for the video.
Range: 1 to 3
Default: 1
Optional. Start scoring from this offset (seconds) into the video. Requires Start Offset + Duration <= Video Duration.
Range: 0 to 600
Turn it up to match the text prompt
Range: 0 to 1
Default: 0.5
Response Schema
The submit endpoint returns a run response. If its status is pending or running, poll GET /v1/run/{id} with the returned opaque ID until it reaches a terminal state.
Opaque SandBase run identifier. Use it exactly as returned; no prefix is guaranteed.
Current public run status.
Allowed values: pending, running, completed, failed, timeout
Public SandBase model name used for this run.
Present only for completed runs. Each object is capability-specific; inspect the selected model schema for its fields.
Present only for failed or timeout runs. Contains a public error type and sanitized message.
Stable public error category.
Sanitized error message safe to show to clients.
Usage details when available.
Model capabilities
Capabilities declared by the model registry.
Default: video-to-audio
Execution mode declared by the model registry.
Default: async