Kling Motion Generation API
POSThttps://api.acedata.cloud/kling/motion
The official motion control feature of Kling, for specific usage methods, refer to the official documentation: https://app.klingai.com/cn/dev/document-api/apiReference/model/motionControl
Related Products
Kling - Ace Data Cloud
Kling video generation platform, directly interfaces with this API, high-speed and stable availability.
Request Headers
acceptstring
The format of the response returned by the specified server should be set to `application/json`.
Please select
authorizationstring
Bearer token
Request Body
image_urlstringRequired parameter
Reference image URL: The characters, background, and other elements in the generated video are all based on this reference image.
video_urlstringRequired parameter
Reference video URL: The character movements in the generated video will be consistent with this reference video.
promptstring
Text prompts can contain both positive and negative descriptions simultaneously.
modestringRequired parameter
Video generation mode, optional, enumeration values: `std` (standard mode, 720p, lower consumption) or `pro` (professional mode, 1080p, higher image quality). The default value is `std`.
model_namestring
Model name, optional, enumeration values: `kling-v2-6` or `kling-v3`. If not provided, the server's default model will be used.
Please select
keep_original_soundstring
Whether to keep the original audio of the reference video, optional, enumeration values: `yes` (keep) or `no` (remove). The default value is `yes`.
Please select
character_orientationstringRequired parameter
Generate the orientation of characters in the video, which can be chosen to be consistent with the reference image (`image`) or reference video (`video`).
watermark_infoobject
Watermark configuration, optional. The object format is `{ "enabled": true }`. When `enabled` is set to `true`, results with watermarks are generated additionally, and custom watermarks are not supported at this time.
enabledboolean
Please select
callback_urlstring
Callback URL, after the video generation is complete, the system will send a callback notification to this URL.
asyncboolean
Whether to process in asynchronous mode. When set to `true`, the interface immediately returns `task_id`, without the need to provide `callback_url`, and then the result can be obtained by polling the corresponding task query interface; if `callback_url` is also provided, the result will be pushed to that callback address.
Please select
Response

Integration guide
Kind reminder: For streaming requests, the above code may not be fully applicable. Please refer to the integration documentation for changes.
Kling video generation
Allow Use General Balance
When 'Allow General Balance' is enabled, the general balance is used automatically if an app's balance is insufficient.