Clone a voice from a 10-second to 5-minute reference recording. Returns a voice_id usable in /v1/audio/speech with any MiniMax HD or Turbo SKU.
Synchronous endpoint. Upload a reference audio clip via multipart form, get back aDocumentation Index
Fetch the complete documentation index at: https://docs.kymaapi.com/llms.txt
Use this file to discover all available pages before exploring further.
voice_id you can pass to /v1/audio/speech on any MiniMax voice model.
multipart/form-data body.
minimax-voice-clone is supported.200 OK JSON.
| Field | What |
|---|---|
voice_id | Use this in /v1/audio/speech voice_id field. Namespaced as kyma_<rand>. |
name | Echo of the label you sent (or null). |
cost_usd | Flat charge applied ($2.10). |
balance_usd | Remaining balance after settle. |
X-Kyma-Model, X-Kyma-Cost-USD, and X-Kyma-Balance-USD headers are also set.
voice_id is reusable in unlimited TTS calls.
voice_id to /v1/audio/speech, the request returns 403 voice_not_owned. Voice IDs that aren’t on file are assumed to be MiniMax system voices (browseable by everyone).
| Status | error.code | When |
|---|---|---|
400 | not_a_voice_clone_model | model is not a clone SKU |
400 | invalid_request | missing file, invalid form data |
402 | insufficient_credits | balance below $2.10 |
413 | invalid_request | audio file > 10 MB |
415 | invalid_request | audio format not MP3/WAV/M4A |
500 | ownership_write_failed | clone succeeded but ownership row insert failed (no charge applied; safe to retry) |
502 | provider_error | upstream MiniMax failure |
POST /v1/audio/voice-design — generate a voice from a written description (no reference audio)POST /v1/audio/speech — use the cloned voice