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.
- ราคาพื้นฐาน
- $1.80USD / การรัน
- การทำงาน
- async
- ประเภโมเดล
- audio
- ฟิลด์อินพุต
- 5
ลองใช้โมเดล
Playground
ต้องการทำอะไรต่อ
ตัวอย่าง
เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
- เปิดผลลัพธ์ ↗
อินพุต
{ "audio": "https://static.sandbase.ai/examples/b8385a7a-19fa-40da-94b1-92e4cb727d8b/input/6a966bba-4ecf-4735-ac78-1429b82245cf.wav" }
การ์ดโมเดล
ข้อมูลจำเพาะ
ราคา
- ราคาพื้นฐาน
- $1.80 / การรัน
บริบทและ modalities
- อินพุต
- กำหนดตามสคีมา
- เอาต์พุต
- audio
ความสามารถ
- แชท
- ไม่รองรับ
- วิชัน
- ไม่รองรับ
- การให้เหตุผล
- ไม่รองรับ
- เอาต์พุตแบบมีโครงสร้าง
- ไม่รองรับ
- การเรียกใช้ฟังก์ชัน
- ไม่รองรับ
- อินพุตเสียง
- ไม่รองรับ
การเข้าถึง
- ผู้ให้บริการ
- MiniMax
- รหัสโมเดล
- minimax/voice-clone
- การทำงาน
- async
- Base URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
API README
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.
เริ่มสร้าง
ส่งคำขอแรกของคุณ
เอ็นด์พอยต์ที่ใช้งานร่วมกับ OpenAI ได้ พร้อมการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
# 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"สคีมาขาเข้า
5 พารามิเตอร์ · จำเป็น 1 · ไม่บังคับ 4
| พารามิเตอร์ | ประเภท | จำเป็น | คำอธิบาย |
|---|---|---|---|
audio | string | จำเป็น | 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 | ไม่บังคับ | Text to generate a TTS preview with the cloned voice (optional) · ความยาวสูงสุด: 1000 · ค่าเริ่มต้น: "Hello, this is a preview of your cloned voice! I hope you like it!" |
accuracy | number | ไม่บังคับ | Text validation accuracy threshold (0-1) · ต่ำสุด: 0 · สูงสุด: 1 |
noise_reduction | boolean | ไม่บังคับ | Enable noise reduction for the cloned voice · ค่าเริ่มต้น: false |
need_volume_normalization | boolean | ไม่บังคับ | Enable volume normalization for the cloned voice · ค่าเริ่มต้น: false |
สคีมาเอาต์พุต
| ฟิลด์ | ประเภท | คำอธิบาย |
|---|---|---|
id | string | ตัวระบุเฉพาะสำหรับงาน generation |
status | string | สถานะงาน: pending, running, completed, failed, timeout |
model | string | โมเดลที่ใช้สำหรับ generation |
outputs | array | อาร์เรย์ของรายการเอาต์พุต |
outputs[].url | string | URL ของอาร์ติแฟกต์ที่สร้างขึ้น |
outputs[].content_type | string | ประเภท MIME (เช่น image/png, video/mp4) |
error | object | null | รายละเอียดข้อผิดพลาดหากล้มเหลว, เป็น null เมื่อสำเร็จ |
error.type | string | รหัสประเภทข้อผิดพลาดที่เครื่องอ่านได้ |
error.message | string | คำอธิบายข้อผิดพลาดที่มนุษย์อ่านได้ |
เวิร์กโฟลว์แบบอะซิงก์
โมเดลนี้ทำงานแบบอะซิงโครนัส ส่งคำขอแล้วคอยตรวจผลลัพธ์
- ส่ง: POST ไปที่ /v1/run แล้วอ่าน
idที่ส่งกลับมา - คอยตรวจ: GET /v1/run/{id} จนกว่าสถานะจะเป็น
completed,failedหรือtimeout - ดึงข้อมูล: อ่าน
outputsจากการตอบกลับที่เสร็จสมบูรณ์
เลือกโมเดลของคุณ
เปรียบเทียบโมเดล
| โมเดล | ประเภท | ราคามาตรฐาน | เปิดตัว |
|---|---|---|---|
MiniMax Voice Cloneโมเดลนี้ MiniMax | เสียง | $1.80 / ครั้ง | 6 พ.ค. 2568 |
MiniMax | เสียง | $0.12 / ครั้ง | 5 ต.ค. 2569 |
MiniMax | เสียง | $0.15 / ครั้ง | 11 เม.ย. 2569 |
MiniMax | เสียง | $0.15 / ครั้ง | 11 เม.ย. 2569 |
MiniMax | เสียง | $0.10 / ครั้ง | 4 ก.พ. 2569 |
MiniMax | เสียง | $0.06 / ครั้ง | 4 ก.พ. 2569 |
คำถาม
คำถามที่พบบ่อย
ฉันจะเรียก MiniMax Voice Clone ผ่าน SandBase ได้อย่างไร?
สร้าง SandBase API key แล้วส่งคำขอด้วย model ID "minimax/voice-clone" ไปที่ Unified Run API (/v1/run) ที่ https://api.sandbase.ai ตัวอย่างคำขอบนหน้านี้แสดง payload ที่ถูกต้องทั้งหมด
ฉันจำเป็นต้องมีบัญชี MiniMax แยกต่างหากไหม?
ไม่จำเป็น SandBase API key และยอดคงเหลือหนึ่งชุดให้คุณเข้าถึง MiniMax Voice Clone และโมเดลอื่น ๆ ในแค็ตตาล็อกได้ คุณไม่ต้องสมัครใช้งานกับ MiniMax แยกต่างหาก
