Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

MiniMax Speech 02 HD

minimax/speech/02-hd

MiniMax Speech 02 HD converts text into high-fidelity speech in 37 languages with system or cloned voices, emotion control, and pitch, speed, and volume adjustment.

ราคาพื้นฐาน
$0.10USD / การรัน
การทำงาน
async
ประเภโมเดล
audio
ฟิลด์อินพุต
12
เส้นทางโปรดักชัน

ลองใช้โมเดล

Playground

เปิด Playground
อินพุต
Text to convert to speech (1-5000 characters). Use <#x#> between words to control pause duration (0.01-99.99s).
Voice ID for speech synthesis. Use a predefined system voice or a custom cloned voice ID.
0.52
Speech speed. Range: 0.5-2.0, where 1.0 is normal speed. ช่วง: 0.5 ถึง 2.
0.110
Speech volume. Range: 0.1-10.0, where 1.0 is normal volume. ช่วง: 0.1 ถึง 10.
-1212
Speech pitch. Range: -12 to 12, where 0 is normal pitch. ช่วง: -12 ถึง 12.
The emotion of the generated speech. Omit it to let the model choose from the text.
Improves performance in number-reading scenarios.
Sample rate of generated sound.
Bitrate of generated sound.
The number of channels. 1: mono, 2: stereo.
Format of generated sound.
Enhance the ability to recognize specified languages and dialects.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

การ์ดโมเดล

ข้อมูลจำเพาะ

ราคา

ราคาพื้นฐาน
$0.10 / การรัน

บริบทและ modalities

อินพุต
กำหนดตามสคีมา
เอาต์พุต
audio

ความสามารถ

แชท
ไม่รองรับ
วิชัน
ไม่รองรับ
การให้เหตุผล
ไม่รองรับ
เอาต์พุตแบบมีโครงสร้าง
ไม่รองรับ
การเรียกใช้ฟังก์ชัน
ไม่รองรับ
อินพุตเสียง
ไม่รองรับ

การเข้าถึง

ผู้ให้บริการ
MiniMax
รหัสโมเดล
minimax/speech/02-hd
การทำงาน
async
Base URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

API README

MiniMax Speech 02 HD

MiniMax Speech 02 HD: high-fidelity speech in 37 languages with system or cloned voices, emotion control, and pitch, speed, and volume adjustment. Accepts up to 5,000 characters per request.

Fields

FieldTypeDefaultNotes
textstring, requiredHello, welcome to SandbaseText to speak, up to 5,000 characters.
voice_idstring, requiredWise_WomanSystem voice or a cloned voice ID from minimax/voice-clone.
speednumber 0.5–210.5–2× speaking rate.
volumenumber 0.1–101Loudness multiplier.
pitchinteger -12–120Semitones, −12 to 12.
emotionhappy / sad / angry / fearful / disgusted / surprised / neutral—Delivery emotion; omit to let the model choose.
english_normalizationbooleanfalseImproves performance in number-reading scenarios.
sample_rate8000 / 16000 / 22050 / 24000 / 32000 / 4410032000Sample rate of generated sound.
bitrate32000 / 64000 / 128000 / 256000128000Bitrate of generated sound.
channel1 / 211 = mono, 2 = stereo.
formatmp3 / pcm / flacmp3Format of generated sound.
language_booststring—Improve pronunciation for a specific language. See the schema for supported values.

Billing

$0.10 per 1,000 characters, billed per character.

TextPrice
200 characters$0.02
1,000 characters$0.10
5,000 characters$0.50

Failed runs are not charged.

Prompting

  • Use punctuation for pauses; MiniMax also reads pause tags such as <#0.5#>.

Also on SandBase

Related: minimax/speech/02-turbo, minimax/preview/speech-2.5-hd, minimax/preview/speech-2.5-turbo, minimax/speech/2.8/hd, minimax/speech/2.6/hd, minimax/speech/2.6/turbo, minimax/voice-clone.

เริ่มสร้าง

ส่งคำขอแรกของคุณ

เอ็นด์พอยต์ที่ใช้งานร่วมกับ OpenAI ได้ พร้อมการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์

Production API
เอ็นด์พอยต์ Unified Run API
https://api.sandbase.ai/v1/run
รหัสโมเดล
minimax/speech/02-hd
# 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/speech/02-hd",
  "text": "Hello world! This is a test of the text-to-speech system.",
  "pitch": 0,
  "speed": 1,
  "format": "mp3",
  "volume": 1,
  "bitrate": 128000,
  "channel": 1,
  "voice_id": "Wise_Woman",
  "sample_rate": 32000,
  "english_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"
01

สคีมาขาเข้า

12 พารามิเตอร์ · จำเป็น 2 · ไม่บังคับ 10

