tts默认ElevenLabs TTS API — 如何接入并付费
使用 MiniMax、Qwen、Gemini 和 ElevenLabs 进行语音合成。按每 1000 个字符计费。支持俄语、声音选择和合成控制。
渠道对比
最近 7 天
| 渠道 | 价格 |
|---|---|
Flow tts默认 | $0.066667 起 per voiceover |
组合你需要的输出结果
tts什么是 ElevenLabs TTS
使用 MiniMax、Qwen、Gemini 和 ElevenLabs 进行语音合成。按每 1000 个字符计费。支持俄语、声音选择和合成控制。
契约概览
- 输入
- text
- 输出
- audio
- 模式
- 异步(任务 + 轮询)
- 状态轮询
- 每 3 秒 · 最多 90 秒
优势
- 计费方式:按配音
- 输入:文本
- 6 个可配置选项
- 媒体生成使用一个 API 密钥
应用场景
- 视频配音
- 语音脚本
- 文本的音频版本
- 录音清理
API 契约
生成是异步的:先创建任务,然后轮询状态直至完成。
- 创建任务
- POST /api/media/generate
- 检查状态
- GET /api/media/jobs/{jobId}
- 输入
- text
- 输出
- audio
- 轮询
- 每 3 秒 · 最多 90 秒
- 鉴权
- Authorization: Bearer sk-pv-…
请求示例
在 Bearer 请求头中传递密钥。API 会返回 jobId 用于轮询状态。
curl -sS https://getvibeapi.com/api/media/generate \
-H "Authorization: Bearer $GETVIBE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary '{"model":"tts","prompt":"a beautiful landscape","opts":{"engine":"minimax-turbo","language_code":"auto","minimax_voice":"Wise_Woman"}}'JavaScript
const response = await fetch('https://getvibeapi.com/api/media/generate', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.GETVIBE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "tts",
"prompt": "a beautiful landscape",
"opts": {
"engine": "minimax-turbo",
"language_code": "auto",
"minimax_voice": "Wise_Woman"
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);API 请求参数
通过 GetVibe API 向 ElevenLabs TTS 发起请求的参数。
prompt必填enginevoicelanguage_codeminimax_voiceqwen3_voicegemini_voicestabilitysimilarity_boostspeedstyletimestampsprevious_textnext_textvoice_id| 参数 | 类型 | 取值 | 默认值 | 价格 |
|---|---|---|---|---|
prompt必填 | text | text description | required | — |
engine | option selection | Turbo 2.5 (fast) · Multilingual v2 · MiniMax Speech 2.8 Turbo (default) · MiniMax Speech 2.8 HD · Qwen3-TTS 1.7b · Gemini 3.1 Flash TTS | MiniMax Speech 2.8 Turbo | Turbo 2.5 (fast): $0.076923, Multilingual v2: $0.153846, MiniMax Speech 2.8 Turbo: $0.08, MiniMax Speech 2.8 HD: $0.133333, Qwen3-TTS 1.7b: $0.12, Gemini 3.1 Flash TTS: $0.066667 |
voice | option selection | James (default) · Alice · Adam | James | Included in the base price |
language_code | option selection | Auto (default) · Russian · English | 自动 | Included in the base price |
minimax_voice | option selection | Wise Woman (default) · Friendly Person · Inspirational Girl · Deep Voice Man · Calm Woman · Casual Guy · Lively Girl · Patient Man · Young Knight · Determined Man · Lovely Girl · Decent Boy · Imposing Manner · Elegant Man · Abbess · Sweet Girl 2 · Exuberant Girl | Wise Woman | Included in the base price |
qwen3_voice | option selection | Vivian (default) · Serena · Uncle Fu · Dylan · Eric · Ryan · Aiden · Ono Anna · Sohee | Vivian | Included in the base price |
gemini_voice | option selection | Achernar · Achird · Algenib · Algieba · Alnilam · Aoede · Autonoe · Callirrhoe · Charon · Despina · Enceladus · Erinome · Fenrir · Gacrux · Iapetus · Kore (default) · Laomedeia · Leda · Orus · Pulcherrima · Puck · Rasalgethi · Sadachbia · Sadaltager · Schedar · Sulafat · Umbriel · Vindemiatrix · Zephyr · Zubenelgenubi | Kore | Included in the base price |
stability | text / number | any value | — | Included in the base price |
similarity_boost | text / number | any value | — | Included in the base price |
speed | text / number | any value | — | Included in the base price |
style | text / number | any value | — | Included in the base price |
timestamps | option selection | No (default) · Yes | 否 | Included in the base price |
previous_text | text / number | any value | — | Included in the base price |
next_text | text / number | any value | — | Included in the base price |
voice_id | text / number | any value | — | Included in the base price |
请求:POST https://getvibeapi.com/api/media/generate。价格以 USD 计。
ElevenLabs TTS 的价格
ElevenLabs TTS 的费用:从 $0.066667 per voice-over。价格按当前汇率动态计算,最终扣费见 API 响应(priceRub)。以 USD 支付,无订阅。
默认请求的实际费用
若不传参数,请求将使用这些取值:Engine — MiniMax Speech 2.8 Turbo, Voice — James, Language — Auto, MiniMax voice — Wise Woman。 该请求的费用为 $0.08。
“$0.066667 起”是最便宜的参数组合,并非默认请求的价格。
各渠道及所有参数组合的价格
每个渠道的每种参数组合价格。这正是成功生成时扣除的金额,与下方链接的机器可读价格表一致。
Flowtts$0.066667 起精确价格
| 引擎 · 语言 \ MiniMax voice | — | Wise Woman | 友好人物 | 励志女孩 | Deep Voice Man | Calm Woman | Casual Guy | Lively Girl | Patient Man | Young Knight | Determined Man | Lovely Girl | Decent Boy | 强势风格 | Elegant Man | 女院长 | Sweet Girl 2 | Exuberant Girl |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Turbo 2.5(快速)· 自动 | $0.076923 | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
| Turbo 2.5(快速)· 俄语 | $0.076923 | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
| Turbo 2.5(快速)· 英语 | $0.076923 | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
| Multilingual v2 · 自动 | $0.153846 | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
| Multilingual v2 · 俄语 | $0.153846 | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
| Multilingual v2 · 英语 | $0.153846 | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
| MiniMax Speech 2.8 Turbo · Auto | — | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 |
| MiniMax Speech 2.8 Turbo · Russian | — | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 |
| MiniMax Speech 2.8 Turbo · English | — | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 | $0.08 |
| MiniMax Speech 2.8 HD · Auto | — | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 |
| MiniMax Speech 2.8 HD · Russian | — | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 |
| MiniMax Speech 2.8 HD · English | — | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 | $0.133333 |
| Qwen3-TTS 1.7b · Auto | $0.12 | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
| Qwen3-TTS 1.7b · Russian | $0.12 | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
| Qwen3-TTS 1.7b · English | $0.12 | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
| Gemini 3.1 Flash TTS · 自动 | $0.066667 | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
| Gemini 3.1 Flash TTS · 俄语 | $0.066667 | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
| Gemini 3.1 Flash TTS · 英语 | $0.066667 | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
所有组合(JSON): /api/media/price-table?model=tts
README
ElevenLabs TTS 的机器可读契约包含请求 schema、操作、限制、轮询和响应示例。
# ElevenLabs TTS
公开模型:tts
创建任务: POST /api/media/generate
检查状态: GET /api/media/jobs/{jobId}
## 输入参数
- `prompt` (text): text description; 默认: required
- `engine` (option selection): Turbo 2.5 (fast) · Multilingual v2 · MiniMax Speech 2.8 Turbo (default) · MiniMax Speech 2.8 HD · Qwen3-TTS 1.7b · Gemini 3.1 Flash TTS; 默认: MiniMax Speech 2.8 Turbo
- `voice` (option selection): James (default) · Alice · Adam; 默认: James
- `language_code` (option selection): Auto (default) · Russian · English; 默认: Auto
- `minimax_voice` (option selection): Wise Woman (default) · Friendly Person · Inspirational Girl · Deep Voice Man · Calm Woman · Casual Guy · Lively Girl · Patient Man · Young Knight · Determined Man · Lovely Girl · Decent Boy · Imposing Manner · Elegant Man · Abbess · Sweet Girl 2 · Exuberant Girl; 默认: Wise Woman
- `qwen3_voice` (option selection): Vivian (default) · Serena · Uncle Fu · Dylan · Eric · Ryan · Aiden · Ono Anna · Sohee; 默认: Vivian
- `gemini_voice` (option selection): Achernar · Achird · Algenib · Algieba · Alnilam · Aoede · Autonoe · Callirrhoe · Charon · Despina · Enceladus · Erinome · Fenrir · Gacrux · Iapetus · Kore (default) · Laomedeia · Leda · Orus · Pulcherrima · Puck · Rasalgethi · Sadachbia · Sadaltager · Schedar · Sulafat · Umbriel · Vindemiatrix · Zephyr · Zubenelgenubi; 默认: Kore
- `stability` (text / number): any value; 默认: —
- `similarity_boost` (text / number): any value; 默认: —
- `speed` (text / number): any value; 默认: —
- `style` (text / number): any value; 默认: —
- `timestamps` (option selection): No (default) · Yes; 默认: No
- `previous_text` (text / number): any value; 默认: —
- `next_text` (text / number): any value; 默认: —
- `voice_id` (text / number): any value; 默认: —
## 公开变体
- `tts`: Flow关于 ElevenLabs TTS API 的常见问题
ElevenLabs TTS 的价格是多少?
ElevenLabs TTS 的价格:从 $0.066667 per voice-over。价格按当前汇率动态计算。
是否兼容 OpenAI SDK?
是的,API 完全兼容 OpenAI。只需将 base_url 改为 https://getvibeapi.com/v1 并设置密钥——其余代码不变。