kling/kling-image-expansion

文档
Schema

[Core Function] Kling Image Expansion is an outpainting model. [Strengths] It intelligently extends the borders of an image (horizontal, vertical, or asymmetric) while matching the original style and context. [Best For] Highly recommended for: changing aspect ratios, extending landscapes, and filling out cropped photos. [Limitations] Do NOT use this model for inpainting or style transfer. [Routing] Use this specifically when the user asks to 'expand', 'extend', or 'uncrop' an image.

$0.0320/img
image-to-image

输入

Positive prompt to guide content generation in expanded areas
Downward expansion ratio, based on original image height. Range: 0.0-2.0
Original image (URL or Base64 encoded, do not include 'data:' prefix for Base64). Supported formats: .jpg, .jpeg, .png. Maximum size: 10MB. Minimum dimensions: 300x300px
提示:可拖拽文件、从剪贴板粘贴(Ctrl/Cmd+V),或提供 URL。
Leftward expansion ratio, based on original image width. Range: 0.0-2.0
Rightward expansion ratio, based on original image width. Range: 0.0-2.0
Upward expansion ratio, based on original image height. Range: 0.0-2.0
Number of images to generate per request

结果

暂无结果

运行模型后,结果将在这里显示。

Next:

README

参数

参数名 描述 类型 必填 枚举值
prompt Positive prompt to guide content generation in expanded areas string -
down_expansion_ratio Downward expansion ratio, based on original image height. Range: 0.0-2.0 number -
image Original image (URL or Base64 encoded, do not include ‘data:’ prefix for Base64). Supported formats: .jpg, .jpeg, .png. Maximum size: 10MB. Minimum dimensions: 300x300px string -
left_expansion_ratio Leftward expansion ratio, based on original image width. Range: 0.0-2.0 number -
right_expansion_ratio Rightward expansion ratio, based on original image width. Range: 0.0-2.0 number -
up_expansion_ratio Upward expansion ratio, based on original image height. Range: 0.0-2.0 number -
n Number of images to generate per request integer -

价格

单位: $/img

价格
$0.0320/img