YepAPI
AI Models

Lyria 3.5

Generate music from text with Lyria 3.5, Google DeepMind's newest generation of Lyria. Returns audio plus a short text description.

POST/v1/media/queue
$0.16/call

Overview

Lyria 3.5 is the newest generation of Google DeepMind's Lyria music model. Generate music from a text prompt; each job returns the audio track plus a short text description of what was generated.

PropertyValue
Model IDgoogle/lyria-3.5
Aliaslyria-3-5
Upstream Modellyria-3.5
OutputMusic track (audio) plus a short text description
Pricing$0.16/track

Usage

All media models use the async job queue. Submit a job, then poll for the result.

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.5',
    prompt: 'A warm neo-soul groove with Rhodes piano, brushed drums, and a soft muted trumpet melody',
  }),
});
const { data } = await res.json();
// data.jobId — use this to poll for results
curl -X POST https://api.yepapi.com/v1/media/queue \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "google/lyria-3.5", "prompt": "A warm neo-soul groove with Rhodes piano and brushed drums"}'

Step 2: Poll for Result

const status = await fetch(`https://api.yepapi.com/v1/media/status/${data.jobId}`, {
  headers: { 'x-api-key': 'YOUR_API_KEY' },
});
const { data: job } = await status.json();
// job.status — "pending" | "processing" | "completed" | "failed"
// job.result.audio — { mimeType, base64 } when completed
// job.result.text — short text description of the generated track
curl https://api.yepapi.com/v1/media/status/JOB_ID \
  -H "x-api-key: YOUR_API_KEY"

Request Body

ParameterTypeRequiredDescriptionDefault
modelstringYesgoogle/lyria-3.5—
promptstringYesText description of the music—

Features

  • Newest generation of Google DeepMind's Lyria
  • Text-to-music from descriptive prompts
  • Returns audio plus a short text description of the track
  • Same request shape as Lyria 3 Pro
  • Flat $0.16 per track
Under the Hood

Powered by Google's Gemini API directly.

On this page