---
name: Qwen Image Edit
slug: qwen-image-edit
category: AI Engineering
description: Qwen Image Edit provides prompting patterns, parameter tuning, and examples for AI image editing with Qwen-Image-Edit, used to preserve identity in photo edits, reframe cropped images, change clothing or accessories, adjust poses, apply style transfers, or transform characters.
github: "https://github.com/digitalsamba/claude-code-video-toolkit/tree/main/.claude/skills/qwen-edit"
language: Python
stars: 1951
forks: 327
install: "npx degit https://github.com/digitalsamba/claude-code-video-toolkit/tree/main/.claude/skills/qwen-edit ~/.claude/skills/qwen-edit"
installs_to: ~/.claude/skills/qwen-edit
source_path: .claude/skills/qwen-edit/SKILL.md
collection_size: 13
category_size: 2451
collection_url: "https://dirskills.com/collections/digitalsamba/claude-code-video-toolkit"
added: 2026-08-18T06:59:02.652Z
last_synced: 2026-08-18T06:59:02.652Z
canonical_url: "https://dirskills.com/skills/qwen-image-edit"
---

# Qwen Image Edit

Qwen Image Edit provides prompting patterns, parameter tuning, and examples for AI image editing with Qwen-Image-Edit, used to preserve identity in photo edits, reframe cropped images, change clothing or accessories, adjust poses, apply style transfers, or transform characters.

**Install:**

```bash
npx degit https://github.com/digitalsamba/claude-code-video-toolkit/tree/main/.claude/skills/qwen-edit ~/.claude/skills/qwen-edit
```

## README

# 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

```bash
# Basic edit
python tools/image_edit.py --input photo.jpg --prompt "Add sunglasses"

# With negative prompt (recommended)
python tools/image_edit.py --input photo.jpg \
  --prompt "Reframe as portrait with full head visible" \
  --negative "blur, distortion, artifacts"

# Style transfer
python tools/image_edit.py --input photo.jpg --style cyberpunk

# Background (use cautiously - often fails)
python tools/image_edit.py --input photo.jpg --background office

# Higher quality
python tools/image_edit.py --input photo.jpg --prompt "..." --steps 16 --guidance 3.0

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