Skip to content
Back to skills

Qwen Image Edit

ASecurity

BF16 image edit via GPU host ComfyUI-video adapter (qwen-image-edit-bf16-v1). Use when the user has a source PNG and a prompt to restyle or complete the scene — not product SD img2img.

  • 70 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 29, 2026
ai-agentspythonbash

Works with

  • cli

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 29, 2026

npx -y skills add Elumenotion/GuideAnts --skill qwen-image-edit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Qwen Image Edit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Qwen Image Edit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/elumenotion-qwen-image-edit/badge)](https://www.skillsdirectory.com/skills/elumenotion-qwen-image-edit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: qwen-image-edit
description: "BF16 image edit via GPU host ComfyUI-video adapter (qwen-image-edit-bf16-v1). Use when the user has a source PNG and a prompt to restyle or complete the scene — not product SD img2img."
metadata:
  guideants:
    enabled: true
    display_order: 42
    requires_toolsets: [sandbox]
---

# Qwen Image edit (BF16)

Paths — fixed layout, do not probe or re-derive. The sandbox CWD is the
notebook's **output directory**. This skill's scripts live under
`Skills/qwen-image-edit/scripts/` relative to it. Write deliverables with
**bare filenames** (e.g. `-o edit.png`); never prefix with `Output/`.

Image + prompt → PNG using `qwen-image-edit-bf16-v1`.

## When to use product SD tools instead

Simple img2img without Qwen edit graphs → built-in SD tools.

## GPU host gateway (env-configured)

The scripts read `QWEN_IMAGE_SKILL_BASE_URL` and `QWEN_IMAGE_SKILL_TOKEN` from the
guide Environment automatically — do **not** hardcode or export them inline.

Verify before running:

```bash
printenv QWEN_IMAGE_SKILL_BASE_URL >/dev/null && printenv QWEN_IMAGE_SKILL_TOKEN >/dev/null && echo "env ok" || echo "env missing"
```

If either is missing, stop and ask the user to set it in the guide's Environment
variables. Never scan the LAN or guess the GPU host's IP.


## Sampler profile (locked — tested Lightning)

Always use the CLI defaults. Do **not** pass `--steps`, `--cfg`, or `--lora-strength`.
`image_tool.py` forces steps=4, cfg=1, lora_strength=1 (same as BF16 overlay acceptance).

## Preflight

```bash
python3 Skills/qwen-image-edit/scripts/preflight.py --for edit-bf16
```

Requires `image_edit_bf16_ready`.

## Edit

```bash
python3 Skills/qwen-image-edit/scripts/image_tool.py edit \
  uploads/source.png "prompt…" -o edit.png
```

Source paths must stay under the notebook (e.g. `uploads/…`).

In ComfyUI: Workflows → `guideants/` or `guideants-jobs/` for the submitted graph.

## Job control

```bash
python3 Skills/qwen-image-edit/scripts/image_tool.py status <job_id>
python3 Skills/qwen-image-edit/scripts/image_tool.py result <job_id> -o out.png
```

## Reporting

Quote preflight if blocked. Deliverables are PNGs written to the CWD (bare filenames).

Files in this skill

  • SKILL.md2.2 KB
  • scripts/image_tool.py14.4 KB
  • scripts/preflight.py4.3 KB
  • scripts/skill_gateway_client.py6.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.