मुख्य सामग्री पर जाएँ
टेक्स्ट-टू-स्पीच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.

मॉडल ID
google/gemini-3.8-flash-tts
एंडपॉइंट
POST /v1/audio/speech

मूल्य

लागू होता हैMinuआधिकारिक मूल्यआधिकारिक मूल्य की तुलना में
हर अनुरोधप्रति मिनट$0.01——

टेक्स्ट-टू-स्पीच की बिलिंग हर जवाब के बाद, बने हुए ऑडियो की अवधि के हिसाब से होती है। जिस अनुरोध से कोई ऑडियो नहीं बनता, उसका कोई शुल्क नहीं लगता।

अनुरोध का उदाहरण

आधिकारिक OpenAI SDK जैसे हैं वैसे काम करते हैं: baseURL को https://api.minu.ai/v1 पर सेट करें और अपनी Minu key का उपयोग करें। जवाब ही ऑडियो फ़ाइल है।

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

इनपुट पैरामीटर

model, input (टेक्स्ट) और voice के साथ एक JSON बॉडी भेजें। voice इनमें से एक हो: alloy, ash, ballad, coral, echo, fable, nova, onyx, sage, shimmer, verse। instructions, response_format और speed वैकल्पिक हैं।