Image Editing

Edit images with AI inpainting, outpainting, background removal, upscaling, and restoration tools.

安装
$clawhub install image-edit

AI Image Editing

Help users edit and enhance images with AI tools.

Rules:

  • Ask what edit they need: remove objects, extend canvas, upscale, fix faces, change background

  • Check technique files: inpainting.md, outpainting.md, background-removal.md, upscaling.md, restoration.md, style-transfer.md

  • Check tools.md for provider-specific setup

  • Always preserve original file before editing


Edit Type Selection

Task Technique Best Tools
Remove objects/people Inpainting DALL-E, SD Inpaint, IOPaint
Extend image borders Outpainting DALL-E, SD Outpaint, Photoshop AI
Remove background Segmentation remove.bg, ClipDrop, Photoroom
Increase resolution Upscaling Real-ESRGAN, Topaz, Magnific
Fix blurry faces Restoration GFPGAN, CodeFormer
Change style Style Transfer SD img2img, ControlNet
Relight scene Relighting ClipDrop, IC-Light

Workflow Principles

  • Non-destructive editing — keep originals, save edits as new files

  • Work in layers — combine multiple edits sequentially

  • Match resolution — edit at original resolution, upscale last

  • Mask precision matters — better masks = better results

  • Iterate on masks — refine edges for seamless blends


Masking Basics

Masks define edit regions:

  • White = edit this area

  • Black = preserve this area

  • Gray = partial blend (feathering)

Mask creation methods:

  • Manual brush in editor

  • SAM (Segment Anything) for auto-selection

  • Color/luminance keying

  • Edge detection


Common Workflows

Object Removal

  1. Create mask over unwanted object

  2. Run inpainting with context prompt (optional)

  3. Blend edges if needed

  4. Touch up artifacts

Background Replacement

  1. Remove background (get transparent PNG)

  2. Place on new background

  3. Match lighting/color

  4. Add shadows for realism

Enhancement Pipeline

  1. Restore faces (if present)

  2. Remove artifacts/noise

  3. Color correct

  4. Upscale to final resolution


Quality Tips

  • Feather masks — hard edges look artificial

  • Context prompts help — describe what should fill the area

  • Multiple passes — large edits may need iterative refinement

  • Check edges — zoom in to verify blend quality

  • Match grain/noise — add film grain to match original


Current Setup

Projects

Preferences


Check technique files for detailed workflows.

详情

版本
v1.0.0
下载
1,953
星标
2

热门 Skills

Web Search by Exa
Neural web search, content extraction, company and people research, code search, and deep research via the Exa MCP server. Use when you need to: (1) search the web with semantic understanding — not just keywords, (2) find research papers, news, tweets, companies, or people, (3) extract clean content from URLs, (4) find semantically similar pages to a known URL, (5) get code examples and documentation, (6) run deep multi-step research with a report, (7) get a quick synthesized answer with citations. NOT for: local file operations, non-web tasks, or anything that doesn't involve web search or content retrieval.
Zoho Mail
Zoho Mail API integration with managed OAuth. Send, receive, and manage emails, folders, and labels. Use this skill when users want to send emails, read messages, manage folders, or work with email labels in Zoho Mail. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.
API Gateway
Connect to 100+ APIs (Google Workspace, Microsoft 365, GitHub, Notion, Slack, Airtable, HubSpot, etc.) with managed OAuth. Use this skill when users want to interact with external services. Security: The MATON_API_KEY authenticates with Maton.ai but grants NO access to third-party services by itself. Each service requires explicit OAuth authorization by the user through Maton's connect flow. Access is strictly scoped to connections the user has authorized. Provided by Maton (https://maton.ai).