MiniMax Voice Clone
minimax/voice-cloneMiniMax Voice Clone by MiniMax creates a reusable custom voice from a reference recording of at least 10 seconds and returns a short preview spoken in that voice.
- Harga dasar
- $1.80USD / run
- Eksekusi
- async
- Jenis model
- audio
- Field input
- 5
Coba model ini
Playground
Apa yang ingin Anda lakukan selanjutnya?
Contoh
Pilih contoh untuk memuat input dan hasilnya ke playground.
- Buka hasil ↗
Input
{ "audio": "https://static.sandbase.ai/examples/b8385a7a-19fa-40da-94b1-92e4cb727d8b/input/6a966bba-4ecf-4735-ac78-1429b82245cf.wav" }
Kartu model
Spesifikasi
Harga
- Harga dasar
- $1.80 / run
Konteks & modalitas
- Input
- Didefinisikan oleh skema
- Output
- audio
Kemampuan
- Chat
- Tidak didukung
- Vision
- Tidak didukung
- Penalaran
- Tidak didukung
- Output terstruktur
- Tidak didukung
- Pemanggilan fungsi
- Tidak didukung
- Input audio
- Tidak didukung
Akses
- Penyedia
- MiniMax
- Model ID
- minimax/voice-clone
- Eksekusi
- async
- Base URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
README API
MiniMax Voice Clone
Create a reusable custom voice from a reference recording of at least 10 seconds. The response includes the voice ID and a short spoken preview.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
audio | audio URL, required | — | Reference recording, 10 seconds or longer. |
text | string | Hello, this is a preview of your cloned voice! I hope you like it! | Preview sentence spoken in the new voice. |
need_volume_normalization | boolean | false | Normalize the recording level. |
noise_reduction | boolean | false | Clean background noise first. |
accuracy | number 0–1 | — | Text-validation threshold for the recording. |
Billing
$1.50 per cloned voice plus $0.30 per started 1,000 preview characters.
| Request | Price |
|---|---|
| One voice | $1.80 |
Failed runs are not charged.
Prompting
- Record in a quiet room with one speaker.
Limits
- Use the returned voice ID as
voice_idin MiniMax Speech.
Also on SandBase
Related: minimax/speech/2.8/hd, minimax/speech/2.8/turbo, minimax/voice-design.
Mulai membangun
Kirim permintaan pertama Anda
Endpoint yang kompatibel dengan OpenAI dengan autentikasi dan pelacakan penggunaan terpadu.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "minimax/voice-clone",
"text": "Hello, this is a preview of your cloned voice! I hope you like it!",
"audio": "https://static.sandbase.ai/examples/minimax/voice-clone/input_audio_0.wav",
"noise_reduction": false,
"need_volume_normalization": false
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Skema Input
5 parameter · 1 wajib · 4 opsional
| Parameter | Tipe | Wajib | Deskripsi |
|---|---|---|---|
audio | string | Wajib | URL of the input audio file for voice cloning. Should be at least 10 seconds long. To retain the voice permanently, use it with a TTS (text-to-speech) endpoint at least once within 7 days. Otherwise, it will be automatically deleted. |
text | string | Opsional | Text to generate a TTS preview with the cloned voice (optional) · Panjang maksimum: 1000 · Bawaan: "Hello, this is a preview of your cloned voice! I hope you like it!" |
accuracy | number | Opsional | Text validation accuracy threshold (0-1) · Min: 0 · Maks: 1 |
noise_reduction | boolean | Opsional | Enable noise reduction for the cloned voice · Bawaan: false |
need_volume_normalization | boolean | Opsional | Enable volume normalization for the cloned voice · Bawaan: false |
Skema Output
| Field | Tipe | Deskripsi |
|---|---|---|
id | string | Pengidentifikasi unik untuk tugas generasi |
status | string | Status tugas: pending, running, completed, failed, timeout |
model | string | Model yang digunakan untuk generasi |
outputs | array | Array item output |
outputs[].url | string | URL artefak yang dihasilkan |
outputs[].content_type | string | Tipe MIME (mis. image/png, video/mp4) |
error | object | null | Detail error jika gagal, null jika berhasil |
error.type | string | Kode jenis error yang dapat dibaca mesin |
error.message | string | Deskripsi error yang dapat dibaca manusia |
Alur Kerja Asinkron
Model ini berjalan secara asinkron. Kirim permintaan, lalu polling untuk hasilnya.
- Kirim: POST ke /v1/run dan baca
idyang dikembalikan. - Polling: GET /v1/run/{id} sampai status menjadi
completed,failed, atautimeout. - Ambil: baca
outputsdari response yang selesai.
Pilih model Anda
Bandingkan model
| Model | Tipe | Harga default | Rilis |
|---|---|---|---|
MiniMax Voice CloneModel ini MiniMax | Audio | $1.80 / run | 6 Mei 2025 |
MiniMax | Audio | $0.12 / run | 5 Okt 2026 |
MiniMax | Audio | $0.15 / run | 11 Apr 2026 |
MiniMax | Audio | $0.15 / run | 11 Apr 2026 |
MiniMax | Audio | $0.10 / run | 4 Feb 2026 |
MiniMax | Audio | $0.06 / run | 4 Feb 2026 |
Pertanyaan
FAQ
Bagaimana cara memanggil MiniMax Voice Clone melalui SandBase?
Buat kunci API SandBase, lalu kirim permintaan dengan model ID "minimax/voice-clone" ke Unified Run API (/v1/run) di https://api.sandbase.ai. Contoh permintaan di halaman ini menunjukkan payload yang tepat.
Apakah saya memerlukan akun MiniMax terpisah?
Tidak. Satu kunci API dan saldo SandBase memberi Anda akses ke MiniMax Voice Clone dan model lain di katalog; Anda tidak perlu mendaftar ke MiniMax secara terpisah.
