Overview
AudioPod AI’s Voice Management API provides comprehensive tools for managing custom and pre-built voices. Browse available voices, organize custom voice collections, preview voices, and manage voice metadata for text-to-speech and voice cloning workflows.Key Features
- Voice Browsing: Explore available pre-built voices by category
- Custom Voice Creation: Create new voice models from audio samples
- Custom Voice Management: Organize and manage cloned voices
- Voice Collections: Group voices into organized collections
- Voice Preview: Generate preview samples to test voices
- Metadata Management: Update voice names, descriptions, and tags
- Voice Analytics: Track usage and performance metrics
- Batch Operations: Manage multiple voices efficiently
Authentication
All endpoints require authentication:- API Key:
Authorization: Bearer your_api_key - JWT Token:
Authorization: Bearer your_jwt_token
Voice Discovery
List Available Voices
Browse all available voices including pre-built and custom voices.- GET
- Python
- cURL
voice_type:CUSTOM,STANDARDis_public:true,falseinclude_public:true,falseskip: Number to skip for paginationlimit: Number of results to return (max 50)
Get Voice Details
Retrieve detailed information about a specific voice.- GET
- Python
Create Custom Voices
Upload Single Audio Sample
Create a custom voice model from a single audio file.- POST
- Python
- cURL
Upload Multiple Audio Samples
Create a higher-quality voice model using multiple audio samples.- POST
- Python
Audio Quality Requirements
For best voice creation results:- Duration: 10-60 seconds of clean audio per sample
- Format: WAV, MP3, or M4A
- Sample Rate: 22kHz or higher
- Quality: Clear speech without background noise
- Content: Natural speech with varied intonation
- Multiple Samples: 2-5 samples recommended for higher quality
Voice Preview
Generate Voice Preview
Create a preview sample to test how a voice sounds.- GET
- Python
Batch Preview Generation
Generate previews for multiple voices with the same text.- POST
- Python
Custom Voice Management
List Custom Voices
Get all custom voices created by the authenticated user.- GET
- Python
Update Custom Voice
Update metadata and settings for a custom voice.- PATCH
- Python
Delete Custom Voice
Remove a custom voice and all associated data.- DELETE
- Python
Voice Collections
Create Voice Collection
Organize voices into collections for better management.- POST
- Python
List Voice Collections
Get all voice collections for the authenticated user.- GET
- Python
Add Voices to Collection
Add voices to an existing collection.- POST
- Python
Voice Analytics
Get Voice Usage Statistics
Retrieve usage statistics for voices.- GET
- Python
Error Handling
404 Not Found - Voice Not Found
404 Not Found - Voice Not Found
Causes: - Voice ID doesn’t exist - Voice was deleted - Access denied to private voice
Solutions: - Verify voice ID is correct - Check if voice still exists - Ensure you have access permissions
400 Bad Request - Invalid Parameters
400 Bad Request - Invalid Parameters
Causes: - Invalid filter parameters - Malformed voice collection data - Invalid preview text
Solutions: - Check parameter values - Validate collection structure - Ensure preview text is not empty
403 Forbidden - Access Denied
403 Forbidden - Access Denied
Causes: - Trying to modify another user’s custom voice - Accessing private voice without permission
Solutions: - Only modify your own custom voices - Use public voices or get proper access
402 Payment Required - Insufficient Credits
402 Payment Required - Insufficient Credits
Causes: - Not enough credits for voice preview generation
Solutions: - Purchase additional credits - Check credit requirements
Use Cases & Examples
Voice Selection Assistant
Voice Collection Manager
Best Practices
Voice Selection Guidelines
Pricing
Voice management operations have different pricing structures:| Operation | Cost | Description |
|---|---|---|
| Custom Voice Creation | Free | Create new voice model from audio samples |
| Voice Preview | Free | Generate preview samples (up to 50 words) |
| Voice Listing | Free | Browse available voices |
| Collection Management | Free | Create and manage voice collections |
| Custom Voice Updates | Free | Update custom voice metadata |
