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.
- Go to fish.audio/auth/signup
- Fill in your details to create an account, complete steps to verify your account.
- Log in to your account and navigate to the API section
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 to your Fish Audio Dashboard
- Navigate to the API Keys section
- Click “Create New Key” and give it a descriptive name, set a expiration if desired
- Copy your key and store it securely
Instant Voice Cloning
Clone a voice on-the-fly without creating a persistent model usingReferenceAudio:
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 usingvoices.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 usingvoices.list():
Filter by Tags and Language
Get Voice Details
Usevoices.get() to retrieve voice details:
Update Voice Metadata
Update voice information usingvoices.update():
Delete Voice
Remove voice models usingvoices.delete():
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
Related Resources
- Voice Types Reference - Voice model data structures
- Audio Formats Guide - Supported audio formats
- Fine-grained Control - Advanced voice customization

