Qwen 3 TTS - Voice Design [1.7B]
alibaba/qwen-3-tts/voice-design/1.7bQwen 3 TTS Voice Design [1.7B] creates a new voice from a natural-language description and speaks your text with it, in 10 languages including English, Chinese, Japanese, and Korean.
- Giá cơ bản
- $0.09USD / lần chạy
- Thực thi
- async
- Loại model
- audio
- Các trường đầu vào
- 4
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.09 / 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
- Alibaba
- ID mô hình
- alibaba/qwen-3-tts/voice-design/1.7b
- Thực thi
- async
- URL cơ sở
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
README API
Qwen 3 TTS - Voice Design [1.7B]
Qwen 3 TTS - Voice Design [1.7B] designs a voice from a written description (age, timbre, accent, pace, emotion) and reads your text in that voice, with no reference audio. It supports 10 languages.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
text | string, required | — | Text to speak. |
prompt | string, required | — | Description of the voice and delivery. |
language | Auto / English / Chinese / Spanish / French / German / Italian / Japanese / Korean / Portuguese / Russian | Auto | Spoken language; Auto detects it. |
max_new_tokens | integer 1–8192 | 200 | About 16 s of speech at the default; raise it for longer text. |
Billing
$0.09 per 1,000 characters of input text, billed per character.
| Text | Price |
|---|---|
| 100 characters | $0.009 |
| 1,000 characters | $0.09 |
| 5,000 characters | $0.45 |
Failed runs are not charged.
Prompting
- Describe stable voice traits (age, gender, timbre, accent) first, then the emotion and pace for this line.
- Keep each request to a few sentences; long passages may be cut short.
Also on SandBase
Related: alibaba/qwen-3-tts/1.7b, alibaba/qwen-3-tts/clone-voice/1.7b, alibaba/qwen-3-tts/0.6b.
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": "alibaba/qwen-3-tts/voice-design/1.7b",
"text": "It's in the top drawer... wait, it's empty? No way, that's impossible! I'm sure I put it there!",
"prompt": "Speak in an incredulous tone, but with a hint of panic beginning to creep into your voice.",
"language": "English",
"max_new_tokens": 200
}
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
4 tham số · 2 bắt buộc · 2 tùy chọn
| Tham số | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|
text | string | Bắt buộc | The text to be converted to speech. |
prompt | string | Bắt buộc | Natural-language description of the voice and delivery: age, gender, timbre, accent, pace, and emotion. |
language | string | Tùy chọn | The language of the voice to be designed. Auto detects it from the text. · Tùy chọn: Auto, English, Chinese, Spanish, French, German, Italian, Japanese, Korean, Portuguese, Russian · Mặc định: "Auto" AutoEnglishChineseSpanishFrenchGermanItalianJapaneseKoreanPortugueseRussian |
max_new_tokens | integer | Tùy chọn | Maximum number of new codec tokens to generate. The default (200) yields roughly 16 seconds of speech; raise it for longer text. · Tối thiểu: 1 · Tối đa: 8192 · Mặc định: 200 |
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 |
|---|---|---|---|
Qwen 3 TTS - Voice Design [1.7B]Mô hình này Alibaba | Âm thanh | $0.09 / lượt chạy | 26 thg 1, 2026 |
Alibaba | Âm thanh | $0.05 / lượt chạy | 29 thg 7, 2026 |
Alibaba | Âm thanh | $0.00 / lượt chạy | 26 thg 1, 2026 |
Alibaba | Âm thanh | $0.00 / lượt chạy | 26 thg 1, 2026 |
Alibaba | Âm thanh | $0.00 / lượt chạy | 26 thg 1, 2026 |
Alibaba | Âm thanh | $0.00 / lượt chạy | 26 thg 1, 2026 |
Câu hỏi
FAQ
Làm thế nào để gọi Alibaba Qwen 3 TTS - Voice Design [1.7B] qua SandBase?
Tạo một API key SandBase, sau đó gửi yêu cầu với model ID "alibaba/qwen-3-tts/voice-design/1.7b" 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 Alibaba 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 Alibaba Qwen 3 TTS - Voice Design [1.7B] và các model khác trong danh mục; bạn không cần đăng ký riêng với Alibaba.
