curl -X POST https://api.open.sume.com/v1/video-router/generate \
-H "Authorization: Bearer $SUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"kling-lipsync","video_url":"https://example.com/video.mp4","audio_url":"https://example.com/audio.mp3"}'Kling Lipsync has the model id kling-lipsync. Send a JSON body to POST https://api.open.sume.com/v1/video-router/generate.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| model | string | Yes | — | "kling-lipsync" |
| video_url | string | Yes | — | Source video (HTTPS). |
| audio_url | string | Yes | — | The speech (HTTPS audio). |
Send your open.sume.com key as a bearer token from server code only. Keys minted on open.sume.com bill this balance in dollars and call the model API only.
Authorization: Bearer $SUME_API_KEY
A submit answers 202 with the job, its status_url and result_url. Poll the status until it is completed, failed or canceled; failed and canceled jobs are refunded.
GET https://api.open.sume.com/v1/jobs/<job_id>/status GET https://api.open.sume.com/v1/jobs/<job_id>/result POST https://api.open.sume.com/v1/jobs/<job_id>/cancel
The estimate is the charge: the same function prices both.
Dollars per unit at each option: the serving route's cost × 1.25, rounded up to $0.0001. The estimate above is the exact charge.
| Option | Price |
|---|---|
| per second | $0.0438 / s |
Price, resolution and duration show each model's full range.
| Model | Type | Price | Resolution | Duration |
|---|---|---|---|---|
| Kling Video v3 Pro | video | $0.1400 – $0.2100 / s | 1080p | 4 – 15 s |
| Kling Avatar 2.0 Pro | lipsync | $0.1438 / s | — | 2 – 60 s |
| Kling Avatar 2.0 | lipsync | $0.0703 / s | — | 2 – 60 s |
curl -X POST https://api.open.sume.com/v1/open/estimate \
-H "Content-Type: application/json" \
-d '{"model":"kling-lipsync","input":{"prompt":"…"}}'Full reference: docs.sume.com