# Edit Images with GPT Image 2 on RunComfy

Precise image edits often drift, especially when text, layout, or identity must stay stable. This skill provides RunComfy GPT Image 2 edit workflows with preservation-focused prompts.

## Install

```bash
npx skillstore add agentspace-so/gpt-image-edit
```

## Metadata

- Status: approved
- Slug: agentspace-so-gpt-image-edit
- Skillstore revision: r1
- Version status: missing
- Tree hash: 5b616c6fd185c1794f581e5a7c5e2aaf41f8639bd454b57a00bb803017fad578
- Author: agentspace-so
- GitHub username: agentspace-so
- License: MIT
- Repository: https://github.com/agentspace-so/runcomfy-agent-skills/tree/main/gpt-image-edit/
- Ref: 3e4b6c31a74a3bd1a291c98cf585d720cb9fbc88
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network, filesystem
- Quality score: 50
- Quality tier: warning
- Public page: https://skillstore.pages.dev/skills/agentspace-so-gpt-image-edit
- Manifest: https://skillstore.pages.dev/api/skills/agentspace-so-gpt-image-edit/manifest

## Capabilities

- Explains how to invoke the RunComfy GPT Image 2 edit endpoint through the local CLI.
- Documents the prompt, images, and size fields used by the edit endpoint.
- Provides prompt patterns for preservation, multilingual text, spatial edits, and multi-reference composition.
- Compares GPT Image Edit with Nano Banana Edit, Flux Kontext, and GPT Image 2 text-to-image.
- Lists RunComfy CLI prerequisites, exit codes, troubleshooting links, and security notes.

## Use Cases

- Localize Campaign Images: Replace in-image headlines with exact translated text while preserving the original layout, brand mark, and product framing.
- Create Brand-Safe Variants: Change backgrounds, calls to action, or layout positions while keeping faces, products, and brand elements stable.
- Build Multi-Reference Composites: Combine a subject from one image with the setting, lighting, or color palette from other reference images.

## Prompt Templates

### Basic Background Edit

```
Use gpt-image-edit to keep the product unchanged and replace the background with a clean studio sweep. Use size auto.
```

### Localized Headline Swap

```
Use gpt-image-edit to replace only the headline with the exact translated text I provide. Preserve the photograph, logo, layout, and font weight.
```

### Two-Image Composition

```
Use gpt-image-edit with two image URLs. Keep the subject from image 1 and match the room lighting and color palette from image 2.
```

### Production Edit Plan

```
Review my source image URLs, desired edits, protected elements, and output size. Produce a preservation-first edit prompt, RunComfy execution plan, and checks for drift.
```

## Limitations

- Requires the RunComfy CLI, a RunComfy account, and internet access.
- Requires publicly fetchable HTTPS image URLs for model inputs.
- Supports up to 10 reference images and only the documented size options.
- Does not process images offline; prompts and image URLs are sent to RunComfy.

## Best Practices

- Start each edit prompt with the faces, products, logos, layout, and framing that must remain unchanged.
- Quote exact in-image text and name the writing system when replacing multilingual copy.
- Use size auto unless the edit intentionally changes framing or aspect ratio.

## Anti Patterns

- Combining many unrelated edits in one request, which increases visual drift.
- Passing private image URLs without confirming they can be shared with RunComfy.
- Paraphrasing replacement image text when the final copy must be exact.

## Security Audit

- Audited at: 2026-07-09T07:53:48.318\+00:00
- Summary: The skill is Markdown-only, and most static backtick, URL, and traversal detections are documentation false positives. Real risks remain because the skill instructs use of the RunComfy CLI, sends prompts and image URLs to a third-party API, and stores an API token in a hidden config path.

## Stats

- Views: 81
- Downloads: 10
- Favorites: 0
- Popularity score: 0
