שפּרינגען צו אינהאַלט

MiniMax Voice Design

אינטעגרירן

מאָדעל־id minimax/voice-design
# 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/voice-design?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Hello from Doitong. This is a short test sentence.",
    "preview_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"

פֿײַלן ווי דער בײַשפּיל: ⁨$ 3.002⁩ 3,002 API־קרעדיטן אײַערע פֿײַלן ווערן געמאסטן איידערן לויפֿן לויפֿן עס אויף דער דאָזיקער בלאַט

באַקומען אַן API שליסל
MiniMax טעקסט צו רעדע #speech

דיזײַנט אַ נײַעם סינטעטישן קול פֿון אַ טעקסט־באַשרײַבונג און גיט אַרויס אַ פּריוויו מיט זײַן קול־ID

MiniMax · אַודיאָ

דאָ קומט אײַער ערשטער רעזולטאַט

בויט אונטן אַ בקשה און לויפט זי מיט אײַער API שליסל. רעזולטאַטן ווערן קאַפּירט צו אונדזער סטאָרידזש, געהאַלטן אויף אייביק אָדער 7 טעג אומזיסט.

בויען אַ בעטן

קאָנטראָלן ווערן דזשענערירט פֿון דעם מאָדעל־סכעמע. דער קאָד און דער פּרײַז דערהײַנטיקן זיך ווען איר ענדערט זיי.

•פארלאנגט 50 / 2000

פּראָמפּט וואָס באַשרײַבט דעם פּערזענאַליזירטן קול צו גענערירן.

•פארלאנגט 50 / 500

צושטעלן צווישן 1 און 500 אותיות, וואָס זאָלן ווערן גערעדט אינעם אַודיאָ־פּריוויו.

פֿאָרגעשריטן enable_safety_checker
POST /run/minimax/voice-design?wait=20 פּרײַז → ⁨$ 3.002⁩
# 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/voice-design?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Hello from Doitong. This is a short test sentence.",
    "preview_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"

לויפֿן דעם ריקוועסט

אײַער key בלײַבט אין דעם בלעטערער: זי ווערט געשיקט נאָר צום Doitong API און אָפּגעהיט (localStorage) נאָר אויב איר טיקט אָן געדענקען. באַקומען אַן API שליסל

וועגן MiniMax Voice Design

שאַפֿט אַ קאַסטאַם־קול פֿון אַ געשריבענער באַשרײַבונג אין `prompt` (ביז 2000 צייכנס), נישט פֿון אַן אַודיאָ־מוסטער. אַ נייטיקער `preview_text` מיט ביז 500 צייכנס ווערט גערעדט אין נײַעם קול, כּדי איר זאָלט אים קענען פּרוּוון. דער רעזולטאַט איז דער פּריוויו־אַודיאָ און אַ `custom_voice_id` וואָס אידענטיפֿיצירט דעם גענערירטן קול.

פּאַראַמעטערס

נאָמעןטיפּ סטאַנדאַרטערלויבט באַשרײַבונג
enable_safety_checkerאָפּציאָנעל
טיפּboolean
סטאַנדאַרטtrue
סקרינינג קען ווערן פאַרלייכטערט דורך שטעלן false, אויב דער רופער איז אָטעריזירט.
promptפארלאנגט
טיפּstring
≤ 2,000 כאַראַקטערן
פּראָמפּט וואָס באַשרײַבט דעם פּערזענאַליזירטן קול צו גענערירן.
preview_textפארלאנגט
טיפּstring
≤ 500 כאַראַקטערן
צושטעלן צווישן 1 און 500 אותיות, וואָס זאָלן ווערן גערעדט אינעם אַודיאָ־פּריוויו.
פארלאנגט

אויסגאַבע

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "minimax/voice-design",
  "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": 3002,
    "usd": "3.002",
    "charged": 3002,
    "refunded": 0
  },
  "input": {
    "prompt": "Hello from Doitong. This is a short test sentence.",
    "preview_text": "Hello from Doitong. This is a short test sentence."
  },
  "output": {
    "custom_voice_id": "string",
    "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
    }
  },
  "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 איז דער אייגענער רעזולטאַט־אָביעקט פֿון מאָדעל.
פֿעלדער פֿון דער אויסגאַבע
custom_voice_id
string`voice_id` פֿון דעם גענערירטן קול.
audio
object {url, content_type, file_name, file_size}אַודיאָ־פּריוויו סינטעזירט מיטן גענערירטן קול.

מער מאָדעלן: טעקסט צו רעדע

פֿאַר AI־אַגענטן: דער בלאַט ווי Markdown געפֿינט זיך בײַ https://doitong.com/yi/developers/models/minimax/voice-design.md. אַלע מאָדעלן און גוידעס: https://doitong.com/developers/llms.txt