Create a video from an image - Kling 1.6 pro model
Generate a video from an image using the Kling 1.6 Pro 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
Webhook URL to notify the user when the task is completed
Reference Image - End frame control. Supports Base64 encoding or URL. For URL, must be publicly accessible. Must follow the same format requirements as the 'image' field. (Optional) Not compatible with standard mode.
● Supported image formats include .jpg / .jpeg / .png ● The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px ● At least one parameter should be filled in between parameter image and parameter image_tail; cannot both be empty at the same time
Text prompt describing the desired motion, 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
Static mask image for defining motion brush application areas.
● Supports both Base64 encoding and image URLs (ensure URLs are publicly accessible and follow the same format requirements as the image
field).
● Supported image formats include .jpg / .jpeg / .png.
● The aspect ratio of the mask image MUST match the input image (image
field); otherwise, the task will fail.
● The resolutions of the static_mask
image and the dynamic_masks.mask
images must be identical; otherwise, the task will fail.
● The static brush feature allows you to define areas where motion will be applied in the generated video.
Response
{
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"status": "IN_PROGRESS"
}
Was this page helpful?