Prerequisites
Create a Fish Audio account
Create a Fish Audio account
Sign up for a free Fish Audio account to get started with our API.
- Sign up on fish.audio
- Fill in your details to create an account, complete steps to verify your account.
- Log in to your account and open Get Started
Get your API key
Get your API key
Once you have an account, you’ll need an API key to authenticate your requests.
- Log in and open Get Started
- Click “Get your API key”: the key is created in one click and shown only once
- Copy your key and store it securely
Recipe
There are two ways to clone a voice. Pick by how often you’ll reuse it:- One-shot (instant): pass a
ReferenceAudio(raw bytes + exact transcript) on eachconvertcall. Nothing is stored server-side; the clone lives only for that request. - Persistent: call
voices.createonce to train a model, then reuse its id asreference_idon every request. No reference upload per call, and the same voice is shared across processes.
pip install fish-audio-sdk.
Train a persistent voice once, reuse forever
Callvoices.create to train a model, then pass voice.id as reference_id. The same id works from any process and across SDK and REST.

