Skip to content
TakoAPI
Back to skills

comfyui

by xtopher86

Image & Video Generation
2.0kDownloads reported by clawskills.sh
1Stars
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Send a workflow request to ComfyUI and return image results.

Description

What This Skill Does

Sends a JSON workflow to a running ComfyUI server and returns the generated image as a URL or base64 string. Connects over HTTP using configurable host, port, and optional basic auth credentials.

Lets agents drive ComfyUI image generation without manual UI interaction, making it composable with other automated steps.

When to Use It

  • Triggering image generation from an AI agent conversation
  • Automating batch image workflows without opening the ComfyUI UI
  • Integrating ComfyUI output into a larger multi-step pipeline
  • Testing workflow JSON changes programmatically
  • Retrieving generated images for downstream processing or storage

Example Workflow

INPUT

User asks: Run this ComfyUI workflow and give me the output image

AGENT
  1. 1

    Load the workflow JSON object

  2. 2

    POST the workflow to the ComfyUI /run endpoint at the configured host and port

  3. 3

    Receive the JSON response from the server

  4. 4

    Extract the image field containing the URL or base64 string

OUTPUT

Image URL or base64 string ready for display or further processing

Requirements

  • ComfyUI server installed and running with the /run endpoint exposed
  • COMFYUI_USER and COMFYUI_PASS credentials if the server requires basic auth

Installation

clawhub install xtopher86/comfyui-request

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links