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.
- Grundpreis
- $0.10USD / Ausführung
- Ausführung
- async
- Modelltyp
- audio
- Eingabefelder
- 2
Modell testen
Playground
PNG, JPEG, WebP oder GIF · maximal 20 MiB
Was möchten Sie als Nächstes tun?
Beispiele
Wählen Sie ein Beispiel aus, um seine Eingaben und das Ergebnis in den Playground zu laden.
- Ergebnis öffnen ↗
Eingabe
{ "prompt": "A 30-second upbeat synthwave instrumental with punchy drums and a soaring lead synth." }
Modellkarte
Spezifikationen
Preisgestaltung
- Eingabe
- $0 / 1 Mio. Tokens
- Ausgabe
- $0 / 1 Mio. Tokens
- Basispreis
- $0.10 / Ausführung
Kontext & Modalitäten
- Eingabe
- Schema-definiert
- Ausgabe
- audio
Funktionen
- Chat
- Nicht unterstützt
- Vision
- Nicht unterstützt
- Reasoning
- Nicht unterstützt
- Strukturierte Ausgabe
- Nicht unterstützt
- Function Calling
- Nicht unterstützt
- Audioeingabe
- Nicht unterstützt
Zugriff
- Anbieter
- Modell-ID
- google/lyria-3.5
- Ausführung
- async
- Basis-URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpunkt
- /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.
Jetzt loslegen
Senden Sie Ihre erste Anfrage
OpenAI-kompatibler Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
# 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"Eingabeschema
2 Parameter · 1 erforderlich · 1 optional
| Parameter | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
prompt | string | Erforderlich | 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. · Minimale Länge: 1 · Maximale Länge: 5000 |
image | string | Optional | Optional image used as inspiration; the music will match the mood and theme of the image. |
Ausgabeschema
| Feld | Typ | Beschreibung |
|---|---|---|
id | string | Eindeutige Kennung für den Generierungsauftrag |
status | string | Status des Auftrags: pending, running, completed, failed, timeout |
model | string | Verwendetes Modell für die Generierung |
outputs | array | Array von Ausgabeelementen |
outputs[].url | string | URL des generierten Artefakts |
outputs[].content_type | string | MIME-Typ (z. B. image/png, video/mp4) |
error | object | null | Fehlerdetails bei Fehlschlag, bei Erfolg null |
error.type | string | Maschinenlesbarer Fehler-Typcode |
error.message | string | Menschenlesbare Fehlerbeschreibung |
Asynchroner Workflow
Dieses Modell läuft asynchron. Senden Sie eine Anfrage und pollen Sie dann das Ergebnis.
- Senden: Per POST an /v1/run senden und das zurückgegebene
idlesen. - Pollen: GET /v1/run/{id}, bis der Status
completed,failedodertimeoutist. - Abrufen:
outputsaus der abgeschlossenen Antwort lesen.
Wählen Sie Ihr Modell
Modelle vergleichen
| Modell | Typ | Standardpreis | Veröffentlicht |
|---|---|---|---|
Lyria 3.5Dieses Modell Google | Audio | $0.10 / Lauf | 15. Sept. 2026 |
Google | Audio | $0.04 / Lauf | 25. Sept. 2026 |
Google | Audio | $0.03 / Lauf | 25. Sept. 2026 |
Google | Audio | $0.05 / Lauf | 16. Apr. 2026 |
Google | Audio | $0.08 / Lauf | 30. März 2026 |
Google | Audio | $0.04 / Lauf | 30. März 2026 |
Fragen
FAQ
Wie rufe ich Google Lyria 3.5 über SandBase auf?
Erstellen Sie einen SandBase API-Schlüssel und senden Sie dann Anfragen mit der Modell-ID "google/lyria-3.5" an Unified Run API (/v1/run) unter https://api.sandbase.ai. Die Anfragebeispiele auf dieser Seite zeigen die exakte Nutzlast.
Was kostet Google Lyria 3.5?
$0 pro 1 Mio. Input-Tokens und $0 pro 1 Mio. Output-Tokens, pro Anfrage von Ihrem SandBase-Guthaben abgerechnet. Rabatte werden, falls verfügbar, in den Preisen auf dieser Seite angezeigt.
Benötige ich ein separates Google-Konto?
Nein. Mit einem SandBase API-Schlüssel und Guthaben erhalten Sie Zugriff auf Google Lyria 3.5 und die anderen Modelle im Katalog; Sie müssen sich nicht separat bei Google registrieren.
