ComfyUI Extension: ComfyUI-HaiperAI-API

Authored by Haiper-ai

Created

Updated

9 stars

Haiper API official ComfyUI custom node.

Custom Nodes (0)

    README

    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

    1. Get your own HAIPER_KEY from Haiper API.
    2. Check out the API Documentation to understand how to set up the parameters.

    Installation

    Installing manually

    1. Go to the ComfyUI/custom_nodes directory.

    2. 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.

    3. 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
    1. Set HAIPER_KEY in the .env file. (Don't share the .env file to public)

    2. Start ComfyUI and enjoy your creation.

    Installing with ComfyUI-Manager

    1. 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.