Nodes Browser
ComfyDeploy: How ComfyUI-HaiperAI-API works in ComfyUI?
What is ComfyUI-HaiperAI-API?
Haiper API official ComfyUI custom node.
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-HaiperAI-API
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
ComfyUI-HaiperAI-API
<p align="left"> <img src="./assets/haiper_logo.png" alt="HaiperAI Logo" width="120"> </p>This is custom nodes allow you to access Haiper AI in ComfyUI with Haiper AI API.
Requirements
- Get your own HAIPER_KEY from Haiper API.
- Check out the API Documentation to understand how to set up the parameters.
Installation
Installing manually
-
Go to the
ComfyUI/custom_nodes
directory. -
Clone the repository:
git clone https://github.com/Haiper-ai/ComfyUI-HaiperAI-API.git
The path should be
ComfyUI/custom_nodes/ComfyUI-HaiperAI-API/*
, where*
represents all the files in this repo. -
Install the dependencies:
- Linux or macOS:
cd ComfyUI-HaiperAI-API && pip install -r requirements.txt
- Windows (ComfyUI portable):
.\python_embeded\python.exe -m pip install -r ComfyUI\custom_nodes\ComfyUI-HaiperAI-API\requirements.txt
- Windows (ComfyUI portable):
-
Set HAIPER_KEY in the
.env
file. (Don't share the .env file to public) -
Start ComfyUI and enjoy your creation.
Installing with ComfyUI-Manager
- Open ComfyUI-Manager and install the Haiper AI API node
ComfyUI-HaiperAI-AP
.
Nodes
Haiper Image to Video
This node is used to generate a video from an image.
<p align="left"> <img src="./assets/Image2Video.png" alt="HaiperAI Image2Video" width="800"> </p>Haiper Text to Video
This node is used to generate a video from a text prompt.
<p align="left"> <img src="./assets/Text2Video.png" alt="HaiperAI Text2Video" width="800"> </p>Haiper Text to Image
This node is used to generate four images from a text prompt.
<p align="left"> <img src="./assets/Text2Image.png" alt="HaiperAI Text2Video" width="800"> </p>Haiper Keyframe Conditioning
This node is designed to control video generation through keyframe-based conditioning.
<p align="left"> <img src="./assets/KeyframeConditioning.png" alt="HaiperAI Text2Video" width="800"> </p>Examples
Check out workflows folder. You need to install ComfyUI-VideoHelperSuite first, then download the workflow json and import it into ComfyUI.
API Documentation
For more information about the Haiper AI API: Haiper AI API Documentation.
Pricing
Pricing of API on Haiper AI: Haiper AI Pricing.