cURL
curl --request GET \ --url https://api.freepik.com/v1/ai/image-to-video/kling-v2-1/{task-id} \ --header 'x-freepik-api-key: <api-key>'
200
success - completed task
{ "data": { "generated": [ "https://ai-statics.freepik.com/completed_task_image.jpg" ], "task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee92", "status": "COMPLETED" }}
Get the status of the kling-v2-1 task
Your Freepik API key. Required for authentication. Learn how to obtain an API key
ID of the task
OK - The task exists and the status is returned
The response is of type object.
object
Was this page helpful?