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:
- 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!
This node is used to create a KLing AI client.
This node is used to generate an image given a text prompt.
This node is used to generate a video given a text prompt.
This node is used to generate a video given an image.
This node is used to display the try-on effect.
For pricing, follow KLing AI Pricing.