diff --git a/api-reference/errors.mdx b/api-reference/errors.mdx
index 5b157372..75489db0 100644
--- a/api-reference/errors.mdx
+++ b/api-reference/errors.mdx
@@ -23,6 +23,7 @@ Some endpoints add fields. For example, `transcribe-1-pro` and `transcribe-2-pro
| `402` | No API credit for the model you called | Add API credit on [API Billing](https://fish.audio/app/developers/billing/). New developer accounts may receive a one-time free API credit on [Get Started](https://fish.audio/app/developers/get-started/?utm_source=docs&utm_medium=errors&utm_content=signup-credit), which works with every model. |
| `403` | Not permitted for this key/resource | Check the key's scope and the resource owner. |
| `404` | Model or voice not found | Verify the `model_id` / `reference_id`. |
+| `413` | Request body too large | Send a smaller request body. |
| `429` | Too many requests, for example when your account is at its [concurrency limit](/developer-guide/models-pricing/pricing-and-rate-limits#concurrent-request-limits) | Back off and retry (see below). |
| `5xx` | Server error | Retry with backoff; if it persists, contact support. |
diff --git a/developer-guide/getting-started/changelog.mdx b/developer-guide/getting-started/changelog.mdx
index 0d67d71f..89ee0763 100644
--- a/developer-guide/getting-started/changelog.mdx
+++ b/developer-guide/getting-started/changelog.mdx
@@ -41,7 +41,7 @@ rss: true
Our most capable text-to-speech model, and the one we now recommend. S3 Pro is tied for #1 overall on the Artificial Analysis Speech Arena, is #1 on Artificial Analysis Pronunciation Robustness, scores 100% accuracy on the Cekura TTS benchmark, and has lower latency than S2.1-Pro, with a median server-side time to first audio of about 40 ms with `latency: "low"` (measured at the inference service, one request at a time, excluding network time). It costs $15.00 / M UTF-8 bytes, and TTFA, DPA, and zero data retention (ZDR) guarantees are available under an enterprise agreement. It has the same `[bracket]` natural-language control and multi-speaker dialogue as the S2 models, and accepts the paired scoped tags of Drama 3, such as `…`, to change the delivery of specific words.
- Use model ID `s3-pro` on `POST /v1/tts` and the TTS WebSocket. The Quick Start and cookbook examples now use `s3-pro`.
+ Use model ID `s3-pro` on `POST /v1/tts`, the with-timestamps routes (`POST /v1/tts/stream/with-timestamp` and the `/v1/tts/live/with-timestamp` WebSocket), and the TTS WebSocket. The Quick Start and cookbook examples now use `s3-pro`.
The free `s2.1-pro-free` model has been taken offline after its free period ended on November 30, 2026. Requests that still send it are served and billed as the default model. See [Model Deprecations](/developer-guide/models-pricing/deprecations).
diff --git a/developer-guide/integrations/hermes-agent.mdx b/developer-guide/integrations/hermes-agent.mdx
index 75073991..30e6e954 100644
--- a/developer-guide/integrations/hermes-agent.mdx
+++ b/developer-guide/integrations/hermes-agent.mdx
@@ -115,7 +115,7 @@ plugins:
settings:
streaming: auto # auto | "off"
live_transcription: realtime # realtime | compat
- allow_free_model: true # false = always use s2.1-pro
+ allow_free_model: true # false = never use s2.1-pro-free
```
Additional `plugins.entries.fish-audio.settings` options include `base_url` (an HTTPS URL, or HTTP on loopback, for a self-hosted Fish Audio endpoint) and `operator_account: true` (for operator-owned Fish accounts, hiding balances, billing links, and account-wide voices and dictionaries from end users).
diff --git a/developer-guide/models-pricing/models/s3-pro.mdx b/developer-guide/models-pricing/models/s3-pro.mdx
index 021bd847..19e0ce0c 100644
--- a/developer-guide/models-pricing/models/s3-pro.mdx
+++ b/developer-guide/models-pricing/models/s3-pro.mdx
@@ -64,11 +64,35 @@ Use any voice from the Voice Library, a voice model you created, or clone a voic
## Text normalization
-`normalize` is on by default. S3 Pro uses context-aware text normalization: it reads numbers, dates, currencies, units, abbreviations, and symbols the way the surrounding text calls for. It covers the 11 Tier 1 languages today, and the list is actively growing. S3 Pro reads text in every other language natively, as written. `language` still works, and a regional tag such as `es-MX` or `zh-TW` is normalized with its base language. See [S3 Pro normalization](/features/text-to-speech#s3-pro-normalization).
+This section and the ones after it, through [Generation settings](#generation-settings), describe the hosted API.
+
+`normalize` is on by default. S3 Pro uses context-aware text normalization: it reads dates, times, numbers, currencies, units, phone numbers, URLs, abbreviations, and symbols the way the surrounding text calls for. `[bracket]` directions, speaker tags such as `<|speaker:0|>`, and phoneme markers are kept as written. So are scoped tags such as `` and ``, but the words between them are still normalized. It covers the 11 Tier 1 languages today, and the list is actively growing. S3 Pro reads text in every other language natively, as written. Send `normalize: false` to turn normalization off. `language` still works, and a regional tag such as `es-MX` or `zh-TW` is normalized with its base language. For Japanese, send `language: "ja"`: without it, text written only in kanji, with no kana, is normalized as Chinese. See [S3 Pro normalization](/features/text-to-speech#s3-pro-normalization).
+
+## Markdown cleanup
+
+S3 Pro removes Markdown formatting before it reads your text, so you can send a language model's reply as it is. This applies on `POST /v1/tts`, the with-timestamps routes, and the TTS WebSocket.
+
+| You write | S3 Pro reads |
+| ------------------------------------------------------------------------------------------------------------------- | ------------ |
+| A link whose address starts with `http://`, `https://`, `www.`, or `mailto:`, such as `[text](https://example.com)` | `text` |
+| An image, `` | Nothing |
+| Bold or italics, `**text**`, `__text__`, or `*text*` | `text` |
+| Inline code, `` `text` `` | `text` |
+| A heading, `# text` | `text` |
+| A list item, `- text`, `* text`, or `+ text`, including a task box such as `- [x] text` | `text` |
+| A quote, `> text` | `text` |
+
+Bare URLs, numbered lists, tables, code blocks, `[bracket]` directions, and `<|…|>` tags are left as written. So are other links, such as `[text](/path)`: their `[text]` is then taken as a `[bracket]` direction, so its words are not spoken.
+
+### Reserved tokens
+
+The `<|…|>` tokens you can write in your text are speaker tags (`<|speaker:0|>`) and [phoneme markers](/developer-guide/core-features/fine-grained-control) (`<|phoneme_start|>`, `<|phoneme_end|>`). The model's other reserved tokens in that form are removed before synthesis, with no error.
+
+Text with nothing to read, such as an empty string, only punctuation (`...`), or only reserved tokens, is not an error either: `POST /v1/tts` returns `200` with no speech. A `wav` response holds only the file header, and an `mp3` response holds a few frames of silence.
## Generation settings
-On `s3-pro`, sampling and chunking parameters are managed automatically by the service.
+The service sets the sampling for `s3-pro`. `temperature`, `top_p`, and `repetition_penalty` are accepted and validated as on other models, but they don't change the audio. Chunking is managed automatically by the service.
## Supported languages
diff --git a/developer-guide/models-pricing/models/transcribe-2.mdx b/developer-guide/models-pricing/models/transcribe-2.mdx
index a653bd05..d71abe80 100644
--- a/developer-guide/models-pricing/models/transcribe-2.mdx
+++ b/developer-guide/models-pricing/models/transcribe-2.mdx
@@ -26,7 +26,7 @@ Write the `model` header value exactly as shown. A file request without it, or w
- **Language hints**: `language` is passed to the model, which uses it to transcribe. It can be an ISO 639-1 or ISO 639-3 code, an English language name, or a locale such as `pt-BR`.
- **Text format**: `text_format` is `written` (the default) for digits and symbols, or `spoken` for numbers, dates, times, and amounts in words. When you also send key terms, `spoken` is not always followed.
- **Verbatim**: `verbatim` is `true` by default and keeps filler words, stutters, repetitions, and false starts. `false` leaves out filler sounds, stutters, accidental repetitions, and short false starts. It never rewords.
-- **Key terms**: `keyterms` takes up to 128 words or short phrases, each at most 50 characters and 8 words, to spell as you list them.
+- **Key terms**: `keyterms` takes up to 128 words or short phrases, each at most 50 characters and 8 words, to spell as you list them. See [Key terms](/api-reference/endpoint/openapi-v1/speech-to-text#key-terms) for every rule, including duplicates, the characters a term can't contain, and the total size.
Use it for subtitles for the deaf and hard of hearing (SDH), contact-center quality assurance, sales call analytics, or general transcription. See [Speech to Text](/features/speech-to-text).
diff --git a/features/text-to-speech.mdx b/features/text-to-speech.mdx
index 6b3ad82f..da15d22d 100644
--- a/features/text-to-speech.mdx
+++ b/features/text-to-speech.mdx
@@ -48,7 +48,7 @@ from fishaudio import FishAudio
from fishaudio.utils import save
client = FishAudio() # reads FISH_API_KEY
-audio = client.tts.convert(text="Hello from Fish Audio!")
+audio = client.tts.convert(text="Hello from Fish Audio!", model="s3-pro")
save(audio, "out.mp3")
```
@@ -67,9 +67,10 @@ import { writeFile } from "fs/promises";
const client = new FishAudioClient({ apiKey: process.env.FISH_API_KEY });
-const stream = await client.textToSpeech.convert({
- text: "Hello from Fish Audio!",
-});
+const stream = await client.textToSpeech.convert(
+ { text: "Hello from Fish Audio!" },
+ "s3-pro"
+);
const chunks = [];
for await (const chunk of stream) chunks.push(Buffer.from(chunk));
@@ -86,6 +87,7 @@ Pass a **voice model id** (`reference_id`). Find ids in the [Voice Library](/ove
audio = client.tts.convert(
text="This uses a specific voice.",
reference_id="9a9cf47702da476aa4629e2506d4a857",
+ model="s3-pro",
)
```
@@ -126,6 +128,7 @@ from fishaudio.types import TTSConfig
audio = client.tts.convert(
text="High quality",
config=TTSConfig(format="wav", sample_rate=44100),
+ model="s3-pro",
)
```
@@ -145,7 +148,7 @@ Adjust speech speed (0.5–2.0) and volume.
```python Python
-audio = client.tts.convert(text="Speaking faster.", speed=1.5)
+audio = client.tts.convert(text="Speaking faster.", speed=1.5, model="s3-pro")
```
```bash API (curl)
@@ -269,10 +272,10 @@ audio = client.tts.convert(
`latency` trades stability for speed; `chunk_length` controls how much text the engine batches before it starts generating.
-- `latency="balanced"` (default): lower time-to-first-audio (~300ms). Good for interactive use.
+- `latency="balanced"` (default): lower time-to-first-audio. Good for interactive use. For the measured time to first audio on `s3-pro` with `balanced` and `low`, see [S3 Pro benchmarks](/developer-guide/models-pricing/models/s3-pro#benchmarks).
- `latency="normal"`: most stable output, at slightly higher latency.
- `latency="low"`: lowest latency. Send it in the API request body, or with the JavaScript SDK. The Python SDK's `TTSConfig` accepts `balanced` and `normal`.
-- `chunk_length` (`100`–`300`, default `200`): smaller chunks start audio sooner; larger chunks are more efficient for long text. On `s3-pro`, chunking is managed automatically by the service.
+- `chunk_length` (`100`–`300`): smaller chunks start audio sooner; larger chunks are more efficient for long text. The API default is `300`; the Python SDK's `TTSConfig` sends `200` unless you set it. On `s3-pro`, chunking is managed automatically by the service.
```python Python
@@ -374,9 +377,13 @@ The same field is accepted by `POST /v1/tts` (JSON and MessagePack), the with-ti
#### S3 Pro normalization
-`s3-pro` uses context-aware text normalization: it reads numbers, dates, currencies, units, abbreviations, and symbols the way the surrounding text calls for. It covers 11 languages today, and the list is actively growing: English (`en`), Chinese (`zh`), Japanese (`ja`), Korean (`ko`), Spanish (`es`), French (`fr`), German (`de`), Portuguese (`pt`), Russian (`ru`), Arabic (`ar`), and Hindi (`hi`).
+On the hosted API, `s3-pro` uses context-aware text normalization: it reads numbers, dates, currencies, units, abbreviations, and symbols the way the surrounding text calls for. It covers 11 languages today, and the list is actively growing: English (`en`), Chinese (`zh`), Japanese (`ja`), Korean (`ko`), Spanish (`es`), French (`fr`), German (`de`), Portuguese (`pt`), Russian (`ru`), Arabic (`ar`), and Hindi (`hi`).
+- It rewrites dates, times, numbers and ordinals, currency amounts, units and percentages, ranges and scores, fractions and math, phone numbers and other digit strings, codes and version numbers, URLs and email addresses, abbreviations and acronyms, Roman numerals, and symbols. The rest of the text is kept as written.
+- `[bracket]` directions, speaker tags such as `<|speaker:0|>`, and phoneme markers are kept as written. So are scoped tags such as `` and ``, but the words between them are still normalized.
+- `normalize: false` turns it off.
- Regional tags work: `es-MX` is normalized as Spanish and `zh-TW` as Chinese.
+- Without `language`, the language is identified from the text. Text with kana is normalized as Japanese, text with Chinese characters and no kana as Chinese, and text in Hangul as Korean. Japanese written only in kanji, with no kana, is therefore normalized as Chinese: send `language: "ja"` for Japanese text.
- Text in any other language is read by S3 Pro as written, with no error, and no other language's rules are applied to it.
#### Other models
diff --git a/features/text-to-speech/realtime.mdx b/features/text-to-speech/realtime.mdx
index 9b870771..e30e3a5b 100644
--- a/features/text-to-speech/realtime.mdx
+++ b/features/text-to-speech/realtime.mdx
@@ -54,11 +54,11 @@ from fishaudio import FishAudio
client = FishAudio() # reads FISH_API_KEY
with open("out.mp3", "wb") as f:
- for chunk in client.tts.stream(text="Streaming keeps latency low."):
+ for chunk in client.tts.stream(text="Streaming keeps latency low.", model="s3-pro"):
f.write(chunk) # or send to a speaker / socket as it arrives
# Or collect the whole stream into one bytes object:
-audio = client.tts.stream(text="Streaming keeps latency low.").collect()
+audio = client.tts.stream(text="Streaming keeps latency low.", model="s3-pro").collect()
```
```bash API (curl)