Google · Music Generation

Google Lyria 3 Clip API

Google DeepMind's 30-second music clips, with vocals or instrumental. The cheapest music model in the catalog, for jingles, intros and short loops.

$0.041 per track · priced before it runs · no subscription

About Google Lyria 3 Clip

Google Lyria 3 Clip is a music model from Google that writes a track from a style prompt, with your lyrics or without, up to 30 seconds long. It is billed per track, $0.041 per track. You can call it without an account, an API key or a subscription.

Use Google Lyria 3 Clip for

  • Background music for videos, games and apps, generated to a style prompt
  • Songs with your own lyrics, or instrumentals with none
  • Jingles and short stings an agent writes and scores in one run

Google Lyria 3 Clip specs

Endpoint
POST /api/v1/audio/generations
Price
$0.041 per track
Longest track
30 seconds
Lyrics
Your own lyrics, or none
Instrumental
Yes

How to call Google Lyria 3 Clip

Pass google/lyria-3-clip as the model field. The first request returns a 402 with the exact price; a signed retry runs it, and the client libraries fold the two into one call — how the payment works. Request and response shapes are in the docs.

curl -X POST https://blockrun.ai/api/v1/audio/generations \
  -H "Content-Type: application/json" \
  -d '{"model": "google/lyria-3-clip", "prompt": "upbeat lo-fi beat for a product video", "instrumental": true}'

Google Lyria 3 Clip or another music model

Every music model here takes the same request on the same endpoint, so trying another is a one-line change to the model field. The AI Music and Sound Effects page lists all of them side by side.

Google Lyria 3 Clip API questions

How much does the Google Lyria 3 Clip API cost?

$0.041 per track, including the per-call transaction fee. The exact price is quoted in the 402 response before anything is generated, and you pay per request with no subscription.

Do I need an API key to use Google Lyria 3 Clip?

No. Each request carries its own payment, so an agent or script can call Google Lyria 3 Clip with no account and no key. Teams that prefer one can use an API key with card or invoice billing instead.

How do I call Google Lyria 3 Clip?

Send a POST to /api/v1/audio/generations with "model": "google/lyria-3-clip". The request shape is shown above, and the same endpoint serves every music model on the catalog, so switching models is a one-line change.

How long can a Google Lyria 3 Clip track be?

Up to 30 seconds per generation.

Google Lyria 3 Clip or another model — which should I use?

Compare it with MiniMax Music 2.5+ ($0.200 per track), Google Lyria 3.5 ($0.081 per track) in the table above. They take the same request on the same endpoint, so you can try two on one prompt and keep the one you prefer.

Two ways to run this

Get an API key

Sign in, get a key, and call the same endpoints with usage billed to your account. For teams that want one invoice instead of one wallet.

Get an API key 

Or let your agent pay per call, in USDC

No account, no API key. Three steps, and the last one is the request this page is about.

  1. 01
    Point your agent at BlockRun

    Install ClawRouter, or add the BlockRun MCP server to Claude Code, Cursor, Codex or OpenClaw. Any OpenAI-compatible client works too — change the base URL, nothing else.

    curl -fsSL https://blockrun.ai/ClawRouter-update | bash
  2. 02
    Fund a wallet with USDC

    Send USDC to a wallet on Base, Solana or Arc. There is no account to create and no API key to issue: the wallet is the account, and it pays per call.

  3. 03
    Call Google Lyria 3 Clip

    The first call returns HTTP 402 with the exact price, your agent signs it, and the answer comes back. Payment settles on-chain; nothing is charged if the call fails.

    curl -X POST https://blockrun.ai/api/v1/audio/generations \
      -H "Content-Type: application/json" \
      -d '{"model": "google/lyria-3-clip", "prompt": "upbeat lo-fi beat for a product video", "instrumental": true}'