Voice generation gemini 3 8 flash tts generate API

Gemini 3.8 Flash TTS. Sold by Google AI (Gemini API), $0.055 per call.

Providers

Prices include the router's 10% markup and are paid from the usage wallet. Checked on November 11, 2026.

Call it

A Joshu assistant makes the same call with its own token.

Router call with a router API key
curl https://hello.joshu.me/api/router/call \
  -H "Authorization: Bearer $JOSHU_ROUTER_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "endpoint": "google-ai.voice-gen.gemini-3-8-flash-tts",
    "params": {
      "contents": [
        {
          "parts": [
            {
              "text": "Welcome to treg, the tool catalog for your agents.",
              "speechMetadata": {
                "style": "cheerful"
              }
            }
          ]
        }
      ],
      "generationConfig": {
        "speechConfig": {
          "voiceConfig": {
            "prebuiltVoiceConfig": {
              "voiceName": "Kore"
            }
          }
        },
        "responseModalities": [
          "AUDIO"
        ]
      }
    }
  }'