About Kling 4.0 Flash
image_url is the only required field and prompt is optional, so a bare request animates the still with whatever motion the model chooses. In a product flow, send a prompt anyway: one verb for the subject and one for the camera produce far more predictable drafts than an empty brief.
Call it with the model name kling/4.0-flash/image-to-video on POST /jobs/createTask, from $0.564.
Introduction
Kling 4.0 Flash image-to-video builds a 720p clip from one opening image. Upload a JPEG, PNG, or WebP file and optionally describe how the scene should move. Set 3–20 whole seconds for the result, or use the 5-second duration default.
This is a practical starting point for exploring movement in an existing portrait or scene still. The sample uses a WebP portrait, a smile, and shifting sunset light. Flash accepts an opening frame without closing-frame or intermediate-keyframe controls, and every result includes sound.
Key features
- Begin from one opening image in JPEG, PNG, or WebP format; WebP worked in our tests.
- Add an optional motion prompt to direct the action after the supplied still.
- Use auto aspect ratio to follow the image, or select 16:9, 9:16, 1:1, or 21:9.
- Draft 3–20 seconds at a fixed 720p resolution with a 5-second default.
- Describe ambience or music for the generated synchronized soundtrack.
Request parameters
| Parameter | Required | Description |
|---|---|---|
aspect_ratio | No | The shape of the frame: wide, square or tall. auto · 16:9 · 9:16 · 1:1 · 21:9 · Default: auto |
duration_seconds | No | Length of the generated clip. ≥ 3 · ≤ 20 · Default: 5 |
image_url | Yes | The picture to start from. |
prompt | No | Describe what you want to make. |
Pricing
Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.
| Option | USD per second |
|---|---|
| Standard | $0.1128 |
Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.
Use cases
- Animate a portrait for a social post with a smile and a small lighting change.
- Turn a landscape still into a short concept with drifting clouds and outdoor ambience.
- Review several camera directions from the same opening image for a content batch.
Prompt guide & pro tips
- Describe what follows the still, such as “clouds drift over the ridge,” to give the opening image a next event.
- Start with a restrained action, such as “the subject smiles slowly,” before testing a more involved sequence.
- Add a specific camera instruction, such as “gentle push toward the window,” so the motion brief includes framing.
- State how light should change, such as “warm sunset light crosses the room,” when lighting is part of the idea.
- Give the soundtrack a clear setting, such as “Sound: distant traffic and evening wind,” to direct the audio that comes with the clip.
API quick start
Call the Kling 4.0 Flash API in three steps
- Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
- Send the request. POST /jobs/createTask with model kling/4.0-flash/image-to-video and an input object that follows the parameter table. The response returns a task ID straight away.
- Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-d '{
"model": "kling/4.0-flash/image-to-video",
"input": {
"prompt": "A slow aerial shot drifting over a misty pine forest at sunrise",
"image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
"aspect_ratio": "auto",
"duration_seconds": 5
}
}'
# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $POPNOW_API_KEY"Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.
About the Kling 4.0 Flash Image to Video endpoint
There is no last_image_url or keyframe_image_urls on Flash. If your editor lets users place a closing frame, route those jobs to kling/4.0 image-to-video instead of silently dropping the frame the user picked.
aspect_ratio defaults to auto and follows the uploaded frame; forcing 9:16 on a landscape still can make the model crop or invent the edges. Billing is per output second at the flat Flash rate, regardless of the image's pixel size.
Kling 4.0 Flash API questions
How much does the Kling 4.0 Flash API cost?
Kling 4.0 Flash starts at $0.564 for a 5-second clip with Image to Video, its lowest-priced task. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.
What are the limits of the Kling 4.0 Flash · Image to Video API?
Clip length: 3–20 s; Aspect ratios: auto · 16:9 · 9:16 · 1:1 · 21:9; Largest upload: 10 MB. Requests outside these limits are rejected before anything is charged.