热度观测:最近观测 1032 星,达到本渠道热门门槛 1000。

← 返回内容列表
GGitHub采集材料

用Comfy CLI运行生成式媒体工作流

发布时间未知 · 北京时间

图像与视频

有实践材料可继续查看

代码仓库安装说明使用说明示例代码演示线索

原文与观测指标

1 个来源
GGitHub

用Comfy CLI运行生成式媒体工作流

Comfy-Org
查看原文
星标1,032采集时的累计值
每小时增长+0.0星标 / 小时 · 观测区间平均值
最近提交10-28 14:29提交时间不是项目发布时间

发布时间:未知 · 首次发现 10-28 08:32 · 北京时间

指标采集:10-28 14:32 · 指标已取得

对比区间:10-28 08:32 至 10-28 14:32 · 6.00 小时 · 净增量 +0

项目文档有线索安装说明有线索使用说明有线索示例有线索

仅反映文档与示例线索,未实际运行项目。

摘要

comfy-cli 用于从终端安装和运行 ComfyUI,也可管理节点、模型并调用图像或视频生成服务。没有本地 GPU 时,可登录 Comfy Cloud,提交工作流后等待任务完成并下载结果。

摘要由 AI 生成,请以原文为准。
观测历史 · 最近 2 条 展开 / 收起

缺失不计为零;增长只比较同一指标来源的有效记录,按实际间隔折算每小时。上游缓存可能延迟数值更新。

采集时间 · 北京时间指标数值来源状态
10-28 14:32:01Star1,032GitHub 公开页面已取得
10-28 08:32:07Star1,032GitHub 公开页面已取得
采集原文 展开 / 收起

comfy-cli

CLI for using ComfyUI
项目说明 展开 / 收起
comfy-cli: A Command Line Tool for ComfyUI comfy-cli is a command-line tool for installing, running, and extending ComfyUI — the open-source generative-media engine. Set up ComfyUI, install custom nodes and models, run workflows, and call hosted partner image models, all from your terminal. Demo Features 🚀 One-command ComfyUI install and launch 🎨 Direct calls to partner image and video nodes (Flux, Ideogram, DALL·E, Recraft, Reve, Gemini/nano-banana, Kling, Luma, Runway, Pika, Vidu, Hailuo, Seedance, …) via comfy generate, no workflow JSON required 🔧 Custom node management — install, update, snapshot, bisect 📦 Fast dependency resolution with uv (--fast-deps, --uv-compile) 🗄️ Model downloads from CivitAI, Hugging Face, and direct URLs 🎬 Run workflows against a local ComfyUI server, including auto-conversion of UI-format JSON 🧪 Test ComfyUI and frontend pull requests with one flag 💻 Cross-platform: Windows, macOS, Linux ☁️ Route any workflow to Comfy Cloud with --where cloud (no GPU required) 🤖 Agent-friendly: every command emits structured --json envelopes 📚 Bundled skills teach Claude / Cursor to drive comfy natively Quick Start pip install comfy-cli comfy setup comfy setup walks you through everything — local or cloud routing, authentication, and agent skill installation — in one interactive wizard. Pass -y for non-interactive (CI/scripted) installs. Run a workflow in the cloud No local GPU? Route any API-format workflow to Comfy Cloud with --where cloud: comfy cloud login # sign in via your browser (OAuth) comfy run --workflow ./workflow.json --where cloud # submits, prints a prompt_id, returns immediately comfy jobs wait <prompt_id> --where cloud # block until the job finishes (or: jobs status for a one-shot check) comfy download <prompt_id> --where cloud -o ./outputs # save the results locally comfy run submits asynchronously and prints the prompt_id you feed to jobs/download; add --wait to block inline instead. Check your sign-in anytime with comfy cloud whoami. Export the workflow JSON from ComfyUI via File → Export (API) (UI-format JSON is auto-converted). Set cloud as your default target so you can drop the flag: comfy set-default --where cloud. Credits: cloud generation (comfy run --where cloud, comfy generate) consumes Comfy Cloud credits and needs an active subscription. Discovery and inspection commands — comfy cloud whoami, comfy cloud status, comfy jobs status/ls, comfy templates ls, comfy generate list — don't. Check your balance and tier with comfy cloud status. Installation (Recommended) Activate a virtual environment (venv or conda). Install with pip (requires Python 3.10+): pip install comfy-cli Shell Autocomplete Install shell completion so comfy <TAB> expands commands and options: comfy --install-completion Usage Installing ComfyUI To install ComfyUI using comfy, simply run: comfy install This command will download and set up the latest version of ComfyUI and ComfyUI-Manager on your system. If you run in a ComfyUI repo that has already been setup. The command will simply update the comfy.yaml file to reflect the local setup comfy install --skip-manager: Install ComfyUI without ComfyUI-Manager. To use a custom Manager fork or specific version, skip the default installation and install your own into the workspace venv: comfy install --skip-manager # Then install your custom Manager: pip install -e /path/to/your-manager-fork # editable install # or pip install comfyui-manager==4.1b8 # specific version comfy --workspace=<path> install: Install ComfyUI into <path>/ComfyUI. comfy install --fast-deps: Use uv instead of pip for faster dependency resolution during initial ComfyUI installation. comfy-cli's built-in resolver compiles all requirements (core + custom nodes) into a single lockfile and installs from it. Also handles GPU-specific PyTorch wheel selection automatically. For comfy install, if no path specification like --workspace, --recent, or --here is provided, it will be implicitly installed in <HOME>/comfy. Python environment handling When you run comfy install, comfy-cli picks a Python environment for ComfyUI dependencies using the following precedence: An active virtualenv or conda environment (VIRTUAL_ENV / CONDA_PREFIX) is used as-is. An existing .venv or venv directory inside the workspace is reused. Otherwise the choice depends on how comfy-cli was installed: pip install comfy-cli (global / system Python): dependencies go directly into the same Python environment. This is the typical Docker setup. pipx install comfy-cli or uv tool install comfy-cli (isolated tool environment): a .venv is created inside the ComfyUI workspace. Use comfy launch to start ComfyUI with the correct Python. Updating ComfyUI comfy update brings an existing workspace up to date: comfy update (or comfy update comfy): pull the branch the workspace is currently on and reinstall requirements.txt. comfy update all: also update every installed custom node. comfy update cli: upgrade comfy-cli itself. By default comfy update all exits 0 even when the custom-node update step fails — the error is printed, but the exit code says success, so scripts and wrappers can't tell. Pass --exit-on-fail (the same flag name and default as comfy node install --exit-on-fail) to have that failure exit non-zero instead. The flag only changes the all target; comfy update comfy and comfy update cli already exit non-zero when they fail, and accept the flag as a no-op so it can be forwarded unconditionally. One limit worth knowing: --exit-on-fail can only surface what ComfyUI-Manager's cm-cli update reports. cm-cli currently handles a single pack failing to update by printing ERROR: ... and carrying on, still exiting 0, so that particular case stays invisible until ComfyUI-Manager propagates it. Unlike comfy node install, the flag is not forwarded to cm-cli — only its install subcommand accepts --exit-on-fail; its update subcommand has no such option and would reject it. When the flag does fire, the exit code is cm