Bỏ qua đến nội dung

Minimax · Preview · Speech 2.5 HD

Tích hợp

Id mô hình 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"

Yêu cầu này: 0,005 $ 5 tín dụng API · ≈ 0,54 ₽ Chạy trên trang này

Lấy khóa API
MiniMax Văn bản sang giọng nói #speech

Chuyển văn bản thành giọng nói Preview speech 2.5 HD với danh sách tăng cường ngôn ngữ đa dạng và cài đặt giọng có thể điều chỉnh

Được tạo trên Doitong

Các tác phẩm công khai được cộng đồng Doitong tạo bằng MiniMax Preview. Tái sử dụng một lời nhắc chỉ với một lần nhấp.

Tác phẩm công khai được hiển thị: 16
Close-up shot of a striking model with piercing eyes and flawless skin, a white snake elegantly c... Video

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... Video

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... Video

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... Video

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... Video

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 ... Video

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... Video

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...

Video

Используй это изображение как точный референс. Вертикальное реалистичное видео 9:16, тёплая кинематографичная ночная сцена в спальне. Полностью сохранить лица Ани и Павла, их внешность, причёски, одежду, освещение, кровать, панорамные окна и ночной город. Камера статичная, средний крупный план....

Tạo một yêu cầu

Các điều khiển được tạo từ lược đồ mô hình. Mã và giá sẽ cập nhật khi bạn thay đổi chúng.

•bắt buộc 50 / 5000

Văn bản đầu vào giọng nói, giới hạn 5000 ký tự và yêu cầu ít nhất 1 ký tự không phải khoảng trắng.

Nâng cao output_format · language_boost · enable_safety_checker · voice_setting · audio_setting · pronunciation_dict
output_format mặc định hex

Định dạng nội dung đầu ra; chỉ áp dụng cho phản hồi không phát trực tiếp.

Cải thiện khả năng nhận dạng cho các ngôn ngữ và phương ngữ đã chọn.

