Sand AISand AI MAGI-2MAGI-2 is now on SandBase: 1080p video with native audioTry it now

Lyria 3 Clip Preview

google/lyria-3-clip-preview

Lyria 3 Clip is Google's music generation model for 30-second clips, loops, and previews, including vocals and lyrics. It generates 48 kHz stereo MP3 audio from a text prompt, optionally guided by an image.

Base price
$0.04USD / 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, and vocal style for best results. Supports vocals, lyrics, and multiple languages.

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

Optional image file or URL used as inspiration; the music will match the mood and theme of the image.
OutputReady

Your output will appear here

Complete the inputs, then click Run.

Model card

Specifications

Pricing

Input
$0 / 1M tokens
Output
$0 / 1M tokens
Base price
$0.04 / 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-clip-preview
Execution
async
Base URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

API README

Lyria 3 Clip Preview

Lyria 3 Clip is Google's music model for 30-second clips and loops, with vocals and lyrics. An optional image sets the mood.

Fields

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

Output

FieldNotes
urlMP3 file.
lyricsLyrics and caption the model used, when available.

Billing

$0.04 per clip.

RequestPrice
One clip$0.04
10 clips$0.40

Failed runs are not charged.

Prompting

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

Also on SandBase

Related: google/lyria-3.5, google/lyria-3-pro-preview, google/lyria-2.

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-clip-preview
# 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-clip-preview",
  "image": "https://v3b.fal.media/files/b/0a93b559/qjT9o0CId1B65PbD6Yp06_9c94501900464c5aa98f302fa4b00375.png",
  "prompt": "A 30-second lo-fi hip hop loop with mellow Rhodes chords, vinyl crackle, and a laid-back drum groove."
}
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"
01

Input Schema

2 parameters · 1 required · 1 optional

ParameterTypeRequiredDescription
promptstringRequiredThe text prompt describing the music you want to generate. Include genre, mood, instrumentation, tempo, and vocal style for best results. Supports vocals, lyrics, and multiple languages. · Min length: 1 · Max length: 5000
imagestringOptionalOptional image file or URL used as inspiration; the music will match the mood and theme of the image.
02

Output Schema

FieldTypeDescription
idstringUnique identifier for the generation task
statusstringTask status: pending, running, completed, failed, timeout
modelstringModel used for the generation
outputsarrayArray of output items
outputs[].urlstringURL of the generated artifact
outputs[].content_typestringMIME type (e.g. image/png, video/mp4)
errorobject | nullError details if failed, null on success
error.typestringMachine-readable error type code
error.messagestringHuman-readable error description

Async Workflow

This model runs asynchronously. Submit a request, then poll for the result.

  1. Submit: POST to /v1/run and read the returned id.
  2. Poll: GET /v1/run/{id} until status is completed, failed or timeout.
  3. Retrieve: read outputs from the completed response.

Choose your model

Compare models

All image & video models
ModelTypeDefault priceReleased
GoogleAudio$0.04 / runMar 30, 2026
GoogleAudio$0.04 / runSep 25, 2026
GoogleAudio$0.03 / runSep 25, 2026
GoogleAudio$0.10 / runSep 15, 2026
GoogleAudio$0.05 / runApr 16, 2026
GoogleAudio$0.08 / runMar 30, 2026

Questions

FAQ

How do I call Google Lyria 3 Clip Preview through SandBase?

Create a SandBase API key, then send requests with the model ID "google/lyria-3-clip-preview" 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 Clip Preview 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 Clip Preview and the other models in the catalog; you do not need to sign up with Google separately.