Skip to Content
EnglishQuick Start

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:

  1. A registered account on the Voice Cloning platform
  2. A valid API key (Professional or Unlimited version)
  3. Audio sample files ready for voice cloning

Step 1: Get Your API Key

  1. Log in to your account at Voice Cloning Platform
  2. Navigate to your user center
  3. Generate or copy your API key
  4. 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

  1. 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..."
  1. Check Status:
curl -X GET "https://aivoiceclonefree.com/api/async-clone/task-status/{task_id}" \ -H "Authorization: Bearer YOUR_API_KEY"
  1. 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