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.
- Taban fiyat
- $0.10USD / çalıştırma
- Çalıştırma
- async
- Model türü
- audio
- Girdi alanları
- 2
Modeli deneyin
Oynatma Alanı
PNG, JPEG, WebP veya GIF · en fazla 20 MiB
Sırada ne yapmak istersiniz?
Örnekler
Bir örnek seçerek girdilerini ve sonucunu playground'a yükleyin.
- Sonucu aç ↗
Girdi
{ "prompt": "A 30-second upbeat synthwave instrumental with punchy drums and a soaring lead synth." }
Model kartı
Teknik özellikler
Fiyatlandırma
- Girdi
- $0 / 1M token
- Çıktı
- $0 / 1M token
- Temel fiyat
- $0.10 / ç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ı
- Model kimliği
- google/lyria-3.5
- Çalıştırma
- async
- Temel URL
- https://api.sandbase.ai
- API
- Unified Run API
- Uç nokta
- /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.
Geliştirmeye başlayın
İlk isteğinizi gönderin
Birleşik kimlik doğrulama ve kullanım takibi sunan OpenAI uyumlu uç nokta.
# 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"Giriş Şeması
2 parametre · 1 zorunlu · 1 isteğe bağlı
| Parametre | Tür | Zorunlu | Açıklama |
|---|---|---|---|
prompt | string | Zorunlu | 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. · Min. uzunluk: 1 · Maks. uzunluk: 5000 |
image | string | İsteğe bağlı | Optional image used as inspiration; the music will match the mood and theme of the image. |
Çıkış Şeması
| Alan | Tür | Açıklama |
|---|---|---|
id | string | Üretim görevinin benzersiz tanımlayıcısı |
status | string | Görev durumu: pending, running, completed, failed, timeout |
model | string | Üretimde kullanılan model |
outputs | array | Çıkış öğelerinin dizisi |
outputs[].url | string | Oluşturulan çıktının URL'si |
outputs[].content_type | string | MIME türü (örn. image/png, video/mp4) |
error | object | null | Başarısız olursa hata ayrıntıları, başarıda null |
error.type | string | Makine tarafından okunabilir hata türü kodu |
error.message | string | İ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.
- Gönder: /v1/run adresine POST yapın ve dönen
idalanını okuyun. - Sorgula: durum
completed,failedveyatimeoutolana kadar /v1/run/{id} adresine GET yapın. - Al: tamamlanan yanıttan
outputsalanını okuyun.
Modelinizi seçin
Modelleri karşılaştırın
| Model | Tür | Varsayılan fiyat | Yayınlanma |
|---|---|---|---|
Lyria 3.5Bu model Google | Ses | $0.10 / çalıştırma | 15 Eyl 2026 |
Google | Ses | $0.04 / çalıştırma | 25 Eyl 2026 |
Google | Ses | $0.03 / çalıştırma | 25 Eyl 2026 |
Google | Ses | $0.05 / çalıştırma | 16 Nis 2026 |
Google | Ses | $0.08 / çalıştırma | 30 Mar 2026 |
Google | Ses | $0.04 / çalıştırma | 30 Mar 2026 |
Sorular
SSS
Google Lyria 3.5'i SandBase üzerinden nasıl çağırırım?
Bir SandBase API anahtarı oluşturun, ardından model kimliği "google/lyria-3.5" 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.5'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.5 ve katalogdaki diğer modellere erişim sağlar; Google için ayrıca kayıt olmanız gerekmez.
