Skip to main content
POST

Models

This endpoint only accepts kling-4-0/image. Kling video models use the video endpoints. The same model also serves Image to Image: add image_urls or elements to use references.

Pricing

Billed per generated image at the official price: The total is the price per image × count. Each reference image or element adds $0.003 per task.

Body Parameters

string
required
Model to use: kling-4-0/image.
object
required
Input parameters for the generation.
string
URL to receive a webhook when the task completes.
object
Custom key-value metadata to attach to the task.