跳转到主要内容

Model parameters

These models do not support the following common image generation parameters:
  • size
  • seed
  • quality
  • style_preset
  • response_format
  • output_format
  • mask
  • watermark
  • background
See also the official Kling Image v1 API reference.
kling-image-v1 supports these aspect_ratio values: 1:1, 16:9, 4:3, 3:2, 2:3, 3:4, and 9:16. kling-image-v1-5 supports 1:1, 16:9, 4:3, 3:2, 2:3, 3:4, 9:16, and 21:9. To supply a Base64-encoded reference image, pass the encoded string directly in image. Do not include a data URL prefix such as data:image/png;base64,. Use strength in place of Kling’s image_fidelity. It ranges from 0 to 1; higher values give the reference image more influence.

Text to image

Generate images from a text description:

Image to image

The JSON response contains the generated image URL: