Mask-driven inpainting via RunComfy CLI, defaulting to Z-Image Turbo Inpainting when you have a binary mask and falling back to Nano Banana 2 Edit when you need to describe the region in words. The strength parameter matters: 0.3–0.5 for retouching, 0.8–1.0 for full replacement. The prompting advice is practical, blur your mask edges by a few pixels for better blending, name what stays outside the mask, and use spatial labels even when you have a mask. Routes to LoRA-augmented inpainting if you need brand-locked style, GPT Image 2 Edit for multi-ref layouts. Honest limitation: outpainting is out of scope, different skill.

skills.sh installs
118.3K
GitHub stars
11
last updated
Jun 3, 2026

Install

$ npx -y skills add agentspace-so/runcomfy-agent-skills --skill image-inpainting --agent claude-code

Installs into .claude/skills of the current project.

Files

Image Inpainting

Mask-driven region edits — remove objects, fill gaps, replace masked areas — on RunComfy via the runcomfy CLI. This skill routes to Z-Image Turbo Inpainting when a mask is available, and to instruction-driven edit models when the region must be described in prose.

runcomfy.com · Z-Image Inpainting · CLI docs

Powered by the RunComfy CLI

# 1. Install (see runcomfy-cli skill for details)
npm i -g @runcomfy/cli      # or:  npx -y @runcomfy/cli --version

# 2. Sign in
runcomfy login              # or in CI: export RUNCOMFY_TOKEN=<token>

# 3. Inpaint
runcomfy run tongyi-mai/z-image/turbo/inpainting \
  --input '{"image": "...", "mask_image": "...", "prompt": "..."}' \
  --output-dir ./out

CLI deep dive: runcomfy-cli skill.

Sponsors

Details

Repository
github.com/agentspace-so/runcomfy-agent-skills
Categories
AI & Agent Building, CLI & Terminal
First seen
Jun 3, 2026

More from agentspace-so/runcomfy-agent-skills

All 30
1agentspace-so avatarimage-outpaintingagentspace-so/runcomfy-agent-skillsExtend image canvas beyond original bounds, change aspect ratio, and fill in uncropped areas.117.6Kskills.sh installs
2agentspace-so avatarcontrolnet-poseagentspace-so/runcomfy-agent-skillsPose-conditioned image and video generation routed across Kling Motion Control, Wan 2-2 Animate, and Z-Image ControlNet LoRA.117.4Kskills.sh installs
3agentspace-so avatarlipsyncagentspace-so/runcomfy-agent-skillsSync a face's mouth to an audio track across four lip-sync endpoints.117.4Kskills.sh installs
4agentspace-so avatarrelightagentspace-so/runcomfy-agent-skillsAlter lighting direction, color temperature, intensity, and mood on still images without reshooting.117Kskills.sh installs
5get-convex avatarconvex-quickstartget-convex/agent-skillsGet a barebones Convex + web template running from a one-sentence idea.103.3Kskills.sh installs
6microsoft avatarazure-cost-optimizationmicrosoft/github-copilot-for-azure103.2Kskills.sh installs