Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 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 AI generator

Price
Paid
None on the Gemini API.
Commercial use
Unclear
Google Cloud / Gemini API terms
Credit the author
—
Agent access
Public API
API key needed

Rules for your agent

- 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 unclear; shipping inside an app unclear.
  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.
  Rule: Do not prompt with artist voices or copyrighted lyrics; such prompts are blocked.
  Rule: Expect a SynthID watermark on all output.

Paste it into your prompt or AGENTS.md. It is built from the license and API terms below.

License

LicenseGoogle Cloud / Gemini API terms
Commercial useCommercial use unclear
Credit—
Inside your app or gameShipping inside an app unclear
Monetized YouTubeMonetized YouTube unclear
AI trainingNot stated
Bots and bulk downloadsNot stated
Rules
  • Do not prompt with artist voices or copyrighted lyrics; such prompts are blocked.
  • Expect a SynthID watermark on all output.

Connect it to an agent

MCP serverNone found
APIAPI docs · key needed
LimitsLyria 2 clips 32.8 s; Lyria 3 Clip 30 s; Lyria 3 Pro 184 s; Lyria 3.5 about 2 min.
npmnpm install @google/genai

Pricing

FreeNone on the Gemini API.
Paid from—
Usage priceGemini API: Lyria 3 Clip $0.04/song; Lyria 3 Pro and 3.5 $0.08/song.
Good to knowModel IDs: lyria-002, lyria-3-clip-preview, lyria-3-pro-preview, lyria-3.5.

Sources

Read on Oct 10, 2026: docs.cloud.google.com/vertex-ai/generative-ai/docs/music/..., docs.cloud.google.com/vertex-ai/generative-ai/docs/music/overview, ai.google.dev/gemini-api/docs/music-generation, ai.google.dev/gemini-api/docs/pricing.

Not confirmed: Terms not read; Vertex pricing and indemnity not readable; pip package name not stated.

Not legal advice. Check the license page before you ship.

Alternatives to Google Lyria

All ai music and sound generators

Pick for your agentSourcePriceLicense Monetized YouTubeAgent access
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 · from $6/mo Commercial: conditions Credit required With conditions MCP API
Loudly API
AI music API with a royalty-free perpetual licence and a free track allowance.
Free tier Commercial: conditions With conditions API
Stable Audio
Stability AI music and sound generation (Stable Audio 2.5/3.0) via API.
Free tier Commercial: conditions With conditions API
Suno
AI song generator; paid plans give ownership and commercial use, plus an API platform.
Free tier · from $8/mo Commercial: conditions With conditions API
AIVA
AI composer with Free, Standard and Pro plans; Pro gives you the copyright.
Free tier Commercial: conditions Credit required With conditions Download
Meta AudioCraft (MusicGen, AudioGen)
Meta's self-hosted MusicGen and AudioGen models; code MIT, weights CC BY-NC 4.0.
Free Non-commercial Credit required No PyPI
Beatoven.ai
AI background music generator with the maestro API and a perpetual non-exclusive licence.
Paid · on request Commercial: conditions With conditions API
SOUNDRAW API
AI music generation API with royalty-free commercial use inside your product.
from $29.99/mo Commercial: conditions With conditions API