Kling 4.0 Flash Reference to Video API

kwaivgi/kling-v4.0-flash/reference-to-video
720p · 3–20 sec

Kling 4.0 Flash Reference to Video API combines reference images, reference videos, and subject elements into 3–20 second 720p clips. It keeps character appearance, outfits, and motion coherent across shots while lowering per-second cost.

Input
488/26000

Drag and drop files, paste from clipboard, or provide a URL. Optional start frame (at most 1 image; shares the 10-image cap with reference_image_urls).

Drag and drop files, paste from clipboard, or provide a URL. Up to 10 reference images (including optional start frame).

2/10 files added

Drag and drop files, paste from clipboard, or provide a URL. Up to 5 reference videos, 3–20 s each, combined input videos ≤ 20 s.

Switch to JSON mode to attach kling_elements.

Output
5 sec × $0.094/sec = $0.470

18.8 credits/s without input videos; 12.6 credits/billed second with input videos.

Continue with

Examples

Documentary medium tracking shot at golden dawn: the woman field sound recordist from the first reference image walks carefully across the steaming dark basalt geothermal plain from the second reference image, raising her grey furry handheld microphone toward a bubbling turquoise mineral pool while white steam drifts past in cool morning air. Preserve her exact face, curly hair, olive jacket, headphones, and recorder bag. Audio: hissing geothermal steam and crunching volcanic gravel.

What is the Kling 4.0 Flash Reference to Video API?

Kling 4.0 Flash Reference to Video brings multi-asset visual conditioning to Kuaishou's faster 720p Flash tier. The Kling 4.0 Flash Reference to Video API combines an optional start frame, up to 10 reference images, up to 5 reference videos, and up to 7 subject elements (15 total max) inside a single 3–20 second pass.

Why choose the Kling 4.0 Flash Reference to Video API?

This API unifies images, videos, and subject elements for consistent multi-shot 720p generation.

  • Up to 15 multimodal referencesCombine up to 15 total visual references in one call to lock characters, outfits, and props.

  • Lower rate when using video inputs18.8 credits/s without video inputs, or 12.6 credits/s across billed seconds when reference videos are included.

  • Reusable image and video elementsAttach up to 7 kling_elements (including up to 3 video elements of 3–8 s) via JSON.

Parameters

This API requires a prompt plus at least one visual reference (image, video, or element), with optional duration and aspect_ratio.

ParameterRequirementDescription
promptRequired

Scene prompt citing references such as @Image1, @Video1, or @Element1 (1–26,000 characters).

Default—
reference_image_urlsConditional

Up to 10 reference image URLs (start frame + reference images ≤ 10).

Default—
reference_video_urlsConditional

Up to 5 reference videos, 3–20 s each; all input videos combined ≤ 20 s.

Default—
kling_elementsConditional

Up to 7 elements (image elements: 2–4 images; up to 3 video elements: 1 video of 3–8 s).

Default—
image_urlsOptional

Optional start frame (at most 1 image).

Default—
durationOptional

Whole seconds from 3 to 20.

Default5
resolutionFixed

Fixed to 720p.

Default720p
aspect_ratioOptional

auto, 16:9, 9:16, 1:1, or 21:9.

Default16:9

How do you use the Kling 4.0 Flash Reference to Video API?

Provide your reference images, videos, or elements, cite them in the prompt, and submit for a 3–20 second 720p clip.

  1. Attach reference assetsProvide at least one reference_image_urls, reference_video_urls, or kling_elements entry.

  2. Cite references in promptSpecify how each character, prop, or motion reference interacts in the scene.

  3. Submit the taskChoose 3–20 seconds and an aspect ratio, then run the task.

  4. Retrieve the 720p clipPoll status with task_id until finished.

How much does the Kling 4.0 Flash Reference to Video API cost?

The Kling 4.0 Flash Reference to Video API uses two 720p tiers: 18.8 credits/s without video inputs, or 12.6 credits × (output + max(output, ceil(input video))) with video inputs.

UsageRateDetails
720p without video input18.8 credits / second$0.094 per output second. 5 s = 94 credits ($0.47).
720p with video input12.6 credits / billed second$0.063 per billed second, where billed seconds = output + max(output, ceil(total input video seconds)).

Best Use Cases

This API suits recurring character storytelling, brand product placement, and motion-referenced commercial shoots.

  • Consistent character episodesKeep character faces and outfits stable across multi-clip stories.

  • Product-in-scene placementCombine product shots with location references for rapid ad variations.

  • Motion-guided draftsReference a short clip to carry choreography or camera rhythm into a new scene.

Pro Tips

  • Keep combined input video duration within 20 seconds to pass validation cleanly.
  • Use JSON mode when passing multi-angle kling_elements.

Notes

  • All reference assets in a single request must total at most 15 items.
  • Total reference assets cannot exceed 15, and image_urls + reference_image_urls cannot exceed 10.

Kling 4.0 Flash Reference to Video API FAQ

What is the Kling 4.0 Flash Reference to Video API?

Kling 4.0 Flash Reference to Video is a Kuaishou multi-reference video model for identity-consistent 720p clips. The Kling 4.0 Flash Reference to Video API combines up to 10 reference images, 5 reference videos, and 7 elements (15 total max) into 3–20 second videos. Grounding generation in explicit visual assets keeps characters, outfits, and props stable while running on the cost-efficient Flash tier. You can call it programmatically or try it from the playground above.

How many reference images can the Kling 4.0 Flash Reference to Video API use?

Up to 10 reference images in reference_image_urls; if you also pass a start frame in image_urls, the combined total of start frame and reference images cannot exceed 10.

What video length limits apply to Kling 4.0 Flash Reference to Video?

Each reference video must be 3–20 seconds (element videos 3–8 seconds), and all input videos combined cannot exceed 20 seconds.

How is the Kling 4.0 Flash Reference to Video API billed with video inputs?

Without video inputs, it bills output seconds × 18.8 credits. With video inputs, it bills (output + max(output, ceil(total input video seconds))) × 12.6 credits.

How many kling_elements can Kling 4.0 Flash Reference to Video accept?

Up to 7 elements total, with at most 3 video elements. Each image element takes 2–4 images and each video element takes 1 video of 3–8 seconds.

Can Kling 4.0 Flash Reference to Video use a start frame?

Yes. Pass 1 image in image_urls alongside at least one reference image, reference video, or kling_element.

What is the maximum total asset count in Kling 4.0 Flash Reference to Video?

Start frame, reference images, reference videos, and kling_elements combined can total at most 15 assets.