Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Qwen 3 TTS - Text to Speech [1.7B]

alibaba/qwen-3-tts/1.7b

Qwen 3 Tts 1.7b is Alibaba's text-to-speech AI model. Generate human-like voiceovers with expressive intonation, multilingual support, and customizable voice characteristics.

ราคาพื้นฐาน
$0.0001USD / การรัน
การทำงาน
async
ประเภโมเดล
audio
ฟิลด์อินพุต
15
เส้นทางโปรดักชัน

ลองใช้โมเดล

Playground

เปิด Playground
อินพุต
Optional prompt to guide the style of the generated speech. This prompt will be ignored if a speaker embedding is provided.
The text to be converted to speech.
01
Temperature for sub-talker sampling. ช่วง: 0 ถึง 1.
URL to a speaker embedding file in safetensors format, from `fal-ai/qwen-3-tts/clone-voice` endpoint. If provided, the TTS model will use the cloned voice for synthesis instead of the predefined voices.
Penalty to reduce repeated tokens/codes. ขั้นต่ำ: 0.
The language of the voice.
01
Top-p for sub-talker sampling. ช่วง: 0 ถึง 1.
01
Top-p sampling parameter. ช่วง: 0 ถึง 1.
Optional reference text that was used when creating the speaker embedding. Providing this can improve synthesis quality when using a cloned voice.
Top-k sampling parameter. ขั้นต่ำ: 0.
Top-k for sub-talker sampling. ขั้นต่ำ: 0.
01
Sampling temperature; higher => more random. ช่วง: 0 ถึง 1.
The voice to be used for speech synthesis, will be ignored if a speaker embedding is provided. Check out the **[documentation](https://github.com/QwenLM/Qwen3-TTS/tree/main?tab=readme-ov-file#custom-voice-generate)** for each voice's details and which language they primarily support.
18192
Maximum number of new codec tokens to generate. ช่วง: 1 ถึง 8192.
Sampling switch for the sub-talker.
เอาต์พุตตัวอย่าง
  1. ต้องการทำอะไรต่อ

    เปิดต้นฉบับ

ตัวอย่าง

เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground

การ์ดโมเดล

ข้อมูลจำเพาะ

ราคา

ราคาพื้นฐาน
$0.0001 / การรัน

บริบทและ modalities

อินพุต
กำหนดตามสคีมา
เอาต์พุต
audio

ความสามารถ

แชท
ไม่รองรับ
วิชัน
ไม่รองรับ
การให้เหตุผล
ไม่รองรับ
เอาต์พุตแบบมีโครงสร้าง
ไม่รองรับ
การเรียกใช้ฟังก์ชัน
ไม่รองรับ
อินพุตเสียง
ไม่รองรับ

การเข้าถึง

ผู้ให้บริการ
Alibaba
รหัสโมเดล
alibaba/qwen-3-tts/1.7b
การทำงาน
async
Base URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

API README

Qwen 3 TTS - Text to Speech [1.7B]

Qwen 3 TTS 1.7B, the open-weights Qwen speech model: text to speech in 10 languages with nine preset voices, or a cloned voice from a speaker-embedding file. The 1.7B model gives more natural prosody than 0.6B.

Fields

FieldTypeDefaultNotes
promptstring, required—Text to speak.
textstring—Alias of prompt; if both are sent, text is used.
subtalker_temperaturenumber 0–10.9Sub-model temperature.
speaker_voice_embedding_file_urlstring—Optional cloned-voice embedding (safetensors) to use instead of a preset voice.
repetition_penaltynumber1.05Reduces repeated sounds.
languageAuto / English / Chinese / Spanish / French / German / Italian / Japanese / Korean / Portuguese / RussianAutoSpoken language; Auto detects it.
subtalker_top_pnumber 0–11Sub-model sampling setting.
top_pnumber 0–11Sampling setting.
reference_textstring—Transcript used when the embedding was created; improves cloned-voice quality.
top_kinteger50Sampling setting; leave at default unless delivery is unstable.
subtalker_top_kinteger50Sub-model sampling setting.
temperaturenumber 0–10.9Higher values give more varied delivery.
voiceVivian / Serena / Uncle_Fu / Dylan / Eric / Ryan / Aiden / Ono_Anna / Sohee—Preset voice; ignored when a speaker embedding is supplied.
max_new_tokensinteger 1–8192200Caps the generated audio length; raise it for long text.
subtalker_dosamplebooleantrueSampling switch for the acoustic sub-model.

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

  • Use punctuation to control pauses; break long passages into paragraphs.
  • Pick a voice whose primary language matches the text.

Limits

  • max_new_tokens (default 200) caps the audio length; long text needs a higher value.

Also on SandBase

Related: alibaba/qwen-3-tts/0.6b.

เริ่มสร้าง

ส่งคำขอแรกของคุณ

เอ็นด์พอยต์ที่ใช้งานร่วมกับ OpenAI ได้ พร้อมการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์

Production API
เอ็นด์พอยต์ Unified Run API
https://api.sandbase.ai/v1/run
รหัสโมเดล
alibaba/qwen-3-tts/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/1.7b",
  "text": "I am solving the equation: x = [-b ± √(b²-4ac)] / 2a? Nobody can — it's a disaster (◍•͈⌔•͈◍), very sad!",
  "top_k": 50,
  "top_p": 1,
  "voice": "Vivian",
  "prompt": "Very happy.",
  "language": "English",
  "temperature": 0.9,
  "max_new_tokens": 200,
  "reference_text": "Okay. Yeah. I resent you. I love you. I respect you. But you know what? You blew it! And it is all thanks to you.",
  "subtalker_top_k": 50,
  "subtalker_top_p": 1,
  "repetition_penalty": 1.05,
  "subtalker_dosample": true,
  "subtalker_temperature": 0.9,
  "speaker_voice_embedding_file_url": "https://static.sandbase.ai/examples/alibaba/qwen-3-tts/1.7b/output_url_0.safetensors"
}
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

