Skip to content

Qwen 3 TTS - Voice Design [1.7B]

POST/v1/run

Qwen 3 TTS Voice Design 1.7b by Alibaba - convert text to natural-sounding speech with AI. Supports multiple voices, languages, emotions, and speaking styles for content creation and accessibility.

Request body

Submit an async generation request. The model field selects the model; other fields are model-specific input parameters.

stringmodelrequired

Model identifier. Set to alibaba/qwen-3-tts/voice-design/1.7b.

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

stringpromptrequired

Optional prompt to guide the style of the generated speech.

Optional<string>text

The text to be converted to speech.

Optional<number>top_p

Top-p sampling parameter.

Range: 0 to 1

Default: 1

Optional<integer>subtalker_top_k

Top-k for sub-talker sampling.

Minimum: 0

Default: 50

Optional<integer>top_k

Top-k sampling parameter.

Minimum: 0

Default: 50

Optional<number>subtalker_temperature

Temperature for sub-talker sampling.

Range: 0 to 1

Default: 0.9

Optional<number>subtalker_top_p

Top-p for sub-talker sampling.

Range: 0 to 1

Default: 1

Optional<string>language

The language of the voice to be designed.

Allowed values: Auto, English, Chinese, Spanish, French, German, Italian, Japanese, Korean, Portuguese, Russian

Default: Auto

Optional<integer>max_new_tokens

Maximum number of new codec tokens to generate.

Range: 1 to 8192

Default: 200

Optional<number>temperature

Sampling temperature; higher => more random.

Range: 0 to 1

Default: 0.9

Optional<boolean>subtalker_dosample

Sampling switch for the sub-talker.

Default: true

Optional<number>repetition_penalty

Penalty to reduce repeated tokens/codes.

Minimum: 0

Default: 1.05

Response Schema

The submit endpoint returns a run response. If its status is pending or running, poll GET /v1/run/{id} with the returned opaque ID until it reaches a terminal state.

stringidrequired

Opaque AGRouter run identifier. Use it exactly as returned; no prefix is guaranteed.

stringstatusrequired

Current public run status.

Allowed values: pending, running, completed, failed, timeout

Optional<string>model

Public AGRouter model name used for this run.

Optional<array<object>>outputs

Present only for completed runs. Each object is capability-specific; inspect the selected model schema for its fields.

Optional<object>error

Present only for failed or timeout runs. Contains a public error type and sanitized message.

Optional<string>error.type

Stable public error category.

Optional<string>error.message

Sanitized error message safe to show to clients.

Optional<object>usage

Usage details when available.

Model capabilities

array<string>capability_tagsrequired

Capabilities declared by the model registry.

Default: text-to-speech

stringexecution_moderequired

Execution mode declared by the model registry.

Default: async