Skip to content

MiniMax Speech-02 HD

Integrate

Model id minimax/speech-02-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/speech-02-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"

This request: $0.005 5 API credits Run it on this page

Get API key
MiniMax · Audio

Your first result goes here

Build a request below and run it with your API key. Outputs are copied to our storage, kept forever or 7 days for free.

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

•required 50 / 5000

Speech input text, limited to 5000 characters and requiring at least 1 character that is not whitespace.

Advanced output_format · language_boost · enable_safety_checker · voice_setting · audio_setting · pronunciation_dict
output_format default hex

Output content format; applies only to non-streaming responses.

Improves recognition for the selected languages and dialects.

default {"english_normalizati...

Settings for configuring the voice.

Settings for configuring audio.

Custom dictionary of pronunciations used to replace text.

POST /run/minimax/speech-02-hd?wait=20 quote → $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/speech-02-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"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About MiniMax Speech-02 HD

Generates speech from up to 5000 characters of `text` with the HD quality variant of Speech-02. You can tune the voice through `voice_setting`, set `audio_setting`, apply a `pronunciation_dict`, and pick a `language_boost` from 38 options. `output_format` can be url or hex. The result carries the audio file and its length in milliseconds.

Parameters

NameType DefaultAllowed Description
enable_safety_checkeroptional
Typeboolean
Defaulttrue
Screening can be relaxed by setting false, provided the caller is authorized.
textrequired
Typestring
≤ 5,000 characters
Speech input text, limited to 5000 characters and requiring at least 1 character that is not whitespace.
voice_settingoptional
Typeobject
Default{"english_normalization":false,"pitch":0,"speed":1,"voice_id":"Wise_Woman","vol":1}
Settings for configuring the voice.
voice_setting.voice_idoptional
Typestring
DefaultWise_Woman
≥ 1 characters
Predefined voice identifier used for speech synthesis.
voice_setting.speedoptional
Typenumber
Default1
0.5 – 2
Speaking rate, ranging from 0.5 to 2.0.
voice_setting.voloptional
Typenumber
Default1
0.01 – 10
Output volume, ranging from 0 to 10.
voice_setting.pitchoptional
Typeinteger
Default0
-12 – 12
Pitch of the voice, ranging from -12 to 12.
voice_setting.emotionoptional
Typeenum
happysadangryfearfuldisgustedsurprisedneutral
Emotional tone of the synthesized speech.
voice_setting.english_normalizationoptional
Typeboolean
Defaultfalse
English text-normalization option that trades a small amount of additional latency for better reading of numbers.
audio_settingoptional
Typeobject
Settings for configuring audio.
audio_setting.sample_rateoptional
Typeenum
Default32000
80001600022050240003200044100
Sampling rate for the generated audio.
audio_setting.bitrateoptional
Typeenum
Default128000
3200064000128000256000
Bitrate for the generated audio.
audio_setting.formatoptional
Typeenum
Defaultmp3
mp3pcmflac
Format for the audio.
audio_setting.channeloptional
Typeenum
Default1
12
Audio channel count: 1 for mono or 2 for stereo.
language_boostoptional
Typeenum
ChineseChinese,YueEnglishArabicRussianSpanishFrenchPortugueseGermanTurkishDutchUkrainianVietnameseIndonesianJapaneseItalian
+22 moreKoreanThaiPolishRomanianGreekCzechFinnishHindiBulgarianDanishHebrewMalaySlovakSwedishCroatianHungarianNorwegianSlovenianCatalanNynorskAfrikaansauto
Improves recognition for the selected languages and dialects.
output_formatoptional
Typeenum
Defaulthex
urlhex
Output content format; applies only to non-streaming responses.
pronunciation_dictoptional
Typeobject
Custom dictionary of pronunciations used to replace text.
pronunciation_dict.tone_listoptional
Typestring[]
Pronunciation replacement list using the syntax ['text/(pronunciation)', ...], for example ['燕少飞/(yan4)(shao3)(fei1)']. Chinese tone numbers range from 1 to 5.
required

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "minimax/speech-02-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"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
audio
object {url, content_type, file_name, file_size}Audio file produced by generation.
duration_ms
integerAudio length, measured in milliseconds.

More models: Text to Speech

For AI agents: this page as Markdown is at https://doitong.com/developers/models/minimax/speech-02-hd.md. All models and guides: https://doitong.com/developers/llms.txt