Kling 4.0 Flash API (kling-v4-flash) is the faster, cost-effective tier of Kuaishou Kling 4.0: text-to-video, first-frame image-to-video, reference-to-video, video editing and extension under one model ID. Every 3–20s clip is 720p with audio.
Transparent pricing with no hidden fees. Pay only for what you use.
Pricing by specification
Variant
Tier
GoldCurrent price
Platinum
Diamond
Official
Your savings
kling-v4-flash
720P-input
0.5714Credits/sec~$0.0571/sec
0.5429Credits/sec~$0.0543/sec
0.5143Credits/sec~$0.0514/sec
0.5714Credits/sec~$0.0571/sec
—
720P
0.8571Credits/sec~$0.0857/sec
0.8143Credits/sec~$0.0814/sec
0.7714Credits/sec~$0.0771/sec
0.8571Credits/sec~$0.0857/sec
—
* Actual costs are subject to final output.
Featured examples
Start from a concrete creative task
Pick an example to load the model, prompt and full settings, then adjust it your way.
01 · Levitation and flight effect
Let an astronaut in a hangar slowly levitate
Load a photo of an astronaut standing on a hangar floor as the first frame and let the figure rise gently off the ground in low gravity from a standstill, keeping the look, suit and hangar consistent with a steady camera. See the video in the output area.
Image to video · With reference image · 720p · 5s
02 · Fun character transformation
Transform a person into an original superhero
Load a full-body photo as the first frame for a playful, friendly superhero transformation: the outfit changes smoothly into an original suit while the person’s face, body proportions and expression stay recognizable, with no existing characters imitated. See the video in the output area.
Image to video · With reference image · 720p · 5s
Reference
03 · Video subject replacement
Swap the person in a studio walking clip
Load a studio walking clip and a target-person image to replace only the person on screen, keeping the scene, camera movement, timing, body motion and lighting unchanged. See the video in the output area.
Video edit · With reference image and video · 720p
Kling 4.0 Flash API for Fast Video Iteration
Kling 4.0 Flash API (kling-v4-flash) is the faster, cost-effective tier of Kuaishou Kling 4.0: text-to-video, first-frame image-to-video, reference-to-video, video editing and extension under one model ID. Every 3–20s clip is 720p with audio.
Kling 4.0 Flash API Example: Text to Video and Image to Video
Use model kling-v4-flash for all five workflows. Submit a video task, save the task ID and query the task endpoint for the result.
1
Authenticate with Your Kling 4.0 Flash API Key
Save the key you created above in the APIMART_API_KEY environment variable and send it as Authorization: Bearer <key> on every request.
2
Submit a kling-v4-flash Task
POST /v1/videos/generations with model kling-v4-flash, the prompt and the media for your workflow. Save the returned task ID. The example.com URLs are placeholders: replace them with your own publicly accessible files.
3
Retrieve the Kling 4.0 Flash Result
Poll GET /v1/tasks/{task_id} until status is completed or failed, then read the video URL from data.result.videos[0].url[0]. APIMart keeps results for 72 hours, so download the videos you want to keep.
curl -X POST https://api.apimart.ai/v1/videos/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-v4-flash",
"prompt": "An orange cat walks across a sunlit wooden floor, side tracking shot, soft footsteps and ambient room sound",
"duration": 5,
"aspect_ratio": "16:9"
}'
import os
import time
import requests
API_BASE = "https://api.apimart.ai"
headers = {"Authorization": f"Bearer {os.environ['APIMART_API_KEY']}"}
# 1. Submit the generation task
payload = {
"model": "kling-v4-flash",
"prompt": "An orange cat walks across a sunlit wooden floor, side tracking shot, soft footsteps and ambient room sound",
"duration": 5,
"aspect_ratio": "16:9"
}
resp = requests.post(f"{API_BASE}/v1/videos/generations", headers=headers, json=payload, timeout=60)
resp.raise_for_status()
task_id = resp.json()["data"][0]["task_id"]
# 2. Poll the task until it finishes
for _ in range(200):
task_resp = requests.get(f"{API_BASE}/v1/tasks/{task_id}", headers=headers, timeout=30)
task_resp.raise_for_status()
task = task_resp.json()["data"]
if task["status"] == "completed":
print(task["result"]["videos"][0]["url"][0])
break
if task["status"] == "failed":
raise RuntimeError(task.get("error", {}).get("message", "generation failed"))
time.sleep(10)
else:
raise TimeoutError(f"task {task_id} did not finish in time; continue GET polling with this task ID")
curl -X POST https://api.apimart.ai/v1/videos/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-v4-flash",
"prompt": "The camera slowly pushes in as the person gently turns their head",
"duration": 5,
"image_urls": [
"https://example.com/first-frame.jpg"
]
}'
TASK_ID="task_xxx" # replace with the task_id returned by the POST request
curl "https://api.apimart.ai/v1/tasks/$TASK_ID" \
-H "Authorization: Bearer $APIMART_API_KEY"
Kling 4.0 Flash API Parameters
Parameter
Type
Required
Default
Description
model
string
Required
Default: kling-v4-flash
Fixed model ID: kling-v4-flash.
prompt
string
Optional
Default: —
Required in every mode except image-to-video, where it may be omitted.
duration
integer
Optional
Default: 5
3–20 whole seconds; default 5. Editing without duration follows the input, rounded up. Do not send 0; omit the field or send null for the default. seconds is an alias and must match if both are sent.
resolution
string
Optional
Default: 720p
Only 720p; pixel size varies by ratio (1:1 is 960×960, 21:9 is 1464×628). 1080p returns 400.
aspect_ratio
string
Optional
Default: —
16:9, 9:16, 1:1 or 21:9; reference mode also accepts auto. Defaults: text 16:9, reference auto, edit follows the input. Not supported for image-to-video (follows the first frame) or extension.
image_urls
string[]
Optional
Default: —
Image-to-video: exactly one first frame. Reference and edit: up to 10 reference images.
image_with_roles
object[]
Optional
Default: —
Objects with url and role. Image-to-video accepts only first_frame; reference and edit use reference_image. last_frame and keyframe return 400.
first_frame_image
string
Optional
Default: —
First-frame image URL for image-to-video.
video_urls
string[]
Optional
Default: —
Reference videos: up to 5, at most 20 seconds combined. Edit or extend also accepts one entry instead of video_url.
video_url
string
Optional
Default: —
Input video for edit or extend; set omni_reference_task_type explicitly. Edit inputs must be 3–20 seconds.
omni_reference_task_type
string
Optional
Default: auto
auto, reference, edit or extend. A video_url without edit or extend returns 400; put reference videos in video_urls.
audio_setting
string
Optional
Default: —
origin keeps source audio; auto regenerates it. For editing (default origin) and reference mode with a video (default auto). Not supported for extension.
Kling API Model Family
Compare Kling video models on APIMart. Check each model’s availability, capabilities and pricing on its own page.
Newer Kling 3.0 generation of reference-video motion transfer
720P / 1080P
Follows reference video
Key Features of the Kling 4.0 Flash API
Five video workflows share one kling-v4-flash model ID on the Kling Flash API, with 720p output, generated audio and per-second pricing.
Kling 4.0 Flash Text to Video
Generate a 3–20 second 720p clip from a prompt. Text-to-video defaults to 5 seconds and 16:9; 9:16, 1:1 and 21:9 are also available.
Image to Video with the Kling 4.0 Flash Model
Animate one first-frame image with the Kling 4.0 Flash model. The prompt is optional, and the ratio always follows the image; aspect_ratio is not accepted. Last frames and intermediate keyframes are not supported.
Reference to Video with Kling-4.0-Flash
Combine up to 10 reference images and 5 reference videos, 15 files in total, with videos at most 20 seconds combined. Name them @Image1 and @Video1 in the prompt.
Edit Video with the Kling 4.0 Flash API
Rewrite a 3–20 second input video with a prompt and up to 10 reference images. Original audio is kept by default; omitted duration and ratio follow the input.
Extend Video with kling-v4-flash
Continue 3–20 new seconds from the input video's last frame. Only the new footage is returned, and only the new seconds are billed.
720p Video with Audio from Kuaishou Kling 4.0 Flash
Kuaishou Kling 4.0 Flash renders at the 720p tier with a generated soundtrack; pixel size depends on the ratio, such as 960×960 for 1:1 and 1464×628 for 21:9. Duration is a whole number of seconds from 3 to 20, default 5.
Kling 4.0 Flash vs Kling 4.0
Kling-4.0-Flash keeps the Kling 4.0 workflows at 720p for frequent, lower-cost creation. Choose full Kling 4.0 (kling-v4) for 1080p, clips up to 30 seconds, end frames, keyframes or reference audio.
Kling 4.0 Flash API Pricing per Second
Standard generation bills output seconds at the 720P rate. Editing and video references bill output + max(output, input) seconds at the 720P-input rate.
What You Can Build with the Kling V4 Flash API
Use kling-4-0-flash, the faster 720p tier of Kling 4.0, to test ideas, adapt footage and prepare short videos.
Rapid Prompt Testing with kling-4-0-flash
Try several prompts or ratios at 720p before committing a direction to longer or higher-resolution renders.
Social Clips with the Kling Flash API
Create 9:16 or 1:1 clips with generated sound for short-form feeds, or extend an existing clip while keeping its framing.
Kling 4.0 Flash Product Animation
Animate a product photo from its first frame, or combine product images with a camera-motion reference video.
Restyle Footage with the Kling 4.0 Flash Model
Change the scene, season or style of a 3–20 second clip and keep its original audio, or regenerate the sound.
Storyboard Drafts with the Kling-4.0-Flash API
Turn script beats into short draft scenes and continue a shot with video extension to check pacing.
Integrate the kling-v4-flash API into Your App
Connect asynchronous Kling V4 Flash tasks, status queries and result downloads to your application or workflow tool.
How to Get a Kling 4.0 Flash API Key and Start
Create a key, choose a workflow and submit your first kling-v4-flash task.
1
Create a Kling 4.0 Flash API Key
Sign in to APIMart, create an API key and add balance before paid requests. The same key works for every model on APIMart.
2
Configure a kling-v4-flash Request
Choose text, image, reference, edit or extend, add the prompt and media, then check the live price in the playground.
3
Integrate the Kling 4.0 Flash API
Submit to POST /v1/videos/generations and query GET /v1/tasks/{task_id} until the task is completed or failed.
Modes, limits, pricing, API keys and integration for kling-v4-flash.
What is the Kling 4.0 Flash API?
Kling 4.0 Flash, also written Kling-4.0-Flash, is the faster, cost-effective tier of Kuaishou's Kling 4.0 video model, built for frequent creation. On APIMart it uses model ID kling-v4-flash, and one ID covers text-to-video, first-frame image-to-video, reference-to-video, video editing and video extension. Every clip is 720p, 3–20 seconds, with audio.
When was Kling 4.0 Flash released?
Kling opened Kling 4.0 Flash to a limited early-access group, starting with Ultra Yearly subscribers, on September 28, 2026. On November 4, 2026, Kling made it available to everyone on its website and via API. On APIMart you call it as kling-v4-flash with your APIMart API key, without a Kling subscription.
How is Kling 4.0 Flash different from Kling 4.0?
Both use the same request format. On APIMart, Kling 4.0 Flash (kling-v4-flash) outputs 720p only, 3–20 seconds, takes only a first frame for image-to-video, has no reference audio and limits input videos to 20 seconds. Full Kling 4.0 (kling-v4) adds 1080p, clips up to 30 seconds, end frames, up to 8 keyframes, reference audio and target end frames for extension. The Kling model table on this page links to both.
Is Kling 4.0 Flash the same as kling-4-0-flash, kling-v4-flash or the Kling Flash API?
Yes. Kling 4.0 Flash is the official name from Kuaishou's Kling AI, and kling-v4-flash is its model ID on APIMart; kling-4-0-flash is the address of this page. People also write it as Kling AI 4.0 Flash, Kling 4 Flash, Kling V4.0 Flash, kling-v4.0-flash, Kling-4-Flash, Kling4.0Flash or, in Chinese, 可灵 4.0 Flash. It is not the full Kling 4.0 model (kling-v4) or Kling 3.0 Turbo. Other API platforms use their own endpoint names, so always send model kling-v4-flash to APIMart.
Which modes does the Kling 4.0 Flash API support, and how is a mode selected?
One model ID covers five modes, selected by the media you send. No images or videos means text-to-video; one first frame means image-to-video; video_urls or reference_image roles mean reference-to-video; omni_reference_task_type edit or extend with video_url selects editing or extension. A video_url without edit or extend returns 400.
What reference limits does Kling-4.0-Flash support?
Reference-to-video accepts up to 10 images and 5 videos, 15 files in total, and the reference videos must be 20 seconds or less combined; longer inputs return 400 without charge. Reference audio is not supported. Refer to the files as @Image1 and @Video1 in array order. With a reference video, audio_setting origin keeps the first video's sound; otherwise new audio is generated.
Can the Kling 4.0 Flash model edit or extend a video?
Yes, on APIMart. Editing rewrites a 3–20 second input video, accepts up to 10 reference images and keeps the original audio unless you set audio_setting auto; omitted duration and ratio follow the input. Extension adds 3–20 seconds after the input's last frame and returns only the new footage; it takes no images, aspect_ratio or audio_setting. Set omni_reference_task_type to edit or extend whenever you send video_url.
Does Kling 4.0 Flash support first and last frames or keyframes?
No. Image-to-video takes exactly one first frame. Sending last_frame_image, a last_frame or keyframe role, or two image_urls returns 400, and extension cannot target an end frame. Use full Kling 4.0 (kling-v4) when you need end frames or up to 8 keyframes.
Does Kling 4.0 Flash support 1080p or 4K?
No. Kling 4.0 Flash outputs 720p only, and sending resolution 1080p returns 400. On APIMart, 1080p is available with full Kling 4.0 (kling-v4), which offers 720p and 1080p; neither model has a 4K option. Use Flash for 720p drafts and frequent iterations, then switch to kling-v4 when you need 1080p.
How is the Kling 4.0 Flash API billed?
Text, image, extension and image-only reference tasks bill output seconds at the 720P rate; extension counts only new seconds, so a 5-second clip costs five times that rate. Editing and reference tasks with a video bill output + max(output, input) seconds at the 720P-input rate, with input seconds summed and rounded up: editing a 3.04-second video with duration 3 bills 3 + 4 = 7 seconds. Rates are in the pricing table on this page. Failed or timed-out tasks are fully refunded.
Is there a discount on Kling 4.0 Flash API pricing?
Yes. Prices on this page are Gold member prices, 20% off. Platinum and Diamond members save more, up to 28%. Billing is pay-as-you-go per second with no subscription, and you only pay for successful tasks.
Is the Kling 4.0 Flash API free?
No. APIMart has no free quota for kling-v4-flash. You pay per second for successful tasks only; failed tasks are refunded, and requests rejected by validation return 400 without charge.
How do I get a Kling 4.0 Flash API key?
Sign up for APIMart, open API Keys in your dashboard and create a key. The same key calls kling-v4-flash, kling-v4 and the other models on APIMart, so you do not need a separate Kling account.
What duration, aspect ratios and audio does Kling 4.0 Flash output?
Duration is 3–20 whole seconds, default 5; seconds is accepted as an alias with the same value. Ratios are 16:9, 9:16, 1:1 and 21:9, plus auto for reference mode; editing follows the input by default, while image-to-video always follows the first frame and does not accept aspect_ratio. Output is at the 720p tier, so pixel size depends on the ratio, such as 960×960 for 1:1 and 1464×628 for 21:9. Every video includes generated audio, and audio false returns 400. mode, negative_prompt, watermark true, multi_shot, multi_prompt, element_list, video_list, camera_control and voice_list are not supported.
How do I call the kling-v4-flash API and get the result?
Send POST /v1/videos/generations with model kling-v4-flash and save the task ID, then query GET /v1/tasks/{task_id} until the status is completed or failed. Media URLs must be publicly accessible. Stopping your polling does not cancel a task, so keep the task ID and query until it finishes. Results are kept for 72 hours.
Kling 4.0 Flash or Kling 3.0 Turbo: which should I use?
On APIMart, Kling 3.0 Turbo (kling-3.0-turbo) offers 720p or 1080p, 3–15 seconds, text-to-video and first-frame image-to-video, and its requests have no audio parameter. Kling 4.0 Flash is 720p only, but runs 3–20 seconds, always includes generated audio and adds reference-to-video, editing and extension. Choose Turbo for 1080p output; choose Flash for longer clips or video inputs.