# Gemini 3.8 Flash TTS

Generate speech, music and audio with Gemini 3.8 Flash TTS from Vertex AI through one Spiral API key. It runs in the background and returns audio. Pay as you go, with no subscription.

- Provider: Vertex AI
- Category: Audio
- Runs: In the background
- Returns: audio
- Released: 2026-09-28
- Tool id: `vertex` / `gemini-3.8-flash-tts`
- Page: https://spiral.ai/tools/vertex/gemini-3.8-flash-tts

## Pricing

Up to $0.383412 per run at the default inputs. $1.30 per 1M text input tokens, $23.40 per 1M audio output tokens.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 30 minutes
- Longest run, end to end: 255 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `contents` (required) | JSON |  | — | The content of the current conversation with the model. |
| `generationConfig` | JSON |  | — | Configuration options for model generation and outputs. |

## Example

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "vertex",
    "model": "gemini-3.8-flash-tts",
    "input": {
      "contents": [
        {}
      ]
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=vertex&model=gemini-3.8-flash-tts

## Common questions

### Gemini 3.8 Flash TTS

**How much does Gemini 3.8 Flash TTS cost?**

Up to $0.383412 per run at the default inputs. $1.30 per 1M text input tokens, $23.40 per 1M audio output tokens. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use Gemini 3.8 Flash TTS through an API?**

Send `POST /v1/runs` with `"provider": "vertex"`, `"model": "gemini-3.8-flash-tts"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with Vertex AI to use Gemini 3.8 Flash TTS?**

No. Spiral runs it on its own Vertex AI account and charges your Spiral balance.

**Can my AI agent use Gemini 3.8 Flash TTS?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

