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
- 01Edit an existing image
- 02Use a text prompt to guide edits
- 03Set output size, format, and ratio
Use cases
- 01Make localized changes to an image
- 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-editAfter installing, type/meitu-image-editin Claude Code to confirm it loaded.
Details
From the project READMEWhen 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