Skip to main content
POST
Voice Clone (MiniMax)
Synchronous endpoint. Upload a reference audio clip via multipart form, get back a voice_id you can pass to /v1/audio/speech on any MiniMax voice model.

Request

multipart/form-data body.
file
file
required
Reference audio. MP3, WAV, or M4A. Max 10 MB. Duration must be 10 seconds to 5 minutes — Kyma parses the audio header locally and rejects out-of-range files with 400 reference_too_short or 400 reference_too_long before charging. Longer clips don’t improve clone quality and waste upload bandwidth.
name
string
Optional human-readable label, max 64 chars. Surfaced in the response and stored alongside the ownership row for your reference.
model
string
default:"minimax-voice-clone"
Voice clone SKU. Currently only minimax-voice-clone is supported.

Response

200 OK JSON.
X-Kyma-Model, X-Kyma-Cost-USD, and X-Kyma-Balance-USD headers are also set.

Pricing

Flat $2.10 per cloned voice. One-time charge — once cloned, the voice_id is reusable in unlimited TTS calls.

Ownership

Cloned voice IDs are gated per Kyma user. If user A passes user B’s 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).

Errors

See also