image-edit

image-edit is a skill for Claude Code, Codex from meitu/meitu-skills. It costs 95 tokens per session (2,100 once invoked), scanned A, original, MIT.

An image-editing tool that changes an existing picture or creates a variation based on one or more reference images and a text instruction. It supports edits such as replacing or adding content, changing portraits, preparing product images, and creating designs from references.

In plain words
What is it for?
Use it to edit people, products, layouts, or multiple related images, or to create a cover, card, or visual concept from a reference image.
Why use it?
It lets you describe the change instead of editing the picture manually, while keeping the supplied image as the starting point.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to edit people, products, layouts, or multiple related images, or to create a cover, card, or visual concept from a reference image.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/meitu/meitu-skills/image-edit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add meitu/meitu-skills --skill image-edit
Clone the repo
git clone --depth 1 https://github.com/meitu/meitu-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for image-edit

README.md
[![agentmods](https://agentmods.dev/badge/skills/meitu/meitu-skills/image-edit/github.svg)](https://agentmods.dev/skills/meitu/meitu-skills/image-edit)
Your own site
<a href="https://agentmods.dev/skills/meitu/meitu-skills/image-edit"><img src="https://agentmods.dev/badge/skills/meitu/meitu-skills/image-edit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for image-edit

Your own site · 80×15
<a href="https://agentmods.dev/skills/meitu/meitu-skills/image-edit"><img src="https://agentmods.dev/badge/skills/meitu/meitu-skills/image-edit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,100 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 5 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 5
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 9
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 11
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 17
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Rogue Agent · line 21
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00095 $0.02100
Opus 5 $0.00048 $0.01050
Sonnet 5 $0.00019 $0.00420
Haiku 4.5 $0.00010 $0.00210

Measured 11d ago against content hash b97e09861d0e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

image-edit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/image-edit/SKILL.md · 144 lines

How it starts

The opening of the file, as written. The whole thing — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.

图生图(image-edit)

Overview

对已有图片施加内容编辑或基于参考图创作全新图片(必须有底图)。覆盖 5 类场景:电商产品出图(白底/场景/多角度/带文字)、人像编辑(人脸/妆容/发型/姿态)、多图与一致性编辑、通用编辑(替换/添加/构图)、参考图创作(创意视觉稿/名片/封面)。涉及文字添加/替换时目标文字内容保持原样不翻译;"IP"指角色图案而非文字。

执行前应让用户清楚知道:本 Skill 会读取本地 Meitu 凭证、调用 meitu image-edit,并把输入图片、提示词及生成结果发送到/写回外部服务与本地输出目录。

API Mapping

  • 人像编辑:image_gummy_edit_v45
  • 多图/一致性/通用/电商/参考图创作(主):image_praline_edit_v2
  • 通用编辑(降级):image_praline_edit_2
  • 工具内兜底:image_mint_edit
  • Nougat 高质量(外部显式指定):image_nougat_edit(路由不识别;image_list 最多 10 张;不支持 output_format;size 内部常量 2K;quality 由 API 内部默认 Medium 不对外暴露)

model 映射:auto(默认按路由)/gummy_pro→gummy/praline_pro→v2/praline_lite→2/mint_edit→mint/nougat→nougat_edit(外部显式指定触发)

Dependencies

  • meitu-cli: >=2.0.6npm install -g meitu-cli@latest
  • 凭证:CONFIG AKSK → meitu tools update;EXEC AKSK → 实际执行(见根 CONFIG.md
  • 环境变量MEITU_OPENAPI_TOOL_TASK_MODE=command

路径别名:$VISUAL = {OPENCLAW_HOME}/workspace/visual/

Core Workflow

Preflight → Execute → Deliver

Preflight

  1. meitu --version ≥ 2.0.6(否则 npm install -g meitu-cli@latest
  2. 确认已跑过 meitu tools update(用 CONFIG AKSK)
  3. 当前 AKSK = EXEC,且 MEITU_OPENAPI_TOOL_TASK_MODE=command
  4. 解析 output_dir:openclaw.yaml → ./output/ |else → $VISUAL/output/image-edit/mkdir -p

Execute

触发信号 / 路由规则

核心判断维度:电商产品出图 → 前置判断(参考图创作 / 多图)→ 单图场景分类

决策顺序: 0. 前置 0 — 电商产品出图:产品图 + 电商意图(白底/主图/场景/多角度/促销文字) → image_praline_edit_v2

  1. 前置 A — 参考图创作:有参考图 + 生成全新图意图 → image_praline_edit_v2
  2. 前置 B — 多图输入image_list ≥ 2 张 → image_praline_edit_v2(强制使用 image_list
  3. 单图场景(优先级:人像 > 一致性 > 通用):
    • 人像(人脸/表情/妆容/发型/肤色/姿态/五官) → image_gummy_edit_v45
    • 一致性(商品微调/保持主体/已有图片文字替换) → image_praline_edit_v2
    • 通用(替换/添加/构图) → image_praline_edit_v2

参数定义

通用参数(所有 API 共用):

参数 类型 必填 说明
image_list ARRAY[STRING] 图片地址列表,所有 API 统一使用。缺失 → 提示"请提供图片"
prompt STRING 编辑描述。文字添加/替换场景目标文字保持用户原文不翻译;"IP"指图案/角色而非文字

Read the full file on GitHub · 144 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 144 lines · 95 tokens per session scan A b97e09861d0e

Subscribe to this mod's changes

image-edit is a skill published in the GitHub repository meitu/meitu-skills (32 stars, last pushed 13d ago), licensed MIT. It adds 95 tokens to every session and 2,100 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

general-video

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…

heygen-com/hyperframes · 92 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

diagnostic-stem-delivery

Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.

HKUDS/OpenSpace · 23 tokens

chengfeng-check-updates

An environment manager for a video-editing system. It checks whether its skills and runtime—the software needed to run them—are installed and compatible.

Agentchengfeng/chengfeng-videocut-skills · 120 tokens