Skip to main content
OpenClaw supports Fish Audio in two distinct ways:
  • Hosted S2.1 runs through the fish-audio speech provider on the Gateway and works across channels, voice notes, Talk, and telephony.
  • Local S2 Pro runs inside the native macOS app through the existing mlx Talk provider. It stays on the Mac and does not require a Fish API key.
The downloadable S2 Pro weights use the Fish Audio Research License. Personal, research, and non-commercial evaluation are allowed; commercial use requires a separate Fish Audio license. Hosted API use follows Fish Audio’s service terms.

Hosted S2.1

Set an API key from the Fish Audio API Keys page:
Then configure the provider:
speakerVoiceId is optional. Without it, Fish Audio uses its default voice. FISH_AUDIO_API_KEY is also accepted for compatibility with existing community plugins, but FISH_API_KEY is the canonical Fish SDK environment variable.

Hosted models

The provider requests MP3 for ordinary audio, Opus at 48 kHz for native voice notes, and raw PCM at 8 kHz for telephony. For Discord voice, OpenClaw consumes Fish Audio’s chunked HTTP response as it arrives instead of waiting for the entire clip.

Expressive speech

S2 and S2.1 accept inline natural-language tags. Put them in the spoken text:
Common tags include [whisper], [laughing], [excited], [sad], [pause], and free-form instructions such as [professional broadcast tone].

Voice selection and cloning

Use /tts status to inspect the active provider and /tts audio <text> for a one-off clip. Fish voice ids can come from your own trained voices or the public Fish voice library. OpenClaw lists your voices first, then a bounded page of popular public voices. The speech provider consumes existing voice ids; it does not upload recordings or create voice models. Voice creation is a separate consent-sensitive action in the Fish Audio app or API.

Local S2 Pro on macOS

The native macOS app bundles an isolated MLX TTS helper. On Apple silicon, point the existing mlx Talk provider at the 8-bit Fish conversion:
The first utterance downloads about 6.8 GB of model and codec data. OpenClaw keeps one selected MLX model resident for repeated utterances, then unloads it after five idle minutes, app shutdown, or memory pressure.

Local reference voice

When the Gateway and macOS app share the same filesystem, configure a clean 10–30 second reference recording and its exact transcript:
referenceAudioPath is resolved on the Mac running the native app, not on a remote Gateway. The file stays local: the app passes it only to its isolated MLX helper. Local Fish output is streamed as PCM into Talk playback so speech can start before a long generation finishes.
Local MLX currently applies only to native macOS Talk. Other channels and clients use the Gateway-selected hosted speech provider. iOS and Android retain their existing native/system and Gateway Talk paths.

Troubleshooting

  • Fish Audio API key missing: set FISH_API_KEY or tts.providers.fish-audio.apiKey.
  • HTTP 401: verify the API key at Fish Audio.
  • HTTP 402: the selected hosted model requires available credits or plan access.
  • Local model falls back to the system voice: confirm Apple silicon, free disk space, and the exact Hugging Face model id.
  • Local clone does not match: use clean single-speaker audio and make referenceText match it exactly.
See the Fish Audio TTS API and Fish Audio Research License.