← All Models
Lyria 3 Pro Preview
Google Lyria 3 Pro generates full-length songs with coherent verses, choruses, bridges, vocals, lyrics, and instrumental arrangements from text prompts or image references.
Specifications
| Provider | |
| Category | Audio |
Quick Start
curl https://query.genx.sh/api/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"lyria-3-pro-preview","params":{"prompt":"An epic cinematic orchestral piece about a journey home. Starts with solo piano and builds through sweeping strings.","duration_seconds":120,"response_mime_type":"audio/mpeg"}}'
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
prompt |
string | required | — | Text prompt describing genre, mood, instruments, BPM, key, lyrics, or timed structure such as [0:00 - 0:10] Intro |
duration_seconds |
number | optional | 120 |
Approximate target duration in seconds |
response_mime_type |
string | optional | audio/mpeg |
Output MIME type: audio/mpeg or audio/wav |
image |
string | optional | — | Optional image URL or data URI to inspire the music |
force_instrumental |
boolean | optional | false |
Force instrumental-only output |