Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

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.

Taban fiyat
$0.04USD / çalıştırma
Çalıştırma
async
Model türü
audio
Girdi alanları
2
Canlıya alma rotası

Modeli deneyin

Oynatma Alanı

Oynatma alanını aç
Girdi
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 veya GIF · en fazla 20 MiB

Optional image file or URL used as inspiration; the music will match the mood and theme of the image.
ÇıktıHazır

Çıktınız burada görünecek

Girdileri tamamlayın, ardından Çalıştır'a tıklayın.

Model kartı

Teknik özellikler

Fiyatlandırma

Girdi
$0 / 1M token
Çıktı
$0 / 1M token
Temel fiyat
$0.04 / çalıştırma

Bağlam ve modaliteler

Girdi
Şemada tanımlı
Çıktı
audio

Yetenekler

Sohbet
Desteklenmiyor
Görsel
Desteklenmiyor
Akıl yürütme
Desteklenmiyor
Yapılandırılmış çıktı
Desteklenmiyor
Fonksiyon çağırma
Desteklenmiyor
Ses girdisi
Desteklenmiyor

Erişim

Sağlayıcı
Google
Model kimliği
google/lyria-3-clip-preview
Çalıştırma
async
Temel URL
https://api.sandbase.ai
API
Unified Run API
Uç nokta
/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.

Geliştirmeye başlayın

İlk isteğinizi gönderin

Birleşik kimlik doğrulama ve kullanım takibi sunan OpenAI uyumlu uç nokta.

Production API
Unified Run API uç noktası
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

Giriş Şeması

2 parametre · 1 zorunlu · 1 isteğe bağlı

ParametreTürZorunluAçıklama
promptstringZorunluThe 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. uzunluk: 1 · Maks. uzunluk: 5000
imagestringİsteğe bağlıOptional image file or URL used as inspiration; the music will match the mood and theme of the image.
02

Çıkış Şeması

AlanTürAçıklama
idstringÜretim görevinin benzersiz tanımlayıcısı
statusstringGörev durumu: pending, running, completed, failed, timeout
modelstringÜretimde kullanılan model
outputsarrayÇıkış öğelerinin dizisi
outputs[].urlstringOluşturulan çıktının URL'si
outputs[].content_typestringMIME türü (örn. image/png, video/mp4)
errorobject | nullBaşarısız olursa hata ayrıntıları, başarıda null
error.typestringMakine tarafından okunabilir hata türü kodu
error.messagestringİnsan tarafından okunabilir hata açıklaması

Asenkron İş Akışı

Bu model asenkron çalışır. Bir istek gönderin, ardından sonuç için sorgulayın.

  1. Gönder: /v1/run adresine POST yapın ve dönen id alanını okuyun.
  2. Sorgula: durum completed, failed veya timeout olana kadar /v1/run/{id} adresine GET yapın.
  3. Al: tamamlanan yanıttan outputs alanını okuyun.

Modelinizi seçin

Modelleri karşılaştırın

Tüm görsel ve video modelleri
ModelTürVarsayılan fiyatYayınlanma
GoogleSes$0.04 / çalıştırma30 Mar 2026
GoogleSes$0.04 / çalıştırma25 Eyl 2026
GoogleSes$0.03 / çalıştırma25 Eyl 2026
GoogleSes$0.10 / çalıştırma15 Eyl 2026
GoogleSes$0.05 / çalıştırma16 Nis 2026
GoogleSes$0.08 / çalıştırma30 Mar 2026

Sorular

SSS

Google Lyria 3 Clip Preview'i SandBase üzerinden nasıl çağırırım?

Bir SandBase API anahtarı oluşturun, ardından model kimliği "google/lyria-3-clip-preview" ile https://api.sandbase.ai adresindeki Unified Run API (/v1/run) uç noktalarına istek gönderin. Bu sayfadaki istek örnekleri tam yükü gösterir.

Google Lyria 3 Clip Preview'in fiyatı nedir?

1M giriş tokenı başına $0 ve 1M çıkış tokenı başına $0, istek başına SandBase bakiyenizden tahsil edilir. Mevcut olduğunda indirimler bu sayfadaki fiyatlandırmada gösterilir.

Ayrı bir Google hesabına ihtiyacım var mı?

Hayır. Tek bir SandBase API anahtarı ve bakiyesi size Google Lyria 3 Clip Preview ve katalogdaki diğer modellere erişim sağlar; Google için ayrıca kayıt olmanız gerekmez.