Sand AISand AI MAGI-2MAGI-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 を開く
入力
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. 次に何をしますか?

    元のファイルを開く

例

例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。

モデルカード

仕様

料金

基本価格
$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

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互換エンドポイントです。

本番API
Unified Run APIエンドポイント
https://api.sandbase.ai/v1/run
モデルID
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生成タスクの一意な識別子
statusstringタスクのステータス: pending, running, completed, failed, timeout
modelstring生成に使用されたモデル
outputsarray出力項目の配列
outputs[].urlstring生成された成果物のURL
outputs[].content_typestringMIMEタイプ(例: image/png, video/mp4)
errorobject | null失敗時のエラー詳細。成功時は null
error.typestring機械可読なエラー種別コード
error.messagestring人間が読めるエラー説明

非同期ワークフロー

このモデルは非同期で実行されます。リクエストを送信し、その後結果をポーリングしてください。

  1. 送信:/v1/run に POST し、返された id を読み取ります。
  2. ポーリング:ステータスが completed、failed、または timeout になるまで /v1/run/{id} に GET します。
  3. 取得:完了レスポンスから 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 に別途登録する必要はありません。