本文へスキップ
音声合成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公式価格公式価格との比較
すべてのリクエスト1 分あたり$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

入力パラメーター

model、input(テキスト)、voice を含む JSON ボディを送信します。voice には alloy, ash, ballad, coral, echo, fable, nova, onyx, sage, shimmer, verse のいずれかを指定します。instructions、response_format、speed は任意です。