Skip to main content
POST

Models

This endpoint only accepts kling-4-0/long-image. Each task produces exactly one long image; the number of images cannot be set. Fields that belong to one skill cannot be sent with the other — mixing them returns a 400 validation error.

Pricing

One long image per task at the official price, plus $0.003 for every input image (image_urls, style_image, subject_image):

Body Parameters

string
required
Model to use: kling-4-0/long-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.