live
MODEL IDgoogle:lyria@3-pro

Lyria 3 Pro

Google
by
Available with Zero Data Retention

Lyria 3 Pro is Google's music generation model for complete songs of up to about three minutes, with vocals, lyrics, and full instrumentation. It follows structure, tempo, and intensity from the prompt, including timed sections and tags such as verse and chorus, and can take reference images to set the mood. A length in the prompt guides the song without fixing its duration. Vocals are supported in English, German, Spanish, French, Hindi, Japanese, Korean, and Portuguese, which suits soundtracks, ads, jingles, and social video.

Lyria 3 Pro

Prompting

How to write prompts for Lyria 3 Pro: the layers of a music prompt from genre and tempo to vocals and production, and the lyrics that come back with every song.

Introduction

Lyria 3 Pro is Google's model for complete songs from a text prompt: vocals, lyrics and full instrumentation in one track of up to about three minutes. Everything about the track goes in one prompt, positivePrompt, its length included, and the response returns the song together with the lyrics the model sang.

0:00

An upbeat electro-pop anthem for a fitness app launch video, 124 BPM in A major. Punchy four-on-the-floor drums, bright synth bass, plucked synth arpeggios and handclaps on the backbeat. A confident female lead vocal with a clear, bright tone, and a group of voices chanting the hook in the chorus. The lyrics are about getting up early and beating yesterday's best. Builds from a sparse first verse to a full, wide final chorus. Clean, radio-ready mix.

This guide covers the request, the layers of a music prompt, describing the production and getting a better take.

The request

One field is required: the prompt in positivePrompt. Add up to 10 images in inputs.referenceImages to set the mood of the track.

Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'google:lyria@3-pro',
  positivePrompt: 'An upbeat electro-pop anthem for a fitness app launch video, 124 BPM in A major. Punchy four-on-the-floor drums, bright synth bass, plucked synth arpeggios and handclaps on the backbeat. A confident female lead vocal with a clear, bright tone, and a group of voices chanting the hook in the chorus. The lyrics are about getting up early and beating yesterday\'s best. Builds from a sparse first verse to a full, wide final chorus. Clean, radio-ready mix.'
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "google:lyria@3-pro",
            "positivePrompt": "An upbeat electro-pop anthem for a fitness app launch video, 124 BPM in A major. Punchy four-on-the-floor drums, bright synth bass, plucked synth arpeggios and handclaps on the backbeat. A confident female lead vocal with a clear, bright tone, and a group of voices chanting the hook in the chorus. The lyrics are about getting up early and beating yesterday's best. Builds from a sparse first verse to a full, wide final chorus. Clean, radio-ready mix."
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "audioInference",
      "taskUUID": "cb5e9144-a19a-477f-91ce-00a37eee04f9",
      "model": "google:lyria@3-pro",
      "positivePrompt": "An upbeat electro-pop anthem for a fitness app launch video, 124 BPM in A major. Punchy four-on-the-floor drums, bright synth bass, plucked synth arpeggios and handclaps on the backbeat. A confident female lead vocal with a clear, bright tone, and a group of voices chanting the hook in the chorus. The lyrics are about getting up early and beating yesterday's best. Builds from a sparse first verse to a full, wide final chorus. Clean, radio-ready mix."
    }
  ]'
runware run google:lyria@3-pro \
  positivePrompt="An upbeat electro-pop anthem for a fitness app launch video, 124 BPM in A major. Punchy four-on-the-floor drums, bright synth bass, plucked synth arpeggios and handclaps on the backbeat. A confident female lead vocal with a clear, bright tone, and a group of voices chanting the hook in the chorus. The lyrics are about getting up early and beating yesterday's best. Builds from a sparse first verse to a full, wide final chorus. Clean, radio-ready mix."
{
  "taskType": "audioInference",
  "taskUUID": "cb5e9144-a19a-477f-91ce-00a37eee04f9",
  "model": "google:lyria@3-pro",
  "positivePrompt": "An upbeat electro-pop anthem for a fitness app launch video, 124 BPM in A major. Punchy four-on-the-floor drums, bright synth bass, plucked synth arpeggios and handclaps on the backbeat. A confident female lead vocal with a clear, bright tone, and a group of voices chanting the hook in the chorus. The lyrics are about getting up early and beating yesterday's best. Builds from a sparse first verse to a full, wide final chorus. Clean, radio-ready mix."
}
Response
[
  {
    "taskType": "audioInference",
    "taskUUID": "cb5e9144-a19a-477f-91ce-00a37eee04f9",
    "audioUUID": "7d464594-e8fd-4eab-850f-98fd6dd59af4",
    "audioURL": "https://am.runware.ai/audio/os/a14d18/ws/2/ai/7d464594-e8fd-4eab-850f-98fd6dd59af4.mp3",
    "outputs": {
      "lyrics": "[[A0]]\n[[B1]]\n[15.4:] First light hitting the floor,\n[:] I'm already out the door.\n[:] No looking back at the clock on the wall,\n[:] Standing up tall, I'm answering the call.\n[[C2]]\n[46.1:] We're beating yesterday, we're finding the way!\n[:] Stronger than we were, every single day!\n[:] Beat by beat, we rise!\n[:] Victory in our eyes!\n[:] (Victory in our eyes!)\n..."
    }
  }
]

