Lyria 3.5 and Lyria 3 Pro
Google’s Lyria music models on the Audio API: POST https://api.beatapi.io/v1/audios/tasks. Describe a song, give it your lyrics, or both; set its length and tempo; then extend it or rewrite a section of it. Each call makes one song for one fixed price, whatever its length.
Beta. Lyria is served through Google Flow Music by a third-party route, not through Google’s own API. A call may queue longer than usual or be briefly unavailable, and the options below may change. A task that fails is not billed.
Models
The two share one request contract and one price list. Songs are 48 kHz stereo; the primary file is an M4A, and a WAV of the same song and its cover art come with it.
Make a song
prompt describes the song: genre, mood, instruments, voice and structure. lyrics carries your own lyrics, with section tags such as [Verse] and [Chorus]. Send either or both; without lyrics the model writes them, and writing instrumental in prompt asks for no vocals.
duration and bpm guide the model; they do not bind it. In our tests a song with full lyrics (verses and a chorus) and duration: 90 came back at 93 seconds, while a request with only a two-line chorus and duration: 40 was written out into a whole song of 174 seconds, with new verses around the chorus. Send the full lyrics when the length matters. The model may also add short vocal lines of its own, such as an intro hum. A song takes about 30 to 70 seconds.
Actions
action picks the operation and defaults to generate. Each action accepts only its own fields; an extra field returns 400 bad_request and the message names it. Prices are in USD per call.
The Suno-only fields (custom_mode, style, instrumental, negative_tags, persona_id and the rest) and audio_url are not accepted by Lyria.
Work on a song you made
The general rules apply; a Lyria follow-up names one of your Lyria tasks, and audio_id is that task’s output.tracks[0].id (it may be left out). An extension returns the song up to continue_at followed by the new part; a rewritten section returns the whole song with that section replaced. Each is a new task with a new track id.
Continue a song from the 60-second mark for 30 seconds:
Rewrite seconds 10 to 20:
Write lyrics first, then sing them with generate:
The finished lyrics task has no files; output.data carries the lyrics and a style description you can pass to generate as lyrics and prompt:
The result
A song action returns one track. output.media lists three files: the song as M4A (audio/mp4, also in output.url and tracks[0].audio_url), the same song as WAV, and its cover art (tracks[0].image_url). tracks[0].lyrics is the lyrics the model sang, including any lines it added, and tracks[0].duration its length in seconds.
Errors
Price list
Both models share these prices, in USD per call. A call costs the same for a 30-second and a four-minute song.

