APIMart
Kling 4.0 Flash model icon
Video

Kling 4.0 Flash API

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.

Five video modes720p · 3–20sAudio included

Service Highlights

  • Official Discounts
  • Pay-as-you-go
  • Fast & Low Latency
Input
5 seconds

Every video includes a generated soundtrack.

Output

Kling 4.0 Flash API Pricing

Transparent pricing with no hidden fees. Pay only for what you use.

VariantTierGoldCurrent pricePlatinumDiamondOfficialYour savings
kling-v4-flash720P-input0.5714Credits(~$0.0571)/sec0.5429Credits(~$0.0543)/sec0.5143Credits(~$0.0514)/sec0.7143Credits(~$0.0714)/sec20%
720P0.8571Credits(~$0.0857)/sec0.8143Credits(~$0.0814)/sec0.7714Credits(~$0.0771)/sec1.0714Credits(~$0.1071)/sec20%

* Actual costs are subject to final output.

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.

50K+

Active Users

99.9%

Uptime

2x

Faster

—

Cost Savings

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. 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. 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. 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.

    See the Kling 4.0 Flash API documentation for every parameter and error code.

POST /v1/videos/generations
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"
  }'

Kling 4.0 Flash API Parameters

ParameterTypeRequiredDefaultDescription
modelstringRequiredDefault: kling-v4-flashFixed model ID: kling-v4-flash.
promptstringOptionalDefault: —Required in every mode except image-to-video, where it may be omitted.
durationintegerOptionalDefault: 53–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.
resolutionstringOptionalDefault: 720pOnly 720p; pixel size varies by ratio (1:1 is 960×960, 21:9 is 1464×628). 1080p returns 400.
aspect_ratiostringOptionalDefault: —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_urlsstring[]OptionalDefault: —Image-to-video: exactly one first frame. Reference and edit: up to 10 reference images.
image_with_rolesobject[]OptionalDefault: —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_imagestringOptionalDefault: —First-frame image URL for image-to-video.
video_urlsstring[]OptionalDefault: —Reference videos: up to 5, at most 20 seconds combined. Edit or extend also accepts one entry instead of video_url.
video_urlstringOptionalDefault: —Input video for edit or extend; set omni_reference_task_type explicitly. Edit inputs must be 3–20 seconds.
omni_reference_task_typestringOptionalDefault: autoauto, reference, edit or extend. A video_url without edit or extend returns 400; put reference videos in video_urls.
audio_settingstringOptionalDefault: —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.

ModelBest forResolutionDuration
Kling 4.0 APIText, frame and multimodal generation, video editing and extension, always with stereo audio720P / 1080P3–30 s
Kling 4.0 Flash APIThis pageFaster 720p text, first-frame and reference generation, video editing and extension, always with audio720P3–20 s
Kling 3.0 APICinematic text-to-video and image-to-video with first/last-frame control and multi-shot prompts720P / 1080P / 4K3–15 s
Kling 3.0 Omni APIAll-in-one generation from text, images and video, with reference roles and video editing720P / 1080P / 4K3–15 s
Kling 3.0 Turbo APISpeed-optimized text-to-video and first-frame image-to-video720P / 1080P3–15 s
Kling Video O1 APIOne model for text-to-video, image references, first/last frames and video editing720P / 1080P5 s / 10 s
Kling 2.6 APINative audio (pro mode), dynamic masks and camera control720P / 1080P5 s / 10 s
Kling Motion Control 2.6 APITransfer motion from a reference video onto the subject of your image720P / 1080PFollows reference video
Kling 3.0 Motion Control APINewer Kling 3.0 generation of reference-video motion transfer720P / 1080PFollows reference video