AnyAIGC
EN
Get an API key

Kling Kling · AI video

Kling Video V4 Flash API

Kling Video V4 Flash is the lightweight model in Kuaishou's Kling 4.0 series, built for high-frequency creative work with a focus on speed and cost. It supports text-to-video, first-frame image-to-video and reference-to-video at 720p. On AnyAIGC it is billed per second at $0.1206 / second with unlimited concurrency.

  • Model kling-video-v4-flash
  • Price $0.1206 / second
  • Output 720p · 3–30 s
  • Invoices Self-service
Official sample media: Kling AI developer platform

MODEL CAPABILITIES

What Kling Video V4 Flash can do

Summarized from the current model catalog and API reference. Use the API docs for exact parameters.

Text-to-video

Send a prompt and a duration to get a 720p clip of 3–30 seconds. Duration defaults to 5 seconds.

First and last frames

Mark an image in image_list as first_frame. An end_frame must be paired with a first_frame; sending only an end frame returns 400.

Multi-image reference

Up to 10 reference images, cited in the prompt as @image_1, @image_2 in the order you send them, to reuse characters, product looks and scenes.

Reference video

Up to 5 reference videos, feature reference only: public http(s) URLs, at least 3 seconds each and 30 seconds in total, to reuse camera moves and motion rhythm.

Subjects and voices

Up to 7 subjects in element_list and 3 voices in voice_list, cited as @element_1 and so on. All reference assets together may not exceed 15.

Aspect ratio and resolution

Output is fixed at 720p (send mode std or omit it). Aspect ratios are 21:9, 16:9, 9:16, 1:1, or adaptive to follow your assets.

USE CASES

Use cases

01

Social video at volume

Per-second billing at a low rate suits frequent publishing and multi-version ad creative.

02

E-commerce clips

Use product photos as references to batch-generate showcase clips in different scenes and aspect ratios.

03

Fast creative checks

Prove out the shot and pacing at 720p before spending more on the final version.

PRICING

Kling Video V4 Flash API pricing

OperationModelUnit price (USD)
Text, first-frame and multi-image reference (no reference video)kling-video-v4-flash$0.1206 / second
Reference-to-video with a reference videokling-video-v4-flash$0.0808 / second

With a reference video, billed seconds = output duration + max(total reference-video duration, output duration). Reference images, subjects and voices are not billed separately.

Prices in USD, charged on successful submission. See the model catalog for current prices.

Cost examples

  • 5-second text-to-video$0.6035 × $0.1206
  • 10-second first-frame video$1.20610 × $0.1206
  • 5 s output + 5 s reference video$0.808(5 + max(5, 5)) × $0.0808

QUICKSTART

Integrate the Kling Video V4 Flash API

  1. 1Sign up, create an API key and set ANYAIGC_API_KEY
  2. 2POST /kling/v1/videos/omni-video to submit a task and get its task_id
  3. 3Poll GET /kling/v1/videos/omni-video/{id} and download the video when it succeeds

Set model_name to "kling-video-v4-flash". This model outputs 720p only: mode must be std or omitted, resolution must be 720p or omitted, and pro or 1080p returns 400 with no charge. Put reference images and videos in image_list and video_list and cite them as @image_1 and @video_1 in the prompt.

Read the API reference ↗ · See task-query documentation ↗

cURL

curl --request POST "https://anyaigc.ai/kling/v1/videos/omni-video" \
  --header "Authorization: Bearer $ANYAIGC_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
  "model_name": "kling-video-v4-flash",
  "prompt": "The camera glides down to a neon street after rain as an orange cat walks across the wet pavement, cinematic lighting",
  "duration": 5,
  "aspect_ratio": "16:9"
}'

# Query the result with the returned data.task_id
curl "https://anyaigc.ai/kling/v1/videos/omni-video/$TASK_ID" \
  --header "Authorization: Bearer $ANYAIGC_API_KEY"

Python

import json
import os
import time
import urllib.request

BASE = "https://anyaigc.ai"
HEADERS = {
    "Authorization": "Bearer " + os.environ["ANYAIGC_API_KEY"],
    "Content-Type": "application/json",
}


def call(method, path, payload=None):
    data = json.dumps(payload, ensure_ascii=False).encode("utf-8") if payload else None
    request = urllib.request.Request(BASE + path, data=data, headers=HEADERS, method=method)
    with urllib.request.urlopen(request, timeout=60) as response:
        return json.load(response)


payload = {
    "model_name": "kling-video-v4-flash",
    "prompt": "The camera glides down to a neon street after rain as an orange cat walks across the wet pavement, cinematic lighting",
    "duration": 5,
    "aspect_ratio": "16:9"
}

task_id = call("POST", "/kling/v1/videos/omni-video", payload)["data"]["task_id"]
print("task_id:", task_id)

# Poll every 10 seconds; print the video URL once the task succeeds
for _ in range(90):
    data = call("GET", f"/kling/v1/videos/omni-video/{task_id}")["data"]
    if data["task_status"] == "succeed":
        break
    if data["task_status"] == "failed":
        raise RuntimeError(data.get("task_status_msg"))
    time.sleep(10)
