YepAPI

Command Palette

Search for a command to run...

GoogleMusic Generation/v1/media/queue

Lyria 3 Clip

AI music generation via Lyria 3 Clip. Generate 30-second music clips from text.

Generate 30-second music clips from text prompts or images. Outputs MP3. Supports custom lyrics with structural tags.

No credit card required. Takes 30 seconds.

2,400+

Developers

1.2M+

API calls served

100+

Endpoints

$0.01

Per call

Yep, that's it.

Try it live

Enter a prompt and generate music with Lyria 3 Clip.

POST/v1/media/queue
Response

Sample output — run the API to generate your own

Pricing

Flat rate: $0.08/song

Endpoint

/v1/media/queue

Strengths

30s clips

Lyria 3 Clip generates 30-second music clips, ideal for short loops, intros, and social-length backing tracks.

Text-to-music

Produces music from a text prompt describing genre, mood, instrumentation, and tempo, output as an MP3.

Image-to-music

Can generate a clip conditioned on an image, translating visual mood and style into a matching 30-second track.

Custom lyrics

Accepts custom lyrics with structural tags so you can shape verses and sections within the 30-second clip.

Quick start

Copy this snippet and start making calls with Lyria 3 Clip.

// Step 1: Submit job
const res = await fetch('https://api.yepapi.com/v1/media/queue', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "model": "google/lyria-3-clip",
    "prompt": "A dreamy lo-fi hip-hop beat with vinyl crackle, mellow piano chords, soft jazzy saxophone, and a gentle boom-bap drum pattern — perfect for late-night studying"
  }),
});
const { data } = await res.json();
const jobId = data.jobId;

// Step 2: Poll for result
const status = await fetch(`https://api.yepapi.com/v1/media/status/${jobId}`, {
  headers: { 'x-api-key': 'YOUR_API_KEY' },
});
const { data: job } = await status.json();
// job.status: "pending" | "processing" | "completed" | "failed"
// job.result: { text?, image?, audio?, video? }

Why use Lyria 3 Clip through YepAPI?

One API key for all models — no separate accounts
No monthly minimums — pay per call
Switch models with one line of code
Simple REST API — works from any language
Unified billing across all providers
No rate limits for most use cases

Lyria 3 Clip API: 30-second AI music from text

Lyria 3 Clip is Google's music generation model for short-form audio, producing 30-second clips from text prompts or images and outputting MP3. It supports custom lyrics with structural tags to shape the song.

On YepAPI you generate Lyria 3 Clip music with one API key on the media queue endpoint at a flat $0.08 per song, making short backing tracks and loops extremely affordable.

What is Lyria 3 Clip?

Lyria 3 Clip is a music generation model from Google that creates 30-second music clips. From a text prompt describing genre, mood, instrumentation, and tempo — or from an image whose style it translates into sound — it produces a complete short track as an MP3. It also accepts custom lyrics with structural tags, so you can specify verses, choruses, and other sections within the clip. Lyria 3 Clip is built for short-form needs: loops, intros, stings, and social-length backing music, where a polished 30-second piece is all you need.

Build with Lyria 3 Clip via YepAPI

Generate music by submitting a text prompt — optionally with custom lyrics and structural tags, or an image reference — to the YepAPI media queue using one API key. You poll the asynchronous job and download the finished MP3 when generation completes. The queue handles the audio synthesis, so your app just enqueues prompts and collects tracks. The same key also reaches Lyria 3 Pro and the rest of the catalog, so you can prototype on Clip and move to full-length songs without changing credentials.

Lyria 3 Clip API pricing — Flat rate: $0.08/song

Lyria 3 Clip is billed at a flat $0.08 per generated song, regardless of prompt length — no per-token or per-second math. That predictable price makes it cheap to generate many variations of a 30-second clip, so you can explore moods and arrangements freely. You pay only per song you generate, and one YepAPI balance covers Lyria 3 Clip alongside every other model on the platform.

Lyria 3 Clip for short loops and social audio

Lyria 3 Clip is ideal for short-form audio: looping background music for apps and games, intros and outros for videos, stings and transitions, and backing tracks for social posts. Its flat per-song price encourages generating several options and picking the best fit, while custom lyrics and structural tags let you tailor a clip to a specific scene. For any project needing quick, polished 30-second music, it is the economical choice.

Try Lyria 3 Clip free

Start with $5 in free credit — no card needed. Sign up, grab your API key, and generate several Lyria 3 Clip tracks to hear its quality across genres before spending anything.

Start generating in 30 seconds

$5 free credit on signup. No credit card required. Pay per call.

What developers say

Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.

Marcus T.

SEO Platform Founder

One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.

Priya S.

Full-Stack Developer

The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.

Jake R.

Indie Hacker

Frequently asked questions

Generate 30-second music clips from text prompts or images. Outputs MP3. Supports custom lyrics with structural tags.

Pricing for Lyria 3 Clip through YepAPI is based on usage. No monthly minimums — you only pay for what you use.

Sign up for a free API key, then send requests to the /v1/media/queue endpoint.

Ready to use Lyria 3 Clip?

$5 free credit on signup. No credit card required. Pay per call.

Explore more models