Google Lyria
by Google
Google music generation models (Lyria 2, 3, 3.5) on the Gemini API and Vertex AI.
AI music and sound generators Generator
1. Price: ai.google.dev/gemini-api/docs/pricing
None on the Gemini API. Usage price: Gemini API: Lyria 3 Clip $0.04/song; Lyria 3 Pro and 3.5 $0.08/song.
ai.google.dev/gemini-api/docs/pricingNo quote yet: price is read from the official pages.
2. Commercial use: docs.cloud.google.com
“Customers may elect to use it for production or commercial purposes, or disclose Generated Output to third-parties”docs.cloud.google.com
3. Credit the author: docs.cloud.google.com
“Customers may elect to use it for production or commercial purposes, or disclose Generated Output to third-parties”docs.cloud.google.com
4. Agent access: ai.google.dev
An agent can use it by itself. Gemini API: POST https://generativelanguage.googleapis.com/v1beta/interactions (Interactions API, interactions.create) with a text prompt; SDKs for Python, JavaScript, Java, Go. Also available on Vertex AI.
ai.google.devLicense checked Nov 4, 2026 against 3 official pages. Tap a verdict to see its source. How we checked Report an error
License
Vertex AI Lyria 3 Preview terms, Google Cloud Service Specific Terms and Gemini .
“Customers may elect to use it for production or commercial purposes, or disclose Generated Output to third-parties” docs.cloud.google.com
“Customers may elect to use it for production or commercial purposes, or disclose Generated Output to third-parties” docs.cloud.google.com
“Customers may elect to use it for production or commercial purposes, or disclose Generated Output to third-parties” docs.cloud.google.com
“Customers may elect to use it for production or commercial purposes, or disclose Generated Output to third-parties” docs.cloud.google.com
“You may not use the Services to develop models that compete with the Services” ai.google.dev/gemini-api/terms
“call the `interactions.create` method with a text prompt.” ai.google.dev
- Do not prompt with artist voices or copyrighted lyrics; such prompts are blocked.
- Expect a SynthID watermark on all output.
AllowedWith conditionsNot allowedNot stated or not checked yet
Is Google Lyria free for commercial use? The full answer Not legal advice. Check the license page before you ship.
For your agent
License rules tell your agent what it may do with Google Lyria. Paste them into your prompt or AGENTS.md.
- Google Lyria (AI music and sound generators). Google music generation models (Lyria 2, 3, 3.5) on the Gemini API and Vertex AI. Price: paid; commercial use with conditions; no credit needed; ship inside your app with conditions; no AI training on its content.
Connect: API docs https://ai.google.dev/gemini-api/docs/music-generation (API key needed); npm @google/genai. Limits: Lyria 2 clips 32.8 s; Lyria 3 Clip 30 s; Lyria 3 Pro 184 s; Lyria 3.5 about 2 min.
Get files: Gemini API: POST https://generativelanguage.googleapis.com/v1beta/interactions (Interactions API, interactions.create) with a text prompt; SDKs for Python, JavaScript, Java, Go. Also available on Vertex AI (mp3, wav).
Not allowed: Prompts that ask for specific artist voices or copyrighted lyrics are blocked by safety filters.
Not allowed: All generated audio carries a SynthID watermark.
Not allowed: Vertex Lyria 3 is a Preview offering under the Pre-GA Offerings Terms; output is MP3 44.1 kHz.
Not allowed: Gemini API terms bar using the service to build competing models.
Rule: Do not prompt with artist voices or copyrighted lyrics; such prompts are blocked.
Rule: Expect a SynthID watermark on all output.
License: https://docs.cloud.google.com/vertex-ai/generative-ai/docs/models/lyria/lyria-3 (checked 2026-11-04; details: https://agentgid.com/assets/google-lyria/)
Agent installs a package or loads it from a CDN.
npm install @google/genaiFormats: mp3, wav
Alternatives
Google Lyria This page
Eleven Music and Sound Effects
ElevenLabs API for AI music (3 s to 10 min) and sound effects (0.5-30 s, loopable).
AI music API with a royalty-free perpetual licence and a free track allowance.
Stability AI music and sound generation (Stable Audio 2.5/3.0) via API.
AI song generator; paid plans give ownership and commercial use, plus an API platform.
AI music generator that makes full songs from prompts and lyrics, with an app and a Melodia API for developers.