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.
"https://img.freepik.com/free-photo/closeup-vertical-shot-cute-european-shorthair-cat_181624-34587.jpg?t=st=1746439555~exp=1746443155~hmac=a7507c7d4a48a81b22bf222d1e0f1808043c9113ef8aac31a595c9128914e8ed&w=740"
Duration of the generated video in seconds
5
, 10
"5"
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
"A cat moving his head"
Text prompt describing what to avoid in the generated video, cannot exceed 2500 characters
"Blurred or poor quality images"
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 task
{
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"status": "CREATED"
}