NEW🎬 New: MAGI 2 1080p video with native audio, 4–30 s · only 4.15 credits/sec (5 s clip = 20.75)Try it →

Gemini 3.1 Flash TTS Preview

🗣️ Speech google/gemini-3.1-flash-tts-preview ⧉ 3.23 credits / 1,000 characters
🗣️

Sign in to try Gemini 3.1 Flash TTS Preview

Sign in with your Google account and top up credits to get started.

Sign in with Google

🎙️ เสียงที่มีให้เลือก (30)

👩 Achernarนุ่มเบา · หลายภาษาAchernar
👨 Achirdเป็นมิตร · หลายภาษาAchird
👨 Algenibแหบเข้ม · หลายภาษาAlgenib
👨 Algiebaนุ่มลื่น · หลายภาษาAlgieba
👨 Alnilamหนักแน่น · หลายภาษาAlnilam
👩 Aoedeสบาย ๆ · หลายภาษาAoede
👩 Autonoeสดใส · หลายภาษาAutonoe
👩 Callirrhoeผ่อนคลาย · หลายภาษาCallirrhoe
👨 Charonบรรยาย ให้ข้อมูล · หลายภาษาCharon
👩 Despinaนุ่มลื่น · หลายภาษาDespina
👨 Enceladusนุ่ม มีลมหายใจ · หลายภาษาEnceladus
👩 Erinomeชัดเจน · หลายภาษาErinome
👨 Fenrirตื่นเต้น มีพลัง · หลายภาษาFenrir
👩 Gacruxผู้ใหญ่ สุขุม · หลายภาษาGacrux
👨 Iapetusชัดเจน · หลายภาษาIapetus
👩 Koreหนักแน่น · หลายภาษาKore
👩 Laomedeiaร่าเริง · หลายภาษาLaomedeia
👩 Ledaวัยรุ่น · หลายภาษาLeda
👨 Orusหนักแน่น · หลายภาษาOrus
👨 Puckร่าเริง · หลายภาษาPuck
👩 Pulcherrimaมั่นใจ ตรงไปตรงมา · หลายภาษาPulcherrima
👨 Rasalgethiบรรยาย ให้ข้อมูล · หลายภาษาRasalgethi
👨 Sadachbiaมีชีวิตชีวา · หลายภาษาSadachbia
👨 Sadaltagerน่าเชื่อถือ · หลายภาษาSadaltager
👨 Schedarเรียบ สม่ำเสมอ · หลายภาษาSchedar
👩 Sulafatอบอุ่น · หลายภาษาSulafat
👨 Umbrielผ่อนคลาย · หลายภาษาUmbriel
👩 Vindemiatrixอ่อนโยน · หลายภาษาVindemiatrix
👩 Zephyrสดใส · หลายภาษาZephyr
👨 Zubenelgenubiเป็นกันเอง · หลายภาษาZubenelgenubi

กด ▶ เพื่อฟังตัวอย่างเสียง · เพศและลักษณะเสียงอ้างอิงคำอธิบายของผู้พัฒนา

API Key

Sign in to select or create a key

Connect an AI agent with OAuth

Other agents

Use via API

Base URL: https://adverraai.com/hub/api/v1 · Authenticate with Authorization: Bearer YOUR_API_KEY

# 1) Submit a task
curl https://adverraai.com/hub/api/v1/generate \
  -H "Authorization: Bearer $ADVERRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-3.1-flash-tts-preview",
    "prompt": "..."
  }'
# => {"id":"task_xxx","status":"queued",...}

# 2) Check status (every 3-5 seconds until status = completed)
curl https://adverraai.com/hub/api/v1/tasks/task_xxx -H "Authorization: Bearer $ADVERRA_API_KEY"
# => {"status":"completed","output":[{"type":"speech","url":"https://..."}]}

Common parameters: prompt, image_urls, size / aspect_ratio, resolution, duration, n, negative_prompt, seed. Credits are reserved at an estimated price when you submit and adjusted to the actual cost when the task finishes (failed tasks are fully refunded).

Parameters for this model

Send as JSON in the request body. Fields marked * are required.

ParameterTypeAllowed valuesDefaultDescription
model * string – – ID of the model to call — google/gemini-3.1-flash-tts-preview
input * string up to 5,000 characters – Text to turn into speech
voice string see the voice ID table below (30) Achernar Voice ID to use
instructions string – – Speaking style

Voice IDs (for the voice field) (30)

VoiceGenderLanguageVoice ID
Achernar👩 FemaleหลายภาษาAchernar
Achird👨 MaleหลายภาษาAchird
Algenib👨 MaleหลายภาษาAlgenib
Algieba👨 MaleหลายภาษาAlgieba
Alnilam👨 MaleหลายภาษาAlnilam
Aoede👩 FemaleหลายภาษาAoede
Autonoe👩 FemaleหลายภาษาAutonoe
Callirrhoe👩 FemaleหลายภาษาCallirrhoe
Charon👨 MaleหลายภาษาCharon
Despina👩 FemaleหลายภาษาDespina
Enceladus👨 MaleหลายภาษาEnceladus
Erinome👩 FemaleหลายภาษาErinome
Fenrir👨 MaleหลายภาษาFenrir
Gacrux👩 FemaleหลายภาษาGacrux
Iapetus👨 MaleหลายภาษาIapetus
Kore👩 FemaleหลายภาษาKore
Laomedeia👩 FemaleหลายภาษาLaomedeia
Leda👩 FemaleหลายภาษาLeda
Orus👨 MaleหลายภาษาOrus
Puck👨 MaleหลายภาษาPuck
Pulcherrima👩 FemaleหลายภาษาPulcherrima
Rasalgethi👨 MaleหลายภาษาRasalgethi
Sadachbia👨 MaleหลายภาษาSadachbia
Sadaltager👨 MaleหลายภาษาSadaltager
Schedar👨 MaleหลายภาษาSchedar
Sulafat👩 FemaleหลายภาษาSulafat
Umbriel👨 MaleหลายภาษาUmbriel
Vindemiatrix👩 FemaleหลายภาษาVindemiatrix
Zephyr👩 FemaleหลายภาษาZephyr
Zubenelgenubi👨 MaleหลายภาษาZubenelgenubi

