- name
SKILL.md
技能檔案保留在發布者的儲存庫中。
在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add digitalsamba/claude-code-video-toolkit --skill qwen-edit -a cursor -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add digitalsamba/claude-code-video-toolkit --skill qwen-edit -a claude-code -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add digitalsamba/claude-code-video-toolkit --skill qwen-edit -a codex -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add digitalsamba/claude-code-video-toolkit --skill qwen-edit -a grok -y在 Grok Bot 聊天中傳送複製的訊息。Bot 會從 GitHub 取得這個 SKILL.md,並加入你所有 Bot 共用的技能中。
Install this skill: https://github.com/digitalsamba/claude-code-video-toolkit/tree/HEAD/.claude/skills/qwen-edit來自發布者
AI-powered image editing via tools/image_edit.py. The model depends on the deployment:
The tool prints Model: and Steps: after each edit, so you can tell which model the Modal app
runs and how many steps it took. Without --steps, each model runs its own default above.
Opt in with IMAGE_EDIT_MODEL=qwen-image-2.1 uv run modal deploy docker/modal-image-edit/app.py;
deploy again without it to switch back.
Status: Evolving - learnings being captured as we experiment. The prompt
patterns and parameter findings in examples.md / parameters.md were measured
on 2511; re-check them on 2.1 before relying on the exact numbers.
--guidance 1.0 (default) is how the model is meant
to run. >1 switches on true CFG (blank negative prompt if you pass none) and
doubles the cost of every step.--input is the image being edited ("image 1"); the
rest are references in order ("image 2", ...). Up to 10. Output size follows the
first image's aspect ratio at ~1MP.--input, and say what to change there
(e.g. "Remove the watch inside the red circle")."This is an RGBA image with transparency. <subject>. The image has alpha channel and the background is transparent." -- the result comes back as an RGBA PNG only
when the model actually produced transparency.Use when the user wants to:
.claude/skills/parody-short/people.md).
For someone who does wear glasses, name them ("keeps wearing her round glasses"), or a new setting can drop them# Basic edit
uv run tools/image_edit.py --input photo.jpg --prompt "Add sunglasses"
# With negative prompt (recommended)
uv run tools/image_edit.py --input photo.jpg \
--prompt "Reframe as portrait with full head visible" \
--negative "blur, distortion, artifacts"
# Style transfer
uv run tools/image_edit.py --input photo.jpg --style cyberpunk
# Background (use cautiously - often fails)
uv run tools/image_edit.py --input photo.jpg --background office
# Higher quality (RunPod / 2511 -- on Modal / 2.1 the 40-step default already is)
uv run tools/image_edit.py --input photo.jpg --prompt "..." --steps 16 --guidance 3.0 --cloud runpod
# Extract the subject onto a transparent background (Modal / 2.1)
uv run tools/image_edit.py --input product.jpg --prompt "This is an RGBA image with transparency. The product from the photo. The image has alpha channel and the background is transparent." --output product_cutout.png
# Multi-image composite (identity-preserving) -- settings tuned on RunPod / 2511
uv run tools/image_edit.py --input person.jpg background.jpg \
--prompt "The [ethnicity] [gender] with [hair description] from first image is now in [scene] from second image. Same [features], [outfit]." \
--negative "different ethnicity, different hair color, different face shape, generic stock photo" \
--steps 16 --guidance 2.0 --cloud runpod
# Multi-image composite on Modal / 2.1 -- up to 10 references, defaults usually suffice
uv run tools/image_edit.py --input person.jpg outfit.jpg shoes.jpg background.jpg \
--prompt "The person from image 1 wearing the outfit from image 2 and the shoes from image 3, standing in the scene from image 4. Same face and hair."
prompting.md - Prompt patterns and structureexamples.md - Good/bad examples from experimentsparameters.md - Tuning steps, guidance, negative promptstools/image_edit.py - CLI wrapper for the Modal (docker/modal-image-edit/) and RunPod
(docker/runpod-qwen-edit/) endpoints
docs/qwen-edit-patterns.md - Character transformation patterns.ai_dev/qwen-edit-research.md - Research notesAI image editing prompting patterns for Qwen-Image (Qwen-Image-Edit-2511 by default, Qwen-Image-2.1 as a non-commercial Modal opt-in). Use when editing photos while preserving identity, reframing crop
---name: qwen-editdescription: AI image editing prompting patterns for Qwen-Image (Qwen-Image-Edit-2511 by default, Qwen-Image-2.1 as a…---# .claude/skills/qwen-edit/SKILL.md總覽
AI image editing prompting patterns for Qwen-Image (Qwen-Image-Edit-2511 by default, Qwen-Image-2.1 as a non-commercial Modal opt-in). Use when editing photos while preserving identity, reframing cropped images, changing clothing or accessories, adjusting poses, applying style transfers, or character transformations. Provides prompt patterns, parameter tuning, and examples.
常見問題
從發布者下載 .claude/skills/qwen-edit/SKILL.md,或複製路徑後開啟儲存庫。PlugMCP 只收錄這項技能,不代管檔案。
發布者將它存放在 https://github.com/digitalsamba/claude-code-video-toolkit。
Claude、Cursor、Codex 和 Grok Build 可以讀取你從發布者儲存庫加入的 SKILL.md。在聊天中傳送技能的 GitHub 資料夾連結,Grok Bot 就會安裝它。