Generate music with Lyria 3
Google Lyria 3 — high-fidelity music from a text prompt, with optional lyrics and up to 10 reference images to condition the mood. MP3 output (SynthID-watermarked).
Asynchronous. Returns a job id (the track is not in this response). Poll GET /v1/audios/{id} until status is succeeded — the track URL is in that response’s audio_url.
Authorizations
API key as a bearer token: Authorization: Bearer bpx_live_xxx
Body
Description of the music to generate (10-2000 characters).
Optional reference images (up to 10) to condition the track's mood/theme. Each item is a public image URL, a data URI, raw base64, or an uploaded-file URL from POST /v1/uploads.
10Optional lyrics (up to 3000 characters).