跳转至内容
Runstage

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 秒 · 工作室音频演示
工作室旁白语音示例24 kHz MP3 speech synthesis sample. Transcript: “Welcome to Runstage. Generate video, images, speech, music, and language completions through one fast API.”

适用场景

API 参考

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_rate
  • voice
  • mode

快速入门

复制使用模型 ID Kokoro 的请求示例。先免费获取运行前报价(最终费用在完成时结算),再使用 Runstage API 密钥运行。

打开工作室
# 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 的实时目录价格。使用美元预付点数,每个密钥均有支出限额。

在完整目录中比较