Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Qwen 3 TTS - Voice Design [1.7B]

alibaba/qwen-3-tts/voice-design/1.7b

Qwen 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
Đường dẫn production

Thử model

Phòng thử nghiệm

Mở playground
Đầu vào
The text to be converted to speech.
Natural-language description of the voice and delivery: age, gender, timbre, accent, pace, and emotion.
The language of the voice to be designed. Auto detects it from the text.
18192
Maximum number of new codec tokens to generate. The default (200) yields roughly 16 seconds of speech; raise it for longer text. Phạm vi: 1 đến 8192.
Đầu raSẵn sàng

Đầ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

FieldTypeDefaultNotes
textstring, required—Text to speak.
promptstring, required—Description of the voice and delivery.
languageAuto / English / Chinese / Spanish / French / German / Italian / Japanese / Korean / Portuguese / RussianAutoSpoken language; Auto detects it.
max_new_tokensinteger 1–8192200About 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.

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

API Production
endpoint Unified Run API
https://api.sandbase.ai/v1/run
ID mô hình
alibaba/qwen-3-tts/voice-design/1.7b
# 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"
01

Schema đầu vào

4 tham số · 2 bắt buộc · 2 tùy chọn

Tham sốKiểuBắt buộcMô tả
textstringBắt buộcThe text to be converted to speech.
promptstringBắt buộcNatural-language description of the voice and delivery: age, gender, timbre, accent, pace, and emotion.
languagestringTùy chọnThe 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_tokensintegerTùy chọnMaximum 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
02

Schema đầu ra

TrườngKiểuMô tả
idstringMã định danh duy nhất cho tác vụ tạo
statusstringTrạng thái tác vụ: pending, running, completed, failed, timeout
modelstringModel được dùng cho quá trình tạo
outputsarrayMảng các mục đầu ra
outputs[].urlstringURL của artifact đã tạo
outputs[].content_typestringKiểu MIME (ví dụ image/png, video/mp4)
errorobject | nullChi tiết lỗi nếu thất bại, null nếu thành công
error.typestringMã loại lỗi có thể đọc bằng máy
error.messagestringMô 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ả.

  1. Gửi: POST tới /v1/run và đọc id được trả về.
  2. Thăm dò: GET /v1/run/{id} cho đến khi trạng thái là completed, failed hoặc timeout.
  3. Truy xuất: đọc outputs từ phản hồi hoàn tất.

Chọn model của bạn

So sánh model

Tất cả model hình ảnh và video
Mô hìnhLoạiGiá mặc địnhPhát hành
AlibabaÂm thanh$0.09 / lượt chạy26 thg 1, 2026
AlibabaÂm thanh$0.05 / lượt chạy29 thg 7, 2026
AlibabaÂm thanh$0.00 / lượt chạy26 thg 1, 2026
AlibabaÂm thanh$0.00 / lượt chạy26 thg 1, 2026
AlibabaÂm thanh$0.00 / lượt chạy26 thg 1, 2026
AlibabaÂm thanh$0.00 / lượt chạy26 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.