ComfyUI-HaiperAI-API

ComfyUI-HaiperAI-API
★ 14

远程模型接入API 集成参数管理工作流自动化
在 ComfyUI 中通过 Haiper AI API 调用 Haiper 服务的自定义节点,便捷管理 API Key 与参数,简化与 Haiper 模型的交互与集成。
💡 在 ComfyUI 工作流中调用 Haiper AI 并获取生成结果。
🍴 2 Forks💻 Python🔄 2024-12-06
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/a9fb3a59e10c
📦 requirements.txt
requests
numpy
pillow
torch
python-dotenv
📄 README

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_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
  • 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.

    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.