# SandBase AI Kokoro TTS Brazilian Portuguese API

> Kokoro TTS Brazilian Portuguese is a lightweight, fast text-to-speech model that reads Brazilian Portuguese text with natural intonation using 3 preset voices and adjustable speed.

Source: https://www.sandbase.ai/models/sandbase-ai/kokoro-tts/brazilian-portuguese
API reference: https://www.sandbase.ai/models/sandbase-ai/kokoro-tts/brazilian-portuguese#api

## Facts

- Provider: SandBase AI
- Type: Audio model
- Model ID: `sandbase-ai/kokoro-tts/brazilian-portuguese`
- Price: From $0.02 per run
- Capabilities: text to speech
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Unified Run API: `POST https://api.sandbase.ai/v1/run`

```bash
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "sandbase-ai/kokoro-tts/brazilian-portuguese",
  "text": "O segredo do sucesso é a persistência. Nunca desista dos seus sonhos!",
  "speed": 1,
  "voice": "pf_dora"
}'
```

The response returns a run id; poll `GET https://api.sandbase.ai/v1/run/{id}` until the status is `completed` or `failed`.

## FAQ

### How do I call SandBase AI Kokoro TTS Brazilian Portuguese through SandBase?

Create a SandBase API key, then send requests with the model ID "sandbase-ai/kokoro-tts/brazilian-portuguese" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

### Do I need a separate SandBase AI account?

No. One SandBase API key and balance gives you access to SandBase AI Kokoro TTS Brazilian Portuguese and the other models in the catalog; you do not need to sign up with SandBase AI separately.

## README

### Kokoro TTS Brazilian Portuguese

Kokoro TTS Brazilian Portuguese is a lightweight 82M-parameter model that reads Brazilian Portuguese text quickly with 3 preset voices and adjustable speed.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `text` | string, required | — | Text to speak. |
| `voice` | `pf_dora` / `pm_alex` / `pm_santa` | `pf_dora` | Preset voice (f = female, m = male). |
| `speed` | number 0.1–5 | 1 | 0.1–5× speaking rate. |

#### Billing

$0.02 per 1,000 characters of input text, billed per character.

| Text | Price |
|---|---|
| 200 characters | $0.004 |
| 1,000 characters | $0.02 |
| 5,000 characters | $0.10 |

Failed runs are not charged.

#### Prompting

- Use punctuation to control pauses; spell out numbers for exact pronunciation.

#### Also on SandBase

Related: `sandbase-ai/kokoro-tts`, `sandbase-ai/kokoro-tts/british-english`, `sandbase-ai/kokoro-tts/french`, `sandbase-ai/kokoro-tts/hindi`.
