Kling V4
kling-v4
| 720P-input | $0.105 / second |
| 1080P-input | $0.158 / second |
| 720P | $0.175 / second |
| 1080P | $0.263 / second |
KLING V4 API
Kling V4 and Kling V4 Flash run on POST /v1/videos/generations. Use V4 for finished shots up to 30 seconds at 1080p, and Flash for cheaper 720p drafts up to 20 seconds; both accept a first-frame image and reference media.
kling-v4
| 720P-input | $0.105 / second |
| 1080P-input | $0.158 / second |
| 720P | $0.175 / second |
| 1080P | $0.263 / second |
kling-v4-flash
| 720P-input | $0.071 / second |
| 720P | $0.107 / second |
3–30 seconds at 720p or 1080p, with first_frame_image, last_frame_image, reference images, videos and audio.
3–20 seconds at 720p with a first frame or reference media, at a lower per-second rate for iteration.
omni_reference_task_type selects reference, edit or extend when you pass video_urls.
This model runs asynchronously: the request returns a task id right away. Poll GET /v1/tasks/{id} (or /v1/records/{id}), or pass callback_url to receive a signed webhook when the job finishes.
# 1. Submit the job
curl https://apimany.com/v1/videos/generations \
-H "Authorization: Bearer $APIMANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-v4",
"prompt": "A paper boat drifting down a rainy street at dusk",
"resolution": "720p"
}'
# 2. Poll until status is "completed"
curl https://apimany.com/v1/tasks/TASK_ID \
-H "Authorization: Bearer $APIMANY_API_KEY"| Name | Type | Default | Allowed values |
|---|---|---|---|
| model * | string | kling-v4 | |
| prompt | string | — | |
| duration | integer | — | 3 – 30 |
| resolution | string | 720p | |
| aspect_ratio | string | — | |
| image_urls | string | — | |
| image_with_roles | object | — | |
| first_frame_image | string | — | |
| last_frame_image | string | — | |
| video_urls | string | — | |
| video_url | string | — | |
| audio_urls | string | — | |
| omni_reference_task_type | string | auto | auto, reference, edit, extend |
| audio_setting | string | — | |
| callback_url | string | — | HTTPS URL for the completion webhook |
{
"code": 200,
"data": {
"id": "6f1c2a7e-…",
"model": "kling-v4",
"status": "completed",
"progress": 100,
"cost_usd": 0.27,
"result": {
"videos": [{ "url": ["https://apimany.com/files/…"], "expires_at": 1760000000 }]
}
}
}Kling V4 starts at $0.175 / second; Kling V4 Flash starts at $0.107 / second. The price tables on this page list every tier, and you are charged only for successful results.
Create a key in the console, then send a request to /v1/videos/generations with "model": "kling-v4" (or "kling-v4-flash"). Jobs run asynchronously; poll the task or receive a signed webhook.
Use Flash for drafts and high-volume 720p clips up to 20 seconds. Switch to Kling V4 for 1080p, clips longer than 20 seconds or a fixed last frame.
Per second of requested duration at the chosen resolution. A request with video_urls also bills its source video seconds at the “input” rate, so the hold reserves the edition’s maximum duration (30 seconds on Kling V4, 20 on Flash) on top and settles on the reported cost.
Catalog entries are not availability promises. Authenticated GET /v1/models is the source of truth: if kling-v4 is listed there with a rate, it is enabled for your key.