Create dynamic AI-generated videos from text prompts or image references.
prompt describes what you want to show in the videoimageUrl provides visual reference for AIaspectRatio determines video orientation (vertical or horizontal)duration control the video duration (5 or 10 seconds), where if a 10-second video is selected, 1080p resolution cannot be selectedquality video resolution (720p or 1080p), where if 1080p is selected, 10-second video cannot be generatedwaterMark video watermark text content, empty string means no watermarkAll APIs require authentication via Bearer Token.
Get API Key:
Usage: Add to request header: Authorization: Bearer YOUR_API_KEY
Note:
Descriptive text that guides the AI video generation. Be specific about subject, action, style, and setting. When used with an image, describes how to animate or modify the image content. Maximum length is 1800 characters.
"A fluffy orange cat dancing energetically in a colorful room with disco lights"
Video duration, optional values are 5 or 10. If 10-second video is selected, 1080p resolution cannot be used
"5"
Video resolution, optional values are 720p or 1080p. If 1080p is selected, 10-second video cannot be generated
"720p"
Optional reference image URL to base the video on. When provided, the AI will create a video animating or extending this image.
"https://example.com/cat-image.jpg"
Video aspect ratio parameter. Required parameter for text-to-video generation requests. This parameter is invalid when imageUrl is passed, and the aspect ratio will ultimately be determined by the provided image.
16:9, 4:3, 1:1, 3:4, 9:16 "9:16"
Video watermark text content. An empty string indicates no watermark, while a non-empty string will display the specified text as a watermark in the bottom right corner of the video.
"kie.ai"
The URL to receive AI video generation task completion updates. Required for all video generation requests.
"https://api.example.com/callback"
Request successful
Response status code
200, 401, 404, 422, 451, 455, 500 Error message when code != 200
"success"