Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

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

WebsiteAPI docs

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

License 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 .

Commercial use
With conditions

“Customers may elect to use it for production or commercial purposes, or disclose Generated Output to third-parties” docs.cloud.google.com

Credit
Not needed

“Customers may elect to use it for production or commercial purposes, or disclose Generated Output to third-parties” docs.cloud.google.com

Inside your app or game
With conditions

“Customers may elect to use it for production or commercial purposes, or disclose Generated Output to third-parties” docs.cloud.google.com

Pass the files on to your users
Not checked yet
Monetized YouTube
With conditions

“Customers may elect to use it for production or commercial purposes, or disclose Generated Output to third-parties” docs.cloud.google.com

AI training
Banned by the terms

“You may not use the Services to develop models that compete with the Services” ai.google.dev/gemini-api/terms

Bots and bulk downloads
Allowed

“call the `interactions.create` method with a text prompt.” ai.google.dev

Rules from the license
  • 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.

License rules
- 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/)
Can an agent use it by itself?
No.

Agent installs a package or loads it from a CDN.

Install
npm install @google/genai
How an agent gets 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.

Formats: mp3, wav

API, key or account
API key needed. API docs
Limits
Lyria 2 clips 32.8 s; Lyria 3 Clip 30 s; Lyria 3 Pro 184 s; Lyria 3.5 about 2 min.
MCP server
None found
This card for machines

Alternatives

Google Lyria This page

Paid With conditions API, npm

Eleven Music and Sound Effects

ElevenLabs API for AI music (3 s to 10 min) and sound effects (0.5-30 s, loopable).

Free tier With conditions MCP, API, npm, PyPI

Loudly API

AI music API with a royalty-free perpetual licence and a free track allowance.

Free tier Commercial OK API

Stable Audio

Stability AI music and sound generation (Stable Audio 2.5/3.0) via API.

Free tier With conditions API

Suno

AI song generator; paid plans give ownership and commercial use, plus an API platform.

Free tier With conditions API

Treblo

AI music generator that makes full songs from prompts and lyrics, with an app and a Melodia API for developers.

Free tier Commercial OK API

All ai music and sound generators