Create a video from an image using the Kling v2 model
Create a video from an image using the Kling v2 model
Important
The service allows up to 3 concurrent requests per user.
Authorizations
Your Freepik API key. Required for authentication. Learn how to obtain an API key
Body
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.
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"
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
{
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"status": "IN_PROGRESS"
}
Was this page helpful?