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
Kling Image Generation Node generates images from text prompts with the option to use a reference image for guidance. It creates one or more images based on your text description and reference settings, then returns the generated images as output.

Inputs

ParameterData TypeRequiredRangeDescription
promptSTRINGYes-Positive text prompt
negative_promptSTRINGYes-Negative text prompt
image_typeCOMBOYesOptions from KlingImageGenImageReferenceType
(extracted from source code)
Image reference type selection
image_fidelityFLOATYes0.0 - 1.0Reference intensity for user-uploaded images (default: 0.5)
human_fidelityFLOATYes0.0 - 1.0Subject reference similarity (default: 0.45)
model_nameCOMBOYes”kling-v1”
(and other options from KlingImageGenModelName)
Model selection for image generation (default: “kling-v1”)
aspect_ratioCOMBOYes”16:9”
(and other options from KlingImageGenAspectRatio)
Aspect ratio for generated images (default: “16:9”)
nINTYes1 - 9Number of generated images (default: 1)
imageIMAGENo-Optional reference image
Parameter Constraints:
  • The image parameter is optional, but when provided, the kling-v1 model does not support reference images
  • Prompt and negative prompt have maximum length limitations (MAX_PROMPT_LENGTH_IMAGE_GEN)
  • When no reference image is provided, the image_type parameter is automatically set to None

Outputs

Output NameData TypeDescription
outputIMAGEGenerated image(s) based on the input parameters