The lyrics come back in outputs.lyrics, next to the audio, with a marker and a start time for each section. The other guides build on this request, one part of the model each:

  • Length and timing: a stated length or timestamped sections in the prompt. Duration and timing shows both.
  • The words: your own lyrics under section tags, or lyrics written from a theme. Lyrics covers both, and the eight vocal languages.
  • The singer: range, texture and delivery, several voices, or none. Vocals casts them.
  • Images: inputs.referenceImages sets the mood or the story of the track. Reference images shows how the prompt assigns them a role.

Layers of a music prompt

A music prompt works best when it describes each layer of the track in turn: the genre and what the track is for, the tempo, the instruments, the voice, what the lyrics are about, how the song develops and how it should sound once mixed. The hero prompt takes one clause per layer:

An upbeat electro-pop anthem, for a fitness app launch video,, 124 BPM in A major., Punchy four-on-the-floor drums, bright synth bass, plucked synth arpeggios and handclaps on the backbeat., A confident female lead vocal with a clear, bright tone, and a group of voices chanting the hook in the chorus., The lyrics are about getting up early and beating yesterday's best., Builds from a sparse first verse to a full, wide final chorus., Clean, radio-ready mix.
GenreUseTempo and keyInstrumentsVocalsLyricsArrangementProduction

Name each instrument and the part it plays, such as "handclaps on the backbeat", rather than a feeling for the whole track. Tempo takes a number of beats per minute, and words such as "slow ballad" work when the exact figure does not matter. The key is optional.

A bare list of keywords also produces a track. Writing the layers as clauses gives you one place to change each decision when you iterate.

Production and mix

The production layer describes how the track was recorded and mixed. The two prompts below share the genre, the instruments, the voice and the theme, and differ only in their last sentence.

0:00

An acoustic indie folk song for a travel vlog about a road trip along the coast, 96 BPM. A single acoustic guitar and a soft male vocal. The lyrics are about rolling the windows down and chasing the sunset. Raw bedroom demo feel: recorded on a phone in one take, with room noise and no mixing.

Raw demo
0:00

An acoustic indie folk song for a travel vlog about a road trip along the coast, 96 BPM. A single acoustic guitar and a soft male vocal. The lyrics are about rolling the windows down and chasing the sunset. Polished studio production: a warm, close vocal, a wide stereo guitar and a clean, radio-ready mix.

Polished studio production

Describe the recording in concrete terms: what it was recorded on, how many takes, the room and the mix. "Radio-ready" or "demo" alone names a target, and the details after the colon tell the model what that target sounds like.

Getting a better take

Every call returns a different song, since there is no seed to repeat one. Generate a few takes and keep the file you want to ship. Between takes, change one layer at a time, so you can hear which change moved the result.

Lyria 3 Clip

Lyria 3 Clip takes the same prompt for a 30-second track. Use it to try a genre or a voice description on a short track before you generate the full song. Generating clips covers what changes at that length.

Tips

  1. Put every layer in the prompt. Genre, tempo, instruments, vocals, lyrics and production all share positivePrompt, and a layer you leave out is chosen for you.

  2. Give the tempo in BPM. A number pins the pace of the track, and words such as "slow ballad" leave it approximate.

  3. Describe the production. Say how the track was recorded and mixed, not only its genre.

  4. Keep the takes you like. There is no seed, so store the file you want rather than the request that made it.