Provide high-quality video and image generation capabilities, meeting creators' needs for creative content production and management through more convenient operations, richer functionalities, professional parameters, and stunning effects.
This is a custom node for ComfyUI that allows you to use the KLing AI API directly in ComfyUI. KLing AI API is based on top of KLing AI. For more information, see KLing AI API Documentation.
Before using this node, you need to have a KLing AI API key.
Navigate to the ComfyUI/custom_nodes
directory.
Clone this repository: git clone https://github.com/KwaiVGI/ComfyUI-KLingAI-API
Install the dependencies:
python -m pip install -r ComfyUI\custom_nodes\ComfyUI-KLingAI-API\requirements.txt
cd ComfyUI-KLingAI-API && pip install -r requirements.txt
If you don't want to expose your key, you can add it into the config.ini
file and keep it empty in the node.
Start ComfyUI and enjoy using the KLing AI API node!
This node is used to create a KLing AI client.
This node is used to generate an image given a text prompt.
<p align="center"> <img src="./examples/image_generation.png" alt="image_generation"> </p>This node is used to generate a video given a text prompt.
<p align="center"> <img src="./examples/text2video.png" alt="text2video"> </p>This node is used to generate a video given an image.
<p align="center"> <img src="./examples/image2video.png" alt="image2video"> </p>This node is used to display the try-on effect.
<p align="center"> <img src="./examples/kolors_virtual_try_on.png" alt="text2video"> </p>For pricing, follow KLing AI Pricing.