image-inpainting

Performs mask-driven image inpainting via the RunComfy CLI using Z-Image Turbo Inpainting.

12|2|Updated Aug 12, 2026
One-click install
npx skills add https://github.com/genmedia-labs/skills --skill image-inpainting-genmedia-labs
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: image-inpainting
Source: https://github.com/genmedia-labs/skills/tree/main/image-inpainting
Command: npx skills add https://github.com/genmedia-labs/skills --skill image-inpainting-genmedia-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @runcomfy/cli.

What problem does it solve? Removing objects, watermarks, or blemishes from images and replacing masked regions requires precise local edits that generic image generators cannot target. This Skill routes mask-driven inpainting jobs to the right RunComfy model and falls back to description-based editing when no mask exists. ## Core Features & Use Cases - Mask-Driven Inpainting: Sends a source image plus a grayscale mask (white = inpaint, black = preserve) to Z-Image Turbo Inpainting with tunable strength and control-scale parameters. - Description-Based Fallback: Routes to Nano Banana 2 Edit, GPT Image 2 Edit, or FLUX Kontext Pro when no mask is available and the region must be described in spatial language. - LoRA Style-Locked Inpainting: Supports the Z-Image Inpainting LoRA endpoint for brand-consistent fills. - Use Case: Remove overhead cables from a street photo by supplying the image URL, a mask URL covering the cables, and a prompt like "preserve rooflines and sky gradient" at strength 0.5. ## Quick Start Ask the agent to remove a specific object or watermark from your image by providing the image URL and, if available, a mask URL, and it will run the appropriate runcomfy inpainting command.

Frequently Asked Questions about image-inpainting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I remove an object from an image with inpainting?▼

Provide the source image URL and a grayscale mask URL where white marks the region to inpaint, then run Z-Image Turbo Inpainting via the runcomfy CLI with a prompt describing the fill. Use strength 0.3-0.5 for retouching and 0.8-1.0 for full region replacement.

How do I remove a watermark from a photo without a mask?▼

Use the description-based fallback route with Nano Banana 2 Edit, describing the region spatially, for example "Remove the watermark in the bottom-right corner. Keep everything else exactly." No mask image is required for this route.

What is the difference between Z-Image Inpainting and Nano Banana 2 Edit?▼

Z-Image Turbo Inpainting requires a binary mask and offers precise pixel-level region control with strength and control-scale parameters. Nano Banana 2 Edit needs no mask and locates the target region from spatial language in the prompt, trading precision for convenience.

What mask format does image inpainting require?▼

The mask must be a grayscale image URL where white pixels mark the region to inpaint and black pixels are preserved. Slightly blurring mask edges by 1-3 pixels blends the fill better than a sharp binary edge.

Can this skill do outpainting or video inpainting?▼

No. Outpainting, which extends the canvas beyond the original image, is handled by the separate image-outpainting skill, and frame-by-frame mask edits on video are handled by the video-inpainting skill.