Text-to-video
Send a prompt and a duration to get a 720p clip of 3–30 seconds. Duration defaults to 5 seconds.
Kling · AI video
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.
kling-video-v4-flashMODEL CAPABILITIES
Summarized from the current model catalog and API reference. Use the API docs for exact parameters.
Send a prompt and a duration to get a 720p clip of 3–30 seconds. Duration defaults to 5 seconds.
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.
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.
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.
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.
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
Per-second billing at a low rate suits frequent publishing and multi-version ad creative.
Use product photos as references to batch-generate showcase clips in different scenes and aspect ratios.
Prove out the shot and pacing at 720p before spending more on the final version.
PRICING
| Operation | Model | Unit 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 video | kling-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.
5 × $0.120610 × $0.1206(5 + max(5, 5)) × $0.0808QUICKSTART
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.
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
A clear process for procurement, finance, legal and engineering teams.
Issue an invoice in the console for the amount you actually topped up, whenever you need one.
A dedicated support and technical contact for integration and day-to-day questions.
TRUST
KLING MODEL FAMILY
Pick by task first, whether that is images, video generation, control, audio or assets, then compare modes, durations and prices.
SPECS
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
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.
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>.
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.
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.
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.
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.
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.
Kling models on AnyAIGC have unlimited concurrency by default for every account.
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.
Yes. You can issue invoices yourself in the console, for the amount you actually topped up.
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.
Yes. New accounts get 5 million tokens of trial credit, so you can test before deciding to top up. Top-ups start at $1.
Yes. Unused balance can be refunded with no fee. Contact support to start a refund.
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.
Sign up and get 5M trial tokens.
Get an API key