All models

Kling 4.0

New Launched on IteraCompute

Online
kling/kling-4.0
Tool calling
UnsupportedTool calling · Unsupported
Reasoning
UnsupportedReasoning · Unsupported
Vision
SupportedVision · Supported
Streaming
UnsupportedStreaming · Unsupported
JSON mode
UnsupportedJSON mode · Unsupported

USD unit prices · rounded up to 3 decimal places for display

720P · without video input · per billable second
$0.157
720P · with video input · per billable second
$0.094
1080P · without video input · per billable second
$0.235
1080P · with video input · per billable second
$0.141
4K · without video input · per billable second
$0.549
4K · with video input · per billable second
$0.329
1080P · HDR surcharge per output second
$0.047
4K · HDR surcharge per output second
$0.078
Precision
Official precision
Price checked

Overview

Kling 4.0 supports Text to video, Image to video, Multimodal video creation. Resolution tiers: 720P / 1080P / 4K. Duration: 3–30 seconds. With video input, billable seconds equal output seconds plus the larger of input and output seconds.

Version
kling-4.0
Input / output
text, image, video / video
Endpoint
/v1/videos, /v1/videos/{video_id}, /v1/videos/{video_id}/content

API protocols and integration

Authorization: Bearer ITERACOMPUTE_API_KEY

  • POST /v1/videos
  • GET /v1/videos/{video_id}
  • GET /v1/videos/{video_id}/content

Draft contract pending native acceptance. Submit once and poll the original task. Settlement uses native meters. Encoded dimensions may align to model tiers and reference aspect ratios. CNY list prices, procurement and retail terms are reviewed separately; unconfirmed retail prices prevent dispatch.

LLMs.txt
LLMs.txt
# kling/kling-4.0
Revision: 5a1d2320a552877f23cf37383cad9ece3991666eeb1b4b2d7aa2caaef5c51416
Authorization: Bearer ITERACOMPUTE_API_KEY
POST https://api.iteracompute.com/v1/videos
GET https://api.iteracompute.com/v1/videos/{video_id}
GET https://api.iteracompute.com/v1/videos/{video_id}/content

- operation · enum · Native VOD field; see this model's nested parameter contract. · ["t2v","i2v","omni"]
- prompt · string · Native VOD field; see this model's nested parameter contract.
- contents · array · Native VOD field; see this model's nested parameter contract.
- settings · object · Native VOD field; see this model's nested parameter contract.
- options · object · Native VOD field; see this model's nested parameter contract.

Install requests and set ITERACOMPUTE_API_KEY. Submit once and save the task ID. Poll and download with the same key. If the wait expires, continue polling the printed ID.

import json
import time
import os
from pathlib import Path
import requests

base = "https://api.iteracompute.com/v1"
headers = {"Authorization": "Bearer " + os.environ["ITERACOMPUTE_API_KEY"]}
payload = json.loads("{\n  \"model\": \"kling/kling-4.0\",\n  \"prompt\": \"A blue paper cube on a light background\",\n  \"settings\": {\n    \"duration\": 3,\n    \"resolution\": \"720p\",\n    \"aspect_ratio\": \"16:9\"\n  }\n}")
r = requests.post(base + "/videos", headers=headers, json=payload, timeout=60)
r.raise_for_status()
job = r.json()["id"]
print("Video ID:", job, flush=True)
path = base + "/videos/" + job
deadline = time.monotonic() + 900
while time.monotonic() < deadline:
    r = requests.get(path, headers=headers, timeout=30)
    r.raise_for_status()
    status = r.json()["status"]
    if status == "completed":
        r = requests.get(path + "/content", headers=headers, timeout=120)
        r.raise_for_status()
        Path("result.mp4").write_bytes(r.content)
        break
    if status in ("failed", "cancelled"):
        raise RuntimeError(status)
    time.sleep(5)
else:
    raise TimeoutError(job)

API parameters

  • Submit once to POST /v1/videos. Retain the task ID for polling and download.

These parameters and ranges describe the current route. Account and context limits also apply. Parameter acceptance does not establish model capability.

Tool calling
Unsupported
Reasoning
Unsupported
Vision
Supported
Streaming
Unsupported
JSON mode
Unsupported

Parameters and values

Click a parameter to copy its name; scroll the table horizontally to see all columns. Usage notes identify protocol differences; identical names do not guarantee cross-endpoint support.

ParameterTypeAcceptanceRangeUsage / protocol
stringAccepted—Native VOD field; see this model's nested parameter contract.
objectAccepted—Native VOD field; see this model's nested parameter contract.
arrayAccepted—Native VOD field; see this model's nested parameter contract.
objectAccepted—Native VOD field; see this model's nested parameter contract.
enumAccepted["t2v","i2v","omni"]Native VOD field; see this model's nested parameter contract.

Current configuration example

POST /v1/videos

