qwen-edit

GitHub

提供基于Qwen-Image-Edit的AI图像编辑提示词模式、参数调优及示例,支持身份保留编辑、重构图、换装、姿态调整、风格迁移及角色变换等场景。

.claude/skills/qwen-edit/SKILL.md digitalsamba/claude-code-video-toolkit

Trigger Scenarios

用户需要编辑照片并保留人物身份特征 需要对图像进行风格迁移或角色变换 用户希望调整图像构图、服装或姿态

Install

npx skills add digitalsamba/claude-code-video-toolkit --skill qwen-edit -g -y
More Options

Non-standard path

npx skills add https://github.com/digitalsamba/claude-code-video-toolkit/tree/main/.claude/skills/qwen-edit -g -y

Use without installing

npx skills use digitalsamba/claude-code-video-toolkit@qwen-edit

指定 Agent (Claude Code)

npx skills add digitalsamba/claude-code-video-toolkit --skill qwen-edit -a claude-code -g -y

安装 repo 全部 skill

npx skills add digitalsamba/claude-code-video-toolkit --all -g -y

预览 repo 内 skill

npx skills add digitalsamba/claude-code-video-toolkit --list

SKILL.md

Frontmatter
{
    "name": "qwen-edit",
    "description": "AI image editing prompting patterns for Qwen-Image-Edit. 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."
}

Qwen-Image-Edit Skill

AI-powered image editing using Qwen-Image-Edit-2511 via RunPod serverless.

Status: Evolving - learnings being captured as we experiment

When to Use This Skill

Use when the user wants to:

  • Edit/transform photos while preserving identity
  • Reframe cropped images (fix cut-off heads, etc.)
  • Change clothing, add accessories
  • Change pose (arm positions, hand placement)
  • Apply style transfers (cyberpunk, anime, oil painting)
  • Adjust lighting/color grading
  • Add/remove objects
  • Character transformations (Bond, Neo, etc.)

When NOT to Use

  • Background replacement (single image) - creates cut-out artifacts, halos
  • Face swapping - cannot preserve identity from reference
  • Outpainting - can't extend canvas reliably

Use With Care

  • Multi-image compositing - CAN work with explicit identity anchors (see examples.md for prompt patterns). Requires describing distinctive features (hair texture/color, ethnicity, outfit) and using guidance ~2.0
  • Camera angle changes - Inconsistent results. Vertical angles (low/high) work better than rotational (three-quarter view)

Quick Reference

# 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
uv run tools/image_edit.py --input photo.jpg --prompt "..." --steps 16 --guidance 3.0

# Multi-image composite (identity-preserving)
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

Key Files

  • prompting.md - Prompt patterns and structure
  • examples.md - Good/bad examples from experiments
  • parameters.md - Tuning steps, guidance, negative prompts

Tool Location

tools/image_edit.py - CLI wrapper for RunPod endpoint

Related Docs

  • docs/qwen-edit-patterns.md - Character transformation patterns
  • .ai_dev/qwen-edit-research.md - Research notes

Version History

  • 5558295 Current 2026-08-28 12:11

    将Python依赖管理从pip/venv切换为uv,所有工具调用更新为uv run格式,并同步最新依赖。

  • 9826feb 2026-07-25 08:01

Same Skill Collection

.claude/skills/acestep/SKILL.md
.claude/skills/elevenlabs/SKILL.md
.claude/skills/ffmpeg/SKILL.md
.claude/skills/frontend-design/SKILL.md
.claude/skills/ideogram4/SKILL.md
.claude/skills/ltx2/SKILL.md
.claude/skills/playwright-recording/SKILL.md
.claude/skills/remotion/SKILL.md
.claude/skills/runpod/SKILL.md
skills/openclaw-video-toolkit/SKILL.md
.claude/skills/moviepy/SKILL.md
.claude/skills/remotion-official/SKILL.md

Metadata

Files
0
Version
f91608a
Hash
222c5020
Indexed
2026-07-25 08:01

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-07 05:28
浙ICP备14020137号-1 $Carte des visiteurs$