Call it from your code
Submit a task to get its ID. Poll for the result, or pass a webhook URL to receive the finished task.
curl 'https://api.kerox.ai/v1/tasks' \
-H "Authorization: Bearer $KEROX_API_KEY" \
-H 'Content-Type: application/json' \
--data-binary '{
"model": "kuaishou/kling-4.0-flash",
"input": {
"prompt": "a red fox running through fresh snow, cinematic lighting",
"resolution": "720p",
"duration": 5,
"aspect_ratio": "16:9"
}
}'Example response
{
"id": "task_01JD8X9B4Q2M7T8N3K5P6R1S0V",
"object": "task",
"model": "kuaishou/kling-4.0-flash",
"status": "processing"
}What you can send
Every parameter uses the unified names, the same across models.
| Parameter | Type | Required | Default | Values | What it does |
|---|---|---|---|---|---|
prompt | string | Required | — | — | Prompt |
keep_original_sound | boolean | — | — | — | Keep original sound |
images | string | string[] | — | — | — | Reference images |
videos | string | string[] | — | — | — | Reference videos |
first_frame | string | — | — | — | First frame |
last_frame | string | — | — | — | Last frame |
aspect_ratio | string | — | — | 16:9, 9:16, 1:1, 21:9, auto | Aspect ratio |
resolution | string | — | "720p" | 720p | Resolution |
Not supported yet: watermark
Pricing
5 s · 720p
$0.4230
$0.470010% below official price10 s · 720p
$0.8460
$0.940010% below official price15 s · 720p
$1.2690
$1.410010% below official price
Common usage
| Clip | Official price | Kerox | You save |
|---|---|---|---|
| 5 s · 720p | $0.4230 | 10% | |
| 10 s · 720p | $0.8460 | 10% | |
| 15 s · 720p | $1.2690 | 10% | |
| $10 gets you | 118 seconds of 720p video | ||
| Tier | Official price | Kerox | With reference video |
|---|---|---|---|
| 720p | $0.0846 | $0.0567 |
With reference video, bill output seconds plus the longer of output and reference duration, at 720p $0.0567/s.
Use POST /v1/estimate for a quote before submitting a task.
Made with Kling 4.0 Flash

A single red paper sailboat glides across a shallow midnight-blue reflecting pool, ripples catching warm lantern light. Macro cinematography, handmade paper texture, soft shadows, no lettering.

Recreate the flowing movement of the paper sailboat in a silver-blue moonlit harbor.
About Kling 4.0 Flash
Generate a 3–20 second video from text, frames or reference media.
FAQ
How much does Kling 4.0 Flash cost?
Kling 4.0 Flash on Kerox starts from $0.0846 / second, 10% below the official price. You pay per generation, and failed generations are not charged. The price table on this page lists every option.
Does Kling 4.0 Flash have an API?
Yes. Submit a task to the Kerox API with the model ID kuaishou/kling-4.0-flash, then poll the task or receive a webhook when it finishes. The API docs for Kling 4.0 Flash list every parameter with code examples.
Can I use Kling 4.0 Flash online without writing code?
Yes. Choose your settings in the generation panel on this page to see the price. Sign in to generate. Try it
Do I need a subscription to use Kling 4.0 Flash?
No. There are no plans and no monthly fees. Top up from $5 and pay only for what you generate.


