ComfyUI Node

Kling VIDEO 4.0 Flash

A ComfyUI node in Runware/Video/klingai with 17 inputs and 1 output.

By Runware·Created 2 years ago·Updated 5 days ago· 141
Kling VIDEO 4.0 Flash
  • referenceImages
  • frameImages
  • referenceVideos
  • video
◄video►
◄positivePrompt►
◄size720p (1:1)►
◄duration10►
◄numberResults1►
◄settings.preserveAudiofalse►
◄safetyfalse►
◄safety.checkContentfalse►
◄safety.modefast►
◄ttlfalse►
◄ttl_value60►
◄outputFormatMP4►
◄outputQuality95►
◄advanced_json►
CategoryRunware/Video/klingai

Inputs (17)

NameTypeDefaultDescription
referenceImagesoptIMAGE—
frameImagesoptIMAGE—
referenceVideosoptRUNWARE_REFERENCEVIDEOS—
videooptSTRINGVideo input (UUID or URL). Source video for prompt-based editing.
positivePromptoptSTRINGText prompt describing elements to include in the generated output. Images are referenced as `<<<image_1>>>` and videos as `<<<video_1>>>`. Images are numbered across `frameImages` then `referenceImages`, and videos across `video` then `referenceVideos`. Must satisfy `E / 26000 + N / 11000 <= 1`, where `N` counts the non-ASCII characters and `E` the rest.
sizeoptCOMBO720p (1:1)Output size. Only one of resolution or dimensions is sent.
durationoptINT103–20Length of the generated video in seconds. The total number of frames produced is determined by duration multiplied by the model's frame rate (fps).
numberResultsoptINT11–4Number of results to generate. Each result uses a different seed, producing variations of the same parameters.
settings.preserveAudiooptBOOLEANfalseKeep the audio of the input video instead of generating new audio. The audio comes from `video`, or from the first `referenceVideos` item when no `video` is sent.
safetyoptBOOLEANfalseEnable to set safety. Off uses the model's default.
safety.checkContentoptBOOLEANfalseEnable or disable content safety checking. Increases total generation time.
safety.modeoptCOMBOfastSafety checking mode for video generation.
ttloptBOOLEANfalseEnable to set ttl. Off uses the model's default.
ttl_valueoptINT60Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.
outputFormatoptCOMBOMP4File format for the generated video.
outputQualityoptINT9520–99Compression quality of the output. Higher values preserve quality but increase file size.
advanced_jsonoptSTRINGOptional JSON merged into the request. For: inputs.elements

Outputs (1)

NameTypeDescription
videoVIDEO—