Nodes Browser
ComfyDeploy: How ComfyUI-KLingAI-API works in ComfyUI?
What is ComfyUI-KLingAI-API?
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.
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
ComfyUI-KLingAI-API
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
ComfyUI-KLingAI-API
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.
Requirements
Before using this node, you need to have a KLing AI API key.
Installation
Installing manually
-
Navigate to the
ComfyUI/custom_nodes
directory. -
Clone this repository:
git clone https://github.com/KwaiVGI/ComfyUI-KLingAI-API
-
Install the dependencies:
- Windows (ComfyUI portable):
python -m pip install -r ComfyUI\custom_nodes\ComfyUI-KLingAI-API\requirements.txt
- Linux or MacOS:
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!
Nodes
Client
This node is used to create a KLing AI client.
Image Generator
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>Text2Video
This node is used to generate a video given a text prompt.
<p align="center"> <img src="./examples/text2video.png" alt="text2video"> </p>Image2Video
This node is used to generate a video given an image.
<p align="center"> <img src="./examples/image2video.png" alt="image2video"> </p>Kolors Virtual Try-On
This node is used to display the try-on effect.
<p align="center"> <img src="./examples/kolors_virtual_try_on.png" alt="text2video"> </p>Pricing
For pricing, follow KLing AI Pricing.