Authorizations
Your Freepik API key. Required for authentication. Learn how to obtain an API key
Body
Duration of the generated video in seconds
5
, 10
Optional callback URL that will receive asynchronous notifications whenever the task changes status. The payload sent to this URL is the same as the corresponding GET endpoint response, but without the data field.
"https://www.example.com/webhook"
Reference Image. Supports Base64 encoding or URL (ensure accessibility). For URL, must be publicly accessible. The image file size cannot exceed 10MB, and the resolution should not be less than 300x300px. Aspect ratio should be between 1:2.5 ~ 2.5:1.
Text prompt describing the desired motion, cannot exceed 2500 characters
Text prompt describing what to avoid in the generated video, cannot exceed 2500 characters
Flexibility in video generation; The higher the value, the lower the model's degree of flexibility, and the stronger the relevance to the user's prompt.
0 <= x <= 1
Response
OK - Get the status of the kling-v2-5-pro task
{
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"status": "CREATED"
}