Txt2Video_HQ(Text to Video HQ-10s)
POST
/klingai/m2v_txt2video_hq_10sText-to-video generated by Kling, a High-quality 10-second version.
Kling:https://klingai.kuaishou.com/
Price: 1 PTC / call
请求参数
Header 参数
Authorization
string
可选
API Key from 302.AI backend
示例值:
Bearer {{YOUR_API_KEY}}
Body 参数multipart/form-data
prompt
string
必需
Video prompt
示例值:
Telephoto Lens Shot, Ground Shot, Blinding Sunlight, a Camel, Smoke and Dust in Xinjiang Gobi
negative_prompt
string
可选
Unwanted content in the video
cfg
number
可选
Video creativity level, value [0, 1], 0 represents the highest creativity, 1 represents completely following the prompt
示例值:
0.5
aspect_ratio
string
可选
three option support:1:1, 16:9, 9:16
示例值:
1:1
camera_type
string
可选
Camera control, options: empty, horizontal, vertical, zoom, tilt, pan, roll, down_back, forward_up, right_turn_forward, left_turn_forward
示例值:
zoom
camera_value
string
可选
Camera parameter, value range: [-10, 10]
示例值:
-5
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例
{}
最后修改时间: 4 天前