Lyria2 API

Google's music generation model. Call it on 666 AI with the same API key as every other model. Pay as you go; prices follow the upstream in real time and this page updates hourly.

VendorGoogle
Typemusic generation
Price$0.135 per call
Model ID (use this in your request)google/lyria2
Sign up free & get an API keySee all model prices

How to call Lyria2

The API is OpenAI-compatible. Replace YOUR-ENDPOINT with the endpoint shown on your API Key page after you sign up, and YOUR-KEY with your key.

curl https://YOUR-ENDPOINT/v1/audio/music \
  -H "Authorization: Bearer YOUR-KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "google/lyria2", "prompt": "upbeat folk song", "lyrics": "Sunny morning, open road"}'

Similar models — price comparison

ModelPrice
Music 2.6$0.2025 per call

More models from Google

ModelPrice
Gemini 3 Flash Preview$0.6075 per 1M input tokens · $3.65 per 1M output tokens
Gemini 3 Pro Image Preview$2.43 per 1M input tokens · $146 per 1M output tokens
Gemini 3.1 Flash Image Preview$0.6075 per 1M input tokens · $72.9 per 1M output tokens
Gemini 3.1 Pro Preview$2.43 per 1M input tokens · $14.58 per 1M output tokens
Gemini 3.5 Flash$1.82 per 1M input tokens · $10.94 per 1M output tokens
Gemini 3.6 Flash$0.9113 per 1M input tokens · $4.56 per 1M output tokens
Gemini 3.7 Flash$0.9113 per 1M input tokens · $4.56 per 1M output tokens
Gemini 3.8 Flash$0.9113 per 1M input tokens · $4.56 per 1M output tokens

FAQ

How much does the Lyria2 API cost?

On 666 AI, Lyria2 costs $0.135 per call. You pay only for what you use — no monthly fee. Prices follow the upstream in real time; this page updates every hour.

Can I use the official OpenAI SDK?

Yes. The API is OpenAI-compatible: in the OpenAI Python or Node.js SDK just change base_url and api_key, and set model to google/lyria2.

How do I pay?

Bank card (including Google Pay / Apple Pay), USDT / ETH, or bank wire. Top up once and usage is deducted as you go.