cURL
required-params
curl --request POST \ --url https://api.freepik.com/v1/ai/image-to-video/kling-v2 \ --header 'Content-Type: application/json' \ --header 'x-freepik-api-key: <api-key>' \ --data '{ "image": "https://storage.googleapis.com/fc-freepik-pro-rev1-eu-static/landing-api/examples/freepik__upload__53227.png", "duration": "5"}'
200
example
{ "data": { "task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "status": "IN_PROGRESS" }}
Create a video from an image using the Kling v2 model
Your Freepik API key. Required for authentication. Learn how to obtain an API key
OK - Get the status of the kling-v2 task
The response is of type object.
object
Was this page helpful?