mcpField
M
meitu-image-edit

meitu-image-edit

github.com/tangyangCreative & media039 installsUpdated 32w ago
Repository

About meitu-image-edit

meitu-image-edit is a skill for editing an existing image from an image input and a text prompt. It supports local or full-image edits, with optional output size, format, and aspect ratio settings.

Key features

  1. 01Edit an existing image
  2. 02Use a text prompt to guide edits
  3. 03Set output size, format, and ratio

Use cases

  1. 01Make localized changes to an image
  2. 02Revise an image as a whole

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/tangyang/skills --skill meitu-image-edit

After installing, type/meitu-image-editin Claude Code to confirm it loaded.

Details

From the project README

When to use:

  • 用户需要“图片编辑”。
  • 已有图片,需要局部或整体改图。

Input contract:

  • required: image, prompt
  • optional: size, output_format, ratio

Execution:

python3 "{baseDir}/../meitu-ai/scripts/run_command.py" --command "image-edit" --input-json '<json object>'

Output:

  • ok, command, task_id, media_urls, result

Comments

Markdown supported