Kling 2.6 Pro - Create video from text or image
Kling 2.6
Kling 2.6 Pro - Create video from text or image
POST
Kling 2.6 Pro - Create video from text or image
Authorizations
Your Magnific API key. Required for authentication. Learn how to obtain an API key
Body
application/json
- Option 1
- Option 2
Text prompt describing the desired video to generate, cannot exceed 2500 characters
Maximum string length:
2500Duration of the generated video in seconds
Available options:
5, 10 Webhook URL to notify the user when the task is completed
Text prompt describing what to avoid in the generated video, cannot exceed 2500 characters
Maximum string length:
2500Flexibility in generation; The higher the value, the lower the model's degree of flexibility, and the stronger the relevance to the user's prompt.
Required range:
0 <= x <= 1Aspect ratio for the generated video
Available options:
widescreen_16_9, social_story_9_16, square_1_1 Whether to generate audio for the video
Response
OK
Example:
{
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"status": "CREATED",
"generated": [
"https://openapi-generator.tech",
"https://openapi-generator.tech"
]
}