All models

GoogleMusic

Lyria 2

A 30 second instrumental cue from a prompt.

music/lyria-2

Lyria 2

Music

Price
10 credits / generation
Typical time
about 25 s
Makes
Music

Best for

Lyria 2 is Google's music model. Every request is a 30 second instrumental clip in high quality, which suits stingers and loops.

  • 30 second menu and level loops.
  • Stingers for wins, losses and level ups.
  • Ambient soundscapes for exploration.

Put it together

Where Lyria 2 fits in a game, with the models it works well with. Your agent runs every step.

Price

ModeModelPrice
MusicLyria 210 credits / generation

Paid from your Summer credits.

Use it from code or your agent

Sign in once with summer login. Your agent or your code then runs it with your paid credits.

npx -y summer-engine@latest login
npx -y summer-engine@latest api run music/lyria-2 \
  --input '{"prompt":"calm lo-fi village theme, loopable","durationSeconds":60}' \
  --download .

music/lyria-2: $0.10 per track. Paid from your Summer credits.

Inputs

What input takes for music/lyria-2. Send only what you need; Summer fills in tested defaults.

  • promptstringRequired · up to 2000 characters

    What the music should sound like, at most 2000 characters.

  • durationSecondsnumber3 to 600

    Seconds, 3 to 600 (default 30).

Model docs · Summer API docs · Set up the Summer MCP server · Try it in the browser

Questions

What is Lyria 2 good for in game development?
Lyria 2 is Google's music model. Every request is a 30 second instrumental clip in high quality, which suits stingers and loops. Typical game uses: 30 second menu and level loops; stingers for wins, losses and level ups; ambient soundscapes for exploration.
How much does Lyria 2 cost in Summer?
Lyria 2 costs 10 credits / generation in Summer Studio. It is charged from your Summer credits.
What kind of audio can Lyria 2 make?
In Summer, Lyria 2 is used for music.
Can I use Lyria 2 from Claude Code, Cursor or Codex?
Yes. Connect the Summer MCP server to Claude Code, Cursor, Codex or another MCP client, then ask your agent to generate with summer_generate_audio with capability: "music", modelId: "lyria-2". Setup instructions are at summerengine.com/mcp.
Where do Lyria 2 results go?
Every generation is saved to your Summer asset library. From there you can download it or bring it into a Summer Engine project.