Skip to main content
GET
This endpoint returns a list of TTS providers that support voice cloning, along with their specific requirements and capabilities. Use this information to determine which provider best fits your voice cloning needs.

Path Parameters

  • assistant_id (integer, required): The unique identifier of the assistant for which you want to list available voice cloning providers.

Response

Returns an array of providers with their capabilities and requirements.
Response

Provider Information

Each provider object contains:
  • provider: Unique identifier for the provider (used in API calls)
  • name: Human-readable name of the provider
  • requirements: Technical requirements for voice samples

Requirements Details

File Formats

  • formats: Array of supported audio file extensions
  • Common formats: mp3, wav, flac, m4a, ogg

Duration Limits

  • min_duration: Minimum audio duration in seconds
  • max_duration: Maximum audio duration in seconds
  • Typical range: 10-600 seconds (10 seconds to 10 minutes)

File Size

  • max_size: Maximum file size in bytes
  • Typical range: 25MB to 50MB

Quality Requirements

  • sample_rate: Minimum sample rate in Hz
  • bit_rate: Minimum bit rate in kbps
  • channels: Number of audio channels (1 = mono, 2 = stereo)

Provider Comparison

Example Request

cURL

Integration Examples

Python - Provider Selection Logic
Node.js - Requirements Validation

Error Responses

404 Not Found - Assistant not found:
403 Forbidden - Insufficient permissions:
500 Internal Server Error - Service unavailable:

Best Practices

Provider Selection Strategy

  1. Quality First: Choose providers with higher quality requirements for professional use
  2. Cost Consideration: Factor in provider pricing for your usage volume
  3. Feature Requirements: Select based on needed features (streaming, emotions, etc.)
  4. Fallback Options: Always have a secondary provider configured

Audio Preparation

Audio Preparation Helper

Multi-Provider Strategy

Multi-Provider Voice Cloning

Dynamic Provider Configuration

For applications that need to adapt to changing provider availability:
Dynamic Provider Management

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

assistant_id
integer
required

Response

Successful Response