Video model by Kling

Kling 4.0 API

model: kling-4.0

Call Kling 4.0 with your KeelRouter API key, the same key you use for every other model. From $0.157 per second, paid per call from a prepaid balance. Failed calls are free.

Pricing

OptionPrice
720p$0.157 per second
720p 5s$0.785 per clip
720p 10s$1.57 per clip
720p 30s$4.71 per clip
1080p$0.235 per second
1080p 5s$1.17 per clip
1080p 10s$2.35 per clip
1080p 30s$7.05 per clip
reference video 720p$0.094 per second
reference video 1080p$0.141 per second

Call it

Async: POST /v1/video/generations returns a taskId; poll the same path with ?task_id= or pass a callback_url.

curl https://api.keelrouter.com/v1/video/generations \
  -H "Authorization: Bearer $KEELROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "kling-4.0",
  "prompt": "A paper boat drifting down a rainy street, slow camera follow",
  "resolution": "1080p"
}'

Parameters

NameTypeNotes
modelstringRequired. kling-4.0
promptstringRequired.
durationintegerRange 3–30. Default 5.
resolutionstringOne of 720p, 1080p. Default 720p.
aspect_ratiostringOne of auto, 16:9, 9:16, 1:1, 21:9.
image_urlsarrayRange …–10.
video_urlsarrayRange …–5.
keep_original_soundbooleanDefault false.
elementsarrayRange …–7.
voicesarrayRange …–3.
first_frame_urlstring
keyframe_urlsarrayRange …–8.
last_frame_urlstring
callback_urlstringOptional https URL; we POST the result when the task ends

FAQ

How much does the Kling 4.0 API cost on KeelRouter?
From $0.157 per second. You pay per call from a prepaid USD balance; failed calls are not charged.
How do I call Kling 4.0?
POST to /v1/video/generations with model "kling-4.0". You get a taskId back; poll the same endpoint with ?task_id= or pass a callback_url.
Is this the official Kling 4.0 API?
No. KeelRouter is an independent API gateway. Requests run on Kling 4.0 through our upstream providers, and the video model keeps its own safety filters.
How long are results kept?
Result files are kept for 30 days, then deleted. Download what you want to keep.

More from Kling

KeelRouter is an independent service and is not affiliated with Kling. Kling 4.0 is a trademark of its owner, used here only to name the model a request runs on.