สคีมาขาเข้า

15 พารามิเตอร์ · จำเป็น 1 · ไม่บังคับ 14

พารามิเตอร์ประเภทจำเป็นคำอธิบาย
promptstringจำเป็นOptional prompt to guide the style of the generated speech. This prompt will be ignored if a speaker embedding is provided.
textstringไม่บังคับThe text to be converted to speech.
top_kintegerไม่บังคับTop-k sampling parameter. · ต่ำสุด: 0 · ค่าเริ่มต้น: 50
top_pnumberไม่บังคับTop-p sampling parameter. · ต่ำสุด: 0 · สูงสุด: 1 · ค่าเริ่มต้น: 1
voicestringไม่บังคับThe voice to be used for speech synthesis, will be ignored if a speaker embedding is provided. Check out the **[documentation](https://github.com/QwenLM/Qwen3-TTS/tree/main?tab=readme-ov-file#custom-voice-generate)** for each voice's details and which language they primarily support. · ตัวเลือก: Vivian, Serena, Uncle_Fu, Dylan, Eric, Ryan, Aiden, Ono_Anna, Sohee
VivianSerenaUncle_FuDylanEricRyanAidenOno_AnnaSohee
languagestringไม่บังคับThe language of the voice. · ตัวเลือก: Auto, English, Chinese, Spanish, French, German, Italian, Japanese, Korean, Portuguese, Russian · ค่าเริ่มต้น: "Auto"
AutoEnglishChineseSpanishFrenchGermanItalianJapaneseKoreanPortugueseRussian
temperaturenumberไม่บังคับSampling temperature; higher => more random. · ต่ำสุด: 0 · สูงสุด: 1 · ค่าเริ่มต้น: 0.9
max_new_tokensintegerไม่บังคับMaximum number of new codec tokens to generate. · ต่ำสุด: 1 · สูงสุด: 8192 · ค่าเริ่มต้น: 200
reference_textstringไม่บังคับOptional reference text that was used when creating the speaker embedding. Providing this can improve synthesis quality when using a cloned voice.
subtalker_top_kintegerไม่บังคับTop-k for sub-talker sampling. · ต่ำสุด: 0 · ค่าเริ่มต้น: 50
subtalker_top_pnumberไม่บังคับTop-p for sub-talker sampling. · ต่ำสุด: 0 · สูงสุด: 1 · ค่าเริ่มต้น: 1
repetition_penaltynumberไม่บังคับPenalty to reduce repeated tokens/codes. · ต่ำสุด: 0 · ค่าเริ่มต้น: 1.05
subtalker_dosamplebooleanไม่บังคับSampling switch for the sub-talker. · ค่าเริ่มต้น: true
subtalker_temperaturenumberไม่บังคับTemperature for sub-talker sampling. · ต่ำสุด: 0 · สูงสุด: 1 · ค่าเริ่มต้น: 0.9
speaker_voice_embedding_file_urlstringไม่บังคับURL to a speaker embedding file in safetensors format, from `fal-ai/qwen-3-tts/clone-voice` endpoint. If provided, the TTS model will use the cloned voice for synthesis instead of the predefined voices.
02

สคีมาเอาต์พุต

ฟิลด์ประเภทคำอธิบาย
idstringตัวระบุเฉพาะสำหรับงาน generation
statusstringสถานะงาน: pending, running, completed, failed, timeout
modelstringโมเดลที่ใช้สำหรับ generation
outputsarrayอาร์เรย์ของรายการเอาต์พุต
outputs[].urlstringURL ของอาร์ติแฟกต์ที่สร้างขึ้น
outputs[].content_typestringประเภท MIME (เช่น image/png, video/mp4)
errorobject | nullรายละเอียดข้อผิดพลาดหากล้มเหลว, เป็น null เมื่อสำเร็จ
error.typestringรหัสประเภทข้อผิดพลาดที่เครื่องอ่านได้
error.messagestringคำอธิบายข้อผิดพลาดที่มนุษย์อ่านได้

เวิร์กโฟลว์แบบอะซิงก์

โมเดลนี้ทำงานแบบอะซิงโครนัส ส่งคำขอแล้วคอยตรวจผลลัพธ์

  1. ส่ง: POST ไปที่ /v1/run แล้วอ่าน id ที่ส่งกลับมา
  2. คอยตรวจ: GET /v1/run/{id} จนกว่าสถานะจะเป็น completed, failed หรือ timeout
  3. ดึงข้อมูล: อ่าน outputs จากการตอบกลับที่เสร็จสมบูรณ์

เลือกโมเดลของคุณ

เปรียบเทียบโมเดล

โมเดลภาพและวิดีโอทั้งหมด
โมเดลประเภทราคามาตรฐานเปิดตัว
Qwen 3 TTS - Text to Speech [1.7B]โมเดลนี้
Alibaba
เสียง$0.00 / ครั้ง26 ม.ค. 2569
Alibabaเสียง$0.05 / ครั้ง29 ก.ค. 2569
Alibabaเสียง$0.09 / ครั้ง26 ม.ค. 2569
Alibabaเสียง$0.00 / ครั้ง26 ม.ค. 2569
Alibabaเสียง$0.00 / ครั้ง26 ม.ค. 2569
Alibabaเสียง$0.00 / ครั้ง26 ม.ค. 2569

คำถาม

คำถามที่พบบ่อย

ฉันจะเรียก Alibaba Qwen 3 TTS - Text to Speech [1.7B] ผ่าน SandBase ได้อย่างไร?

สร้าง SandBase API key แล้วส่งคำขอด้วย model ID "alibaba/qwen-3-tts/1.7b" ไปที่ Unified Run API (/v1/run) ที่ https://api.sandbase.ai ตัวอย่างคำขอบนหน้านี้แสดง payload ที่ถูกต้องทั้งหมด

ฉันจำเป็นต้องมีบัญชี Alibaba แยกต่างหากไหม?

ไม่จำเป็น SandBase API key และยอดคงเหลือหนึ่งชุดให้คุณเข้าถึง Alibaba Qwen 3 TTS - Text to Speech [1.7B] และโมเดลอื่น ๆ ในแค็ตตาล็อกได้ คุณไม่ต้องสมัครใช้งานกับ Alibaba แยกต่างหาก