พารามิเตอร์ประเภทจำเป็นคำอธิบาย
textstringจำเป็นText to convert to speech (1-5000 characters). Use <#x#> between words to control pause duration (0.01-99.99s). · ความยาวต่ำสุด: 1 · ความยาวสูงสุด: 5000 · ค่าเริ่มต้น: "Hello, welcome to Sandbase"
voice_idstringจำเป็นVoice ID for speech synthesis. Use a predefined system voice or a custom cloned voice ID. · ค่าเริ่มต้น: "Wise_Woman"
pitchintegerไม่บังคับSpeech pitch. Range: -12 to 12, where 0 is normal pitch. · ต่ำสุด: -12 · สูงสุด: 12 · ค่าเริ่มต้น: 0
speednumberไม่บังคับSpeech speed. Range: 0.5-2.0, where 1.0 is normal speed. · ต่ำสุด: 0.5 · สูงสุด: 2 · ค่าเริ่มต้น: 1
formatstringไม่บังคับFormat of generated sound. · ตัวเลือก: mp3, pcm, flac · ค่าเริ่มต้น: "mp3"
mp3pcmflac
volumenumberไม่บังคับSpeech volume. Range: 0.1-10.0, where 1.0 is normal volume. · ต่ำสุด: 0.1 · สูงสุด: 10 · ค่าเริ่มต้น: 1
bitrateintegerไม่บังคับBitrate of generated sound. · ตัวเลือก: 32000, 64000, 128000, 256000 · ค่าเริ่มต้น: 128000
3200064000128000256000
channelintegerไม่บังคับThe number of channels. 1: mono, 2: stereo. · ตัวเลือก: 1, 2 · ค่าเริ่มต้น: 1
12
emotionstringไม่บังคับThe emotion of the generated speech. Omit it to let the model choose from the text. · ตัวเลือก: happy, sad, angry, fearful, disgusted, surprised, neutral
happysadangryfearfuldisgustedsurprisedneutral
sample_rateintegerไม่บังคับSample rate of generated sound. · ตัวเลือก: 8000, 16000, 22050, 24000, 32000, 44100 · ค่าเริ่มต้น: 32000
80001600022050240003200044100
language_booststringไม่บังคับEnhance the ability to recognize specified languages and dialects. · ตัวเลือก: Chinese, Chinese,Yue, English, Arabic, Russian, Spanish, French, Portuguese, German, Turkish, Dutch, Ukrainian, Vietnamese, Indonesian, Japanese, Italian, Korean, Thai, Polish, Romanian, Greek, Czech, Finnish, Hindi, Bulgarian, Danish, Hebrew, Malay, Slovak, Swedish, Croatian, Hungarian, Norwegian, Slovenian, Catalan, Nynorsk, Afrikaans, auto
ChineseChinese,YueEnglishArabicRussianSpanishFrenchPortugueseGermanTurkishDutchUkrainianVietnameseIndonesianJapaneseItalianKoreanThaiPolishRomanianGreekCzechFinnishHindiBulgarianDanishHebrewMalaySlovakSwedishCroatianHungarianNorwegianSlovenianCatalanNynorskAfrikaansauto
english_normalizationbooleanไม่บังคับImproves performance in number-reading scenarios. · ค่าเริ่มต้น: false
02

สคีมาเอาต์พุต

ฟิลด์ประเภทคำอธิบาย
idstringตัวระบุเฉพาะสำหรับงาน generation
statusstringสถานะงาน: pending, running, completed, failed, timeout
modelstringโมเดลที่ใช้สำหรับ generation
outputsarrayอาร์เรย์ของรายการเอาต์พุต
outputs[].urlstringURL ของอาร์ติแฟกต์ที่สร้างขึ้น
outputs[].content_typestringประเภท MIME (เช่น image/png, video/mp4)
errorobject | nullรายละเอียดข้อผิดพลาดหากล้มเหลว, เป็น null เมื่อสำเร็จ
error.typestringรหัสประเภทข้อผิดพลาดที่เครื่องอ่านได้
error.messagestringคำอธิบายข้อผิดพลาดที่มนุษย์อ่านได้

เวิร์กโฟลว์แบบอะซิงก์

โมเดลนี้ทำงานแบบอะซิงโครนัส ส่งคำขอแล้วคอยตรวจผลลัพธ์

  1. ส่ง: POST ไปที่ /v1/run แล้วอ่าน id ที่ส่งกลับมา
  2. คอยตรวจ: GET /v1/run/{id} จนกว่าสถานะจะเป็น completed, failed หรือ timeout
  3. ดึงข้อมูล: อ่าน outputs จากการตอบกลับที่เสร็จสมบูรณ์

เลือกโมเดลของคุณ

เปรียบเทียบโมเดล

โมเดลภาพและวิดีโอทั้งหมด
โมเดลประเภทราคามาตรฐานเปิดตัว
MiniMax Speech 02 HDโมเดลนี้
MiniMax
เสียง$0.10 / ครั้ง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 Speech 02 HD ผ่าน SandBase ได้อย่างไร?

สร้าง SandBase API key แล้วส่งคำขอด้วย model ID "minimax/speech/02-hd" ไปที่ Unified Run API (/v1/run) ที่ https://api.sandbase.ai ตัวอย่างคำขอบนหน้านี้แสดง payload ที่ถูกต้องทั้งหมด

ฉันจำเป็นต้องมีบัญชี MiniMax แยกต่างหากไหม?

ไม่จำเป็น SandBase API key และยอดคงเหลือหนึ่งชุดให้คุณเข้าถึง MiniMax Speech 02 HD และโมเดลอื่น ๆ ในแค็ตตาล็อกได้ คุณไม่ต้องสมัครใช้งานกับ MiniMax แยกต่างหาก