Speechbase
Providers

Fish Audio

Open-source Fish Audio S2 text-to-speech through the Speechbase gateway, with audio tags and voice cloning.

Prefixfish-audio
Default models2-pro
Provider keyConnect under Provider Keys

Route to Fish Audio by prefixing the model with fish-audio/. s2-pro is an open-source model with streaming, audio tags, and voice cloning.

Models

ModelStreamingAudio tagsVoice cloningOpen sourceLanguages
s2-proYesYesYesYes10

Usage

curl -X POST https://api.speechbase.ai/v1/audio/speech \
  -H "Authorization: Bearer $SPEECHBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "mode": "inline",
    "model": "fish-audio/s2-pro",
    "voice": "default",
    "text": "Hello from Speechbase!",
    "output": "mp3"
  }' --output hello.mp3

Replace voice with a Fish Audio reference (model) ID, or register a cloned voice as a saved Voice and address it by voiceId.

Voice cloning

s2-pro supports cloning from a reference sample. Clone into a saved Voice, then use mode: "voice" — inline requests take a plain voice string only.

Provider options

Anything in providerOptions is forwarded to the Fish Audio API unchanged.

On this page