Introduction
Fish Audio S2.1 Pro converts scripts up to 4,096 characters into natural speech in MP3, WAV, or raw PCM.
| Field | Value |
|---|---|
| Input | Text |
| Output | Audio |
| Input limit | 4,096 characters / request |
| Audio formats | MP3, WAV, PCM (24 kHz) |
| Billing | Measured characters in text |
Key features & highlights
Text-to-speech synthesis in three formats
Fish Audio S2.1 Pro from Fish Audio reads scripts up to 4,096 characters aloud in MP3, WAV, or raw 24 kHz 16-bit PCM, defaulting when voice_id is omitted or targeting a specific Fish Audio S2.1 Pro voice ID.
Request parameters
| Parameter | Required | Description |
|---|---|---|
text | Yes | Exact script for Fish Audio S2.1 Pro to read aloud, from 1 to 4,096 characters including spaces and punctuation. at least 1 characters · at most 4096 characters |
output_format | No | Output encoding for Fish Audio S2.1 Pro: mp3 (default), wav, or raw 24 kHz 16-bit PCM. |
Pricing
$0.015 / 1,000 characters
Fish Audio S2.1 Pro usage is metered by characters in text.
Use cases
Long-form editorial narration
Produce warm, naturally paced chapter readings and newsletter audio editions with Fish Audio S2.1 Pro across multilingual audiences.
Interactive product walkthroughs
Voice onboarding flows and software tutorials in Fish Audio S2.1 Pro while preserving natural emphasis on interface terms.
Global podcast intros and promos
Render consistent multilingual show openers and sponsor spots in WAV for studio mixing or MP3 for web publishing.
Dynamic customer voice updates
Generate clear spoken account digests and travel briefings on demand using raw PCM or lightweight MP3 files.
Prompt guide & pro tips
Format the script cleanly
Place up to 4,096 characters into text, using commas and periods to shape natural breathing pauses across Fish Audio S2.1 Pro sentences.
Select a voice or use the default
Supply an optional Fish Audio S2.1 Pro
voice_idup to 128 characters, or omit the field to render with the balanced default narrator.Pick the target audio container
Choose mp3 for compact web delivery, wav for lossless editing timelines, or pcm for low-overhead 24 kHz streaming playback.
Chunk longer manuscripts smoothly
Split multi-chapter articles at paragraph boundaries so every response remains comfortably below the 32 MiB output ceiling.
Introduction
Fish Audio S2.1 Pro converts scripts up to 4,096 characters into natural speech in MP3, WAV, or raw PCM.
Key features
Fish Audio S2.1 Pro from Fish Audio reads scripts up to 4,096 characters aloud in MP3, WAV, or raw 24 kHz 16-bit PCM, defaulting when voice_id is omitted or targeting a specific Fish Audio S2.1 Pro voice ID.
Use cases
Turn written onboarding scripts and release notes into spoken audio tracks with Fish Audio S2.1 Pro, keeping phrasing exact.
Generate short spoken status updates with Fish Audio S2.1 Pro in MP3 for mobile playback or WAV for broadcast workflows.
Usage tips
Write the exact words listeners should hear in Fish Audio S2.1 Pro text within 4,096 characters, spelling out ambiguous abbreviations and splitting long Fish Audio S2.1 Pro narrations to stay under 32 MiB.
API quick start
# Generate the idempotency key once; reuse it when retrying after a lost response.
export SPICY_IDEMPOTENCY_KEY="${SPICY_IDEMPOTENCY_KEY:-$(uuidgen)}"
curl -X POST https://api.spicyapi.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $SPICY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $SPICY_IDEMPOTENCY_KEY" \
-d '{
"model": "fish-audio/s2.1-pro/text-to-speech",
"input": {
"text": "Welcome back. Your files finished rendering a minute ago and are ready to download.",
"output_format": "mp3"
}
}'
# Copy data.taskId from the response into TASK_ID, then poll the status.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.spicyapi.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $SPICY_API_KEY"
See the API reference for authentication, the complete schema, polling, and error handling.



