Skip to main content
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
This node uses the Kling AI model to generate a video based on a text prompt and up to seven reference images. It allows you to control the video’s aspect ratio, duration, and resolution. The node sends the request to an external API and returns the generated video.

Inputs

ParameterData TypeRequiredRangeDescription
model_nameCOMBOYes"kling-video-o1"The specific Kling model to use for video generation.
promptSTRINGYes-A text prompt describing the video content. This can include both positive and negative descriptions. The text is automatically normalized and must be between 1 and 2500 characters.
aspect_ratioCOMBOYes"16:9"
"9:16"
"1:1"
The desired aspect ratio for the generated video.
durationINTYes3 to 10The length of the video in seconds. The value can be adjusted with a slider (default: 3).
reference_imagesIMAGEYes-Up to 7 reference images. Each image must be at least 300x300 pixels and have an aspect ratio between 1:2.5 and 2.5:1.
resolutionCOMBONo"1080p"
"720p"
The output resolution of the video. This parameter is optional (default: “1080p”).
Note: The reference_images input accepts a maximum of 7 images. If more are provided, the node will raise an error. Each image is validated for minimum dimensions and aspect ratio.

Outputs

Output NameData TypeDescription
outputVIDEOThe generated video file.