Quick Start Guide
This guide will help you get started with the Voice Cloning API service quickly.
Prerequisites
Before you begin, make sure you have:
- A registered account on the Voice Cloning platform
- A valid API key (Professional or Unlimited version)
- Audio sample files ready for voice cloning
Step 1: Get Your API Key
- Log in to your account at Voice Cloning Platform
- Navigate to your user center
- Generate or copy your API key
- Keep your API key secure and don’t share it publicly
Step 2: Prepare Your Audio Sample
Your audio sample should meet these requirements:
- Format: WAV, MP3, or M4A
- Duration: 5-30 seconds
- Quality: Clear audio with minimal background noise
- Content: Natural speech in the target voice
- File Size: Maximum 4.5MB
Step 3: Choose Your API Endpoint
For Short Text (< 1000 characters)
Use the Synchronous API for immediate results:
- Endpoint:
/api/sync-clone
- Response: Immediate audio file
- Best for: Short phrases, sentences, or quick generations
For Long Text (> 1000 characters)
Use the Asynchronous API for better processing:
- Create Task:
/api/async-clone/create-task
- Check Status:
/api/async-clone/task-status
- Get Result:
/api/async-clone/task-result
- Best for: Long articles, books, or extensive content
Step 4: Make Your First API Call
Example: Synchronous Voice Cloning
curl -X POST "https://aivoiceclonefree.com/api/sync-clone" \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "audio_file=@your_voice_sample.wav" \
-F "text=Hello, this is my cloned voice!"
Example: Asynchronous Voice Cloning
- Create Task:
curl -X POST "https://aivoiceclonefree.com/api/async-clone/create-task" \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "audio_file=@your_voice_sample.wav" \
-F "text=Your long text content here..."
- Check Status:
curl -X GET "https://aivoiceclonefree.com/api/async-clone/task-status/{task_id}" \
-H "Authorization: Bearer YOUR_API_KEY"
- Download Result:
curl -X GET "https://aivoiceclonefree.com/api/async-clone/task-result/{task_id}" \
-H "Authorization: Bearer YOUR_API_KEY"
Next Steps
- Explore the complete API Reference for detailed documentation
- Learn about error handling and response codes
- Check out advanced features and customization options
Need Help?
If you encounter any issues or have questions:
- Review the detailed API documentation
- Check your API key permissions
- Ensure your audio samples meet the requirements
- Contact support if problems persist
Last updated on