Lyria 3
fal-ai/lyria3Turn text into speech and audio with Lyria 3 from fal through one Spiral API key. It runs in the background and returns audio. Pay as you go, with no subscription.
Pricing
$0.052 per run at the default inputs.
Limits
- Runs
- In the background
- Returns
- audio
- Longest queue wait
- 1 hour
- Run deadline
- 30 minutes
- Longest run, end to end
- 255 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | The text prompt describing the music you want to generate. Include genre, mood, instrumentation, tempo, and vocal style for best results. Lyria 3 supports vocals, lyrics, and multi-language generation. |
negative_prompt | text | Negative prompting is not supported by Lyria 3. | |
image_url | URL or file | — | Optional image URL to use as inspiration for music generation. The model will create music that matches the mood and theme of the image. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "fal",
"model": "fal-ai/lyria3",
"input": {
"prompt": "An energetic electronic dance track with soaring synth leads, punchy four-on-the-floor kick drums, and a catchy vocal hook singing '\''Feel the rhythm, feel the…"
}
}'Frequently asked questions
How much does Lyria 3 cost?
$0.052 per run at the default inputs. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Lyria 3 through an API?
Send `POST /v1/runs` with `"provider": "fal"`, `"model": "fal-ai/lyria3"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with fal to use Lyria 3?
No. Spiral runs it on its own fal account and charges your Spiral balance.
Can my AI agent use Lyria 3?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.