Authorization: Bearer ********************
{
"model_name": "string",
"prompt": "string",
"negative_prompt": "string",
"cfg_scale": 0,
"mode": "std(高性能)",
"camera_control": {
"type": "string",
"config": {
"horizontal": -10,
"vertical": -10,
"pan": -10,
"tilt": -10,
"roll": -10,
"zoom": -10
}
},
"aspect_ratio": "16:9",
"duration": "5",
"callback_url": "string"
}
curl --location --request POST 'https://api.mjdjourney.cn/kling/v1/videos/text2video' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"model_name": "string",
"prompt": "string",
"negative_prompt": "string",
"cfg_scale": 0,
"mode": "std(高性能)",
"camera_control": {
"type": "string",
"config": {
"horizontal": -10,
"vertical": -10,
"pan": -10,
"tilt": -10,
"roll": -10,
"zoom": -10
}
},
"aspect_ratio": "16:9",
"duration": "5",
"callback_url": "string"
}'
{
"code": 0,
"message": "string",
"request_id": "string",
"data": {
"task_id": "string",
"task_status": "string",
"created_at": 0,
"updated_at": 0
}
}