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 a request
Run either client example in a second terminal after/health returns 200.
Synthesize a sentence
Record “Welcome aboard.” inspeaker.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
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
voiceandspeedare 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_tokensis at most 4096 frames.- A reference clip must be 0.5 to 30 s long.