qwen3_available

Check if Qwen3-TTS Service is Available

Description

Quick check if Qwen3-TTS API is reachable. Distinguishes from Chatterbox by checking for the qwen3-specific /v1/audio/speech/design endpoint.

Usage

1qwen3_available(port = NULL, timeout = 2)

Arguments

  • port: Port to check (default from QWEN3_TTS_PORT env var or 7811)
  • timeout: Timeout in seconds (default 2)

Value

TRUE if Qwen3-TTS is available, FALSE otherwise

Examples

1  if (qwen3_available()) {
2    tts("Hello", voice = "Vivian", backend = "qwen3")
3  }