MiniMax Speech 02 Turbo
minimax/speech/02-turboMiniMax Speech 02 Turbo converts text into natural, low-latency speech in 37 languages with system or cloned voices, emotion control, and pitch, speed, and volume adjustment.
- Giá cơ bản
- $0.06USD / lần chạy
- Thực thi
- async
- Loại model
- audio
- Các trường đầu vào
- 12
Thử model
Phòng thử nghiệm
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
Thẻ model
Thông số kỹ thuật
Giá
- Giá cơ bản
- $0.06 / lần chạy
Ngữ cảnh & phương thức
- Đầu vào
- Định nghĩa theo schema
- Đầu ra
- audio
Tính năng
- Chat
- Không được hỗ trợ
- Thị giác
- Không được hỗ trợ
- Suy luận
- Không được hỗ trợ
- Đầu ra có cấu trúc
- Không được hỗ trợ
- Gọi hàm
- Không được hỗ trợ
- Đầu vào âm thanh
- Không được hỗ trợ
Truy cập
- Nhà cung cấp
- MiniMax
- ID mô hình
- minimax/speech/02-turbo
- Thực thi
- async
- URL cơ sở
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
README API
MiniMax Speech 02 Turbo
MiniMax Speech 02 Turbo: natural, low-latency speech in 37 languages with system or cloned voices, emotion control, and pitch, speed, and volume adjustment. Accepts up to 5,000 characters per request.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
text | string, required | Hello, welcome to Sandbase | Text to speak, up to 5,000 characters. |
voice_id | string, required | Wise_Woman | System voice or a cloned voice ID from minimax/voice-clone. |
speed | number 0.5–2 | 1 | 0.5–2× speaking rate. |
volume | number 0.1–10 | 1 | Loudness multiplier. |
pitch | integer -12–12 | 0 | Semitones, −12 to 12. |
emotion | happy / sad / angry / fearful / disgusted / surprised / neutral | — | Delivery emotion; omit to let the model choose. |
english_normalization | boolean | false | Improves performance in number-reading scenarios. |
sample_rate | 8000 / 16000 / 22050 / 24000 / 32000 / 44100 | 32000 | Sample rate of generated sound. |
bitrate | 32000 / 64000 / 128000 / 256000 | 128000 | Bitrate of generated sound. |
channel | 1 / 2 | 1 | 1 = mono, 2 = stereo. |
format | mp3 / pcm / flac | mp3 | Format of generated sound. |
language_boost | string | — | Improve pronunciation for a specific language. See the schema for supported values. |
Billing
$0.06 per 1,000 characters, billed per character.
| Text | Price |
|---|---|
| 200 characters | $0.012 |
| 1,000 characters | $0.06 |
| 5,000 characters | $0.30 |
Failed runs are not charged.
Prompting
- Use punctuation for pauses; MiniMax also reads pause tags such as
<#0.5#>.
Also on SandBase
Related: minimax/speech/02-hd, minimax/preview/speech-2.5-hd, minimax/preview/speech-2.5-turbo, minimax/speech/2.8/hd, minimax/speech/2.6/hd, minimax/speech/2.6/turbo, minimax/voice-clone.
Bắt đầu xây dựng
Gửi request đầu tiên của bạn
Endpoint tương thích OpenAI với xác thực và theo dõi mức sử dụng thống nhất.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "minimax/speech/02-turbo",
"text": "Hello world! This is a test of the text-to-speech system.",
"pitch": 0,
"speed": 1,
"format": "mp3",
"volume": 1,
"bitrate": 128000,
"channel": 1,
"voice_id": "Wise_Woman",
"sample_rate": 32000,
"english_normalization": false
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Schema đầu vào
12 tham số · 2 bắt buộc · 10 tùy chọn
| Tham số | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|
text | string | Bắt buộc | Text to convert to speech (1-5000 characters). Use <#x#> between words to control pause duration (0.01-99.99s). · Độ dài tối thiểu: 1 · Độ dài tối đa: 5000 · Mặc định: "Hello, welcome to Sandbase" |
voice_id | string | Bắt buộc | Voice ID for speech synthesis. Use a predefined system voice or a custom cloned voice ID. · Mặc định: "Wise_Woman" |
pitch | integer | Tùy chọn | Speech pitch. Range: -12 to 12, where 0 is normal pitch. · Tối thiểu: -12 · Tối đa: 12 · Mặc định: 0 |
speed | number | Tùy chọn | Speech speed. Range: 0.5-2.0, where 1.0 is normal speed. · Tối thiểu: 0.5 · Tối đa: 2 · Mặc định: 1 |
format | string | Tùy chọn | Format of generated sound. · Tùy chọn: mp3, pcm, flac · Mặc định: "mp3" mp3pcmflac |
volume | number | Tùy chọn | Speech volume. Range: 0.1-10.0, where 1.0 is normal volume. · Tối thiểu: 0.1 · Tối đa: 10 · Mặc định: 1 |
bitrate | integer | Tùy chọn | Bitrate of generated sound. · Tùy chọn: 32000, 64000, 128000, 256000 · Mặc định: 128000 3200064000128000256000 |
channel | integer | Tùy chọn | The number of channels. 1: mono, 2: stereo. · Tùy chọn: 1, 2 · Mặc định: 1 12 |
emotion | string | Tùy chọn | The emotion of the generated speech. Omit it to let the model choose from the text. · Tùy chọn: happy, sad, angry, fearful, disgusted, surprised, neutral happysadangryfearfuldisgustedsurprisedneutral |
sample_rate | integer | Tùy chọn | Sample rate of generated sound. · Tùy chọn: 8000, 16000, 22050, 24000, 32000, 44100 · Mặc định: 32000 80001600022050240003200044100 |
language_boost | string | Tùy chọn | Enhance the ability to recognize specified languages and dialects. · Tùy chọn: Chinese, Chinese,Yue, English, Arabic, Russian, Spanish, French, Portuguese, German, Turkish, Dutch, Ukrainian, Vietnamese, Indonesian, Japanese, Italian, Korean, Thai, Polish, Romanian, Greek, Czech, Finnish, Hindi, Bulgarian, Danish, Hebrew, Malay, Slovak, Swedish, Croatian, Hungarian, Norwegian, Slovenian, Catalan, Nynorsk, Afrikaans, auto ChineseChinese,YueEnglishArabicRussianSpanishFrenchPortugueseGermanTurkishDutchUkrainianVietnameseIndonesianJapaneseItalianKoreanThaiPolishRomanianGreekCzechFinnishHindiBulgarianDanishHebrewMalaySlovakSwedishCroatianHungarianNorwegianSlovenianCatalanNynorskAfrikaansauto |
english_normalization | boolean | Tùy chọn | Improves performance in number-reading scenarios. · Mặc định: false |
Schema đầu ra
| Trường | Kiểu | Mô tả |
|---|---|---|
id | string | Mã định danh duy nhất cho tác vụ tạo |
status | string | Trạng thái tác vụ: pending, running, completed, failed, timeout |
model | string | Model được dùng cho quá trình tạo |
outputs | array | Mảng các mục đầu ra |
outputs[].url | string | URL của artifact đã tạo |
outputs[].content_type | string | Kiểu MIME (ví dụ image/png, video/mp4) |
error | object | null | Chi tiết lỗi nếu thất bại, null nếu thành công |
error.type | string | Mã loại lỗi có thể đọc bằng máy |
error.message | string | Mô tả lỗi dễ đọc cho người dùng |
Quy trình không đồng bộ
Model này chạy bất đồng bộ. Gửi yêu cầu, rồi thăm dò để lấy kết quả.
- Gửi: POST tới /v1/run và đọc
idđược trả về. - Thăm dò: GET /v1/run/{id} cho đến khi trạng thái là
completed,failedhoặctimeout. - Truy xuất: đọc
outputstừ phản hồi hoàn tất.
Chọn model của bạn
So sánh model
| Mô hình | Loại | Giá mặc định | Phát hành |
|---|---|---|---|
MiniMax Speech 02 TurboMô hình này MiniMax | Âm thanh | $0.06 / lượt chạy | 6 thg 5, 2025 |
MiniMax | Âm thanh | $0.12 / lượt chạy | 5 thg 10, 2026 |
MiniMax | Âm thanh | $0.15 / lượt chạy | 11 thg 4, 2026 |
MiniMax | Âm thanh | $0.15 / lượt chạy | 11 thg 4, 2026 |
MiniMax | Âm thanh | $0.10 / lượt chạy | 4 thg 2, 2026 |
MiniMax | Âm thanh | $0.06 / lượt chạy | 4 thg 2, 2026 |
Câu hỏi
FAQ
Làm thế nào để gọi MiniMax Speech 02 Turbo qua SandBase?
Tạo một API key SandBase, sau đó gửi yêu cầu với model ID "minimax/speech/02-turbo" tới Unified Run API (/v1/run) tại https://api.sandbase.ai. Các ví dụ yêu cầu trên trang này cho thấy chính xác payload.
Tôi có cần tài khoản MiniMax riêng không?
Không. Chỉ cần một API key và số dư SandBase là bạn có thể truy cập MiniMax Speech 02 Turbo và các model khác trong danh mục; bạn không cần đăng ký riêng với MiniMax.
