ข้ามไปยังเนื้อหา

Minimax · Preview · Speech 2.5 HD

ผสานการทำงาน

ID โมเดล minimax/preview/speech-2.5-hd
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/minimax/preview/speech-2.5-hd?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Hello from Doitong. This is a short test sentence."
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

คำขอนี้: $0.005 5 เครดิต API เรียกใช้ในหน้านี้

รับคีย์ API

Preview speech 2.5 HD text-to-speech พร้อมรายการภาษาที่รองรับจำนวนมากและการตั้งค่าเสียงที่ปรับได้

สร้างบน Doitong

ผลงานสาธารณะที่สร้างด้วย MiniMax Preview โดยชุมชน Doitong นำพรอมต์กลับมาใช้ได้ในคลิกเดียว

ผลงานสาธารณะที่แสดง: 16
Close-up shot of a striking model with piercing eyes and flawless skin, a white snake elegantly c... วิดีโอ

Close-up shot of a striking model with piercing eyes and flawless skin, a white snake elegantly coiled around her head and neck, its scales glistening in soft, diffused light. The camera gently zooms in, emphasizing the intricate texture of the snake’s scales and the model’s striking facial...

Animate the stickman drawings into a smooth dance animation. The simple black stick figure perfor... วิดีโอ

Animate the stickman drawings into a smooth dance animation. The simple black stick figure performs fun rhythmic dance moves — waving its arms, bending knees, jumping lightly, spinning, and swaying side to side in time with upbeat music. Keep the white background clean and minimal. The motion...

A hyper-realistic, cinematic transformation sequence of the man in the uploaded image, sitting in... วิดีโอ

A hyper-realistic, cinematic transformation sequence of the man in the uploaded image, sitting in meditation inside a traditional Japanese room. The atmosphere begins to tremble slightly as soft blue light flows around him. From the ground, thousands of magnetic nano-particles rise, shimmering...

A cinematic transformation video of the man. The scene begins with him standing naturally, then l... วิดีโอ

A cinematic transformation video of the man. The scene begins with him standing naturally, then looking down at his hands as glowing holographic projections appear around his body. Mechanical parts of the Iron Man armor start assembling piece by piece with smooth animation: chest plate forming,...

An ultra-epic anime cinematic of Luffy’s greatest enemy unleashing a terrifying blind rage, rampa... วิดีโอ

An ultra-epic anime cinematic of Luffy’s greatest enemy unleashing a terrifying blind rage, rampaging uncontrollably against nature itself. His gigantic body is surrounded by a storm of black and crimson energy, crackling with lightning that scorches the ground. His roar shakes the heavens,...

A fair-skinned red-haired woman with freckles tightly embraces a majestic white tiger with faint ... วิดีโอ

A fair-skinned red-haired woman with freckles tightly embraces a majestic white tiger with faint reddish stripes. They remain close, perfectly synchronized in stillness. The woman blinks slowly, slightly tilting her head with a serious and intense expression. The tiger breathes gently — its...

The snowboarder is riding across massive, fluffy white clouds as if they were snow-covered mounta... วิดีโอ

The snowboarder is riding across massive, fluffy white clouds as if they were snow-covered mountains, with dramatic lighting and deep shadows adding volume and realism. The background shows a stunning blue sky with scattered soft clouds and subtle light rays. crisp cinematic quality, vivid...

Вертикальное кинематографичное видео 9:16, 6 секунд, один непрерывный план. Начать точно с исходн... วิดีโอ

Вертикальное кинематографичное видео 9:16, 6 секунд, один непрерывный план. Начать точно с исходного изображения. Женщина стоит босиком у самой кромки моря, спиной к камере, лицом к закату. Небольшая прозрачная волна плавно подкатывает к ней, мягко касается ступней под подолом и нижнего края...

สร้างคำขอ

ตัวควบคุมสร้างจากสคีมาของโมเดล โค้ดและราคาจะอัปเดตเมื่อคุณเปลี่ยนค่า

•จำเป็น 50 / 5000

ข้อความอินพุตสำหรับเสียงพูด จำกัดไม่เกิน 5000 อักขระ และต้องมีอย่างน้อย 1 อักขระที่ไม่ใช่ช่องว่าง

