comfyui
Skill này làm gì
Skill này kết nối ComfyUI với quy trình sản xuất video. Nó dành cho người sáng tạo chạy ComfyUI trên máy tính của riêng mình và muốn dùng các workflow để tạo ảnh, video hoặc nhạc.
Khi nào nên dùng
- ✓Khi bạn muốn tạo ảnh, video hoặc nhạc bằng một workflow ComfyUI mà bạn tự chạy.
- ✓Khi bạn có một workflow ComfyUI của cộng đồng và muốn dùng nó trong dự án.
- ✓Khi một tác vụ ComfyUI cần một model còn thiếu, một LoRA, hoặc một workflow nhẹ hơn cho bộ nhớ thấp.
Liên kết skill
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/comfyui/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Dùng workflow ComfyUI của tôi để tạo ảnh nền phong cách màu nước cho video.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent kiểm tra ComfyUI đang chạy, gửi workflow, chờ kết quả và lưu đầu ra vào dự án của bạn. Nó cũng có thể đọc trạng thái máy chủ và tiếp tục một tác vụ đã hết thời gian chờ.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
ComfyUI Workflows in OpenMontage
Use this skill before calling comfyui_image, comfyui_video, or comfyui_music, and when converting a community ComfyUI workflow into an OpenMontage tool call.
Server Contract
- ComfyUI must be running before the tool can generate. The default server is
http://localhost:8188; override it withCOMFYUI_SERVER_URL. - Running separate ComfyUI instances per capability (different GPU, different model set)?
COMFYUI_IMAGE_SERVER_URL/COMFYUI_VIDEO_SERVER_URL/COMFYUI_MUSIC_SERVER_URLeach overrideCOMFYUI_SERVER_URLfor that one tool only. Optional -- a single-server setup needs none of these. - Health and hardware status come from
GET /system_stats. - Jobs are submitted to
POST /prompt, completed outputs are read fromGET /history/{prompt_id}, and artifact bytes are downloaded withGET /view. - Long waits (video, music) prefer ComfyUI's websocket feed for immediate completion/error detection and transparently fall back to REST polling if
websocket-clientisn't installed. Either way, a timeout is recoverable: pass the error'sprompt_idback in asresume_prompt_idto resume waiting on the same job instead of resubmitting it. - Export workflows with ComfyUI's API-format JSON, not the UI layout format. If a downloaded workflow will not submit, re-export it from ComfyUI with API format enabled.
Partner Nodes are hosted
gemini_omni_flash,seedance_2.5, andminimax_h3_apiincomfyui_videoare official ComfyUI Partner Nodes. They call hosted APIs and require network access, a logged-in Comfy account, and prepaid credits.- Do not describe Partner Nodes as local, offline, or free merely because the graph runs in a local ComfyUI process.
minimax_h3_localis a separate open-weight path. It requires the official MiniMax H3 workflow exported in API format, itsoutput_node, and the model stack reported by the tool.
Choosing a Workflow
- Use bundled workflows when the requested operation matches and the local machine has the required models and VRAM.
- Use a custom
workflow_jsonorworkflow_pathwhen the user needs a community recipe, a lower-VRAM model, a different style family, or custom nodes. - For 8GB-12GB GPUs, prefer lower-footprint workflows such as Wan 2.1 1.3B, LTXV FP8 or quantized workflows, or Wan 2.2 GGUF/quantized community workflows. The bundled Wan 2.2 14B FP8 video workflows are a 16GB-class path, not a provider-wide floor.
- Do not promise that arbitrary custom workflows will fit a machine. The workflow, quantization, resolution, frame count, and offload settings determine the real resource envelope.
Output Node Contract
- Custom workflows must pass
output_node. - Pick the node that writes the artifact, usually
SaveImage,SaveVideo,VHS_VideoCombine, or another terminal saver node. - Pass the node ID as a string, for example
"108". Do not pass the class name. - If a workflow has multiple savers, choose the final deliverable node, not previews or intermediates.
Templated vs Fixed Nodes
- Identify templated nodes before execution: prompt text, seed, dimensions, frame count, source image, sampler settings, and output filename prefix.
- Fixed nodes are model loaders, VAEs, text encoders, LoRA loaders, schedulers, and graph wiring. Do not mutate those unless the workflow author intended that customization.
- For community workflows, inspect each loader node and note every required model or custom node before running. Missing models should be handled through the tool's structured
missing_modelspayload when available.
Video workflows need a temporal latent
- A video workflow's empty-latent node must be a video latent --
EmptyHunyuanLatentVideofor Wan 2.2 t2v,Wan22ImageToVideoLatentorWanImageToVideofor the image-conditioned variants. The frame count goes inlength;batch_sizeis how many separate clips to generate and stays at1. EmptyLatentImagewithbatch_sizeset to the frame count is a trap: it asks for N unrelated images, and the resulting MP4 has the right frame count, duration and codec and passesffprobecleanly -- it just strobes. Check the latent node before running any unfamiliar video workflow.
Model and LoRA Setup
- Use ComfyUI Manager or the workflow author's model links when available, and respect model licenses.
- Place models in the folders expected by the loader nodes: diffusion models under
ComfyUI/models/diffusion_models/, text enco
Câu hỏi thường gặp
ComfyUI có cần đang chạy không?
Có. Máy chủ phải đang chạy trước khi tool có thể tạo bất cứ thứ gì.
Workflow phải ở định dạng nào?
Nó phải được xuất theo định dạng API của ComfyUI, không phải định dạng bố cục.
Nếu tác vụ hết thời gian chờ thì sao?
Tác vụ có thể được tiếp tục bằng ID của nó thay vì gửi lại.
Chi tiết
Mô tả gốc của tác giả
Use when working with ComfyUI workflows in OpenMontage, including comfyui_image/comfyui_video/comfyui_music, custom workflow_json/workflow_path inputs, output_node selection, missing model setup, LoRAs, low-VRAM workflow choices, and community workflow imports.
repo: calesthio/OpenMontage
Độ phổ biến
- Sao GitHub
- 75k
- Vị trí xếp hạng
- #2647
- Giấy phép
- AGPL-3.0
- Cập nhật
- 28/10/2026
Bình luận
- …
Thêm skill từ kho mã này
3d-asset-generation
75kGiúp agent của bạn chọn cách tạo đối tượng 3D cho một cảnh, bằng thư viện có sẵn, các tool chuyển văn bản hoặc ảnh thành 3D, và Blender để lắp ráp cuối cùng.
acestep
75kGiúp agent của bạn tạo nhạc nền, bài hát, jingle và các stem cho video bằng trình tạo nhạc mã nguồn mở ACE-Step.
agents
75kGiúp agent của bạn xây dựng trợ lý AI giọng nói bằng ElevenLabs, như bot chăm sóc khách hàng và nhân vật giọng nói tương tác.
ai-video-gen
75kGiúp agent của bạn tạo các đoạn video AI từ mô tả bằng văn bản hoặc ảnh tham khảo, chọn trong số nhiều dịch vụ tạo video.
Skill tương tự
gifgrep
394kCho phép agent của bạn tìm thư viện GIF, xem trước kết quả, tải một GIF, và lấy một khung hình tĩnh hoặc bảng ghép nhiều khung hình.
meme-maker
394kCho phép agent của bạn chọn một mẫu meme, thêm chú thích của riêng bạn và tạo meme dưới dạng ảnh SVG hoặc PNG.
ios-icon-gen
280kGiúp agent tạo biểu tượng cho ứng dụng iOS. Dùng biểu tượng của Apple hoặc từ các nguồn khác để tạo đúng định dạng tệp.