# Edit Images with Intent-Matched AI Models

Choosing the wrong image model wastes time and reduces edit quality. This skill routes each request to a suitable RunComfy model with focused parameters.

## Install

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

## Metadata

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

## Capabilities

- Routes single or batch edits to Nano Banana Edit, with up to 20 input images and four outputs.
- Uses GPT Image 2 Edit for multilingual text replacement, layout changes, and compositions with up to 10 references.
- Uses Flux Kontext Pro for one-image, one-instruction local edits with preservation guidance.
- Uses Z-Image Turbo Inpaint for mask-based removal or replacement with strength and control settings.
- Builds RunComfy CLI requests and downloads generated images to a selected output directory.

## Use Cases

- Localize Campaign Artwork: Replace headlines in multiple scripts while preserving photography, branding, layout, and visual identity.
- Standardize Product Galleries: Apply consistent backgrounds, dimensions, and presentation across a batch of product images.
- Clean Masked Regions: Remove distractions or replace selected regions while preserving nearby textures, edges, and lighting.

## Prompt Templates

### Make a Basic Edit

```
Edit [image URL]. Keep [elements] unchanged and change [target] to [desired result]. Save the result as [format].
```

### Edit a Consistent Batch

```
Apply [single edit] to [image URLs]. Preserve [identity or branding], lock [aspect ratio] and [resolution], and create [count] outputs.
```

### Compose References and Replace Text

```
Use image 1 as primary and images 2-[n] as references. Replace [text] with [exact text] in [script], preserving [layout details].
```

### Control a Masked Inpaint

```
Inpaint [region] using [image URL] and [mask URL]. Preserve [surroundings], set strength [value], control scale [value], and seed [number].
```

## Limitations

- Requires the RunComfy CLI, a RunComfy account, and a valid login or API token.
- Input images and masks must use publicly accessible HTTPS URLs for the documented routes.
- Selects one model route per call and does not blend multiple model pipelines.
- Quality, input counts, output sizes, latency, and availability depend on the selected model.

## Best Practices

- State preservation requirements before the requested change.
- Use one clear edit per pass and name precise locations.
- Lock aspect ratio, resolution, and seed when consistency or repeatability matters.

## Anti Patterns

- Do not place secrets or confidential assets in publicly accessible image URLs.
- Do not combine unrelated edits in one prompt.
- Do not interpolate untrusted prompts directly into shell command strings.

## Security Audit

- Audited at: 2026-07-23T08:52:33.24\+00:00
- Summary: Most static alerts are false positives caused by Markdown backticks, placeholder URLs, and ellipses misread as path traversal. The skill intentionally installs and invokes a third-party CLI, then sends prompts and image references to RunComfy. Its single-quoted JSON templates can permit shell injection if an agent interpolates untrusted text without robust escaping.

## Stats

- Views: 123
- Downloads: 9
- Favorites: 0
- Popularity score: 0
