Skill 详情

image-edit

在 RunComfy 上将图像编辑路由到合适的模型(Nano Banana Edit、GPT Image 2 Edit、Flux Kontext、Z-Image Inpaint),并提供用于批量、文本重写和蒙版编辑的文档化提示模式。

匹配类型直接匹配已针对 图像生成 审核
来源prime-skills/​runcomfy-agent-skills外部来源
报告安装量421,211仅表示受欢迎程度

使用前先检查

自动化审核只检查相关性,不代表安全审查或推荐。使用前请阅读来源中的说明。

已保存的来源预览

SKILL.md

这段内容是审核时保存的快照。外部来源才是完整且最新的版本。

---
name: image-edit
displayName: "Image Edit — Pro Pack on RunComfy"
description: >
  Edit images on RunComfy — this skill is a smart router that matches
  the user's intent to the right edit model in the RunComfy catalog.
  Picks Nano Banana Edit (batch up to 20, identity-preserving default),
  OpenAI GPT Image 2 Edit (multilingual in-image text rewrite,
  multi-ref composition, layout precision), Flux Kontext Pro
  (single-ref high-fidelity local edit), or Z-Image Turbo Inpaint
  (mask-driven precise region edit). Bundles each model's documented
  prompting patterns so the skill gets sharper edits without burning
  iterations on the wrong model. Calls `runcomfy run <vendor>/<model>/edit`
  through the local RunComfy CLI. Triggers on "image edit", "edit image",
  "image-to-image", "i2i", "swap background", "remove object",
  "rewrite headline", or any explicit ask to edit a single or batch
  of images.
homepage: https://www.runcomfy.com
license: MIT
---

# Image Edit — Pro Pack on RunComfy

[runcomfy.com](https://www.runcomfy.com/?utm_source=skills.sh&utm_medium=skill&utm_campaign=image-edit) · [Nano Banana Edit](https://www.runcomfy.com/models/google/nano-banana-2/edit?utm_source=skills.sh&utm_medium=skill&utm_campaign=image-edit) · [GPT Image 2 Edit](https://www.runcomfy.com/models/openai/gpt-image-2/edit?utm_source=skills.sh&utm_medium=skill&utm_campaign=image-edit) · [Flux Kontext](https://www.runcomfy.com/models/blackforestlabs/flux-1-kontext-pro/image-to-image?utm_source=skills.sh&utm_medium=skill&utm_campaign=image-edit) · [Z-Image Inpaint](https://www.runcomfy.com/models/tongyi-mai/z-image/turbo/inpainting?utm_source=skills.sh&utm_medium=skill&utm_campaign=image-edit) · [GitHub](https://github.com/agentspace-so/runcomfy-skills/tree/main/image-edit)

**Image edit, intent-routed.** This skill doesn't lock you to one model — it picks the right edit model in the RunComfy catalog based on what the user actually wants: batch identity-preservation, multilingual text rewrite, single-shot precise edit, or mask-driven region replacement.

```bash
npx skills add agentspace-so/runcomfy-skills --skill image-edit -g
```

## Pick the right model for the user's intent

| User intent | Model | Why |
|---|---|---|
| Batch edit 1–20 images consistently (SKU gallery, A/B variants) | **Nano Banana Edit** | Up to 20 input images per call; locked aspect/resolution for series |
| Swap background, preserve subject identity | **Nano Banana Edit** | Strong identity preservation under "keep X unchanged" prompts |
| Localized object removal / addition with spatial language ("the left object", "upper-right corner") | **Nano Banana Edit** | Honors directional spatial scope |
| Multilingual / non-Latin in-image text rewrite (Japanese kana, Cyrillic, Arabic) | **GPT Image 2 Edit** | Strongest in class for multilingual typography |
| Multi-reference composition (subject from img1, scene from img2, palette from img3) | **GPT Image 2 Edit** | Numbered refs route cues correctly |
| Layout-precise repositioning ("move headline from top-right to bottom-center") | **GPT Image 2 Edit** | Directional language honored at layout level |
| Identity preservation across translated headline variants | **GPT Image 2 Edit** | Same source asset → many language variants, identity stable |
| Single-shot precise local edit ("she's now holding an orange umbrella") | **Flux Kontext Pro** | Single-ref single-instruction, high-fidelity preservation |
| Mask-driven object removal (cables, watermarks, distractions) | **Z-Image Turbo Inpaint** | Mask-required, strength-tunable, edge-consistent |
| Mask-driven region replacement (full background swap with mask) | **Z-Image Turbo Inpaint** | High strength + clean mask = clean replacement |
| Default if unspecified | **Nano Banana Edit** | Most flexible, supports both single and batch |

The agent reads this table, classifies the user's intent, and picks the matching subsection below.

## Prerequisites

1. **RunComfy CLI** — `npm
在 GitHub 阅读完整来源 (打开外部页面)
相关上下文

相关工作