Generate a video from an image or extend an existing video using WAN 2.7.
Three generation modes:
start_image_url alone to animate from a starting imagestart_image_url and end_image_url for controlled start-to-end animationvideo_url to extend an existing video, optionally with end_image_url as the target ending frameKey features:
Your Freepik API key. Required for authentication. Learn how to obtain an API key
Generate video from an image or extend an existing video using WAN 2.7. Supports three modes:
start_image_url to animate from a starting imagestart_image_url and end_image_url for controlled start-to-end animationvideo_url to extend an existing video, optionally with end_image_url as the target ending frameOptional 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"
Optional text description to guide the video generation. Describe the desired motion, camera movements, and style.
5000"The character walks forward slowly with wind blowing through their hair"
Elements to avoid in the generated video.
Examples: "blurry, low quality, watermark, text, distortion, extra limbs"
500"watermark, text, distortion, blurry, extra limbs"
URL of the first-frame image to animate from. Must be publicly accessible.
Supported formats: JPEG, PNG, BMP, WEBP Dimensions: 240-8000px per side, aspect ratio between 1:8 and 8:1 Maximum file size: 20MB
"https://example.com/start-frame.jpg"
URL of the last-frame image. Use with start_image_url for controlled start-to-end animation, or with video_url as the target ending frame. Same format constraints as start_image_url.
"https://example.com/end-frame.jpg"
URL of an audio file to guide the video generation.
Supported formats: WAV, MP3 Duration: 2-30 seconds Maximum file size: 15MB
URL of an existing video to continue or extend.
Supported formats: MP4, MOV Duration: 2-10 seconds Dimensions: 240-4096px per side Maximum file size: 100MB
"https://example.com/input-video.mp4"
Output video resolution:
720P: 720p HD (1280x720)1080P: 1080p Full HD (1920x1080)720P, 1080P Duration of the output video in seconds. When using video continuation (video_url), this is the total output length including the input video duration.
2 <= x <= 155
Random seed for reproducible generation. Use the same seed with identical parameters to reproduce results. Leave unset for random seed.
0 <= x <= 214748364712345
Additional generation settings.
OK - The task exists and the status is returned
{
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"status": "CREATED",
"generated": [
"https://openapi-generator.tech",
"https://openapi-generator.tech"
]
}