Skip to content
Dashboard

S2.1 Pro

S2.1 Pro is Fish Audio's recommended production text-to-speech model, covering 83 languages with natural language prosody control and two-speaker dialogue in a single request. Your use is subject to Fish Audio's Terms & Privacy Policies.

Free
import { experimental_generateSpeech as generateSpeech } from 'ai';
import { gateway } from '@ai-sdk/gateway';
import { writeFile } from 'node:fs/promises';
const result = await generateSpeech({
model: gateway.speechModel('fish-audio/s2.1-pro'),
text: 'Hello from the Vercel AI Gateway!',
// Browse voices at https://fish.audio/app/discovery
// Open a voice, then use "Copy Model Id" in its "..." menu.
voice: '933563129e564b19a115bedd57b7406a',
});
await writeFile('speech.mp3', result.audio.uint8Array);
Read docs

Copy link to headingProviders

Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.

Provider
Input
Capabilities
ZDR
No Training
Release Date
Free
07/28/2026