2024-12-03 20:44:13 +00:00
2024-11-21 00:15:41 +08:00
2024-12-03 13:29:47 +00:00
2024-11-20 22:08:37 +08:00
2024-12-03 13:29:47 +00:00
2024-11-20 22:08:37 +08:00
2024-11-20 19:58:07 +08:00
2024-11-21 16:41:15 +08:00
2024-12-03 20:44:13 +00:00
2024-11-20 22:08:37 +08:00

ComfyUI-HaiperAI-API

HaiperAI Logo

This is a custom node that allows you to use the Haiper AI API in ComfyUI. Haiper AI API is based on top of Haiper AI, which is a video generation model developed by Haiper.

Requirements

  1. You need to have HAIPER_KEY. Get one here.
  2. You need to provide an image URL as input to perform image-to-video generation. As a recommendation, you can use ImgBB to generate image URLs.
  3. You need to carefully read the API Documentation to understand how to configure the parameters.

Installation

Installing manually

  1. Navigate to the ComfyUI/custom_nodes directory.

  2. Clone this 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:

  • If you are using Windows (ComfyUI portable) run: .\python_embeded\python.exe -m pip install -r ComfyUI\custom_nodes\ComfyUI-HaiperAI-API\requirements.txt
  • If you are using Linux or MacOS, run: cd ComfyUI-HaiperAI-API && pip install -r requirements.txt to install the dependencies.
  1. You need to put HAIPER_KEY in the .env file.

  2. You need to put IMGBB_KEY in the .env file.

  3. Start ComfyUI and enjoy using the Haiper AI API node!

Nodes

ImgBB Upload

This node is used to upload an image to ImgBB and return the URL. We need this because Haiper API currently only supports image urls as input. To use this node, you need to have an ImgBB API key. Create an account and get one here.

HaiperAI Image2Video

Haiper Image to Video

This node is used to generate a video from an image.

HaiperAI Image2Video

Haiper Text to Video

This node is used to generate a video from a text prompt.

HaiperAI Text2Video

Haiper Text to Image

This node is used to generate four images from a text prompt.

HaiperAI Text2Video

Examples

For examples, see workflows folder. To use, 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, see Haiper AI API Documentation.

Pricing

For pricing, see Haiper AI Pricing.

S
Description
No description provided
Readme MIT
5.2 MiB
Languages
Python 100%