Create Voice Clone

Voice clones

Create Voice Clone

Clones a voice from a 5–30 second recording, sent as multipart/form-data with the audio as sample. Both consent fields must be true — the two promises the console shows — or nothing is stored or sent anywhere; the refusal carries the two sentences so you can show your own user the same words. Cloning is on the Pro plan and above, up to your plan's number of voices (10 on Pro, 20 on Scale). Needs a full key.

POST/voice-clones

Headers

Katexs-Workspacestring
Developers only: the customer workspace this request acts in — its org_… id from POST /customers. Leave it out to act in your own workspace. Refused with 404 (Workspace not found.) when the id is unknown, is not one of your customers, or is not an org_… id; 410 when that customer was deleted (restore it with POST /customers/{id}/restore until it is erased); 403 when the key belongs to one customer workspace (it cannot act as another); 400 when your workspace is not a developer workspace. /customers/* and GET /customers/usage are your own workspace's and refuse the header with 400: call them without it.

Request body

Sent as multipart/form-data.

samplestring (binary)required
The recording: WAV, MP3, M4A or WebM audio, 5 to 30 seconds (15 is best), at most 10 MB.
namestringrequired
A name for the voice, up to 40 characters.
descriptionstring
A note about the voice, up to 200 characters.
tagsstring
Comma-separated labels, e.g. warm, healthcare. Lower-cased, de-duplicated, eight at most.
languagestring
What the recording is in, as a language tag: es, hi, ta… for other languages, en-IN, en-US, en-GB, en-AU, en-NG, en-PH or en-SG for English, or another language the console's Voice Clone page offers. A language with no accent choice takes no region (ta, not ta-IN); en alone means en-IN. Refused when it is not one of them. Default: en-IN.
removeNoisestring
Clean background noise from the recording before cloning. One of: true, false. Default: true.
consentOwnVoicestringrequired
true to promise: "This recording is of my own voice, or I hold the rights and permissions needed to clone the voice in it." One of: true.
consentNoImpersonationstringrequired
true to promise: "I will not use it to impersonate anyone, or for anything illegal, harmful or misleading." One of: true.

Example request

bash
curl -X POST "https://app.katexs.com/api/v1/voice-clones" \
  -H "Authorization: Bearer $KATEXS_API_KEY"

Responses

StatusDescription
201The cloned voice. Put voiceId on an agent as voice.voice.
400A field or the recording is not usable, or the consent was not given. A consent refusal also carries consent (the two promises) and fields (the two field names).
401The key is missing, wrong or revoked. The answer is always the same, whichever it is.
403Cloning is not on your plan, or the key is not a full key.
404The Katexs-Workspace header names a workspace that is unknown, is not one of your customers, or is not an org_… id. Always this one sentence, so a key cannot learn which ids exist in other accounts.
409Your workspace already has as many cloned voices as it may.
410The customer named in Katexs-Workspace was deleted. POST /customers/{id}/restore brings it back until its erase date.
429Over a per-minute limit. Wait for Retry-After seconds. code and limit say which limit: rate_limit_resources (240 requests a minute for the workspace), rate_limit_family (2,400 across a developer's customers), rate_limit_calls, rate_limit_messages, rate_limit_codes, rate_limit_code_recipient, concurrent_calls or number_daily_limit.
502The voice could not be made or saved. Nothing is kept; try again.

Response fields

idstringrequired
The clone's id.
voiceIdstringrequired
What an agent's voice.voice takes — the id List Voices shows it under.
namestringrequired
Its name, up to 40 characters.
languagestringrequired
What it was recorded in, as a language tag: en-IN, hi, ta.
descriptionstring | nullrequired
A note about it, up to 200 characters.
tagsstring[]required
Lower-case labels such as warm.
noiseRemovedbooleanrequired
Whether background noise was cleaned from the recording before cloning.
previewUrlstring (uri) | nullrequired
A link to its preview that works for sixty seconds, or null.
usableOnAgentsbooleanrequired
Whether your plan may put a cloned voice on an agent.
consentobjectrequired
What was agreed to when it was made, and when.
createdAtstring (date-time)required
When the voice was made.
201 response
{
  "id": "vc_c4a19e72-0b3d-4f58-a6e1-9d2c7b5f8a03",
  "voiceId": "c4a19e72-0b3d-4f58-a6e1-9d2c7b5f8a03",
  "name": "Dr Mehta (clinic)",
  "language": "en-IN",
  "description": "Warm, unhurried",
  "tags": [
    "warm",
    "healthcare"
  ],
  "noiseRemoved": true,
  "previewUrl": "https://files.example.com/voice-previews/c4a19e72.mp3?token=eyJhbGciOi…",
  "usableOnAgents": true,
  "consent": {
    "text": "This recording is of my own voice, or I hold the rights and permissions needed to clone the voice in it. I will not use it to impersonate anyone, or for anything illegal, harmful or misleading.",
    "at": "2026-10-06T10:02:17.335Z"
  },
  "createdAt": "2026-10-06T10:02:26.018Z"
}

Last updated November 2026 · Found a problem? Email support@katexs.com