Skip to main content
POST
cURL

Choosing a provider

voice_provider selects the engine that clones the voice. It defaults to fishaudio; you only need to set it if you specifically want ElevenLabs. A voice keeps the provider it was cloned with for its lifetime, and both kinds work with every endpoint that accepts a voice ID. Cloning does not consume credits with either provider. GET /api/voices/count/ returns the number of cloned voices in the workspace. Because the default provider has no cap, max_count there is a large sentinel value rather than a real limit; the ElevenLabs slot limit is enforced only when you clone with voice_provider: "elevenlabs".

Authorizations

X-API-ID
string
header
required

API ID, from your settings page.

X-API-KEY
string
header
required

API Key, from your settings page.

Body

original_audio_url
string<uri>
required

URL of the original audio used for cloning

Maximum string length: 1000
name
string

Name of the cloned voice

Maximum string length: 255
voice_provider
enum<string>
default:fishaudio

Provider used to clone the voice. fishaudio (default) is unlimited and does not consume voice slots. elevenlabs occupies one of the workspace's voice slots (3 by default, more if purchased). A voice keeps its provider for its lifetime; both kinds work with every endpoint that accepts a voice ID.

  • elevenlabs - elevenlabs
  • fishaudio - fishaudio
Available options:
elevenlabs,
fishaudio

Response

201 - application/json
name
string
required
Maximum string length: 255
accents
object[]
required
read-only
gender
  • male - Male
  • female - Female
  • non_binary - Non Binary
Available options:
male,
female,
non_binary