跳转到内容

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

将最多 5000 个字符的 `text` 转换为语音。`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/developers/models/minimax/preview/speech-2.5-hd.md. 所有模型和指南: https://doitong.com/developers/llms.txt