Using width and height parameters with Kling 3.0 reference images

Last updated: February 13, 2026

When using reference images with Kling 3.0, the model automatically infers the size from the provided image. This means that width and height parameters are not supported or used by the model when frame images are present.

Why width and height parameters aren't supported with reference images

The Kling 3.0 model is designed to automatically determine the appropriate dimensions based on the reference image you provide. Since the size is inferred directly from the image, additional width and height parameters would be redundant and potentially conflicting.

Error handling for unsupported parameters

If you include width and height parameters when using reference images, the API will return an error rather than silently ignoring these parameters. This is an intentional design change from earlier versions (such as 2.5) where these parameters were sometimes silently ignored.

This new behavior ensures:

  • More predictable and consistent API responses

  • Immediate feedback when parameters are invalid or unsupported

  • Prevention of unexpected results in workflows

Best practices

When working with Kling 3.0 and reference images:

  • Remove width and height parameters from your API calls

  • Let the model automatically infer dimensions from your reference image

  • Ensure your reference image is already sized appropriately for your intended output