Platform notice: all DeepSeek models are now live. New users receive trial credits on sign-up.
Api reference

Voice management (voice cloning)

Upload reference audio, clone a voice, list and delete voices; the cloned voice_id can be used for speech synthesis.

🧭 Not live yet. The endpoints open once a direct MiniMax channel is configured in the console. The contract below is final, so you can integrate ahead of time.

Same API Key authentication as chat / video; all calls are synchronous.

Authentication

HeaderRequiredDescription
AuthorizationYesBearer sk-tp-..., create an API Key in the console
Content-TypeYesapplication/json (multipart/form-data for the upload endpoint)

1. Upload reference audio

POST /api/v1/voices/upload

multipart/form-data.

ParameterTypeRequiredDescription
filefileYesReference audio, mp3 / m4a / wav, 10 s – 5 min, ≤ 20 MB
purposestringNoAlways voice_clone; defaults to voice_clone
{ "file_id": "1234567890" }

2. Clone a voice

POST /api/v1/voices/clone
ParameterTypeRequiredDescription
file_idstringYesfile_id returned by the upload endpoint
voice_idstringYesYour voice ID: 8–256 chars, starts with a letter, letters/digits/-/_ only, must not end with - or _
textstringNoPreview text, ≤ 1000 chars
modelstringNoPreview synthesis model, e.g. speech-2.8-hd
clone_promptobjectNo{ "prompt_audio": "...", "prompt_text": "..." }, prompt_audio ≤ 8 s
language_booststringNoLanguage boost, e.g. Chinese
need_noise_reductionbooleanNoEnable noise reduction
need_volume_normalizationbooleanNoEnable volume normalization
aigc_watermarkbooleanNoAdd an AIGC watermark
{
  "voice_id": "my-voice-01",
  "demo_audio": "https://example.com/demo.mp3",
  "input_sensitive": false
}

3. List voices

GET /api/v1/voices
Query parameterTypeRequiredDescription
voice_typestringNosystem / voice_cloning / voice_generation / all, defaults to all
{
  "system_voice": [{ "voice_id": "male-qn-qingse", "voice_name": "青涩青年音色" }],
  "voice_cloning": [{ "voice_id": "my-voice-01", "voice_name": "my-voice-01", "created_time": "2026-12-04" }],
  "voice_generation": []
}

4. Delete a voice

DELETE /api/v1/voices/{voice_id}

After deletion the voice_id can no longer be used for synthesis; this cannot be undone.

Using a cloned voice

Set voice to the cloned voice_id in Create a speech request.

Limits and notes

  • The upstream account must complete identity verification before cloning.
  • A cloned voice that is not used for synthesis within 7 days is purged upstream; clone it again if needed.
  • A cloned voice appears in the voice_cloning list only after one successful synthesis.
  • The platform does not bill these endpoints today.

Errors

StatusDescription
400Invalid parameters: bad voice_id format, audio duration / size / format out of range
401API Key invalid or revoked (including parents)
404Voice not found
429Rate limited, retry later
503No direct MiniMax channel configured, or the channel is degraded

On this page

OpenRuler