Skip to main content
Fish Audio is a text-to-speech plugin. It streams Fish Audio S2 voices: expressive speech in 80+ languages with [bracket] emotion cues and cloned voices.

Setup

Set your Fish Audio API key in the worker environment. Generate a key from the Fish Audio site:

Usage

Import the plugin and pass it to the pipeline’s tts slot.
FishAudioTTS ships in the Python SDK only. The Node JS SDK does not include this plugin yet.
FishAudioTTS requires a zeroruntime release newer than 0.1.9.

Parameters

Constructor parameters for FishAudioTTS.

Import paths

Synthesized audio is streamed back to the caller after the LLM produces a response.

Inference

This provider also runs through the Inference Gateway on your Zero Runtime auth token, with no Fish Audio API key. Import FishAudioTTS from zeroruntime.inference instead of zeroruntime.plugins.