Lyria 3.5
google/lyria-3.5Lyria 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
Try the model
Playground
PNG, JPEG, WebP, or GIF · 20 MiB maximum
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
- 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
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Genre, mood, instruments, tempo, vocal style, and lyrics. Up to 5,000 characters. |
image | image URL | — | Optional image whose mood the music should match. |
Billing
$0.10 per song.
| Request | Price |
|---|---|
| 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.
# 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
| Model | Type | Default price | Released |
|---|---|---|---|
Lyria 3.5This model Google | Audio | $0.10 / run | Sep 15, 2026 |
Google | Audio | $0.04 / run | Sep 25, 2026 |
Google | Audio | $0.03 / run | Sep 25, 2026 |
Google | Audio | $0.05 / run | Apr 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.
