跳至內容

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.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

此請求: $0.005 5 API 點數 · ≈ ₽0.54 在此頁面執行

取得 API 金鑰
MiniMax 文字轉語音 #speech

Preview speech 2.5 HD 文字轉語音,提供廣泛的語言增強清單與可調整的語音設定

在 Doitong 上製作

Doitong 社群使用 MiniMax Preview 製作的公開作品。一鍵重複使用提示詞。

顯示的公開作品: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, тёплая кинематографичная ночная сцена в спальне. Полностью сохранить лица Ани и Павла, их внешность, причёски, одежду, освещение, кровать, панорамные окна и ночной город. Камера статичная, средний крупный план....

建立請求

控制項是根據模型結構描述生成的。變更設定時,程式碼和價格會同步更新。

•必填 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.ru/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.ru/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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/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/zh-TW/developers/models/minimax/preview/speech-2.5-hd.md. 所有模型與指南: https://doitong.com/developers/llms.txt