TLDRKling 4.0 (released by Kuaishou’s Kling AI in October 2026 for video and November 2026 for images) delivers native 3–30 second videos at 720p/1080p/4K with optional 10-bit HDR, multi-keyframe control (up to 10 images), Omni multimodal references, native stereo audio, and strong narrative coherence. Kling Image 4.0 adds native 8K generation, image sets, and long-page design capabilities.
CometAPI provides unified, production-ready access to Kling 4.0 (and earlier Kling models) via a single API key, asynchronous task endpoints, competitive pricing (typically 5% off official rates), and simplified authentication—no separate Kling developer onboarding required. This guide covers features, step-by-step integration for text-to-video, image-to-video, Omni workflows, image generation, best practices, pricing comparisons, and CometAPI recommendations for scalable deployment.
Reviewed for clarity, source attribution and current API terminology.
Key Takeaways
Kling 4.0 supports up to 30-second native video generation, multi-keyframes, Omni references (up to 10 images + 5 videos + elements/voices), 720p/1080p/4K, HDR, and native audio.
Start with short prompts and minimal parameters; poll task status; store results in your own storage for durability.
Ideal for product demos, storytelling, marketing, character-consistent content, and high-resolution creative pipelines.
Always verify current model availability, limits, and pricing in the CometAPI catalog and official Kling docs, as capabilities evolve rapidly.
What Is Kling 4.0? Latest Features and Capabilities (2026)
Kling 4.0 is Kuaishou’s flagship multimodal generative model family, emphasizing visual realism, precise creative control, and narrative completeness. Video generation became fully available around October 15–28, 2026, with 4K and HDR support added by mid-November 2026. Image generation (Kling Image 4.0) launched on November 17, 2026.
Core Video Capabilities (Kling 4.0 / kling-4.0)
Duration: Native 3–30 seconds in a single generation (Flash variant: 3–20s).
Resolutions: 720p, 1080p, 4K.
Dynamic range: SDR + 10-bit HDR (HDR available at 1080p and 4K).
Text-to-video, image-to-video (first/last frame + multi-keyframes up to 10 total images), Omni reference (up to 10 images, 5 videos with combined ≤30s duration, up to 7 elements including video-based, voice references), multi-shot storytelling, and video editing/reference workflows.
Stronger motion dynamics, consistency across references, and controllable narrative beats.
Kling 4.0 Flash prioritizes speed and value at 720p (shorter max duration, reduced features).
Kling Image 4.0
Native 8K generation (first for the family).
Text-to-image and image-to-image/editing.
Image sets/series mode for 2–10 consistent images from one prompt.
Long prompts (tens of thousands of characters in some implementations).
Specialized long-image models for webpage designs and ecommerce product detail pages.
Improved realism, text rendering (multi-language), and reference consistency.
These advances make Kling 4.0 particularly strong for longer cinematic clips, product animation with fixed start/end states, character/product consistency via references, and high-resolution stills or story sequences.
When should you use image or video generation?
Use Image for a store listing, print layout or set of campaign stills. Choose Video when the viewer needs to see an action unfold. The examples below use a reference image to direct the shot.
Product listings — Start with a clean product photo. Ask for one slow orbit and keep the label legible.
Advertising — Use opening and closing keyframes to guide a product reveal.
Character animation — Keep the character design consistent and describe one gesture.
Architecture — Anchor the opening frame to a render and describe a slow walkthrough.
Social video — Start with a vertical image and leave room around the moving subject.
How to Use Kling 4.0 Image API
Step 1: Choose a still image or a series
Start with one square product image. Specify the subject, lighting, viewpoint and space for copy. For a set of related compositions, select series mode and specify the sequence in your prompt. See the native image API reference.
Step 2: Submit the image request
Set KLING_API_KEY to your Kling authorization token. This example sends a text-only brief. For an image-guided variation, add a contents item with type refer_image, a readable URL and an id such as bottle. Refer to @bottle in the prompt.
curl --request POST 'https://api-singapore.klingai.com/image-generation/kling-4.0' \
--header "Authorization: Bearer $KLING_API_KEY" \
--header 'Content-Type: application/json' \
--data '{"contents":[{"type":"prompt","text":"Studio photograph of an amber bottle on pale stone. Soft side light, centered label, room for a headline above."}],"settings":{"result_type":"single","n":1,"resolution":"2k","aspect_ratio":"1:1"}}'
Step 3: Retrieve and save the image
Copy the returned task ID into TASK_ID. Poll the native task endpoint below until the task succeeds or fails. On success, download the returned image URL to your storage. For a series, save each returned image in order. On failure, inspect the task message before submitting another request.
Kling Video: Why Access Kling 4.0 Through CometAPI?
CometAPI acts as a unified gateway to 500+ AI models, including the full Kling family. Key advantages for developers and teams:
Single API key and authentication — Bearer token; no need for separate Kling developer account onboarding or region-specific setup in many cases.
Production endpoints — Dedicated routes such as POST /text-to-video/Kling%204.0, /image-to-video/..., /omni-video/..., plus the established /kling/v1/videos/text2video and /kling/v1/videos/image2video family that support model selection.
Async task model — Submit → receive task_id → poll status → retrieve result URL. Supports callbacks in many workflows.
Pricing advantage — CometAPI typically offers ~5% off official Kling list prices, with transparent per-second or per-image billing and usage-based plans. Example video pricing tiers (illustrative from CometAPI model page; always check live rates): lower effective costs for 720p/1080p generations without/with video input.
Unified observability, billing, and multi-model workflows — Easy to combine Kling with other providers under one account.
Documentation and quickstarts — Clear examples, model catalog, and OpenAI-compatible patterns where applicable.
For production use, CometAPI reduces integration friction while providing reliable access to the latest Kling capabilities as they roll out.
Prerequisites and Getting Started with CometAPI
Create a free or paid account at CometAPI.com and generate an API key in the console.
Store the key securely as an environment variable (COMETAPI_KEY).
Review the live Kling model catalog on CometAPI to confirm Kling 4.0 (and Image 4.0) availability for your account.
Familiarize yourself with the async pattern: create task → poll by task_id → download/persist the output media.
Prepare input media that meets limits (images: JPEG/PNG, ≤30 MiB, ≥300 px per side, aspect ratio roughly 2:5 to 5:2; videos similarly constrained). Use publicly accessible HTTPS URLs or supported base64 where allowed.
Official Kling media limits and combination rules (up to 15 total reference inputs in Omni mode) apply through CometAPI.
How to Generate Video with Kling 4.0 via CometAPI
Text-to-Video
Use the model-specific or legacy route. Example pattern from CometAPI documentation (adapt model name/identifier for 4.0 as listed in the catalog):
curl https://api.cometapi.com/kling/v1/videos/text2video \
-H "Authorization: Bearer $COMETAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A paper boat drifts across a calm pond at sunrise, gentle ripples, soft morning light",
"model_name": "kling-4.0", # or exact ID from catalog
"mode": "pro",
"duration": "10",
"sound": "on"
}'
Response includes a task_id. Poll the corresponding status endpoint (e.g., GET /kling/v1/videos/text2video/{task_id} or model-route equivalent) until status reaches success/failed. Retrieve the video URL from the result and copy it to durable storage.
Prompt tips for Kling 4.0: Describe sequence of actions, camera moves, lighting, mood, and audio. Longer, structured prompts (up to thousands of characters in supporting implementations) improve narrative control. Include positive and negative elements.
Image-to-Video (First Frame, Keyframes, Last Frame)
Provide a start image (required) and optional middle/last frames for precise control. Kling 4.0 supports up to 10 images total as keyframes.
curl https://api.cometapi.com/kling/v1/videos/image2video \
-H "Authorization: Bearer $COMETAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"image": "https://example.com/first-frame.png",
"prompt": "Animate the product with a slow camera push and subtle rotation, natural lighting",
"model_name": "kling-4.0",
"mode": "pro",
"duration": "8",
"sound": "on"
}'
For multi-keyframe workflows, use the Omni or dedicated keyframe-supporting endpoints/routes, referencing images by ID or order in the prompt (e.g., @firstFrame1). Output aspect ratio typically follows the keyframe(s).
Omni Reference and Advanced Modes
Omni mode combines text, multiple images, videos, elements, and voices. Reference assets in the prompt with @ notation. This is ideal for character consistency, style transfer, or editing an existing clip. Use the /omni-video/ or equivalent CometAPI route. Limits: combined reference video duration ≤30s, total references up to ~15 items.
Provide a visual reference and describe which details should carry through the shot. Request reference
curl --fail-with-body -X POST "https://api.cometapi.com/omni-video/kling-4.0" \
-H "Authorization: Bearer $COMETAPI_KEY" \
-H "Content-Type: application/json" \
--data '{"contents":[{"type":"image","url":"https://example.com/lantern.jpg"},{"type":"prompt","text":"Show the same red lantern swaying above the water."}],"settings":{"resolution":"720p","duration":5}}'
Polling and Result Handling
Always implement robust polling with exponential backoff or fixed intervals (e.g., every 5–15 seconds). Handle terminal states: success (download URL), failed (inspect error), or timeout. Persist the media immediately—generation results may have limited retention.
Kling 4.0 vs Previous Generations and Access Methods
Feature / Aspect
Kling 4.0 (Video)
Kling 3.x / Earlier
Kling Image 4.0
Access via CometAPI
Direct Official Kling API
Max Duration
30s (Flash 20s)
Typically 10–15s
N/A
Full support
Full support
Resolutions
720p / 1080p / 4K + HDR
Up to 1080p/4K (varies)
2K / 4K / 8K
Available
Available
Multi-Keyframes
Up to 10 images
Limited or none
Image sets 2–10
Supported
Supported
Omni / Multi-Reference
Strong (images + videos + elements)
Partial
References + elements
Unified endpoints
Native
Native Audio
Yes (stereo)
Varies
N/A
Yes
Yes
Pricing Advantage
—
—
—
~5% off list + unified billing
Full official rates
Auth / Onboarding
—
—
—
Single CometAPI key
Separate Kling process
Async Task + Polling
Yes
How Much Does the Kling 4.0 API Cost?
CometAPI bills usage-based (per second of output video or per image). CometAPI prices are 95% of Kling’s official list prices — save 5%.
Official Kling 4.0 API pricing
Model
Resolution
Official price
Kling 4.0
720p
1.0 unit/s
Kling 4.0
1080p
1.5 units/s
Kling 4.0
4K
Updated rate to be confirmed
Kling 4.0 Flash
720p
0.6 units/s
Kling 4.0 Flash
1080p
Not supported
Kling 4.0 HDR
1080p / 4K
Additional HDR fee applies
The official flagship resource packages provide different effective unit prices depending on purchase volume.
Resource package
Package price
Included units
Effective price per unit
Standard Package 1
$500
3,250
$0.15386
Standard Package 2
$2,000
13,135
$0.15229
Standard Package 3
$8,000
53,640
$0.14915
Using the first flagship package's published unit rate, the estimated costs for standard SDR generation are as follows.
Kling 4.0 vs. Kling 4.0 Flash pricing
For image-to-video generation without reference videos, the official 720p unit rate of Kling 4.0 Flash is 40% lower than that of the flagship model.
Duration
Kling 4.0
Kling 4.0 Flash
Unit savings
5 seconds
5 units
3 units
40%
10 seconds
10 units
6 units
40%
20 seconds
20 units
12 units
40%
Kling 4.0 Flash is better suited to rapid previews and high-volume content iteration. The flagship model is more appropriate when native 30-second generation, multiple keyframes, higher resolution, or HDR output is required.
Official SDR example: 100 ten-second 1080p clips at 1.5 units/s consume 1,500 units. At the illustrated package rate of $0.15386/unit, the estimate is $230.79 before surcharges.
Kling API pricing in CometAPI
Choose the row for your output resolution. A still reference counts as an image input. Use the video-input rate when you supply footage. CometAPI Kling 4.0 pricing
Resolution
Video input
5 seconds
10 seconds
720p
No
$0.74575
$1.49150
1080p
No
$1.11625
$2.23250
720p
Yes
$0.89300
$1.78600
1080p
Yes
$1.33950
$2.67900
The video-input rows apply when the reference clip is at most as long as the output. For a longer reference, add the input and output durations and multiply by $0.08930 per second at 720p or $0.13395 at 1080p.These figures illustrate the published starting rate for Kling Video in CometAPI. They are not confirmed Kling 4.0-specific prices. Actual Kling 4.0 costs may vary by resolution, generation mode, account configuration, and HDR settings.
The best way to control production costs is to generate short 720p previews before committing to longer, higher-resolution output.
How to Write Better Kling 4.0 Image and Video Prompts
For a still, describe a single moment: an amber bottle seen at label height, soft light from the left, and a plain background. For video, describe what changes over time: the camera moves closer while the bottle stays fixed. The examples below focus on directing motion.
A strong image-to-video prompt describes how the reference image should change rather than simply repeating what is already visible.
An effective prompt structure is:
Subject action
+ Camera movement
+ Environmental movement
+ Temporal progression
+ Visual consistency requirements
+ Audio instructions
Product advertisement prompt
The camera slowly rotates clockwise around the
luxury perfume bottle. Soft studio highlights
travel across the glass surface. The background
remains clean and minimal. Preserve the original
bottle shape, label and typography.
Cinematic landscape prompt
The camera gradually moves forward through the
mountain valley. Clouds drift naturally across the
sky while mist flows between the hills.
Sunlight slowly illuminates the foreground.
Maintain realistic environmental motion.
Multi-keyframe storytelling prompt
Begin at @start with a wide establishing shot.
Gradually move toward the subject and transition
naturally through @middle.
Conclude at @end with a stable close-up.
Maintain consistent character identity, clothing,
lighting and environmental details throughout.
Common prompting mistakes
Mistake
Potential result
Recommended solution
Too many simultaneous actions
Inconsistent movement
Prioritize one main action
Contradictory camera instructions
Unstable framing
Specify a single primary camera movement
Excessive visual transformation
Identity drift
Explicitly preserve subject geometry
Unrelated keyframes
Unnatural transitions
Maintain consistent subjects and environments
Overly complex short scenes
Abrupt motion
Increase duration or simplify the action
Ambiguous audio instructions
Unexpected sound
Describe dialogue, ambience, or silence
Conclusion
Visit CometAPI.com, create an account, obtain your key, and start generating with Kling 4.0 today. Review the full API reference at apidoc.cometapi.com and the official Kling documentation for the most up-to-date parameter matrices and limits.
This guide provides a complete, practical foundation for integrating Kling 4.0 image and video generation through CometAPI. Capabilities and exact request shapes continue to evolve—always cross-check the live documentation before production deployment. Happy creating!