curl --request POST \
--url https://castar.world/openapi/v2/aigc/video/kling-v2.6-pro/create \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"model": "kling-v2.6-pro",
"prompt": "<string>",
"duration": 123,
"feature": {
"generationType": "Text2Video",
"aspectRatio": "16:9",
"generateAudio": true
},
"negativePrompt": ""
}
'