AACFlow

ComfyUI

Submit image-generation workflows to a ComfyUI instance and retrieve results.

ComfyUI

ComfyUI is a node-based UI and server for Stable Diffusion and related generative image models. The AACFlow block talks directly to a running ComfyUI instance via its HTTP API.

Official documentation: https://docs.comfy.org/

Setup

  1. Start a ComfyUI instance (local or remote). By default it listens on http://localhost:8188.
  2. If the instance requires authentication, obtain an API key from its settings.
  3. In AACFlow, add a ComfyUI block, set the Base URL to your instance address, and optionally enter the API key.

No sign-up or cloud account is needed for a local instance.

Operations

OperationDescription
comfyui_promptSubmit a ComfyUI workflow JSON to the queue and return the assigned prompt ID.
comfyui_historyRetrieve the history and output images for a previously submitted prompt ID.
comfyui_statusReturn system statistics (queue length, memory, loaded models) from the instance.

Example workflow

Send a JSON workflow definition to comfyui_prompt, poll comfyui_history with a Wait block until images are ready, then pass the output file paths to a downstream block for storage or delivery.

On this page

Start building today
Trusted by over 100,000 builders.
The SaaS platform to build AI agents and run your agentic workforce.
Get started