Skip to main content
Fish Audio S2-Pro generates 44.1 kHz speech. Supply a clip and its transcript to clone the voice, or send text alone to generate speech without a reference.

Install and start

The default runs on one GPU. The Fish Audio Research License limits the weights to research and non-commercial use.

fish_s2_pro

Text, audio → audio. The default fish_s2_pro.yaml uses 1 GPU. The weights use Fish Audio Research License (non-commercial).
Send the request.

Send a request

Run either client example in a second terminal after /health returns 200.

Synthesize a sentence

Record “Welcome aboard.” in speaker.wav, or substitute a clip of a few seconds and its exact transcript. The SDK writes a WAV. curl saves the PCM samples. Python SDK
curl

Deployment configs

Settings and defaults

Request fields (on /v1/audio/speech, all but temperature, top_p and seed go in extra_body): Deployment settings:

Limits

  • voice and speed are not S2-Pro controls and are logged as ignored.
  • At the same sampling values, M*‘s sampler keeps a slightly different token set per step than the reference: it applies the temperature before top-k and top-p, and keeps the token that carries the running total past top-p.
  • max_new_tokens is at most 4096 frames.
  • A reference clip must be 0.5 to 30 s long.