comfyui-bridge
Generate images, faceswap, edit photos, animate expressions, and do style transfer via a self-hosted ComfyUI instance on your LAN. Your GPU, your models.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bortlesboat/comfyui-bridgeComfyUI Bridge
Generate images, faceswap, animate expressions, and do style transfer via a self-hosted ComfyUI instance running on your LAN. No cloud API — your GPU, your models.
Requirements
- ComfyUI Desktop (or server) running somewhere on your LAN
- ComfyUI Bridge server running on the same machine as ComfyUI (see Setup)
uvinstalled on the machine running OpenClaw
Setup
1. Install the bridge server (on your ComfyUI machine)
The bridge is a lightweight FastAPI server that wraps ComfyUI's API:
git clone https://github.com/Bortlesboat/comfyui-bridge
cd comfyui-bridge
pip install -r requirements.txt
python bridge_server.py
# Listening on http://0.0.0.0:8100
2. Configure the skill
Set the bridge URL as an environment variable on your OpenClaw machine:
export COMFYUI_BRIDGE_URL=http://YOUR_COMFYUI_MACHINE_IP:8100
Or add it to your LaunchAgent/systemd service environment.
3. Required ComfyUI custom nodes (for all features)
Install via ComfyUI Manager:
- ReActor — faceswap
- ComfyUI-LivePortrait — expression animation
- ComfyUI_IPAdapter_plus — style transfer
- WAS Node Suite — utilities
- ComfyUI-GGUF — GGUF model support (optional, for FLUX)
- rgthree-comfy — workflow utilities
4. Recommended models
| Model | Use |
|---|---|
| Juggernaut XL Ragnarok | Architecture, objects, general |
| RealVisXL V5.0 Lightning | People, portraits, fast |
| FLUX.1 Dev Q5 GGUF | Maximum photorealism (slow, VRAM-heavy) |
Usage
All commands use the comfyui_generate.py script via uv run. Replace SKILL_SCRIPTS with the path to this skill's scripts/ directory.
Always use --no-media — include one MEDIA: /full/path/to/output.png in your text response instead.
1. Text to Image
uv run $SKILL_SCRIPTS/comfyui_generate.py \
--prompt "your description" \
--filename ~/.openclaw/media/outbound/output.png \
--no-media
2. Image to Image
uv run $SKILL_SCRIPTS/comfyui_generate.py \
--prompt "make it sunset" \
-i /path/to/input.png \
--strength 0.5 \
--filename ~/.openclaw/media/outbound/output.png \
--no-media
3. Faceswap (pipeline — best quality)
Swaps a face then runs img2img cleanup for natural blending. ~30 seconds total.
uv run $SKILL_SCRIPTS/comfyui_generate.py \
--faceswap-pipeline \
--source-face /path/to/source_face.png \
-i /path/to/target.png \
--cleanup-strength 0.40 \
--filename ~/.openclaw/media/outbound/output.png \
--no-media
4. Faceswap (basic)
uv run $SKILL_SCRIPTS/comfyui_generate.py \
--faceswap \
--source-face /path/to/source_face.png \
-i /path/to/target.png \
--filename ~/.openclaw/media/outbound/output.png \
--no-media
5.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bortlesboat-comfyui-bridge": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
satoshi-api
Bitcoin intelligence: fee recommendations, mempool status, price, block info, and address lookups via the Satoshi API. Zero config — no node required.
bitcoin-mcp
47 Bitcoin tools for your AI agent — fee intelligence, mempool analysis, address lookups, transaction decoding, and more. MCP server backed by the Satoshi API.