Lyria 3 API
Lyria 3 is Google's music model for tracks with vocals and lyrics, or instrumentals, from a text prompt or a photo, with control over style, vocals and tempo. Through CoreSpeed, Claude Code, Codex, Cursor or any MCP agent runs Lyria 3, Lyria 3 Pro and Lyria 3.5 with no Google API key, from one credit balance.
From
60credits
per billed clip · about $0.06
By Google · 3 ways to run it · No Google key
Paste this into Claude Code, Codex or Cursor
set up https://corespeed.io/SKILL.md (read it raw, e.g. with curl), then make a 30-second upbeat acoustic jingle for Harbor Coffee with Lyria 3, and tell me the rate before you run itWhat it costs,per billed unit.
- Music, Lyria 3Lyria3, in the catalog60 creditsper billed clip · $0.06
- Music, Lyria 3 ProLyria 3 Pro, in the catalog120 creditsper billed clip · $0.12
- Music, Lyria 3.5Lyria 3.5, in the catalog150 creditsper billed generation · $0.15
A run is billed once, after it succeeds: the rate times the units the model reports for that run. Settings such as resolution, length, count or sound change how many units a run counts. A failed, cancelled or expired run costs nothing. Credits come from one balance: 1,000 credits are $1.
Rates come from the catalog and follow it. Every model in Audio generation, with its rate
What itdoes well.
- Songs with vocals and lyrics written for you, or instrumentals.
- Control over style, vocals and tempo; on Lyria 3 Pro, intros, verses, choruses and bridges.
- Music that matches the mood of a photo you give it.
- Takes
- A prompt of up to 5,000 characters: genre, mood, instruments, tempo, vocals. An image is optional.
- Length
- Lyria 3, 30-second tracks; Lyria 3 Pro, up to 3 minutes; Lyria 3.5, full songs of a few minutes, set in the prompt.
- Vocals
- In English, German, Spanish, French, Hindi, Japanese, Korean or Portuguese.
- Provenance
- Every track carries Google's SynthID watermark.
From Google's own page: Gemini can now create music, with Lyria 3
Your agentruns it.
Set up once with the line above. Then your agent calls Lyria 3 through CoreSpeed's media tools, with no Google account.
Find it
Your agent searches the catalog for Lyria 3 and picks the variant that fits the job.
media__list_modelsRead the rate and inputs
It reads the rate and the inputs the model takes, before anything runs.
media__get_modelRun it
The audio file comes back as a link and as a file in your Drive for 7 days. A long run finishes as a job.
media__generate