Google Lyria 3 API - AI Music Generation | Muapi: AI Audio & Music

Call the Google Lyria 3 API for text-to-music. Clips up to 30 seconds. $0.04 per generation, async polling and webhooks. Lyria 3 generates short, high-quality music clips of up to 30 seconds from a text prompt — perfect for jingles, intros, loops and background tracks. Returned as an MP3.

Interactive model controls

Lyria 3 generates short, high-quality music clips of up to 30 seconds from a text prompt — perfect for jingles, intros, loops and background tracks. Returned as an MP3.

📝

Overview

About this model

Lyria 3 generates short, high-quality music clips of up to 30 seconds from a text prompt. Through Muapi you call it with a single endpoint and receive a hosted MP3 asynchronously via polling or webhook.

1Jingles, intros and outros
2Background loops for apps and videos
3Social media sound beds
4Quick mood and style exploration
💰

Pricing & Value

Cost analysis

muapiapp$0.04

Flat $0.04 per generation, matching Google's official API price.

** Competitor pricing is estimated based on similar model architectures and usage tiers.

⚙️

Technical Details

Configuration schema

Promptstring

Describe the music clip: genre, mood, tempo and instruments (up to 2,000 characters).

Default ValueA warm lo-fi hip hop loop with mellow Rhodes chords, vinyl crackle and a laid-back drum groove.
📖

Implementation Guide

Developer documentation

How to Use Lyria 3

  1. Describe the music: genre, mood, tempo, instruments (and lyrics for vocals) in prompt, up to 2,000 characters.
  2. Submit: POST to /api/v1/lyria-3 with your x-api-key; you receive a request_id.
  3. Collect the result: poll /api/v1/predictions/{request_id}/result or pass a webhook URL to be notified when the MP3 is ready.
❓

Common Questions

Frequently asked

How long is the generated audio?

Clips up to 30 seconds.

What format is the output?

A hosted MP3 file.

How much does Lyria 3 cost?

$0.04 per generation, matching Google's official API price.