mặc định {"english_normalizati...

Cài đặt cấu hình giọng nói.

Thiết lập cấu hình âm thanh.

Từ điển tùy chỉnh về cách phát âm dùng để thay thế văn bản.

POST /run/minimax/preview/speech-2.5-hd?wait=20 báo giá → 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"

Chạy yêu cầu này

Key của bạn vẫn nằm trong trình duyệt này: key chỉ được gửi đến Doitong API và chỉ được lưu trong localStorage nếu bạn chọn Ghi nhớ. Nhận khóa API

Giới thiệu về Minimax · Preview · Speech 2.5 HD

Chuyển tối đa 5000 ký tự của `text` thành giọng nói. `voice_setting` điều khiển giọng, tốc độ và cao độ (giọng mặc định Wise_Woman), còn `language_boost` có thể tăng cường một trong 41 ngôn ngữ và phương ngữ. `pronunciation_dict` cho phép thay thế từ tùy chỉnh, còn `output_format` trả về URL hoặc dữ liệu hex. Phản hồi bao gồm âm thanh và thời lượng tính bằng mili giây.

Tham số

TênKiểu Mặc địnhĐược phép Mô tả
enable_safety_checkertùy chọn
Kiểuboolean
Mặc địnhtrue
Có thể nới lỏng việc kiểm duyệt bằng cách đặt thành false, nếu người gọi được cấp quyền.
textbắt buộc
Kiểustring
≤ 5.000 ký tự
Văn bản đầu vào giọng nói, giới hạn 5000 ký tự và yêu cầu ít nhất 1 ký tự không phải khoảng trắng.
voice_settingtùy chọn
Kiểuobject
Mặc định{"english_normalization":false,"pitch":0,"speed":1,"voice_id":"Wise_Woman","vol":1}
Cài đặt cấu hình giọng nói.
voice_setting.voice_idtùy chọn
Kiểustring
Mặc địnhWise_Woman
≥ 1 characters
Mã định danh giọng nói được xác định trước dùng cho tổng hợp giọng nói.
voice_setting.speedtùy chọn
Kiểunumber
Mặc định1
0,5 – 2
Tốc độ nói, trong khoảng từ 0.5 đến 2.0.
voice_setting.voltùy chọn
Kiểunumber
Mặc định1
0,01 – 10
Âm lượng đầu ra, trong khoảng từ 0 đến 10.
voice_setting.pitchtùy chọn
Kiểuinteger
Mặc định0
-12 – 12
Cao độ giọng nói, trong khoảng từ -12 đến 12.
voice_setting.emotiontùy chọn
Kiểuenum
happysadangryfearfuldisgustedsurprisedneutral
Sắc thái cảm xúc của giọng nói được tổng hợp.
voice_setting.english_normalizationtùy chọn
Kiểuboolean
Mặc địnhfalse
Tùy chọn chuẩn hóa văn bản tiếng Anh, đánh đổi một lượng nhỏ độ trễ bổ sung để đọc số tốt hơn.
audio_settingtùy chọn
Kiểuobject
Thiết lập cấu hình âm thanh.
audio_setting.sample_ratetùy chọn
Kiểuenum
Mặc định32000
80001600022050240003200044100
Tốc độ lấy mẫu của âm thanh được tạo.
audio_setting.bitratetùy chọn
Kiểuenum
Mặc định128000
3200064000128000256000
Tốc độ bit của âm thanh được tạo.
audio_setting.formattùy chọn
Kiểuenum
Mặc địnhmp3
mp3pcmflac
Định dạng âm thanh.
audio_setting.channeltùy chọn
Kiểuenum
Mặc định1
12
Số kênh âm thanh: 1 cho mono hoặc 2 cho stereo.
language_boosttùy chọn
Kiểuenum
PersianFilipinoTamilChineseChinese,YueEnglishArabicRussianSpanishFrenchPortugueseGermanTurkishDutchUkrainianVietnamese
+25 giá trị khácIndonesianJapaneseItalianKoreanThaiPolishRomanianGreekCzechFinnishHindiBulgarianDanishHebrewMalaySlovakSwedishCroatianHungarianNorwegianSlovenianCatalanNynorskAfrikaansauto
Cải thiện khả năng nhận dạng cho các ngôn ngữ và phương ngữ đã chọn.
output_formattùy chọn
Kiểuenum
Mặc địnhhex
urlhex
Định dạng nội dung đầu ra; chỉ áp dụng cho phản hồi không phát trực tiếp.
pronunciation_dicttùy chọn
Kiểuobject
Từ điển tùy chỉnh về cách phát âm dùng để thay thế văn bản.
pronunciation_dict.tone_listtùy chọn
Kiểustring[]
Danh sách thay thế cách phát âm theo cú pháp ['text/(pronunciation)', ...], ví dụ ['燕少飞/(yan4)(shao3)(fei1)']. Số thanh điệu tiếng Trung nằm trong khoảng từ 1 đến 5.
bắt buộc

Đầu ra

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"
  }
}
Tệp của bạn, lựa chọn của bạnMỗi outputs[].url là một bản sao trên bộ lưu trữ của chúng tôi: được giữ vĩnh viễn (tính phí theo GB-tháng) hoặc 7 ngày miễn phí, theo cài đặt tài khoản hoặc ?storage=.
Cùng một cấu trúc trên mọi mô hìnhtype, url, content_type, width, height và duration cho hình ảnh, video và âm thanh. output là đối tượng kết quả riêng của mô hình.
Các trường đầu ra
audio
object {url, content_type, file_name, file_size}Tệp âm thanh do quá trình tạo sinh tạo ra.
duration_ms
integerĐộ dài âm thanh, tính bằng mili giây.

Thêm mô hình: Văn bản sang giọng nói

Dành cho tác nhân AI: trang này ở dạng Markdown tại https://doitong.com/vi/developers/models/minimax/preview/speech-2.5-hd.md. Tất cả mô hình và hướng dẫn: https://doitong.com/developers/llms.txt