Hexgrad
Kokoro
提供 41 种音色,涵盖男声和女声。支持 7 种语言选项,即 EN-US、EN-GB、ES、FR-FR、HI、IT 和 PT-BR。以 24 kHz 采样率输出 MP3 或 FLAC。
公开 API 价格
查看所有价格档位$1.00 / 1M chars
500 chars$0.00050
2K chars$0.00201
10K chars$0.0100
API 模型 ID
8 秒 · 工作室音频演示
适用场景
- 通过 POST /api/v2/run 合成语音和旁白,输出 MP3
- 按字符计费,可在运行前通过 POST /api/v2/quote 免费估价
- 直连 GPU 快速渲染音频,费用从同一 Runstage 预付余额扣除
- API 模型 ID
Kokoro- 模型开发者
- Hexgrad
- 模态
- 语音与音乐
- 输入
- Text · Voice / style instruction
- 输出
- Speech audio (MP3 / WAV)
- 端点列表
POST /api/v2/quotePOST /api/v2/runGET /api/v2/jobs/{request_id}GET /api/v2/jobs/{request_id}/outputMCP runstage_generate_media- 基础设施
- 直连 GPU 集群
- max_chars
- 10000
- min_speed
- 0.5
- max_speed
- 2
- voices
- 41
- languages
- 7
请求参数
modelstring · 必填Exact Runstage model slug (Kokoro).
textstring · 必填Spoken script to synthesize (or alias `prompt`).
langstring · 可选Language tag (defaults to `en-us`).
speednumber · 可选Speaking rate multiplier (0.5 – 2.0, defaults to 1.0).
formatstring · 可选Audio container format (defaults to `mp3`).
- mp3
- wav
- ogg
- flac
其他参数
sample_ratevoicemode
复制 Kokoro 的 curl 示例
# 1. Free pre-run retail quote
curl -X POST 'https://runstage.dev/api/v2/quote' \
-H "Content-Type: application/json" \
-d '{"model":"Kokoro","charCount":320}'
# 2. Submit metered job
curl -X POST 'https://runstage.dev/api/v2/run' \
-H "Authorization: Bearer $RUNSTAGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "model": "Kokoro", "text": "Artificial intelligence is revolutionizing various industries and daily life. From healthcare diagnostics to autonomous vehicles, AI systems are transforming how we work, communicate, and solve complex problems.", "lang": "en-us", "voice": "af_sky", "speed": 1, "format": "mp3", "sample_rate": 24000 }'
# 3. Poll owner-scoped job result until status is "done" or "failed"
curl -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
'https://runstage.dev/api/v2/jobs/<request_id>'价格
| 计费单位和选项 | 费率(美元) |
|---|---|
| 500 characters (~30s speech)Short voiceover or UI prompt | $0.00050 |
| 2,000 characters (~2 min speech)Article intro or narration | $0.00201 |
| 10,000 characters (max single request)Long-form audio chapter | $0.0100 |
计费说明
- 41 named voices across 7 languages; speed 0.5–2.0; max 10,000 chars.
- 动用预付点数前,可通过 POST /api/v2/quote 免费估算运行费用。
- 任务完成或失败时按实际费用自动结算,并退回未使用的预留点数。
Runstage 的实时目录价格。使用美元预付点数,每个密钥均有支出限额。
在完整目录中比较