image-edit

Installation
SKILL.md

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.

Do not call other image CLIs, local scripts, or external image APIs.

When to use

Installs
12
Repository
yikart/aitoearn
GitHub Stars
28.4K
First Seen
Nov 5, 2026