Transform and edit existing videos using the Kling O1 (Omni) model.
Pricing
| Duration | Price |
|---|
| 3s | $0.144 |
| 4s | $0.192 |
| 5s | $0.24 |
| 6s | $0.288 |
| 7s | $0.336 |
| 8s | $0.384 |
| 9s | $0.432 |
| 10s | $0.48 |
Request
curl -X POST "https://api.unifically.com/kling-o1/edit" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"prompt": "transform this into a cartoon style",
"video_url": "https://example.com/video.mp4",
"image_urls": ["https://example.com/ref1.jpg"],
"aspect_ratio": "16:9",
"duration": 5
}'
Parameters
Required Parameters
Text description of the edit/transformation to apply
URL of the source video to editInput video duration: 3-10 seconds max
Aspect ratio of the output videoOptions: "1:1", "9:16", "16:9"
Output video duration in secondsOptions: 3, 4, 5, 6, 7, 8, 9, 10
Optional Parameters
Array of reference image URLs to guide the edit styleMaximum: 4 images
Video resolutionOptions: "720p", "1080p"Default: "1080p"
URL to receive webhook notification on completion
Response
{
"code": 200,
"data": {
"status": "processing",
"task_id": "dd55ae25-adff-47a0-9194-6a37845b58e4"
}
}
Response Fields
HTTP status code (200 for success)
Response dataUnique identifier for this edit task
Task status (e.g., “processing”)