Example request
{
  "model": "kling/kling-4.0",
  "prompt": "A blue paper cube on a light background",
  "settings": {
    "duration": 3,
    "resolution": "720p",
    "aspect_ratio": "16:9"
  }
}

Parameter revision:5a1d2320a552

API

Install requests and set ITERACOMPUTE_API_KEY. Submit once and save the task ID. Poll and download with the same key. If the wait expires, continue polling the printed ID.

Python
import json
import time
import os
from pathlib import Path
import requests

base = "https://api.iteracompute.com/v1"
headers = {"Authorization": "Bearer " + os.environ["ITERACOMPUTE_API_KEY"]}
payload = json.loads("{\n  \"model\": \"kling/kling-4.0\",\n  \"prompt\": \"A blue paper cube on a light background\",\n  \"settings\": {\n    \"duration\": 3,\n    \"resolution\": \"720p\",\n    \"aspect_ratio\": \"16:9\"\n  }\n}")
r = requests.post(base + "/videos", headers=headers, json=payload, timeout=60)
r.raise_for_status()
job = r.json()["id"]
print("Video ID:", job, flush=True)
path = base + "/videos/" + job
deadline = time.monotonic() + 900
while time.monotonic() < deadline:
    r = requests.get(path, headers=headers, timeout=30)
    r.raise_for_status()
    status = r.json()["status"]
    if status == "completed":
        r = requests.get(path + "/content", headers=headers, timeout=120)
        r.raise_for_status()
        Path("result.mp4").write_bytes(r.content)
        break
    if status in ("failed", "cancelled"):
        raise RuntimeError(status)
    time.sleep(5)
else:
    raise TimeoutError(job)

Manage API keys

Pricing

USD unit prices · rounded up to 3 decimal places for display

720P · without video input · per billable second$0.157
720P · with video input · per billable second$0.094
1080P · without video input · per billable second$0.235
1080P · with video input · per billable second$0.141
4K · without video input · per billable second$0.549
4K · with video input · per billable second$0.329
1080P · HDR surcharge per output second$0.047
4K · HDR surcharge per output second$0.078

Official list price reference

  • Customer prices match the official rates below. The benchmark is the higher of the comparable mainland and overseas list prices, in USD. The 2026-11-25 reference was CNY 6.678179 per USD.
  • Without input video per billable video second: 720p $0.157, 1080p $0.235, 4K $0.549
  • With input video no longer than output per billable video second: 720p $0.094, 1080p $0.141, 4K $0.329
  • With input video longer than output per billable video second: 720p $0.094, 1080p $0.141, 4K $0.329
  • HDR output surcharge per output video second: 1080p $0.047, 4K $0.078
Model ID
kling/kling-4.0
Verification scope and sources
View verification scope and sources

2026-11-27 · Text-to-video used a top-level prompt. Image-to-video used a prompt and first-frame image in contents. Both produced video. Two downloads of the text-to-video retest matched, and billing matched native usage.

Usage limits

  • Duration: 3–30 seconds. Resolution tiers: 720P / 1080P / 4K.
  • The combined frame limit is the smaller of 10 and the output duration in seconds plus one. HDR has a per-output-second surcharge at eligible tiers.
  • With video input, billable seconds equal output seconds plus the larger of input and output seconds.
  • For text-to-video, send a top-level prompt. For image-to-video, send the prompt and image in contents. Submit each mode separately.

Use cases

Text to video

Image to video

Multimodal video creation

Integration tools and guides

FAQ

How do I get started?

Open the native API example for this model

How is usage billed?

USD unit prices · rounded up to 3 decimal places for display

New arrivals

Explore the models selected for New Arrivals, with API pricing, supported capabilities and integration guides.

View new arrivals
New

Seedance 2.5 Flash · 261115

bytedance/doubao-seedance-2-5-flash-261115

Seedance 2.5 Flash · 261115 supports Generate video from a text description, Use frame conditioning or multimodal reference inputs. Resolution tiers: 480P / 720P.

Launched on IteraCompute

480P · with video input · per million video tokens
$4.30

USD unit prices · rounded up to 3 decimal places for display

New

Seedance 2.5 · 260628

bytedance/doubao-seedance-2-5-260628

Seedance 2.5 · 260628 supports Generate video from a text description, Use frame conditioning or multimodal reference inputs. Resolution tiers: 480P / 720P / 1080P / 4K.

Launched on IteraCompute

4K · with video input · per million video tokens
$2.90

USD unit prices · rounded up to 3 decimal places for display

New

Seedance 2.0 Fast · 260128

bytedance/doubao-seedance-2-0-fast-260128

Seedance 2.0 Fast · 260128 supports Generate video from a text description, Use frame conditioning or multimodal reference inputs. Resolution tiers: 480P / 720P.

Launched on IteraCompute

480P · with video input · per million video tokens
$3.30

USD unit prices · rounded up to 3 decimal places for display