comfyui
できること
このスキルは、ComfyUI を映像制作の作業に接続します。自分のコンピューターで ComfyUI を動かし、その画像、動画、音楽のワークフローを使いたいクリエイター向けです。
使う場面
- ✓自分で動かす ComfyUI のワークフローで、画像、動画、音楽を作りたいとき。
- ✓プロジェクトで使いたい、コミュニティの ComfyUI のワークフローがあるとき。
- ✓ComfyUI のジョブに、不足しているモデル、LoRA、またはメモリーの少ない環境向けの軽いワークフローが必要なとき。
スキルのリンク
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/comfyui/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私の ComfyUI のワークフローを使って、動画用の水彩画風の背景画像を生成してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、ComfyUI が動いていることを確認し、ワークフローを送信して、結果を待ち、出力をプロジェクトに保存します。サーバーの状態を読むこともでき、タイムアウトしたジョブは、再送せずに ID で再開できます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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
よくある質問
ComfyUI は動いている必要がありますか?
はい。サーバーが動いていないと、ツールは何も生成できません。
ワークフローはどの形式である必要がありますか?
ComfyUI の API 形式でエクスポートされている必要があり、レイアウト形式ではいけません。
ジョブがタイムアウトしたらどうなりますか?
ジョブは ID を使って再開でき、もう一度送り直す必要はありません。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 75k
- ランキング
- #2647
- ライセンス
- AGPL-3.0
- 更新日
- 2026/10/28
コメント
- …
このリポジトリの他のスキル
3d-asset-generation
75kシーンに使う3Dオブジェクトの作り方を、カタログ、テキストや画像から3Dへのツール、最終的な組み立てのための Blender の中から選ぶよう、エージェントを支援します。
acestep
75k動画用の背景音楽、曲、ジングル、ステムを、オープンな ACE-Step の音楽生成ツールを使って作るよう、エージェントを支援します。
agents
75kElevenLabs を使って、顧客対応のボットやインタラクティブな音声キャラクターなど、音声のAIアシスタントを作ります。
ai-video-gen
75kテキストの説明や参考画像から、いくつかの動画生成サービスの中から選んで、AI の動画クリップを生成するよう、エージェントを支援します。