ComfyUI-HaiperAI-API
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_nodesdirectory. -
Clone the repository:
git clone https://github.com/Haiper-ai/ComfyUI-HaiperAI-API.gitThe 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
.envfile. (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.
Haiper Text to Video
This node is used to generate a video from a text prompt.
Haiper Text to Image
This node is used to generate four images from a text prompt.
Haiper Keyframe Conditioning
This node is designed to control video generation through keyframe-based conditioning.
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.




