跳转至内容
Runstage

Kling AI

Kling 4.0

根据文本提示生成有声视频。描述主体、动作、运镜和想听到的声音,再选择分辨率、构图和时长。

公开 API 价格
~$0.2675 / 5s · 720p
查看所有价格档位
5s · 720p~$0.2675
5s · 1080p~$0.3412
10s · 1080p~$0.6824
API 模型 ID
视频 API 接口kling-4
端点
POST /api/v2/run
输入
Text prompt · Keyframes
输出
Video (MP4)
费率
~$0.2675 / 5s · 720p
示例提示词

“Stop-motion style: a square sheet of red origami paper on a wooden desk folds itself, crease by crease, into a paper crane, which then flaps its wings and lifts off the desk. Warm desk-lamp light, shallow depth of field,…”

适用场景

API 参考

API 模型 ID
kling-4
模型开发者
Kling AI
模态
视频生成与动态效果
输入
Text prompt · Keyframes
输出
Video (MP4)
端点列表
POST /api/v2/quotePOST /api/v2/runGET /api/v2/jobs/{request_id}GET /api/v2/jobs/{request_id}/outputMCP runstage_generate_mediaMCP runstage_quote
基础设施
合作云算力

请求参数

  • modelstring · 必填

    Exact Runstage model slug (kling-4).

  • promptstring · 必填

    Scene, subject, lighting, and camera movement description.

  • width / heightinteger · 可选

    Output frame dimensions (e.g. 768×512 or 1344×768).

  • frames / fpsinteger · 可选

    Clip frame count and framerate (24 fps default, up to 241 frames).

其他参数

  • steps
  • negative_prompt
  • seed
  • guidance
  • enhance_prompt

快速入门

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

打开工作室
# 1. Free pre-run retail quote
curl -X POST 'https://runstage.dev/api/v2/quote' \
  -H "Content-Type: application/json" \
  -d '{"model":"kling-4","width":1280,"height":720,"durationSec":4}'

# 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": "kling-4",   "prompt": "Stop-motion style: a square sheet of red origami paper on a wooden desk folds itself, crease by crease, into a paper crane, which then flaps its wings and lifts off the desk. Warm desk-lamp light, shallow depth of field, soft paper rustling sounds.",   "width": 1280,   "height": 720,   "frames": 96,   "fps": 24,   "seed": 42 }'

# 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>'

价格

计费单位和选项费率(美元)
5s clip · 720p (1280×720)HD video with synced audio (estimated)~$0.2675
5s clip · 1080p (1920×1080)Full HD video with synced audio (estimated)~$0.3412
10s clip · 1080p (1920×1080)Extended Full HD sequence (estimated)~$0.6824

计费说明

  • Partner external model (Premium plan required). Quote via /api/v2/quote returns an estimate (is_estimated: true); settled on completion.
  • 动用预付点数前,可通过 POST /api/v2/quote 免费估算运行费用。
  • 任务完成或失败时按实际费用自动结算,并退回未使用的预留点数。
  • 使用合作伙伴的外部算力,最终费用按报告的执行指标结算。

Runstage 的实时目录价格。使用美元预付点数,每个密钥均有支出限额。

在完整目录中比较