else:
    raise TimeoutError(task_id)

for video in data["task_result"]["videos"]:
    print(video["url"])

Image + video reference (JSON)

{
  "model_name": "kling-video-v4-flash",
  "prompt": "Follow the camera path and pacing of @video_1, with the subject replaced by @image_1",
  "duration": 5,
  "image_list": [
    {
      "image_url": "https://example.com/subject.jpg"
    }
  ],
  "video_list": [
    {
      "video_url": "https://example.com/motion.mp4",
      "refer_type": "feature"
    }
  ]
}

ENTERPRISE

Kling Video V4 Flash API for teams and enterprises

A clear process for procurement, finance, legal and engineering teams.

Invoices

Issue them yourself

Issue an invoice in the console for the amount you actually topped up, whenever you need one.

Dedicated support

Account and technical contact

A dedicated support and technical contact for integration and day-to-day questions.

Payment methods:WeChat Pay · Alipay · USDT · Credit card

TRUST

Why teams trust AnyAIGC

KLING MODEL FAMILY

Choose a Kling model

Pick by task first, whether that is images, video generation, control, audio or assets, then compare modes, durations and prices.

SPECS

Specs and how to choose it

Kling 4.0 Flash (kling-4.0-flash) generates videos from 3 to 20 seconds, with 720P SDR as the only output.

Supported aspect ratios are 21:9, 16:9, 1:1, 9:16, 4:3, 3:4 and adaptive.

Omni reference generation accepts up to 5 reference videos and 7 subjects, with each reference video and the total length between 3 and 20 seconds.

Kling describes it as a lighter, lower-cost model that supports omni reference, video editing and multilingual speech.

This page lists Text, first-frame and multi-image reference (no reference video) at $0.1206 / second, Reference-to-video with a reference video at $0.0808 / second, matching the pricing table above.

Specs come from the vendor's official documentation (klingai.com). The table on this page is the price, and the model catalog is authoritative for live rates.

FAQ

Kling Video V4 Flash API FAQ

How much does the Kling Video V4 Flash API cost?

It is billed per second: $0.1206 per second without a reference video and $0.0808 per second with one, always at 720p. Prices are in USD, charged on successful submission; see the model catalog for current rates.

Which endpoint should I call?

Submit with POST /kling/v1/videos/omni-video, setting model_name to kling-video-v4-flash, and fetch results with GET /kling/v1/videos/omni-video/{id}. The API host is https://anyaigc.ai and the header is Authorization: Bearer <API Key>.

Which generation modes are supported?

Text-to-video, first-frame and first-and-last-frame image-to-video, up to 10 reference images, up to 5 reference videos, plus up to 7 subjects and 3 voices. All reference assets together may not exceed 15. See the API reference for the exact fields.

How is it billed, and why is the rate lower with a reference video?

Without a reference video, billed seconds equal the output duration at $0.1206 per second. With one, the rate is $0.0808 per second but billed seconds = output duration + max(total reference-video duration, output duration); a 5-second output with a 5-second reference video bills 10 seconds, or $0.808. Reference images, subjects and voices are free.

What are the resolution, duration and aspect-ratio limits?

Output is fixed at 720p: mode must be std or omitted and resolution must be 720p or omitted; pro or 1080p returns 400 with no charge. duration is an integer from 3 to 30 seconds, default 5. Aspect ratios are 21:9, 16:9, 9:16, 1:1 and adaptive.

What is not supported?

This model does not support sound (on returns 400), multi_shot, the 4K mode, or video editing with refer_type base. Reference videos must use feature.

How do I get the result?

The API is asynchronous. Submission returns a task_id; poll the query endpoint and, once the task succeeds, read the video URL from task_result. Check the API reference for the exact status values and response fields.

Are there concurrency limits?

Kling models on AnyAIGC have unlimited concurrency by default for every account.

Can I use the videos commercially?

Usage rights and content policy follow Kuaishou Kling's official terms. Make sure you have the rights to any reference images or videos you upload.

Can I get an invoice from AnyAIGC?

Yes. You can issue invoices yourself in the console, for the amount you actually topped up.

Which payment methods are supported?

You can top up with WeChat Pay, Alipay, USDT or a credit card. Your balance is in USD and works across every model on the platform. Invoices can be issued in the console for the amount you topped up.

Is there free trial credit for new users?

Yes. New accounts get 5 million tokens of trial credit, so you can test before deciding to top up. Top-ups start at $1.

Can I get a refund on my balance?

Yes. Unused balance can be refunded with no fee. Contact support to start a refund.

Are these the real models? Is my data safe?

Requests go to official model channels, never cheaper or reverse-engineered substitutes. Unless the law requires it, we do not persistently store your prompts or outputs or use them for training, and the console shows the cost of every request.

Start using Kling Video V4 Flash

Sign up and get 5M trial tokens.

Get an API key