Individual skill

image-edit

Edit an existing image with deterministic pixel operations via image_edit — rotate, flip, crop (free/ratio/circle), resize, compress/format-convert, adjust brightness/saturation/contrast, sharpen, blur, mosaic, rounded corners, negate, overlay, and image watermark. Use when the user asks to 裁剪/旋转/翻转/缩放/压缩/打码/马赛克/加水印/叠图/圆角/调亮/调暗/锐化/模糊 an existing image, convert format, or hit a file-size limit. For AI re-creation, restyle, or adding text, use image-creation instead.

skills/codex-plugin-aitoearn/skills/aitoearn/references/image-edit/SKILL.md

Read pinned source

Source commit 5723de436173a92e5c17989a4032cd9a7b2b1d27

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
Yes
Repository scan complete
No
Skill scan complete
No
Observed behavior
Instructions only
Last checked
Nov 9, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
27,588
Repository last updated
Nov 11, 2026
License
MIT

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# Image Edit

Edit an existing image with `image_edit` — a local, deterministic pixel pipeline. No AI model and no credits for `image_edit` itself; the auxiliary `probe_image_metadata` call is billed per use. The result is pixel-exact and repeatable.

This is **fine-grained image editing**: unlike AI re-creation (`image-creation`), every operation is pixel-exact. Precision is the premise — free-crop regions, mosaic areas, watermark/overlay positions, and drawn shapes are source-image pixel coordinates, so always work from the real dimensions returned by `probe_image_metadata`, never from guesses.

## Tool

- `image_edit`: one call per image. Pass `url` (source image) plus `operations`, an ordered array of 1–20 operations applied in sequence.
- `probe_image_metadata` (auxiliary): read the source image's real width/height, format, and size with `info_type=metadata` (default). When transparency matters, use `info_type=alpha`; it also returns width/height/format, so do not call metadata first unless size is also required. Each probe is billed; do not call it again for the same URL.
- Output: `url` (edited image), `width`, `height`, `format`, `sizeBytes`.
- `compress` must be the **last** operation (it is the export step).
- Operations that introduce transparency (circle crop, rounded corners) output PNG with alpha.
Back to top