Character image as a public URL or a raw Base64 string. Send raw Base64 without a data:image/...;base64, prefix; data-URI input is outside the compatible contract. Supported formats are JPG, JPEG, and PNG. The image must be 10 MB or smaller. Its width and height must each be from 300 through 65,536 pixels, and its aspect ratio must be between 1:2.5 and 2.5:1.
video_url
string<uri>
必須
Public reference motion video URL. Use an MP4 or MOV file that is 100 MB or smaller. The short edge must be at least 340 pixels, and the long edge must not exceed 3850 pixels. The video must be at least 3 seconds long. The maximum duration depends on character_orientation.
character_orientation
enum<string>
必須
Required compatible string enum. With image, the reference video can be 3 to 10 seconds long. With video, the reference video can be 3 to 30 seconds long.
利用可能なオプション:
image,
video
model_name
enum<string>
デフォルト:kling-v2-6
Model ID for this compatible Motion Control request. Omit this field to use kling-v2-6. The kling-v3 value keeps this compatible request shape; it does not select the separate Kling 3.0 path-version contract.
利用可能なオプション:
kling-v2-6,
kling-v3
prompt
string
Optional text field in the compatible request structure. Maximum 2500 characters.
Maximum string length: 2500
keep_original_sound
enum<string>
デフォルト:yes
Compatible string enum. Accepted values are yes and no. Omitted requests use yes.
利用可能なオプション:
yes,
no
mode
enum<string>
デフォルト:std
Both compatible models accept std and pro. Omitted requests use std.
利用可能なオプション:
std,
pro
callback_url
string<uri>string
Optional callback field in the compatible structure. Provide a URI, or omit the field or send an empty string when no callback URI is configured.
external_task_id
string
Optional ID for correlation in your application. The value must be unique for your account. Store the returned task_id for CometAPI status queries.
element_list
object[]
Optional compatible Element structure. Provide at most one object, and combine this field only with character_orientation: video.
Maximum array length: 1
Show child attributes
watermark_info
object
Optional compatible watermark structure.
Show child attributes
レスポンス
200 - application/json
Task accepted.
code
integer
必須
Response code. A value of 0 indicates that the request was accepted.