Models / Music

Lyria 3.5 - API, Playground & Pricing

Google DeepMind's Lyria 3.5 composes a complete song, with sung lyrics or instrumental, from a text description, in eight languages. Run it in the playground, call its API, or let Claude Code, Codex or Cursor run it through one FlyMy.AI MCP. No Google API key: runs are billed to your FlyMy.AI balance.

Provider
Google
Category
Music / Music
Price
$0.10 / run ($0.10 at the defaults)
Returns
audio, lyrics
Commercial use
Allowed
Model ID
flymyai/lyria-3_5-music
Lyria 3.5 by Google: music sample, songs from a text prompt
Lyria 3.5 sample from the FlyMy.AI catalog

$ YOUR NEXT RUN

Claude CodeCodexCursorAny agent

Use Lyria 3.5 in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

Read https://flymy.ai/skill.md and https://flymy.ai/models/lyria-3-5-music.md. Help me connect the FlyMy.AI MCP to this assistant, then run Lyria 3.5 (flymyai/lyria-3_5-music) for this task: Write a short indie pop song about a summer road trip with Lyria 3.5, with a verse and a chorus.
Open FlyMy.AIDownload brief

What Lyria 3.5 does

Put the genre, mood, instruments, tempo, vocals and structure into prompt, up to 5,000 characters; ask for a length with a hint such as a 2-minute track or with timed sections, and put the words to sing in quotes. An optional image sets the mood. Outputs: audio (MP3) and lyrics, the words it sang with the model's own section tags. It makes music only, not speech or sound effects, and takes no reference song.

Guide: Songs, instrumentals and sound effects through the API

Lyria 3.5 inputs

Every input of flymyai/lyria-3_5-music as its live schema lists them. Returns audio (array), lyrics (string).

InputType, values and default
# prompt
string required Describe the song: genre, mood, instruments, tempo, vocals and structure; ask for a length ('a 2-minute track', timed sections) and put the words to sing in quotes; up to 5000 characters
# image
file optional Allowed: image file, as a URL or upload Optional picture whose mood and theme the music follows: a link or an upload

Ask your agent

Requests to paste as they are, once the FlyMy.AI MCP is connected.

“Write a short indie pop song about a summer road trip with Lyria 3.5, with a verse and a chorus.”runs flymyai/lyria-3_5-music
“Use Lyria 3.5 to turn these lyrics into a slow acoustic ballad.”runs flymyai/lyria-3_5-music
“Make an upbeat jingle for noise-cancelling earbuds with Lyria 3.5.”runs flymyai/lyria-3_5-music

Lyria 3.5 price

$0.10 per run. A run at the default settings costs $0.10. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.

Lyria 3.5 vs similar models

Popular music models beside it, with prices from billing and settings from each live schema.

ModelProviderKindPriceDefault runLength
Lyria 3.5GoogleMusic$0.10 / run$0.10
MiniMax Music 3MiniMaxMusic$0.002 / s$0.121 to 300 seconds
Mureka V9.5 InstrumentalMurekaInstrumental music$0.15 / run$0.15
Mureka V9.5 SongMurekaMusicfrom $0.15 / run$0.50120 to 300 seconds

Lyria 3.5 API

The same model from your own code or from an agent. Send your FlyMy.AI API key in the X-API-KEY header; get a key in your account.

cURL

Form fields, not JSON; files go as uploads or public URLs. The answer is a prediction_id; read the result at https://api.flymy.ai/api/v1/flymyai/lyria-3_5-music/predict/async/result/?request_id=<prediction_id>.

curl -X POST https://api.flymy.ai/api/v1/flymyai/lyria-3_5-music/predict/async/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F 'prompt=Warm lo-fi beat with soft piano and light vinyl crackle'

Python

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

# pip install flymyai
import os

from flymyai import client

fma = client(apikey=os.environ["FLYMYAI_API_KEY"])
task = fma.predict_async_task(
    model="flymyai/lyria-3_5-music",
    payload={
        "prompt": "Warm lo-fi beat with soft piano and light vinyl crackle"
    },
)
# a long run: wait for its result (up to 15 minutes here)
result = task.result(timeout=900)
print(result.inference_responses[0].output_data)

JavaScript / TypeScript

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

// npm install flymyai-js-client
import { FlyMyAI } from "flymyai-js-client";

const client = new FlyMyAI({ apiKey: process.env.FLYMYAI_API_KEY });
const response = await client.predict(
  {
    "prompt": "Warm lo-fi beat with soft piano and light vinyl crackle"
  },
  "flymyai/lyria-3_5-music",
);
console.log(response.output_data);

MCP

Your agent calls get_model_schema, then run_model with:

{
  "endpoint_id": "flymyai/lyria-3_5-music",
  "input": {
    "prompt": "Warm lo-fi beat with soft piano and light vinyl crackle"
  }
}

Questions about Lyria 3.5

Do I need a Google API key for Lyria 3.5?

No. Lyria 3.5 runs on FlyMy.AI's account, so you need no Google key or plan: sign in to FlyMy.AI once and each run is billed to your FlyMy.AI balance.

How much does Lyria 3.5 cost?

$0.10 per run. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-18.

Can I try Lyria 3.5 before I write code?

Yes. Open Lyria 3.5 in the FlyMy.AI playground at https://app.flymy.ai/models/flymyai/lyria-3_5-music, fill in its inputs and run it; the same run is one API call later, billed the same way.

How do I use Lyria 3.5 in Claude Code, Codex or Cursor?

Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Write a short indie pop song about a summer road trip with Lyria 3.5, with a verse and a chorus." Your agent reads the inputs with get_model_schema and runs flymyai/lyria-3_5-music with run_model.

What does Lyria 3.5 need as input?

Lyria 3.5 requires prompt; it also takes 1 optional input, each listed on this page with its allowed values and default.

Can I call Lyria 3.5 from my own code?

Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/lyria-3_5-music/predict/async/ with your FlyMy.AI API key in the X-API-KEY header.

Go to the source

From the FlyMy.AI model catalog of 2026-11-18: inputs from each model's live schema, prices from FlyMy.AI billing. Requests are examples to paste, not recorded runs.