Kling O1 Pro - Create video from image
Authorizations
Your Magnific API key. Required for authentication. Learn how to obtain an API key
Body
Generate video using Kling O1 with first frame to last frame interpolation.
Best for:
- Creating smooth transitions between two images
- Animating static images with controlled start/end points
- Creating cinematic video sequences
Tips:
- Provide at least one frame (first_frame or last_frame)
- For best results, provide both frames with similar compositions
- Add a descriptive prompt to guide the motion
Optional 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"
Text prompt describing the desired motion in the video.
Examples:
- "Camera slowly pans across the landscape"
- "Person walks toward the camera with soft wind blowing"
- "Gentle zoom into the subject with bokeh effect"
2500First frame image (starting point of the video).
Supported formats:
- URL (must be publicly accessible)
- Base64 encoded image
Requirements:
- Minimum resolution: 300x300px
- Maximum file size: 10MB
"https://example.com/start-image.jpg"
Last frame image (ending point of the video).
Supported formats:
- URL (must be publicly accessible)
- Base64 encoded image
"https://example.com/end-image.jpg"
Video aspect ratio:
16:9: Widescreen9:16: Vertical1:1: Square
16:9, 9:16, 1:1 Video duration in seconds.
5: 5-second video10: 10-second video
5, 10 Response
OK
OK - The task exists and the status is returned