Task

Text to Music API

Compose a music track from a text description.

Describe the genre, mood, instruments and tempo, and set the duration in seconds. Pricing is per second of generated audio, so a 30-second loop costs a fraction of a full-length track.

Models
1
Pricing
From $0.00225 per second
Providers
1

Text to Music models and pricing

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

Text to Music 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

Providers for text to music

Frequently asked questions

What is the cheapest Text to Music API?

Text to Music models are from $0.00225 per second. Prices for all 1 models are listed in the table above.

Which Text to Music models are available?

ScalingTensor currently offers 1 text to music model: Sonilo Text to Music.

How do I call a text to music 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 Text to Music models

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