Image2Video_HQ(Image to Video HQ-5s)
POST
/klingai/m2v_img2video_hqThe Tucson video from Kling, in the 5-second HD format, is automatically upgraded to Kling-1.5.
Kling:https://klingai.kuaishou.com/
Price: 0.5 PTC / call
请求参数
Header Params
Authorization
string
optional
API Key from 302.AI backend
Example:
Bearer {{YOUR_API_KEY}}
Body Params multipart/form-data
input_image
file
required
First frame of the video;Support JPG/PNG format, file size not more than 10MB, size not less than 300px.
tail_image
file
optional
Last frame of the video, must be uploaded together with the first frame
prompt
string
optional
Video prompt
negative_prompt
string
optional
Unwanted content in the video
cfg
number
optional
Video creativity level, value [0, 1], 0 represents the highest creativity, 1 represents completely following the prompt
Example:
0.5
aspect_ratio
string
optional
three option support:1:1, 16:9, 9:16
Example:
1:1
camera_type
string
optional
Camera control, options: empty, horizontal, vertical, zoom, tilt, pan, roll, down_back, forward_up, right_turn_forward, left_turn_forward
Example:
zoom
camera_value
string
optional
Camera parameter, value range: [-10, 10]
Example:
-5
示例代码
Responses
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: 8 天前