# S2 Pro (Free)

Fish Audio S2 is the second-generation TTS model from Fish Audio. It's trained on over 10 million hours of audio across approximately 80 languages, and it introduces inline tag control: natural-language instructions embedded directly in your script at any position, giving you fine-grained direction over how speech is delivered at the word or phrase level.

- **Model ID:** `fish-audio/s2-pro-free`
- **Type:** speech
- **Providers:** fish-audio
- **Context window:** Not applicable
- **Maximum output tokens:** 0
- **Pricing:** See the provider details below
- **Canonical page:** https://vercel.com/ai-gateway/models/s2-pro-free

## Supported parameters

Detailed capability metadata has not been reported for this model.

## Example

```ts
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-pro-free'),
  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);
```

## Links

- [Model page](https://vercel.com/ai-gateway/models/s2-pro-free)
- [AI Gateway documentation](https://vercel.com/docs/ai-gateway)
- [Provider model documentation](https://docs.fish.audio/developer-guide/models-pricing/models-overview)
- [Provider pricing](https://docs.fish.audio/developer-guide/models-pricing/models-overview)
