Some stories are never told. They are kept, and passed from hand to hand, until someone finally dares to open the book.
适合的用途#
Espresso 用男声音域的最低处朗读英语。语速缓慢,辅音落得扎实,一句话说完了,下一句才开始。
这份厚重决定了它的用途。小说、历史和任何藏着秘密的故事都适合它。放在产品演示里就太沉了,那里的观众想看到的是屏幕上一个真实的人。
实际应用#
通过 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": "Some stories are never told. They are kept, and passed from hand to hand, until someone finally dares to open the book.", "voice": "espresso", "model": "paxa-tts-flash-v2" }' \ --output espresso.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: "Some stories are never told. They are kept, and passed from hand to hand, until someone finally dares to open the book.", voice: "espresso", model: "paxa-tts-flash-v2", }), }); if (!response.ok) throw new Error(`TTS failed: ${response.status}`); await writeFile("espresso.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": "Some stories are never told. They are kept, and passed from hand to hand, until someone finally dares to open the book.", "voice": "espresso", "model": "paxa-tts-flash-v2", }, ) response.raise_for_status() with open("espresso.mp3", "wb") as f: f.write(response.content)
常见问题#
它和 Latte 有什么不同?
Latte 精致,音调更高,品牌片的配乐就是围绕这种声音来做的。Espresso 更低、更慢,适合朗读长篇故事。
它能读中文和泰语吗?
能。Paxa TTS Flash v2 的每个音色都能说中文、英语和泰语,同一句话里切换也可以。
它能撑完一整本书吗?
这种声线就是为长篇设计的。各章之间语速保持平稳,低沉的声音也不像明亮的读法那样让听众疲劳。
听它朗读您自己的文字 新账户自带 100 免费积分。打开控制台,这个音色已为您选好。
免费开始