Hi there, and thanks for calling. I can help you with your order, your account, or anything else.
适合的用途#
Cookie 的语气平稳耐心,就是优秀客服说话的方式。整个演绎没有一点急躁,来电者心烦时听到的提示,语气依然稳定。
正是这份耐心让它适合做助手的声音。一句每天重复上千次的话,对第一千位听众要和对第一位一样站得住。
实际应用#
通过 API 调用#
voice 字段直接填写上方的音色 ID。请求中的其他参数均为 Paxa TTS Flash v2 的默认值。
- 模型
- Paxa TTS Flash v2
- 每次请求
- 5,000 个字符
- 费率
- 每 1,000 个字符 10 积分
- 免费积分
- 100 积分,约合 11 分钟语音
curl -X POST https://api.paxalabs.com/v1/tts \ -H "Authorization: Bearer $PAXA_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "text": "Hi there, and thanks for calling. I can help you with your order, your account, or anything else.", "voice": "cookie", "model": "paxa-tts-flash-v2" }' \ --output cookie.mp3
import { writeFile } from "node:fs/promises"; const response = await fetch("https://api.paxalabs.com/v1/tts", { method: "POST", headers: { Authorization: `Bearer ${process.env.PAXA_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ text: "Hi there, and thanks for calling. I can help you with your order, your account, or anything else.", voice: "cookie", model: "paxa-tts-flash-v2", }), }); if (!response.ok) throw new Error(`TTS failed: ${response.status}`); await writeFile("cookie.mp3", Buffer.from(await response.arrayBuffer()));
import os import requests response = requests.post( "https://api.paxalabs.com/v1/tts", headers={"Authorization": f"Bearer {os.environ['PAXA_API_KEY']}"}, json={ "text": "Hi there, and thanks for calling. I can help you with your order, your account, or anything else.", "voice": "cookie", "model": "paxa-tts-flash-v2", }, ) response.raise_for_status() with open("cookie.mp3", "wb") as f: f.write(response.content)
常见问题#
同一句话整天重复播放,还听得下去吗?
这种声线本来就平稳,没有重复多了会让人厌烦的花腔。等待提示音和菜单提示最需要的就是这一点。
它能读中文和泰语吗?
能。Paxa TTS Flash v2 的每个音色都能说中文、英语和泰语,同一句话里切换也可以。一个客服音色就能用三种语言播报提示。
能用于实时语音助手吗?
能。实时 WebSocket 连接会在您的文本还在陆续到达时就开始输出语音,助手要做到开口前不停顿,靠的正是这一点。
听它朗读您自己的文字 新账户自带 100 免费积分。打开控制台,这个音色已为您选好。
免费开始