TensaHub › Kilo AI Gateway

Google: Lyria 3 Pro Preview

واجهة برمجة النموذج google/lyria-3-pro-preview لدى Kilo AI Gateway, مجانية, سياق 1,048,576 رمز. أمثلة بـ curl وPython وJavaScript، واختبار مباشر.

اختبر وقيّم في الفهرس

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...

النوع
نموذج
المزوّد
Kilo AI Gateway
معرّف النموذج
google/lyria-3-pro-preview
التسعير
مجاني
الوصول دون مفتاح
لا
متغيّر المفتاح
KILO_API_KEY
عنوان URL الأساسي (متوافق مع OpenAI)
https://ai-gateway.kilo.ai/api/v1
السياق
1,048,576 رمز
المدخلات
نص, صورة
الميزات
مخرجات JSON
زمن الاستجابة
الوسيط — ms · p95 — ms · أول رمز — ms · نسبة النجاح —% في 3 اختبار · آخر اختبار 2026-12-04T01:21:05.116Z
تقييم المطوّرين
لم يُقيَّم بعد
التوثيق
https://kilo.ai
آخر تحقق
2026-12-04T01:21:05.116Z

أمثلة برمجية

cURL

curl https://ai-gateway.kilo.ai/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $KILO_API_KEY" \
  -d '{"model":"google/lyria-3-pro-preview","messages":[{"role":"user","content":"مرحبًا، عرّف بنفسك في جملة واحدة."}]}'

Python

# pip install openai
import os
from openai import OpenAI

client = OpenAI(base_url="https://ai-gateway.kilo.ai/api/v1", api_key=os.environ["KILO_API_KEY"])
r = client.chat.completions.create(
    model="google/lyria-3-pro-preview",
    messages=[{"role": "user", "content": "مرحبًا، عرّف بنفسك في جملة واحدة."}],
)
print(r.choices[0].message.content)

JavaScript

// npm install openai
import OpenAI from 'openai'

const client = new OpenAI({ baseURL: 'https://ai-gateway.kilo.ai/api/v1', apiKey: process.env.KILO_API_KEY })
const r = await client.chat.completions.create({
  model: 'google/lyria-3-pro-preview',
  messages: [{ role: 'user', content: 'مرحبًا، عرّف بنفسك في جملة واحدة.' }],
})
console.log(r.choices[0].message.content)

توليد شيفرة الدمج →

عمليات بحث شائعة

الأسئلة الشائعة

هل واجهة Google: Lyria 3 Pro Preview مجانية؟

نعم: يمكن استخدام Google: Lyria 3 Pro Preview مجانًا بمفتاح واجهة برمجة، ضمن حدود المزوّد.

كيف أستدعي Google: Lyria 3 Pro Preview من شيفرتي؟

يوفّر Google: Lyria 3 Pro Preview واجهة متوافقة مع OpenAI على العنوان https://ai-gateway.kilo.ai/api/v1: استخدم أي مكتبة OpenAI ‏(Python أو JavaScript…) مع عنوان URL الأساسي هذا. معرّف النموذج: google/lyria-3-pro-preview. تتوفّر شيفرة جاهزة (بث، JSON، إعادة محاولة) في صندوق أدوات المطوّر.

ما حجم نافذة السياق في Google: Lyria 3 Pro Preview؟

يقبل Google: Lyria 3 Pro Preview حتى 1,048,576 رمز من السياق (الرسالة والسجل).

ما بدائل Google: Lyria 3 Pro Preview؟

واجهات مشابهة في الفهرس: 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.

بدائل