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

Reference images

How to use reference images with Lyria 3 Pro: up to 10 images in inputs.referenceImages that set the story or the mood of a track, and a prompt that gives them a role.

Introduction

Lyria 3 Pro takes up to 10 reference images in inputs.referenceImages, next to the prompt. The images set the story the lyrics tell or the mood of the track, while the prompt keeps the genre, the tempo, the instruments and the voice. That suits a soundtrack for visuals you already have, such as the stills of a campaign or a product shot.

0:00

An uplifting indie pop song for a ski resort's winter campaign video, 112 BPM. Jangly electric guitars, sleigh-bell percussion and a driving kick drum. A bright male vocal, with a group shouting along in the chorus. Take the story of the lyrics from the day the attached images show, in their order.

Built from 3 references
  • Image 1
  • Image 2
  • Image 3

This guide covers the request, giving the images a role and scoring a product video from one image.

The request

Add the images to inputs.referenceImages, in the order the prompt refers to them. Each entry is a URL, a data URI, base64 data or a UUID (a previous generation's, or one uploaded via Media Storage).

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 uplifting indie pop song for a ski resort\'s winter campaign video, 112 BPM. Jangly electric guitars, sleigh-bell percussion and a driving kick drum. A bright male vocal, with a group shouting along in the chorus. Take the story of the lyrics from the day the attached images show, in their order.',
  inputs: {
    referenceImages: [
      'https://assets.runware.ai/guides/google-lyria-3-pro/reference-images/gondola.jpg',
      'https://assets.runware.ai/guides/google-lyria-3-pro/reference-images/slope.jpg',
      'https://assets.runware.ai/guides/google-lyria-3-pro/reference-images/lodge.jpg'
    ]
  }
})
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 uplifting indie pop song for a ski resort's winter campaign video, 112 BPM. Jangly electric guitars, sleigh-bell percussion and a driving kick drum. A bright male vocal, with a group shouting along in the chorus. Take the story of the lyrics from the day the attached images show, in their order.",
            "inputs": {
                "referenceImages": [
                    "https://assets.runware.ai/guides/google-lyria-3-pro/reference-images/gondola.jpg",
                    "https://assets.runware.ai/guides/google-lyria-3-pro/reference-images/slope.jpg",
                    "https://assets.runware.ai/guides/google-lyria-3-pro/reference-images/lodge.jpg"
                ]
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "audioInference",
      "taskUUID": "6b009a34-2475-4ed1-a287-afcad57d51c5",
      "model": "google:lyria@3-pro",
      "positivePrompt": "An uplifting indie pop song for a ski resort's winter campaign video, 112 BPM. Jangly electric guitars, sleigh-bell percussion and a driving kick drum. A bright male vocal, with a group shouting along in the chorus. Take the story of the lyrics from the day the attached images show, in their order.",
      "inputs": {
        "referenceImages": [
          "https://assets.runware.ai/guides/google-lyria-3-pro/reference-images/gondola.jpg",
          "https://assets.runware.ai/guides/google-lyria-3-pro/reference-images/slope.jpg",
          "https://assets.runware.ai/guides/google-lyria-3-pro/reference-images/lodge.jpg"
        ]
      }
    }
  ]'
runware run google:lyria@3-pro \
  positivePrompt="An uplifting indie pop song for a ski resort's winter campaign video, 112 BPM. Jangly electric guitars, sleigh-bell percussion and a driving kick drum. A bright male vocal, with a group shouting along in the chorus. Take the story of the lyrics from the day the attached images show, in their order." \
  inputs.referenceImages.0=https://assets.runware.ai/guides/google-lyria-3-pro/reference-images/gondola.jpg \
  inputs.referenceImages.1=https://assets.runware.ai/guides/google-lyria-3-pro/reference-images/slope.jpg \
  inputs.referenceImages.2=https://assets.runware.ai/guides/google-lyria-3-pro/reference-images/lodge.jpg
{
  "taskType": "audioInference",
  "taskUUID": "6b009a34-2475-4ed1-a287-afcad57d51c5",
  "model": "google:lyria@3-pro",
  "positivePrompt": "An uplifting indie pop song for a ski resort's winter campaign video, 112 BPM. Jangly electric guitars, sleigh-bell percussion and a driving kick drum. A bright male vocal, with a group shouting along in the chorus. Take the story of the lyrics from the day the attached images show, in their order.",
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/guides/google-lyria-3-pro/reference-images/gondola.jpg",
      "https://assets.runware.ai/guides/google-lyria-3-pro/reference-images/slope.jpg",
      "https://assets.runware.ai/guides/google-lyria-3-pro/reference-images/lodge.jpg"
    ]
  }
}

Giving the images a role

Say what to take from the images, and leave out what they show. "Take the story of the lyrics from the day the attached images show, in their order" gives the three images one job and a sequence, and the lyrics of the song above move from the red cabin at first light to carving the slope and then to boots off by the fire. A sentence that lists a gondola, a skier and a fireplace repeats what the images already carry and leaves their role unsaid.

The music stays in the prompt. Write the genre, tempo, instruments and voice in the text, and the images add the story and the mood on top of them.

One image for a product video

A single product shot works as a mood board for an instrumental. Name the product, say what to take from the image, and give the length of the video so the track fits the edit.

0:00

A 40-second instrumental soundtrack for a product video of the earbuds in the attached image, 120 BPM. Take the mood of the track from the image. Minimal electronic production with a deep pulse and crisp percussion.

Built from 1 reference
  • Product

Leave the mood to the image, and keep the prompt to the length, the tempo and the production style. The track runs 36 seconds of the 40 the prompt asks for, so check it against the edit. Duration and timing covers timing the sections of a track to the cuts of the video.

Tips

  1. Give the images a role. Say what to take from them: the story of the lyrics, the mood, or both.

  2. Order the images like the story. Send them in the order the prompt reads them.

  3. Keep the music in the prompt. Genre, tempo, instruments and voice come from the text.

  4. Send up to 10 images. A single image is enough for a mood, and a sequence tells a story.