Google’s AI Studio page presents the model code lyria-3.5 as its flagship music generation model, which takes text and image and returns MP3 audio plus lyrics text (aistudio.google.com). The code lyria-3-clip-preview takes text and image as well, and returns audio in MP3 form with lyrics as text. The code lyria-realtime-exp takes weighted text prompts and returns raw 16-bit PCM audio. The code lyria-002 takes text prompts and returns a WAV file at a 48kHz sample rate. Which code you call decides the input type, the audio format and the length you get back, so this guide goes through each code on its own page.
Four Lyria codes and what each one returns
In the table below, each row gives “Model”, “Model code”, “Inputs”, “Output”.
| Model | Read on | Model code | Inputs | Output |
|---|---|---|---|---|
| Lyria 3.5 | Lyria 3.5 model page | lyria-3.5 | Text and Image | Audio (MP3), Text (Lyrics) |
| Lyria 3 Clip preview | Lyria 3 Clip preview model page | lyria-3-clip-preview | Text and Image | Audio (MP3), Text (Lyrics) |
| Lyria RealTime experimental | Lyria RealTime experimental model page | lyria-realtime-exp | Text (Weighted prompts) | Audio (Raw 16-bit PCM) |
| Lyria 2 | Vertex AI Lyria API reference (Lyria 2) | lyria-002 | text prompts | 30 seconds long and provided as a WAV audio file at a 48kHz sample rate |
Read the table by model code first, because the code is the string a developer passes to the API, and each row comes from a different Google page. The two rows with Text and Image as inputs are the ones that accept an image alongside a prompt, and both of them list Audio (MP3) and Text (Lyrics) as output. The realtime row works differently: its input is weighted prompts and its output is raw 16-bit PCM, a format that suits streaming better than saving a finished file.
If your workflow needs lyrics returned as text, the output cells show which rows deliver it and which return audio alone. The column named Read on matters too, since it tells you which page to open when you want to confirm a value before building on it.
Lyria 3.5: full music generation with lyrics
Google’s AI Studio page describes Lyria 3.5 as its flagship music generation model. According to that page, Lyria 3.5 generates high-quality 44.1 kHz stereo audio from text prompts or image inputs. The model code on the page is lyria-3.5. The page lists text and image as inputs, and audio in MP3 form plus lyrics as text as outputs. The input token limit listed for lyria-3.5 is 131,072.
An image input means a cover picture, a photo or a mood board can be the starting point instead of a written description, since the page names image inputs as one way to prompt. Because the output includes lyrics as text, a developer can display or store the words next to the audio rather than transcribing them afterwards. The large input token limit leaves room for long prompts, so a detailed brief describing mood, instruments and structure can sit in a single request.
Lyria 3 Clip Preview: short clips and loops
Google’s page describes Lyria 3 Clip Preview as a model optimized for short musical clips, loops and previews (aistudio.google.com). Lyria 3 Clip Preview generates 30-second high-quality, 48kHz stereo audio from text prompts or image inputs, according to the same page. Its model code is lyria-3-clip-preview, and the table shows Text and Image as inputs with Audio (MP3) and Text (Lyrics) as output.
The name carries the word preview, and the code ends with preview too, so anyone writing integration code should copy the full string exactly. A fixed clip length makes this model a fit for jobs where a short piece is the goal, such as testing a prompt, building a loop or auditioning a mood.
Lyria RealTime: streamed, instrumental, experimental
The experimental model on Google’s AI Studio is lyria-realtime-exp. Its page lists a sample rate of 48kHz in stereo and a control latency of at most 2 seconds (aistudio.google.com). The input is text in the form of weighted prompts, and the output is raw 16-bit PCM audio. The page says Lyria RealTime produces no vocals and is an experimental engine.
Weighted prompts suggest steering the music by changing how much each text idea counts, which fits a live, continuous session more than a one-shot request. Since the page calls the engine experimental, a product built on it should be ready for changes to the model and its code. The control latency figure is the number to read first for interactive use, because it bounds how quickly a change of prompt weights can be expected to show up in the music.
Lyria 2 on Vertex AI: instrumental WAV clips
In the table, the Lyria 2 row gives the model code lyria-002, read on Google Cloud’s Lyria API reference. Its output is 30-second WAV audio clips at 48 kHz, instrumental only (cloud.google.com). The input listed in the table is text prompts.
Since the output is instrumental only, a project that needs a vocal line should not rely on this code for it. Text prompts are the only input in the table row, so a workflow built on this code starts from a written description alone.
How to choose a code for your project
Start from the output you need and work backwards to the code, because the output cell is the part of each row that changes most between pages. If you want a short loop or preview from text or an image, the lyria-3-clip-preview row gives 30-second clips. If you want a continuous stream you can steer, the lyria-realtime-exp row takes weighted prompts and returns raw PCM. If you want an instrumental WAV clip from a text prompt, the lyria-002 row describes exactly that.
Whichever code you pick, copy it from the page named in the table and test one request before designing anything larger around it.
Methodology
This guide starts from the 4 official pages listed for its topic before its table was read. The rows of the table come from 4 pages, read on 2026-11-23: Lyria 3.5 model page (aistudio.google.com); Lyria 3 Clip preview model page (aistudio.google.com); Lyria RealTime experimental model page (aistudio.google.com); Vertex AI Lyria API reference (Lyria 2) (cloud.google.com).
Each row is named as its page names it, in the column “Model”, and our code kept a row only when that name is on the page word for word.
The table reads 3 columns on each page: “Model code”, “Inputs”, “Output”. Of its 12 cells, 12 hold a value our code found word for word in a line of the page.
Every cell of the table holds a value read on its page.
None of the values comes from a test of ours: the table states what each page says, on the date it was read.
Related coverage: Prompting AI music: what the official prompt guides recommend.
Follow and ask
Add to Preferred Sources on Google
Summarise with AI:ChatGPTClaudePerplexityGoogle AI
Where to try it
Abracadabrax lists Abracadabrax v2, Abracadabrax v1 and Abracadabrax Studio for music generation. Music generation on Abracadabrax
Abracadabrax has a $1 trial for 7 days; it then renews monthly on the plan you pick, from $34 a month, until you cancel.
How we built this
Guide tableGoogle's Lyria music models on their own developer pages: model code, inputs and output
Every cell was read on the official page named in the column "Read on", on 2026-11-23: each value was taken with the line of the page that holds it, and our code kept it only when that line is on the page and holds the value word for word. An empty cell means no line of the page gave that value in a form our code could match. In the columns "Model code", our code took the value from the first line of the row's page in the form the column expects.
Sources
The sources this article was written from. Links open the original page.
- aistudio.google.comhttps://aistudio.google.com/docs/models/lyria-3.5.mdaistudio.google.com
- aistudio.google.comhttps://aistudio.google.com/docs/models/lyria-3-clip-preview.mdaistudio.google.com
- aistudio.google.comhttps://aistudio.google.com/docs/models/lyria-realtime-exp.mdaistudio.google.com
- cloud.google.comLyria API | Gemini Enterprise Agent Platform | Google Cloud Documentationcloud.google.com
- AbracadabraxAbracadabrax: music generationabracadabrax.app



