API Free WeekHundreds of APIs are free to call this week.Browse free APIs

Lyria 3.5

google/lyria-3.5

Lyria 3.5 is Google's flagship music generation model for full-length songs up to a few minutes, with verses, choruses, bridges, expressive vocals, timed lyrics, and rich instrumental arrangements. It generates high-quality 44.1kHz stereo audio from a text prompt, optionally guided by an image.

Base price
$0.10USD / run
Execution
async
Model type
audio
Input fields
2
Production route

Try the model

Playground

Open playground
Input
The text prompt describing the music you want to generate. Include genre, mood, instrumentation, tempo, vocals, and structure. Use duration hints (e.g. 'a 2-minute track') or section markers like '[0:00-0:30] Intro: ...' to control length and structure. Supports English, German, Spanish, French, Hindi, Japanese, Korean, and Portuguese.

PNG, JPEG, WebP, or GIF · 20 MiB maximum

Optional image used as inspiration; the music will match the mood and theme of the image.
OutputExample

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Input
$0 / 1M tokens
Output
$0 / 1M tokens
Base price
$0.10 / run

Context & modalities

Input
Schema-defined
Output
audio

Capabilities

Chat
Not supported
Vision
Not supported
Reasoning
Not supported
Structured output
Not supported
Function calling
Not supported
Audio input
Not supported

Access

Provider
Google
Model ID
google/lyria-3.5
Execution
async
Base URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

API README

Lyria 3.5

Lyria 3.5 is Google's music model for full songs: verses, choruses, and bridges with expressive vocals, timed lyrics, and full arrangements. An optional image sets the mood.

Fields

FieldTypeDefaultNotes
promptstring, required—Genre, mood, instruments, tempo, vocal style, and lyrics. Up to 5,000 characters.
imageimage URL—Optional image whose mood the music should match.

Billing

$0.10 per song.

RequestPrice
One song$0.10

Failed runs are not charged.

Prompting

  • Name the genre, tempo, and instrumentation first, then the vocal style.
  • Mark lyric sections, e.g. [Verse], [Chorus].

Limits

  • One song per request.

Start building

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

Production API
Unified Run API endpoint
https://api.sandbase.ai/v1/run
Model ID
google/lyria-3.5
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "google/lyria-3.5",
  "prompt": "An uplifting indie pop song with bright acoustic guitar, warm female vocals, and a catchy chorus about a summer road trip, 110 BPM."
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
  status=$(printf '%s' "$result" | jq -r .status)
  case "$status" in completed|failed|timeout) break ;; esac
  sleep 2
  result=$(curl --fail-with-body --silent \
    -H "Authorization: Bearer $SANDBASE_API_KEY" \
    "https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"

Choose your model

Compare models

All image & video models
ModelTypeDefault priceReleased
Lyria 3.5This model
Google
Audio$0.10 / runSep 15, 2026
GoogleAudio$0.04 / runSep 25, 2026
GoogleAudio$0.03 / runSep 25, 2026
GoogleAudio$0.05 / runApr 16, 2026

Questions

FAQ

How do I call Google Lyria 3.5 through SandBase?

Create a SandBase API key, then send requests with the model ID "google/lyria-3.5" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

How much does Google Lyria 3.5 cost?

$0 per 1M input tokens and $0 per 1M output tokens, billed per request from your SandBase balance. Discounts, when available, are shown in the pricing on this page.

Do I need a separate Google account?

No. One SandBase API key and balance gives you access to Google Lyria 3.5 and the other models in the catalog; you do not need to sign up with Google separately.