Task

Music Generation API

Generate original music from a prompt or from a video.

Music models compose instrumental tracks to a requested length and style. Video-aware models watch the clip and score it, following its pacing and mood.

Models
2
Pricing
From $0.00225 per second
Providers
1

Music Generation models and pricing

Every model below is available with the same API key. Open a model for its full parameter list and request examples.

Music Generation API models
ModelTasksBillingPrice
Sonilo Text to Music
sonilo/text-to-music
Per second
$0.00225
per second of output, multiplied by the number of variants_num
Sonilo Video to Music
sonilo/video-to-music
Per second
$0.009
per second of source video

Providers for music generation

Frequently asked questions

What is the cheapest Music Generation API?

Music Generation models are from $0.00225 per second. Prices for all 2 models are listed in the table above.

Which Music Generation models are available?

ScalingTensor currently offers 2 music generation models: Sonilo Text to Music and Sonilo Video to Music.

How do I call a music generation model from my code?

Send POST /api/media/generate with the model ID and its params, authenticated with your apiKey header. The response contains a jobId; poll GET /api/media/result?jobId=... until the status is completed, then download the output from the returned URL.

Start calling Music Generation models

Sign in with Google, top up your wallet from $10 and create an API key. The same key works for every model in the catalog.