تخطَّ إلى المحتوى
تحويل النص إلى كلامGoogle

Gemini 3.8 Flash TTS

Google’s Gemini 3.8 Flash TTS: text to speech in thirty voices and many languages, with instructions for style, or in a voice copied from a recording of the speaker.

معرّف النموذج
google/gemini-3.8-flash-tts
Endpoint
POST /v1/audio/speech

السعر

ينطبق علىMinuالسعر الرسميمقارنةً بالسعر الرسمي
كل طلبللدقيقة‎$0.01——

يُحاسب تحويل النص إلى كلام حسب مدة الصوت الناتج، بعد كل استجابة. الطلب الذي لا ينتج صوتًا لا يكلّف شيئًا.

مثال على طلب

تعمل حزم OpenAI SDK الرسمية كما هي: اضبط baseURL على https://api.minu.ai/v1 واستخدم مفتاح Minu. الاستجابة هي ملف الصوت نفسه.

curl https://api.minu.ai/v1/audio/speech \
  -H "Authorization: Bearer $MINU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-3.8-flash-tts",
    "voice": "alloy",
    "input": "Your order has shipped and will arrive on Friday."
  }' \
  --output speech.mp3

معاملات الإدخال

أرسل نص طلب بصيغة JSON يحتوي على model وinput (النص) وvoice: أحد الأصوات alloy, ash, ballad, coral, echo, fable, nova, onyx, sage, shimmer, verse. الحقول instructions وresponse_format وspeed اختيارية.