Qwen 3 TTS - Text to Speech [1.7B]
alibaba/qwen-3-tts/1.7bQwen 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
モデルを試す
プレイグラウンド
次に何をしますか?
例
例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。
- 結果を開く ↗
入力
{ "prompt": "Very happy." }
モデルカード
仕様
料金
- 基本価格
- $0.0001 / 実行
コンテキストとモダリティ
- 入力
- スキーマ定義済み
- 出力
- audio
機能
- チャット
- 非対応
- ビジョン
- 非対応
- 推論
- 非対応
- 構造化出力
- 非対応
- 関数呼び出し
- 非対応
- 音声入力
- 非対応
アクセス
- 提供元
- Alibaba
- モデル ID
- alibaba/qwen-3-tts/1.7b
- 実行
- async
- ベース URL
- https://api.sandbase.ai
- API
- Unified Run API
- エンドポイント
- /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
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Text to speak. |
text | string | — | Alias of prompt; if both are sent, text is used. |
subtalker_temperature | number 0–1 | 0.9 | Sub-model temperature. |
speaker_voice_embedding_file_url | string | — | Optional cloned-voice embedding (safetensors) to use instead of a preset voice. |
repetition_penalty | number | 1.05 | Reduces repeated sounds. |
language | Auto / English / Chinese / Spanish / French / German / Italian / Japanese / Korean / Portuguese / Russian | Auto | Spoken language; Auto detects it. |
subtalker_top_p | number 0–1 | 1 | Sub-model sampling setting. |
top_p | number 0–1 | 1 | Sampling setting. |
reference_text | string | — | Transcript used when the embedding was created; improves cloned-voice quality. |
top_k | integer | 50 | Sampling setting; leave at default unless delivery is unstable. |
subtalker_top_k | integer | 50 | Sub-model sampling setting. |
temperature | number 0–1 | 0.9 | Higher values give more varied delivery. |
voice | Vivian / Serena / Uncle_Fu / Dylan / Eric / Ryan / Aiden / Ono_Anna / Sohee | — | Preset voice; ignored when a speaker embedding is supplied. |
max_new_tokens | integer 1–8192 | 200 | Caps the generated audio length; raise it for long text. |
subtalker_dosample | boolean | true | Sampling switch for the acoustic sub-model. |
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
- 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互換エンドポイントです。
# 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"入力スキーマ
15件のパラメータ · 必須 1件 · 任意 14件
| パラメータ | 型 | 必須 | 説明 |
|---|---|---|---|
prompt | string | 必須 | Optional prompt to guide the style of the generated speech. This prompt will be ignored if a speaker embedding is provided. |
text | string | 任意 | The text to be converted to speech. |
top_k | integer | 任意 | Top-k sampling parameter. · 最小: 0 · デフォルト: 50 |
top_p | number | 任意 | Top-p sampling parameter. · 最小: 0 · 最大: 1 · デフォルト: 1 |
voice | string | 任意 | 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 |
language | string | 任意 | The language of the voice. · オプション: Auto, English, Chinese, Spanish, French, German, Italian, Japanese, Korean, Portuguese, Russian · デフォルト: "Auto" AutoEnglishChineseSpanishFrenchGermanItalianJapaneseKoreanPortugueseRussian |
temperature | number | 任意 | Sampling temperature; higher => more random. · 最小: 0 · 最大: 1 · デフォルト: 0.9 |
max_new_tokens | integer | 任意 | Maximum number of new codec tokens to generate. · 最小: 1 · 最大: 8192 · デフォルト: 200 |
reference_text | string | 任意 | Optional reference text that was used when creating the speaker embedding. Providing this can improve synthesis quality when using a cloned voice. |
subtalker_top_k | integer | 任意 | Top-k for sub-talker sampling. · 最小: 0 · デフォルト: 50 |
subtalker_top_p | number | 任意 | Top-p for sub-talker sampling. · 最小: 0 · 最大: 1 · デフォルト: 1 |
repetition_penalty | number | 任意 | Penalty to reduce repeated tokens/codes. · 最小: 0 · デフォルト: 1.05 |
subtalker_dosample | boolean | 任意 | Sampling switch for the sub-talker. · デフォルト: true |
subtalker_temperature | number | 任意 | Temperature for sub-talker sampling. · 最小: 0 · 最大: 1 · デフォルト: 0.9 |
speaker_voice_embedding_file_url | string | 任意 | 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. |
出力スキーマ
| フィールド | 型 | 説明 |
|---|---|---|
id | string | 生成タスクの一意な識別子 |
status | string | タスクのステータス: pending, running, completed, failed, timeout |
model | string | 生成に使用されたモデル |
outputs | array | 出力項目の配列 |
outputs[].url | string | 生成された成果物のURL |
outputs[].content_type | string | MIMEタイプ(例: image/png, video/mp4) |
error | object | null | 失敗時のエラー詳細。成功時は null |
error.type | string | 機械可読なエラー種別コード |
error.message | string | 人間が読めるエラー説明 |
非同期ワークフロー
このモデルは非同期で実行されます。リクエストを送信し、その後結果をポーリングしてください。
- 送信:/v1/run に POST し、返された
idを読み取ります。 - ポーリング:ステータスが
completed、failed、またはtimeoutになるまで /v1/run/{id} に GET します。 - 取得:完了レスポンスから
outputsを読み取ります。
モデルを選ぶ
モデルを比較
| モデル | 種類 | 通常価格 | 公開日 |
|---|---|---|---|
Alibaba | 音声 | $0.00 / 回 | 2026年1月26日 |
Alibaba | 音声 | $0.05 / 回 | 2026年7月29日 |
Alibaba | 音声 | $0.09 / 回 | 2026年1月26日 |
Alibaba | 音声 | $0.00 / 回 | 2026年1月26日 |
Alibaba | 音声 | $0.00 / 回 | 2026年1月26日 |
Alibaba | 音声 | $0.00 / 回 | 2026年1月26日 |
質問
FAQ
SandBase 経由で Alibaba Qwen 3 TTS - Text to Speech [1.7B] を呼び出すにはどうすればよいですか?
SandBase API key を作成し、モデル ID「alibaba/qwen-3-tts/1.7b」を使用して https://api.sandbase.ai の Unified Run API (/v1/run) にリクエストを送信してください。このページのリクエスト例に、正確なペイロードが示されています。
別途 Alibaba アカウントは必要ですか?
いいえ。SandBase の API key と残高が 1つあれば、Alibaba Qwen 3 TTS - Text to Speech [1.7B] とカタログ内の他のモデルを利用できます。Alibaba に別途登録する必要はありません。
