AI Models
Lyria 3 Pro
Generate full-length songs from text, images, or custom lyrics via Lyria 3 Pro. Outputs MP3 or WAV.
POST
$0.10/call/v1/media/queueOverview
Generate full-length songs from text, images, or custom lyrics. Outputs MP3 or WAV with structural tags and timestamp control.
| Property | Value |
|---|---|
| Model ID | google/lyria-3-pro |
| Upstream Model | lyria-3-pro-preview |
| Output | Full-length song (MP3/WAV) |
| Pricing | $0.10/song |
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-pro',
prompt: 'A mellow acoustic folk song with fingerpicked guitar about a road trip at dawn',
}),
});
const { data } = await res.json();
// data.jobId — use this to poll for resultscurl -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-pro", "prompt": "A mellow acoustic folk song with fingerpicked guitar"}'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 completedcurl https://api.yepapi.com/v1/media/status/JOB_ID \
-H "x-api-key: YOUR_API_KEY"Features
- Full-length song output (couple of minutes)
- MP3 and WAV format support
- Custom lyrics with structural tags (
[Verse],[Chorus],[Bridge]) - Image-to-music (up to 10 images)
- Timestamp control
Under the Hood
Powered by Google's Gemini API directly.