Skip to main content

Prerequisites

Sign up for a free Fish Audio account to get started with our API.
  1. Go to fish.audio/auth/signup
  2. Fill in your details to create an account, complete steps to verify your account.
  3. Log in to your account and navigate to the API section
Once you have an account, you’ll need an API key to authenticate your requests.
  1. Log in to your Fish Audio Dashboard
  2. Navigate to the API Keys section
  3. Click “Create New Key” and give it a descriptive name, set a expiration if desired
  4. Copy your key and store it securely
Keep your API key secret! Never commit it to version control or share it publicly.

Instant Voice Cloning

Clone a voice on-the-fly without creating a persistent model using ReferenceAudio:
Instant voice cloning is perfect for one-time use cases. For repeated use of the same voice, create a persistent voice model instead.

Multiple Reference Samples

Improve voice quality by providing multiple reference samples:

Creating Persistent Voice Models

Create a reusable voice model for consistent voice characteristics using voices.create():

With Transcripts

Providing transcripts is faster and more accurate than automatic transcription. When you provide transcripts, the system skips running ASR (speech recognition), resulting in better performance and quality:

Audio Quality Enhancement

Enable automatic audio enhancement to clean up noisy reference audio:
Audio enhancement helps process noisy or lower-quality reference audio. If your audio is already clean and well-recorded, this may not provide additional benefit.

Managing Voice Models

List Voices

Discover available voices with filtering using voices.list():

Filter by Tags and Language

Get Voice Details

Use voices.get() to retrieve voice details:

Update Voice Metadata

Update voice information using voices.update():

Delete Voice

Remove voice models using voices.delete():
Deleting a voice is permanent and cannot be undone. Make sure you have backups of any important voice models.

Next Steps

Text-to-Speech

Use cloned voices for speech generation

WebSocket Streaming

Stream audio with custom voices in real-time

Voices API Reference

Complete voice management API documentation

Best Practices

Production tips and optimization strategies