Kling Image 4.0 是可灵 AI 即将推出的图片模型。可灵已官宣「即将推出」,但还没有公布规格、价格和上线时间。在 Kling Image 4.0 的资料公布前,下方工作台按官方 Kling Image 3.0 Omni 的参数配置。
Kling Image 4.0 API 工作台
可灵尚未公布 Kling Image 4.0 的规格。本工作台暂按官方 Kling Image 3.0 Omni 的参数配置,正式上线前 RUN 不可用。
最多 2,500 个字符。按添加顺序用 <<<image_1>>> 等指代参考图。
最多 10 张公网 http(s) 图片地址。Kling Image 3.0 Omni 要求 JPG 或 PNG、不超过 10MB、最短边至少 300px、宽高比在 1:2.5 到 2.5:1 之间。
生成的图片会显示在这里
可灵 AI 用「Stunningly realistic. Sharp. Precise.」(逼真、清晰、精准)介绍 Kling Image 4.0,并表示即将推出。在可灵公布更多细节之前,本页只写官方确认的内容;工作台按现有 Kling Image 3.0 Omni 的参数,帮你提前准备 kling-image-4-0 请求。
以下 Kling Image 4.0 API 示例使用 APIMart 通用的异步任务格式和工作台参数;在可灵公布 Kling Image 4.0 规格前,参数按 Kling Image 3.0 Omni 配置。
把 APIMart API Key 保存为环境变量 APIMART_API_KEY。Kling Image 4.0 API 示例在提交与查询任务时都会发送 Authorization: Bearer <key>。
向 POST /v1/images/generations 发送请求,model 设为 kling-image-4-0,并带上提示词、size 与 resolution;需要参考图时加 image_urls。从 data[0].task_id 读取任务 ID。
调用 GET /v1/tasks/{task_id}。任务完成时读取 data.result.images[0].url[0],失败时读取 data.error.message。
APIMart 鉴权与通用用法见 APIMart 文档。
curl -X POST https://api.apimart.ai/v1/images/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-image-4-0",
"prompt": "雨夜里霓虹灯下的街道,一位穿黄色雨衣的骑车人经过拉面摊,电影感光影,地面倒影清晰",
"size": "16:9",
"resolution": "2k",
"n": 1
}'import os
import time
import requests
API_BASE = "https://api.apimart.ai"
headers = {"Authorization": f"Bearer {os.environ['APIMART_API_KEY']}"}
# 1. Submit the generation task
payload = {
"model": "kling-image-4-0",
"prompt": "雨夜里霓虹灯下的街道,一位穿黄色雨衣的骑车人经过拉面摊,电影感光影,地面倒影清晰",
"size": "16:9",
"resolution": "2k",
"n": 1
}
resp = requests.post(f"{API_BASE}/v1/images/generations", headers=headers, json=payload, timeout=60)
resp.raise_for_status()
task_id = resp.json()["data"][0]["task_id"]
# 2. Poll the task until it finishes
for _ in range(200):
task_resp = requests.get(f"{API_BASE}/v1/tasks/{task_id}", headers=headers, timeout=30)
task_resp.raise_for_status()
task = task_resp.json()["data"]
if task["status"] == "completed":
print(task["result"]["images"][0]["url"][0])
break
if task["status"] == "failed":
raise RuntimeError(task.get("error", {}).get("message", "generation failed"))
time.sleep(3)
else:
raise TimeoutError(f"task {task_id} did not finish in time; continue GET polling with this task ID")curl -X POST https://api.apimart.ai/v1/images/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-image-4-0",
"prompt": "把 <<<image_1>>> 里的运动鞋放在黄昏时分潮湿的水泥台阶上,低机位,浅景深",
"image_urls": [
"https://example.com/sneaker.png"
],
"size": "1:1",
"resolution": "2k",
"n": 1
}'TASK_ID="task_xxx" # replace with the task_id returned by the POST request
curl "https://api.apimart.ai/v1/tasks/$TASK_ID" \
-H "Authorization: Bearer $APIMART_API_KEY"| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
model | string | 必填 | 默认值: kling-image-4-0 | 本页工作台与示例使用的型号值。最终型号 ID 以模型上线时为准。 |
prompt | string | 必填 | 默认值: — | 画面描述,最多 2,500 个字符。按数组顺序用 <<<image_1>>>、<<<image_2>>> 等指代参考图。 |
image_urls | string[] | 可选 | 默认值: — | 最多 10 张参考图的公网 http(s) 地址。Kling Image 3.0 Omni 要求 JPG 或 PNG、不超过 10MB、最短边至少 300px、宽高比在 1:2.5 到 2.5:1 之间。 |
size | string | 可选 | 默认值: auto | 画面比例:16:9、9:16、1:1、4:3、3:4、3:2、2:3、21:9 或 auto。 |
resolution | string | 可选 | 默认值: 1k | 1k、2k 或 4k。 |
result_type | string | 可选 | 默认值: single | single 生成多张独立图片,series 生成一组相互关联的系列图。 |
n | integer | 可选 | 默认值: 1 | 图片张数,1~9。仅在 result_type 为 single 时使用。 |
series_amount | integer | string | 可选 | 默认值: 4 | 系列图张数,2~9,或 auto 由模型决定。仅在 result_type 为 series 时使用。 |
watermark | boolean | 可选 | 默认值: false | 是否同时返回带水印的结果。 |
可灵对 Kling Image 4.0 已确认的信息,以及现在能在 APIMart 工作台里准备的内容。
现在就把请求准备好,等可灵公布 Kling Image 4.0 规格后再按需调整。
创建 API Key,填好提示词和参考图,再检查 JSON。
在 APIMart 控制台创建 API Key。同一个 Key 可调用 APIMart 上的所有模型,请求时以 Authorization: Bearer <key> 发送。
描述你想要的画面,以 http(s) 地址添加最多 10 张参考图,再选择单张或系列图、画面比例和分辨率。
切换到 JSON 逐项检查字段。在 Kling Image 4.0 登陆 APIMart 之前,RUN 保持禁用。
关于 Kling Image 4.0 上线进度、工作台参数、API Key 与名称的解答。
Kling Image 4.0 是可灵 AI 的下一代图片生成模型。可灵 AI 是快手旗下的 AI 创作平台,也是 Kling 视频模型的开发团队。官方已预告它即将推出,并用「Stunningly realistic. Sharp. Precise.」(逼真、清晰、精准)来介绍。
还不能。本页是预览页:你可以在工作台准备并检查 kling-image-4-0 请求,但在模型登陆 APIMart 之前 RUN 保持禁用,不会提交任务。
可灵还没有公布发布日期,官方只说 Kling Image 4.0 即将推出。可灵公布更多信息后,本页会同步更新。
可灵尚未公布 Kling Image 4.0 的规格,包括分辨率、画面比例、参考图上限和提示词长度。其他网站上流传的规格都没有得到可灵确认。
在已公开文档的 Kling Image API 系列中,Kling Image 3.0 Omni 能力最全。按它的参数配置,可以现在就准备贴近实际的请求。Kling Image 4.0 官方文档发布后,我们会逐项核对所有参数。
工作台和 API 示例使用 kling-image-4-0。APIMart 会在 Kling Image 4.0 上线时确认最终型号 ID;如有变化,本页会同步更新。
可灵还没有公布 Kling Image 4.0 的价格,APIMart 的价格也尚未确定。模型在 APIMart 上线后,价格会显示在本页。
在 APIMart 控制台创建 API Key 即可。一个 APIMart API Key 可调用所有模型,不需要为 Kling Image 4.0 单独申请。
按 Kling Image 3.0 Omni 的规则最多 10 张。以公网 http(s) 地址添加,并在提示词里用 <<<image_1>>>、<<<image_2>>> 等指代。Kling Image 3.0 Omni 支持不超过 10MB 的 JPG 或 PNG。
分辨率可选 1K、2K、4K,比例可选 16:9、9:16、1:1、4:3、3:4、3:2、2:3、21:9 或 auto。这些与 Kling Image 3.0 Omni 一致,可灵尚未确认 Kling Image 4.0 的选项。
result_type 设为 single 时,生成 1~9 张相互独立的图片(n);设为 series 时,生成 2~9 张人物与风格一致的系列图(series_amount),也可设为 auto 由模型决定张数。
不是。Kling 4.0 和 Kling 4.0 Flash 是可灵的视频模型,已在 APIMart 上线;Kling Image 4.0 是另一个图片模型,目前只是官宣、尚未发布。
可灵还没有公布两者的对比。作为参考,Kling Image 3.0 Omni 已支持原生 2K / 4K 输出和系列图生成。可灵公布官方差异后,我们会补充到本页。
是。可灵有时把名称写成「Kling IMAGE」,可灵 AI Image 4.0 只是在前面加了公司名。你也可能看到 Kling Image 4、Kling 4.0 Image、Kling-Image-4.0、KlingImage 4.0 或「可灵图片 4.0」等写法,它们都指同一个即将推出的模型,本工作台称它为 kling-image-4-0。
探索同类型的其他模型。

MiniMax H3 Image
Built for image quality and prompt adherence. It handles text-to-image, reference-based generation and image editing. MiniMax says it can generate a 4K (4096 × 4096) image in under 10 seconds and work with up to 16 reference images. In Chinese launch coverage, MiniMax puts its speed at about 1.5 to 2 times that of mainstream tools.

MiniMax H3 Image Highspeed
Built for speed. The same coverage puts it at about 3 to 4 times faster than mainstream tools, which suits batch jobs or anything that needs fast turnaround.

Seedream 5.5
Seedream 5.5 brings your imagination to life through expressive visuals. From dreamy illustrations to cinematic scenes and product concepts, explore color, texture, and light to shape images that tell your story.

GPT Image 2.6 Sunburst
GPT Image 2.6 Sunburst brings a fresh burst of creativity to your ideas. From vibrant illustrations to atmospheric scenes and striking product concepts, explore rich colors, expressive lighting, and thoughtful compositions that make your vision shine.