Kling 4.0 Flash API

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

Kling 4.0 Flash Text to Video turns a text prompt into a 3–20 second 720p clip across five aspect ratios at 18.8 credits per second. With the Kling 4.0 Flash API, scene continuity, camera direction, and audio cues stay consistent at lower unit cost.

Input
485/26000

Examples

Wildlife documentary tracking shot at blue hour in a snowy Hokkaido pine clearing: a wild red fox trots smoothly across deep untouched powder snow, leaving crisp paw prints, warm breath misting in the freezing air. Midway it pauses, ears pivoting sharply as a clump of snow slips off a dark cedar bough behind it. Natural twilight, steady lateral tracking camera, no cuts. Audio: soft crunching snow footsteps, gentle winter wind through pine needles. No text, no logos, no watermarks.

Vertical documentary close-up inside a quiet rural ceramics workshop: an artisan's wet clay-covered hands gently raise the rim of a tall stoneware vase on a smoothly spinning wooden wheel. Fine water droplets glisten on the clay as dust motes drift through warm late-afternoon window shafts. Shallow depth of field, slow steady push-in. Audio: rhythmic wooden wheel hum and soft wet clay slip. No logos, no readable text, no watermarks.

What is the Kling 4.0 Flash API?

Kling 4.0 Flash is Kuaishou's lighter, faster tier in the Kling 4.0 video lineup, outputting 720p clips from 3 to 20 seconds in a single pass. The Kling 4.0 Flash API creates scenes directly from prompts up to 26,000 characters across five aspect ratios, making it practical for rapid prototyping, social clips, and batch production.

Why choose the Kling 4.0 Flash API?

The Kling 4.0 Flash API combines 3–20 second single-pass 720p video generation with a lower per-second rate for high-volume workflows.

  • Lower 720p per-second rateBilled at 18.8 credits ($0.094) per output second instead of 28.5 credits on Kling 4.0.

  • Flexible 3–20 second clipsChoose any whole-second length from 3 to 20 seconds in one generation pass.

  • Five aspect ratio presetsSwitch cleanly between auto, 16:9, 9:16, 1:1, and 21:9 for landscape, square, or vertical feeds.

  • Long prompt capacityAccepts detailed prompts up to 26,000 characters for camera movement, lighting, and sound cues.

What parameters does the Kling 4.0 Flash API accept?

This API requires a text prompt and accepts optional duration (3–20 s) and aspect_ratio settings at a fixed 720p resolution.

ParameterRequirementDescription
promptRequired

Text description of action, camera work, lighting, and audio cues (1–26,000 characters).

Default—
durationOptional

Whole seconds from 3 to 20.

Default5
resolutionFixed

Fixed to 720p.

Default720p
aspect_ratioOptional

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

Default16:9

How do you use the Kling 4.0 Flash API?

Write a scene prompt, set duration and framing, then submit the task and poll until the 720p video URL is ready.

  1. Describe the sceneWrite subject motion, camera movement, lighting, and sound cues in the prompt.

  2. Set duration and framingPick a duration from 3 to 20 seconds and an aspect ratio such as 16:9 or 9:16.

  3. Submit the taskClick Run or POST to /api/generate/submit with kwaivgi/kling-v4.0-flash/text-to-video.

  4. Poll and downloadUse task_id to check status until finished, then read data.files[].file_url.

How much does the Kling 4.0 Flash API cost?

The Kling 4.0 Flash API costs 18.8 credits ($0.094) per output second at 720p. 1 credit = $0.005.

UsageRateDetails
720p output18.8 credits / second$0.094 per second. 5 seconds = 94 credits ($0.47); 10 seconds = 188 credits ($0.94); 20 seconds = 376 credits ($1.88).

What is the Kling 4.0 Flash API best for?

This API fits fast storyboard drafts, short-form vertical video, and multi-variant marketing campaigns.

  • Fast storyboard iterationDraft multiple visual directions at 720p before committing to heavier renders.

  • Short-form social videoGenerate 9:16 and 1:1 clips up to 20 seconds ready for vertical feeds.

  • Batch marketing variantsTest hooks, pacing, and scene variants at a lower per-second credit cost.

Pro Tips

  • Structure prompts chronologically for 10–20 second takes so motion progresses smoothly.
  • Specify explicit aspect ratios like 9:16 or 16:9 when delivering to fixed channels.
  • Include concrete lighting and camera directions rather than abstract quality adjectives.

Notes

  • Resolution is fixed to 720p and duration accepts whole seconds from 3 to 20.
  • Credits equal output seconds × 18.8 and are reserved on submission.

Kling 4.0 Flash API FAQ

What is the Kling 4.0 Flash API?

Kling 4.0 Flash Text to Video is a Kuaishou video generation model designed for fast, cost-efficient 720p production. The Kling 4.0 Flash API turns text prompts into 3–20 second videos across five aspect ratios at 18.8 credits per second. Single-pass generation keeps motion, framing, and scene details consistent while lowering unit cost compared with the full Kling 4.0 tier. You can call it programmatically or try it from the playground above.

How long can a Kling 4.0 Flash API clip be?

Any integer duration from 3 to 20 seconds in a single pass, defaulting to 5 seconds.

What resolution does the Kling 4.0 Flash API output?

It outputs exclusively at 720p. For 1080p output or clips up to 30 seconds, use Kling 4.0 Text to Video.

Which aspect ratios work in Kling 4.0 Flash Text to Video?

You can select auto, 16:9, 9:16, 1:1, or 21:9, with 16:9 as the default.

How much does the Kling 4.0 Flash API cost per second?

It costs 18.8 credits ($0.094) per output second. A 5-second clip is 94 credits ($0.47) and a 20-second clip is 376 credits ($1.88).

How long can the prompt be in Kling 4.0 Flash Text to Video?

Prompts accept 1 to 26,000 characters after trimming, giving enough room for detailed scene beats, camera movement, and sound cues.

How does Kling 4.0 Flash differ from Kling 4.0 Text to Video?

Kling 4.0 Flash focuses on 720p single-prompt clips up to 20 seconds at 18.8 credits/s, whereas Kling 4.0 adds 1080p, 30-second duration, and multi_prompt shot lists at 28.5–42.5 credits/s.