ขั้นสูง output_format · language_boost · enable_safety_checker · voice_setting · audio_setting · pronunciation_dict
output_format ค่าเริ่มต้น hex

รูปแบบเนื้อหาเอาต์พุต ใช้กับการตอบกลับที่ไม่ใช่แบบสตรีมเท่านั้น

ปรับปรุงการรู้จำสำหรับภาษาและสำเนียงที่เลือก

ค่าเริ่มต้น {"english_normalizati...

การตั้งค่าสำหรับกำหนดค่าเสียง

การตั้งค่าสำหรับกำหนดค่าเสียง

พจนานุกรมการออกเสียงแบบกำหนดเองที่ใช้แทนที่ข้อความ

POST /run/minimax/preview/speech-2.5-hd?wait=20 ใบเสนอราคา → $0.005
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/minimax/preview/speech-2.5-hd?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Hello from Doitong. This is a short test sentence."
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

เรียกใช้คำขอนี้

คีย์ของคุณจะอยู่ในเบราว์เซอร์นี้ โดยส่งไปยัง Doitong API เท่านั้น และจะบันทึกใน localStorage ก็ต่อเมื่อคุณเลือกจดจำ รับคีย์ API

เกี่ยวกับ Minimax · Preview · Speech 2.5 HD

แปลง `text` ความยาวสูงสุด 5000 อักขระเป็นเสียงพูด `voice_setting` ควบคุมเสียง ความเร็ว และระดับเสียง (เสียงเริ่มต้น Wise_Woman) และ `language_boost` สามารถเน้นภาษาและภาษาถิ่นหนึ่งจาก 41 รายการ `pronunciation_dict` ช่วยให้กำหนดการแทนที่คำแบบกำหนดเองได้ และ `output_format` ส่งคืน URL หรือข้อมูลแบบเลขฐานสิบหก การตอบกลับประกอบด้วยเสียงและระยะเวลาเป็นมิลลิวินาที

พารามิเตอร์

ชื่อประเภท ค่าเริ่มต้นค่าที่อนุญาต คำอธิบาย
enable_safety_checkerไม่บังคับ
ประเภทboolean
ค่าเริ่มต้นtrue
สามารถผ่อนปรนการคัดกรองได้โดยตั้งค่าเป็น false หากผู้เรียกมีสิทธิ์
textจำเป็น
ประเภทstring
≤ 5,000 อักขระ
ข้อความอินพุตสำหรับเสียงพูด จำกัดไม่เกิน 5000 อักขระ และต้องมีอย่างน้อย 1 อักขระที่ไม่ใช่ช่องว่าง
voice_settingไม่บังคับ
ประเภทobject
ค่าเริ่มต้น{"english_normalization":false,"pitch":0,"speed":1,"voice_id":"Wise_Woman","vol":1}
การตั้งค่าสำหรับกำหนดค่าเสียง
voice_setting.voice_idไม่บังคับ
ประเภทstring
ค่าเริ่มต้นWise_Woman
≥ 1 characters
ตัวระบุเสียงที่กำหนดไว้ล่วงหน้าสำหรับการสังเคราะห์เสียงพูด
voice_setting.speedไม่บังคับ
ประเภทnumber
ค่าเริ่มต้น1
0.5 – 2
อัตราการพูด ตั้งแต่ 0.5 ถึง 2.0
voice_setting.volไม่บังคับ
ประเภทnumber
ค่าเริ่มต้น1
0.01 – 10
ระดับเสียงเอาต์พุต ตั้งแต่ 0 ถึง 10
voice_setting.pitchไม่บังคับ
ประเภทinteger
ค่าเริ่มต้น0
-12 – 12
ระดับเสียงของเสียงพูด อยู่ในช่วง -12 ถึง 12
voice_setting.emotionไม่บังคับ
ประเภทenum
happysadangryfearfuldisgustedsurprisedneutral
โทนอารมณ์ของเสียงพูดสังเคราะห์
voice_setting.english_normalizationไม่บังคับ
ประเภทboolean
ค่าเริ่มต้นfalse
ตัวเลือกการปรับรูปแบบข้อความภาษาอังกฤษให้เป็นมาตรฐาน ซึ่งเพิ่มเวลาแฝงเล็กน้อยเพื่อให้อ่านตัวเลขได้ดีขึ้น
audio_settingไม่บังคับ
ประเภทobject
การตั้งค่าสำหรับกำหนดค่าเสียง
audio_setting.sample_rateไม่บังคับ
ประเภทenum
ค่าเริ่มต้น32000
80001600022050240003200044100
อัตราการสุ่มตัวอย่างสำหรับเสียงที่สร้างขึ้น
audio_setting.bitrateไม่บังคับ
ประเภทenum
ค่าเริ่มต้น128000
3200064000128000256000
บิตเรตสำหรับเสียงที่สร้างขึ้น
audio_setting.formatไม่บังคับ
ประเภทenum
ค่าเริ่มต้นmp3
mp3pcmflac
รูปแบบของเสียง
audio_setting.channelไม่บังคับ
ประเภทenum
ค่าเริ่มต้น1
12
จำนวนช่องสัญญาณเสียง: 1 สำหรับโมโน หรือ 2 สำหรับสเตอริโอ
language_boostไม่บังคับ
ประเภทenum
PersianFilipinoTamilChineseChinese,YueEnglishArabicRussianSpanishFrenchPortugueseGermanTurkishDutchUkrainianVietnamese
เพิ่มเติมอีก 25 ค่าIndonesianJapaneseItalianKoreanThaiPolishRomanianGreekCzechFinnishHindiBulgarianDanishHebrewMalaySlovakSwedishCroatianHungarianNorwegianSlovenianCatalanNynorskAfrikaansauto
ปรับปรุงการรู้จำสำหรับภาษาและสำเนียงที่เลือก
output_formatไม่บังคับ
ประเภทenum
ค่าเริ่มต้นhex
urlhex
รูปแบบเนื้อหาเอาต์พุต ใช้กับการตอบกลับที่ไม่ใช่แบบสตรีมเท่านั้น
pronunciation_dictไม่บังคับ
ประเภทobject
พจนานุกรมการออกเสียงแบบกำหนดเองที่ใช้แทนที่ข้อความ
pronunciation_dict.tone_listไม่บังคับ
ประเภทstring[]
รายการแทนที่การออกเสียงโดยใช้ไวยากรณ์ ['text/(pronunciation)', ...] เช่น ['燕少飞/(yan4)(shao3)(fei1)'] ตัวเลขวรรณยุกต์ภาษาจีนอยู่ในช่วง 1 ถึง 5
จำเป็น

เอาต์พุต

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "minimax/preview/speech-2.5-hd",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 5,
    "usd": "0.005",
    "charged": 5,
    "refunded": 0
  },
  "input": {
    "text": "Hello from Doitong. This is a short test sentence."
  },
  "output": {
    "audio": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_name": "0-output.mp3",
      "file_size": 1843200
    },
    "duration_ms": 1
  },
  "outputs": [
    {
      "type": "audio",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_size": 1843200,
      "duration": 12,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
ไฟล์ของคุณ คุณเลือกเองทุก outputs[].url คือสำเนาบนพื้นที่จัดเก็บของเรา: เก็บไว้ตลอดไป (คิดค่าบริการต่อ GB-เดือน) หรือฟรี 7 วัน โดยกำหนดได้ในการตั้งค่าบัญชีหรือ ?storage=
รูปแบบเดียวกันในทุกโมเดลtype, url, content_type, width, height และ duration สำหรับภาพ วิดีโอ และเสียงเหมือนกันทั้งหมด ส่วน output คือออบเจ็กต์ผลลัพธ์ของโมเดลเอง
ฟิลด์ของเอาต์พุต
audio
object {url, content_type, file_name, file_size}ไฟล์เสียงที่สร้างขึ้น
duration_ms
integerความยาวเสียง วัดเป็นมิลลิวินาที

โมเดลเพิ่มเติม: ข้อความเป็นเสียงพูด

สำหรับเอเจนต์ AI: หน้า Markdown นี้อยู่ที่ https://doitong.com/th/developers/models/minimax/preview/speech-2.5-hd.md. โมเดลและคู่มือทั้งหมด: https://doitong.com/developers/llms.txt