TensaHub › OpenRouter

Google: Lyria 3 Pro Preview

API des Modells google/lyria-3-pro-preview bei OpenRouter, kostenlos, Kontext 1.048.576 Tokens. Beispiele in curl, Python und JavaScript, Live-Test.

Im Katalog testen und bewerten

Full-length songs are priced at $0.08 per song. Lyria 3 is Google's family of music generation models, available through the Gemini API. With Lyria 3, you can generate high-quality, 48kHz...

Typ
Modell
Anbieter
OpenRouter
Modell-ID
google/lyria-3-pro-preview
Preis
Kostenlos
Zugang ohne Schlüssel
Nein
Schlüsselvariable
OPENROUTER_API_KEY
Basis-URL (OpenAI-kompatibel)
https://openrouter.ai/api/v1
Kontext
1.048.576 Tokens
Eingaben
Text, Bild
Funktionen
JSON-Ausgabe
Entwicklerbewertung
Noch nicht bewertet
Dokumentation
https://openrouter.ai/google/lyria-3-pro-preview
Letzte Prüfung
2026-12-04T20:19:47+00:00

Codebeispiele

cURL

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -d '{"model":"google/lyria-3-pro-preview","messages":[{"role":"user","content":"Hallo, stell dich in einem Satz vor."}]}'

Python

# pip install openai
import os
from openai import OpenAI

client = OpenAI(base_url="https://openrouter.ai/api/v1", api_key=os.environ["OPENROUTER_API_KEY"])
r = client.chat.completions.create(
    model="google/lyria-3-pro-preview",
    messages=[{"role": "user", "content": "Hallo, stell dich in einem Satz vor."}],
)
print(r.choices[0].message.content)

JavaScript

// npm install openai
import OpenAI from 'openai'

const client = new OpenAI({ baseURL: 'https://openrouter.ai/api/v1', apiKey: process.env.OPENROUTER_API_KEY })
const r = await client.chat.completions.create({
  model: 'google/lyria-3-pro-preview',
  messages: [{ role: 'user', content: 'Hallo, stell dich in einem Satz vor.' }],
})
console.log(r.choices[0].message.content)

Integrationscode erzeugen →

Beliebte Suchen

Häufige Fragen

Ist die API von Google: Lyria 3 Pro Preview kostenlos?

Ja: Google: Lyria 3 Pro Preview ist mit einem API-Schlüssel kostenlos nutzbar, im Rahmen der Limits des Anbieters.

Wie rufe ich Google: Lyria 3 Pro Preview aus meinem Code auf?

Google: Lyria 3 Pro Preview bietet eine OpenAI-kompatible API unter https://openrouter.ai/api/v1: Verwenden Sie ein beliebiges OpenAI-SDK (Python, JavaScript …) mit dieser Basis-URL. Modellkennung: google/lyria-3-pro-preview. Fertiger Code (Streaming, JSON, Wiederholungen) steht im Werkzeugkasten für Entwickler bereit.

Wie groß ist das Kontextfenster von Google: Lyria 3 Pro Preview?

Google: Lyria 3 Pro Preview verarbeitet bis zu 1.048.576 Tokens Kontext (Nachricht und Verlauf).

Welche Alternativen gibt es zu Google: Lyria 3 Pro Preview?

Ähnliche APIs im Katalog: gemma-4-26B-A4B-it · AkashML, gemma-4-26B-A4B-it · Cloudflare, gemma-4-26B-A4B-it · DeepInfra, gemma-4-26B-A4B-it · Google, gemma-4-26B-A4B-it · Makora.

Alternativen