Lyria 3.5 API
Create songs or instrumentals from a prompt, with vocals in eight languages.
Google · lyria-3.5
Music
Create songs or instrumentals from a prompt, with vocals in eight languages.
Put a prompt and "model": "lyria-3.5" on an audio clip, and the render generates it and edits it into the video. To generate it on its own, send the same asset to the generate endpoint.
Built forSongs with vocals · Vocals in eight languages · Tracks for longer videos
Technical specifications
| Input | Text prompt |
|---|---|
| Output | Music |
| Length | 1 to 3 minutes; a shorter clip gets a 1-minute track, cut to fit |
{
"asset": {
"type": "audio",
"prompt": "A bright acoustic pop song with a warm female vocal about the first day of summer",
"model": "lyria-3.5"
},
"length": 60
}Pricing
Generation is paid in credits from the same balance as rendering, at what the model's provider charges plus a small margin. See AI generation pricing.
| Mode | Charged per | Price changes with | Length a quote assumes without one |
|---|---|---|---|
| Music | Track, 1 to 3 minutes | Fixed price | — |
Get a quote
POST /generate/quote takes the same body as the generate endpoint and returns what that generation would cost. Nothing is generated, reserved or
charged.
curl -X POST \
-H "Content-Type: application/json" \
-H "x-api-key: $SHOTSTACK_API_KEY" \
-d '{
"asset": {
"type": "audio",
"prompt": "A bright acoustic pop song with a warm female vocal about the first day of summer",
"model": "lyria-3.5"
},
"length": 60
}' \
https://api.shotstack.io/edit/stage/generate/quote
The response gives credits, the price of that request, and ceiling, which is true when the request has no length for a
model charged by length, so the price is an estimate. Prices follow the providers, so ask again rather than storing one.
How it compares
Lyria 3.5 beside the other models in Shotstack that make the same thing.
| Model | Best for | Section plan | Charged per |
|---|---|---|---|
| Lyria 3.5 | Songs and instrumentals, with vocals in eight languages | — | Track, 1 to 3 minutes |
| ElevenLabs Music | Tracks up to 10 minutes, planned section by section | Yes | Started minute of music, up to 10 minutes |