POST
/
v1
/
ai
/
image-to-video
/
kling-v2
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"
}'
{
"data": {
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"status": "IN_PROGRESS"
}
}

Important

The service allows up to 3 concurrent requests per user.

Authorizations

x-freepik-api-key
string
header
required

Your Freepik API key. Required for authentication. Learn how to obtain an API key

Body

application/json

Response

200
application/json

OK - Get the status of the kling-v2 task

The response is of type object.