update readme.

This commit is contained in:
chentiejun
2024-11-12 20:53:08 +08:00
parent e632acfff2
commit a237f2d6f6
5 changed files with 62 additions and 0 deletions
+62
View File
@@ -0,0 +1,62 @@
# 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](https://klingai.kuaishou.com/). For more information, see [KLing AI API Documentation](https://docs.qingque.cn/d/home/eZQClW07IFEuX1csc-VejdY2M?identityId=1oEER8VjdS8).
## Requirements
Before using this node, you need to have [a KLing AI API key](https://docs.qingque.cn/d/home/eZQCR1cjLJ5SqrV-AfCve0rYn?identityId=1oEER8VjdS8).
## Installation
### Installing manually
1. Navigate to the `ComfyUI/custom_nodes` directory.
2. Clone this repository: `git clone https://github.com/`
3. 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`
4. 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.
5. 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](https://klingai.kuaishou.com/dev-center).
Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB