ComfyUI Node
Kling VIDEO 4.0 Flash
A ComfyUI node in Runware/Video/klingai with 17 inputs and 1 output.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| referenceImagesopt | IMAGE | — | |
| frameImagesopt | IMAGE | — | |
| referenceVideosopt | RUNWARE_REFERENCEVIDEOS | — | |
| videoopt | STRING | Video input (UUID or URL). Source video for prompt-based editing. | |
| positivePromptopt | STRING | Text 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. | |
| sizeopt | COMBO | 720p (1:1) | Output size. Only one of resolution or dimensions is sent. |
| durationopt | INT | 103–20 | Length of the generated video in seconds. The total number of frames produced is determined by duration multiplied by the model's frame rate (fps). |
| numberResultsopt | INT | 11–4 | Number of results to generate. Each result uses a different seed, producing variations of the same parameters. |
| settings.preserveAudioopt | BOOLEAN | false | Keep 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. |
| safetyopt | BOOLEAN | false | Enable to set safety. Off uses the model's default. |
| safety.checkContentopt | BOOLEAN | false | Enable or disable content safety checking. Increases total generation time. |
| safety.modeopt | COMBO | fast | Safety checking mode for video generation. |
| ttlopt | BOOLEAN | false | Enable to set ttl. Off uses the model's default. |
| ttl_valueopt | INT | 60 | Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`. |
| outputFormatopt | COMBO | MP4 | File format for the generated video. |
| outputQualityopt | INT | 9520–99 | Compression quality of the output. Higher values preserve quality but increase file size. |
| advanced_jsonopt | STRING | Optional JSON merged into the request. For: inputs.elements |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| video | VIDEO | — |