Ga naar de inhoud
Tekst-naar-spraakGoogle

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.

Model-ID
google/gemini-3.8-flash-tts
Endpoint
POST /v1/audio/speech

Prijs

Geldt voorMinuOfficiële prijst.o.v. officiële prijs
Elk verzoekper minuut$0.01——

Tekst-naar-spraak wordt gefactureerd naar de lengte van de gemaakte audio, na elk antwoord. Een verzoek dat geen audio oplevert, kost niets.

Voorbeeldverzoek

De officiële OpenAI-SDK’s werken zoals ze zijn: stel baseURL in op https://api.minu.ai/v1 en gebruik je Minu-sleutel. Het antwoord is het audiobestand.

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

Inputparameters

Stuur een JSON-body met model, input (de tekst) en voice: een van alloy, ash, ballad, coral, echo, fable, nova, onyx, sage, shimmer, verse. instructions, response_format en speed zijn optioneel.