🤖 ต่อกับ AI Agent

เชื่อมผ่าน MCP

คัดลอกข้อความนี้ไปวางให้ AI Agent (เช่น Claude, ChatGPT, Gemini, Cursor, Codex) แล้วมันจะเรียกใช้โมเดลนี้ผ่านระบบของเราได้ทันที · ในข้อความมีวิธีเชื่อมต่อ พารามิเตอร์ รหัสเสียงทุกเสียง และวิธีรับผลงานครบ · เลือกคีย์ด้านบนเพื่อใส่ในข้อความที่จะคัดลอก

# Adverra AI Hub — Gemini 3.1 Flash TTS Preview (`google/gemini-3.1-flash-tts-preview`)

You can use this AI model through the Adverra AI Hub REST API. Follow these instructions exactly.

## Connection
- Base URL: https://adverraai.com/hub/api/v1
- Header: `Authorization: Bearer <ADVERRA_API_KEY>` (read the credential from the ADVERRA_API_KEY environment variable). Never print the key.
- Header: `Content-Type: application/json`
- Endpoint: `POST https://adverraai.com/hub/api/v1/audio/speech`
- Credits are deducted from the user's Adverra balance (check with `GET https://adverraai.com/hub/api/v1/me`).

## Example request body
```json
{
    "model": "google/gemini-3.1-flash-tts-preview",
    "input": "สวัสดีครับ ยินดีต้อนรับ",
    "voice": "Achernar"
}
```

## Parameters
- `model` (string, required) — ID of the model to call — google/gemini-3.1-flash-tts-preview
- `input` (string, required) — Text to turn into speech · allowed: up to 5,000 characters
- `voice` (string, optional) — Voice ID to use · allowed: one voice ID from the list below · default: Achernar
- `instructions` (string, optional) — Speaking style

## Voice IDs (use the ID in the `voice` field)
- `Achernar` — Achernar (female, หลายภาษา)
- `Achird` — Achird (male, หลายภาษา)
- `Algenib` — Algenib (male, หลายภาษา)
- `Algieba` — Algieba (male, หลายภาษา)
- `Alnilam` — Alnilam (male, หลายภาษา)
- `Aoede` — Aoede (female, หลายภาษา)
- `Autonoe` — Autonoe (female, หลายภาษา)
- `Callirrhoe` — Callirrhoe (female, หลายภาษา)
- `Charon` — Charon (male, หลายภาษา)
- `Despina` — Despina (female, หลายภาษา)
- `Enceladus` — Enceladus (male, หลายภาษา)
- `Erinome` — Erinome (female, หลายภาษา)
- `Fenrir` — Fenrir (male, หลายภาษา)
- `Gacrux` — Gacrux (female, หลายภาษา)
- `Iapetus` — Iapetus (male, หลายภาษา)
- `Kore` — Kore (female, หลายภาษา)
- `Laomedeia` — Laomedeia (female, หลายภาษา)
- `Leda` — Leda (female, หลายภาษา)
- `Orus` — Orus (male, หลายภาษา)
- `Puck` — Puck (male, หลายภาษา)
- `Pulcherrima` — Pulcherrima (female, หลายภาษา)
- `Rasalgethi` — Rasalgethi (male, หลายภาษา)
- `Sadachbia` — Sadachbia (male, หลายภาษา)
- `Sadaltager` — Sadaltager (male, หลายภาษา)
- `Schedar` — Schedar (male, หลายภาษา)
- `Sulafat` — Sulafat (female, หลายภาษา)
- `Umbriel` — Umbriel (male, หลายภาษา)
- `Vindemiatrix` — Vindemiatrix (female, หลายภาษา)
- `Zephyr` — Zephyr (female, หลายภาษา)
- `Zubenelgenubi` — Zubenelgenubi (male, หลายภาษา)


## Result
Returns a task object immediately with `status: "completed"`. Download the MP3 from `output[0].url` (the link expires after about 24 hours).

## Errors
- 401 = invalid API key · 402 = not enough credits (tell the user to top up at https://adverraai.com/hub/topup.php) · 429 = too many requests (wait and retry) · 5xx = temporary error (credits are refunded automatically).

## MCP (optional)
Agents that support MCP can connect to `https://adverraai.com/hub/mcp.php` instead (setup guide: https://adverraai.com/hub/connect.php).

About this model

Gemini 3.1 Flash TTS Preview is a Speech model by Adverra AI Hub

CapabilitiesText to Speech
Price3.23 credits / 1,000 characters

Gemini 3.1 Flash TTS Preview is a text-to-speech model from Google, and a substantial generational step up from Gemini 2.5 Flash TTS. It takes text input and produces audio output...

Preparing details in English…