Kling API v1 updates:
- New POST videos/omni endpoint for Video O1 (Omni) generation
- Supports text-to-video and up to 7 reference images (or 1 video + 4 images) via
@image_1…@image_7,@video_1placeholders - Duration options:
3-10seconds (7-10 require VIP) - Aspect ratio options:
16:9,9:16,1:1,auto(auto when video reference used)
Text-to-Video
curl -X POST "https://api.useapi.net/v1/kling/videos/omni" \
-H "Authorization: Bearer user:12345-…" \
-H "Content-Type: application/json" \
-d '{
"email": "[email protected]",
"prompt": "Tiny fairy mechanic fixing a broken butterfly wing with welding torch, macro photography style",
"duration": "5",
"aspect_ratio": "16:9"
}'
Result:
Reference Images to Video
Use @image_1, @image_2, etc. placeholders to reference uploaded images in your prompt. Upload reference images using POST /assets first.
Reference images: Cow girl • BMW R32 Motorcycle
curl -X POST "https://api.useapi.net/v1/kling/videos/omni" \
-H "Authorization: Bearer user:12345-…" \
-H "Content-Type: application/json" \
-d '{
"email": "[email protected]",
"prompt": "@image_1 dressed like a heavy metal rock star riding her motorcycle @image_2 under the Golden Gate bridge, dynamic action scene",
"duration": "10",
"aspect_ratio": "16:9",
"image_1": "https://s21-kling.klingai.com/…/cow_girl.jpg",
"image_2": "https://s21-kling.klingai.com/…/bmw_r32.jpg"
}'
Result:
Video + Image Reference
Combine a video reference with image references. When video_1 is provided, aspect_ratio is automatically set to auto. Maximum 4 images can be used alongside a video reference.
Input Video
curl -X POST "https://api.useapi.net/v1/kling/videos/omni" \
-H "Authorization: Bearer user:12345-…" \
-H "Content-Type: application/json" \
-d '{
"email": "[email protected]",
"prompt": "On the @video_1 replace coke can with @image_1",
"video_1": "https://s21-kling.klingai.com/…/coke-ad.mp4",
"image_1": "https://s21-kling.klingai.com/…/redbull.jpg"
}'
Result: