Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

comfyui-imagegen

bởi halr9000

Image & Video Generation
982Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Generate images via ComfyUI API (localhost:8188) using Flux2 workflow.

Mô tả

Kỹ năng này làm gì

Generates images via a locally running ComfyUI instance at localhost:8188 using the Flux2 workflow. Converts natural language descriptions into structured JSON prompts and submits them to the ComfyUI API. Supports async polling through a sub-agent that monitors generation every 5 seconds.

The async sub-agent mode lets the main agent continue other work during generation, using roughly 10x fewer tokens than blocking on the result.

Khi nào nên dùng

  • Generating concept art from a text description
  • Creating custom hero images for blog posts or presentations
  • Prototyping visual ideas without switching to another tool
  • Generating multiple scene variations with different seeds
  • Auto-delivering finished images on completion without blocking

Quy trình ví dụ

ĐẦU VÀO

User asks: Generate an image of a fluffy tabby cat sitting on a windowsill at sunset

AGENT
  1. 1

    Converts the request to a structured JSON prompt with subjects, scene, lighting, mood, and camera fields

  2. 2

    Submits the prompt to ComfyUI via generate.py --submit-only and receives a prompt_id

  3. 3

    Spawns a watcher sub-agent that polls /history/{prompt_id} every 5 seconds

  4. 4

    Sub-agent downloads the completed JPG once generation finishes

  5. 5

    Sub-agent sends the image to the configured delivery target and removes the local file

ĐẦU RA

1920x1080 JPG image generated via the Flux2 workflow and delivered to the configured channel

Yêu cầu

  • ComfyUI installed and running locally on port 8188

Cài đặt

clawhub install halr9000/comfyui-imagegen

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết