gitmyhub

comfyui-agnes-ai

Python ★ 43 updated 16d ago

ComfyUI 自定义节点插件,让你在 ComfyUI 中直接调用 Agnes AI 的全模态模型。

A ComfyUI plugin that adds seven workflow blocks connecting to the Agnes AI service, covering text chat, image analysis, image generation up to 4K, image editing, and video generation from text or images.

PythonComfyUIsetup: moderatecomplexity 2/5

This is a plugin for ComfyUI, a visual tool that lets people build image and video generation workflows by connecting blocks together on a canvas. The plugin adds seven new blocks, each of which sends a request to the Agnes AI service and returns the result back into your workflow.

The seven blocks cover a range of tasks: saving your API key so you do not have to retype it, text-based chat with an AI, analyzing an image to produce a text description that could recreate it, turning a text description into an image, editing an existing image based on text instructions, turning a text description into a short video, and turning one or more images into a short video. Image generation supports resolutions up to 4K and eleven aspect ratios. Video generation is handled asynchronously and the README notes it typically takes two to six minutes to complete.

To use this plugin you need a free API key from the Agnes AI platform. The recommended setup is to run the API Key Config block once after installation, which saves the key to a local file so all other blocks can find it automatically. The key is stored as plain text on your own machine and is not displayed visibly in the interface.

Installation follows the standard ComfyUI plugin pattern: clone the repository into the custom_nodes folder, install the Python dependencies listed in requirements.txt, and restart ComfyUI. The plugin includes automatic retry logic for server errors, so temporary outages on the Agnes AI side should recover without manual intervention.

The README is written in Chinese. The project is released under the MIT License.

Where it fits