Pricing
Compare models →Pricing is based on the uploaded video duration.
Billing Rules
- Billing is per second of the uploaded video: a video of 10 s or less costs $0.09 (video of 10 s)
- Each additional second beyond 10 s adds $0.009 (11 s video minus 10 s video)
- Billed duration is rounded up to the next whole second
- Minimum billed duration is 10 seconds, so a 1 s video costs $0.09 (video of 1 s)
- Maximum billed duration is 360 seconds; longer videos are not charged more than $3.24 (video of 360 s)
promptdoes not affect pricing
Example Costs
| Video Duration | Cost |
|---|---|
| 1 s | $0.09 |
| 5 s | $0.09 |
| 10 s | $0.09 |
| 30 s | $0.27 |
| 60 s | $0.54 |
| 120 s | $1.08 |
| 360 s | $3.24 |
Input schema
| Parameter | Type | Description |
|---|---|---|
videoRequired | string | Input video URL. Maximum supported video length is 360 seconds. |
prompt | string | Optional style prompt for the generated music.JSON schema{
"x-rows": 4
} |
README
Sonilo Video-to-Music
Sonilo Video-to-Music generates music from a video input, with an optional style prompt to guide the soundtrack. It is designed for turning visual content into matching background music for short films, ads, social content, trailers, highlight clips, and other video-driven audio workflows.
Why Choose This?
- Video-driven music generation
Generate music that fits the pacing and feel of an uploaded video.
- Optional style guidance
Add a prompt to steer the mood, genre, instrumentation, or production style of the generated music.
- Simple workflow
Upload one video, optionally add a style prompt, and generate a matching music track.
- Supports longer inputs
Works with videos up to 360 seconds.
- Production-ready API
Suitable for trailers, branded content, social videos, cinematic edits, and background scoring workflows.
Parameters
| Parameter | Required | Description |
|---|---|---|
| video | Yes | Input video URL. Maximum supported video length is 360 seconds. |
| prompt | No | Optional style prompt for the generated music. |
How to Use
- Upload your video — provide the source video you want to score with music.
- Add a style prompt (optional) — describe the mood, genre, instrumentation, or production feel you want.
- Submit — run the model and download the generated music.
Example Prompt
Cinematic emotional orchestral score with soft piano, warm strings, slow build, inspiring and modern trailer mood
Pricing
Pricing is based on the uploaded video duration.
Billing Rules
- Billing is per second of the uploaded video: a video of 10 s or less costs $0.09 (video of 10 s)
- Each additional second beyond 10 s adds $0.009 (11 s video minus 10 s video)
- Billed duration is rounded up to the next whole second
- Minimum billed duration is 10 seconds, so a 1 s video costs $0.09 (video of 1 s)
- Maximum billed duration is 360 seconds; longer videos are not charged more than $3.24 (video of 360 s)
promptdoes not affect pricing
Example Costs
| Video Duration | Cost |
|---|---|
| 1 s | $0.09 |
| 5 s | $0.09 |
| 10 s | $0.09 |
| 30 s | $0.27 |
| 60 s | $0.54 |
| 120 s | $1.08 |
| 360 s | $3.24 |
Best Use Cases
- Social media videos — Generate music beds for short-form clips.
- Ads and promos — Create matching soundtrack material for branded content.
- Trailers and highlights — Add cinematic or energetic music to visual edits.
- Creator workflows — Quickly generate background music for uploaded video content.
- Prototype scoring — Explore soundtrack directions before final post-production.
Pro Tips
- Use a style prompt when you want stronger control over genre, mood, or instrumentation.
- Keep the prompt focused and specific for more predictable results.
- Shorter videos are useful for quickly testing soundtrack direction before scoring longer content.
- Upload the cleanest final or near-final edit possible so the music better matches pacing and structure.
Notes
videois required.
- Maximum supported video length is 360 seconds.
- Pricing depends only on billed video duration.
- Video duration is rounded up to the next whole second for billing.
Related Models
- Sonilo audio generation workflows — Useful when you need prompt-first music generation instead of video-driven scoring.
- Background music generation workflows — Useful when you need standalone music without a video input.
- Video sound design workflows — Useful when you want synchronized effects instead of generated music.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Sonilo Video-to-Music API example
The catalog lists POST https://api.opensi.com.ai/api/v3/sonilo/video-to-music for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"video": "https://static.website-files.org/assets/video-generator/landing/showcase/04-a244f00f6098.mp4",
"prompt": "A cinematic ocean wave at sunrise, highly detailed"
}Sonilo Video-to-Music API — Frequently asked questions
What is the Video To Music API?
Video To Music is a Sonilo model for music generation, exposed as a REST API on OpenSIAI. Sonilo Video-to-Music is a fast AI music generation model that creates background music synced to an input video’s mood, pacing, and scene transitions. Ready-to-use REST inference API for video soundtracks, social media content, advertising creatives, cinematic clips, product videos, creator workflows, and professional video-to-music generation with simple integration, no coldstarts, and affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Video To Music API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/sonilo/video-to-music.
How much does Video To Music cost per run or per second?
Video To Music starts at $0.009 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Video To Music accept?
Key inputs: prompt, video. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/sonilo/video-to-music.
How long does Video To Music take to generate?
Reported generation time on OpenSIAI is around 49 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Video To Music outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (Sonilo). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
