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.08USD / run
- Execution
- async
- Model type
- audio
- Input fields
- 2
Try the model
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. Format: complete URL.
OutputReady
Your output will appear here
Complete the inputs, then click Run.
Specifications
Pricing
- Input
- $0 / 1M tokens
- Output
- $0 / 1M tokens
- Base price
- $0.08 / run
- Billing formula
- 0.08
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
- API
- Unified Run API
- Endpoint
- /v1/run
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 | Context | Input / 1M | Output / 1M | Released |
|---|---|---|---|---|
Lyria 3.5This model Google | — | $0.00 | $0.00 | Sep 15, 2026 |
Google | — | — | — | Apr 16, 2026 |
