Instructions to use Qwen/Qwen-Image-Edit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Qwen/Qwen-Image-Edit with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-Edit", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
Add VDEBench evaluation results
Hi π this PR adds this model's VDEBench scores to .eval_results/, so they show up on the model page and on the VDEBench leaderboard.
VDEBench evaluates instruction-guided editing of dense English/Chinese document pages (3,506 examples). Each score is the equally weighted mean of IoU, CDM, BLEU-4 and TEDS (0β1, higher is better):
| Task | Score |
|---|---|
local (edited region, headline) |
0.757 |
global (full page) |
0.799 |
Scores come from the VDEBench paper (arXiv:2602.00122v4, Table 2), and the VDEBench authors confirmed both the values and the evaluated checkpoint (discussion).
While this PR is open the scores appear as community-provided; merging it makes them official, and closing it removes them. Docs: https://huggingface.co/docs/hub/eval-results Β· https://huggingface.co/docs/hub/leaderboard-data-guide
Thanks!
PIKAN JAVANAN MINIATURE UNBOXING β 20 SECONDS
Create a 20-second ultra-realistic cinematic miniature unboxing video based on the provided reference image. The hero car is a classic Iranian Paykan Javanan sedan, glossy black paint, authentic 1970s Iranian design, rectangular headlights, classic chrome front grille and bumpers, silver hubcaps, thin chrome side trim, and realistic vintage proportions.
Scene 1 (0β4 seconds): Close-up of tiny human hands cutting yellow security seals on a black miniature shipping container with metal pliers. Realistic metallic clicking and satisfying ASMR sounds.
Scene 2 (4β7 seconds): The container doors slowly open, revealing the glossy black miniature Paykan Javanan wrapped in transparent protective plastic. Dramatic warm workshop lighting and a cinematic reveal.
Scene 3 (7β12 seconds): Macro close-ups of tiny hands carefully peeling the transparent film from the hood, front grille, rectangular headlights, side doors, windows, and chrome bumpers. Realistic plastic crinkling and reflections on the black paint.
Scene 4 (12β15 seconds): The final protective film is removed from the interior. A tiny hand turns the ignition key. The rectangular headlights illuminate with a warm yellow glow, followed by a realistic classic engine startup sound.
Scene 5 (15β18 seconds): The fully unboxed miniature Paykan Javanan slowly drives out of the shipping container onto a wooden mechanic workshop floor. Realistic rotating wheels, shining chrome details, and smooth movement.
Scene 6 (18β20 seconds): Epic final beauty shot of the black miniature Paykan Javanan, three-quarter front view, headlights on, chrome bumper reflecting warm lights, shallow depth of field, cinematic camera push-in.
Visual style: Photorealistic handcrafted miniature diorama, macro photography, vertical 9:16, 4K details, warm cinematic lighting, realistic human hands, premium collectible model commercial, smooth transitions.
Strict continuity: Keep the exact same classic Iranian Paykan Javanan throughout the entire video. Preserve the black paint, rectangular headlights, Iranian Paykan grille, chrome bumpers, classic wheels, and original body proportions. The car must always remain a miniature model, never a full-size vehicle. No BMW styling, no round BMW headlights, no morphing, no distorted hands, no text, no watermark.
Audio: Realistic metal clipping, container door creaks, plastic peeling ASMR, ignition click, vintage engine startup and gentle engine idle.
Exactly 20 seconds total. Fast but smooth pacing. Use the uploaded image as the visual reference for the classic Paykan styling.
