Qwen

Qwen3-TTS 1.7B API

Qwenqwen3-ttsSpeech API
雪林中的水彩狐狸,黄金时刻
每分钟
$0.036
美元/音频分钟,按秒计费
可用性(过去 24 小时)
正常

交给你的 AI 智能体

把这段提示词复制到 Claude Code、Cursor、Codex 或任何编程智能体中。它会告诉智能体文档在哪里,以及如何使用你的 API 密钥。

Integrate the model `qwen3-tts` from Lovely Router into this project through the OpenAI Chat Completions and Responses APIs.

- Docs (read first): https://lovelyrouter.com/docs/models/openai.md
- Use the official OpenAI SDK with base URL https://lovelyrouter.com/v1 (or set OPENAI_BASE_URL=https://lovelyrouter.com/v1). Endpoints: POST /v1/chat/completions and POST /v1/responses, unchanged from OpenAI.
- Model id: `qwen3-tts`. GET https://lovelyrouter.com/v1/models lists every model with its price.
- Auth: read my API key from the LOVELY_API_KEY environment variable and send it as `Authorization: Bearer $LOVELY_API_KEY`. Never print or commit the key. If it is not set, ask me to create one at https://lovelyrouter.com/app/keys.
- Billing is prepaid: every call is charged to my balance, so test with a small request before running anything large.
- Every docs page is plain Markdown; the full index is https://lovelyrouter.com/llms.txt.

My task: <describe what you want to build or get>

调用示例

快速开始 →

Speech API

curl https://lovelyrouter.com/v1/audio/speech \
  -H "Authorization: Bearer $LOVELY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "qwen3-tts", "input": "Hello! Nice to meet you.", "voice": "serena"}' \
  --output hello.mp3

常见问题

Qwen3-TTS 1.7B 多少钱?

生成的音频每分钟 $0.036,按秒计费(每次请求至少 1 秒)。从预付费余额中扣除,没有订阅。

这是文字转语音 API吗?

是的。如果你在搜索文字转语音 API、语音合成 API或TTS 接口,这就是:通过 Lovely Router API 使用 Qwen3-TTS 1.7B,一个预付费密钥,按本页显示的价格计费。

Qwen3-TTS 1.7B 使用哪种 API?

OpenAI 的语音 API:把文本、音色和可选的指令 POST 到 /v1/audio/speech,即可拿回音频。用 /v1/audio/voices 保存要克隆的声音。