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.
Service Highlights
Every video includes a generated soundtrack.
Transparent pricing with no hidden fees. Pay only for what you use.
| Variant | Tier | GoldCurrent price | Platinum | Diamond | Official | Your savings |
|---|---|---|---|---|---|---|
kling-v4-flash | 720P-input | 0.5714Credits(~$0.0571)/sec | 0.5429Credits(~$0.0543)/sec | 0.5143Credits(~$0.0514)/sec | 0.7143Credits(~$0.0714)/sec | 20% |
| 720P | 0.8571Credits(~$0.0857)/sec | 0.8143Credits(~$0.0814)/sec | 0.7714Credits(~$0.0771)/sec | 1.0714Credits(~$0.1071)/sec | 20% |
* Actual costs are subject to final output.
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.
50K+
Active Users
99.9%
Uptime
2x
Faster
—
Cost Savings
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.
Save the key you created above in the APIMART_API_KEY environment variable and send it as Authorization: Bearer <key> on every request.
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.
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.
See the Kling 4.0 Flash API documentation for every parameter and error code.
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"| 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. |
Compare Kling video models on APIMart. Check each model’s availability, capabilities and pricing on its own page.
| Model | Best for | Resolution | Duration |
|---|---|---|---|
| Kling 4.0 API | Text, frame and multimodal generation, video editing and extension, always with stereo audio | 720P / 1080P | 3–30 s |
| Kling 4.0 Flash APIThis page | Faster 720p text, first-frame and reference generation, video editing and extension, always with audio | 720P | 3–20 s |
| Kling 3.0 API | Cinematic text-to-video and image-to-video with first/last-frame control and multi-shot prompts | 720P / 1080P / 4K | 3–15 s |
| Kling 3.0 Omni API | All-in-one generation from text, images and video, with reference roles and video editing | 720P / 1080P / 4K | 3–15 s |
| Kling 3.0 Turbo API | Speed-optimized text-to-video and first-frame image-to-video | 720P / 1080P | 3–15 s |
| Kling Video O1 API | One model for text-to-video, image references, first/last frames and video editing | 720P / 1080P | 5 s / 10 s |
| Kling 2.6 API | Native audio (pro mode), dynamic masks and camera control | 720P / 1080P | 5 s / 10 s |
| Kling Motion Control 2.6 API | Transfer motion from a reference video onto the subject of your image | 720P / 1080P | Follows reference video |
| Kling 3.0 Motion Control API | Newer Kling 3.0 generation of reference-video motion transfer | 720P / 1080P | Follows reference video |
Five video workflows share one kling-v4-flash model ID on the Kling Flash API, with 720p output, generated audio and per-second pricing.
Use kling-4-0-flash, the faster 720p tier of Kling 4.0, to test ideas, adapt footage and prepare short videos.
Create a key, choose a workflow and submit your first kling-v4-flash task.
Sign in to APIMart, create an API key and add balance before paid requests. The same key works for every model on APIMart.
Choose text, image, reference, edit or extend, add the prompt and media, then check the live price in the playground.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Explore more models in the same category.

Gemini Omni 1.2 Flash
Gemini Omni 1.2 Flash puts your ideas in motion. From everyday questions to creative exploration, bring fresh perspectives to your work, find inspiration, and keep your next project moving forward.

Muse Video Ext
Muse Video brings ideas to life through the power of visual storytelling. From everyday inspiration to bold creative concepts, it helps turn your vision into videos that connect, engage, and leave a lasting impression. With creativity at its heart, Muse Video makes every story worth sharing.

Pixverse V6 Max
PixVerse V6 Max is an advanced AI video generation model that transforms text and images into cinematic videos up to 15 seconds long at 1080p. With realistic visuals, expressive characters, and optional synchronized audio, it offers precise creative control for multi-shot storytelling, advertising, and music videos.

Kling V4
Kling 4.0 is an advanced AI video generation model that brings creative ideas to life with realistic motion, dynamic camera work, and precise visual control. With support for continuous videos up to 30 seconds and multiple reference inputs, it helps creators craft cinematic stories with greater flexibility.