Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Use your APIPod API key as a Bearer token in the Authorization header.

Body

application/json
model
string
required

Public APIPod model ID.

Allowed value: "kling-2.6-motion-control"
prompt
string
required

A text description of the desired output.

Maximum string length: 2500
image_url
string
default:""
required

Reference image. The characters, backgrounds, and other elements in the generated video are based on the reference image. Supports .jpg/.jpeg/.png, max 10MB, size needs to be greater than 300px, aspect ratio 2:5 to 5:2.

video_url
string
default:""
required

Reference video. The character actions in the generated video are consistent with the reference video. Supports .mp4/.mov, max 100MB, 3-30 seconds duration depending on character_orientation.

character_orientation
enum<string>
default:image

Generate the orientation of the characters in the video. 'image': same orientation as the person in the picture (max 10s video). 'video': consistent with the orientation of the characters in the video (max 30s video).

Available options:
image,
video
keep_original_sound
boolean
default:true

Whether to keep the original audio of the video.

quality
enum<string>
default:std

Quality of generating videos.

Available options:
std,
pro

Response

200 - application/json

Task accepted

Standard response for task submission

code
integer
required
data
Task Submit Data · object
required

Data content for task submission

message
string
required