Downloads · 30 days
165
1% of all-time downloads
peteromallet/Qwen-Image-Edit-InScene
Qwen-Image-Edit-InScene is a image-to-image model from peteromallet. Use it when you need one image transformed into another. It is set up for diffusers. The card lists the license as apache-2.0.
InScene and InScene Annotate are a pair of LoRA fine-tunes for QwenEdit that enhance its ability to generate images based on scene references. These models work together to provide flexible scene-based image generatio…
Downloads · 30 days
165
1% of all-time downloads
All-time downloads
28.4K
Public
Repo size
909 MB
Likes
92
Public
Click a slice to open those files.
.safetensors897 MB · 99%
From the Hugging Face model README
InScene and InScene Annotate are a pair of LoRA fine-tunes for QwenEdit that enhance its ability to generate images based on scene references. These models work together to provide flexible scene-based image generation with optional annotation support. Both models are currently in beta and will be improved significantly over time.
The main model that generates images based on scene composition and layout from a reference image. InScene is trained on pairs of different shots within the same scene, along with prompts describing the desired output. Its goal is to create entirely new shots within a scene while maintaining character consistency and scene coherence.
InScene is intentionally biased towards creating completely new shots rather than minor edits. This design choice overcomes Qwen-Image-Edit's internal bias toward making small, conservative edits, enabling more dramatic scene transformations while preserving the characters and overall scene identity.

InScene Annotate is trained on images with green rectangles drawn over specific regions. The model learns to generate images showing the subject within that green rectangle area. Rather than simply zooming in precisely on the marked region, it's trained to flexibly interpret instructions to show what's inside that area - capturing the subject, context, and framing in a more natural, composed way rather than a strict crop.

InScene and InScene Annotate are currently in beta.
To use the base InScene model, start your prompt with:
Show a different image in the same scene of:
And then describe what you want to generate.
For example:
Show a different image in the same scene of: a bustling city street at night.
To use InScene Annotate:
For example:
Zoom in on the girl, make her turn to the side and laugh
A ready-to-use ComfyUI workflow is included in this repository:
The workflow includes all necessary nodes and links to download the required models (base Qwen-Image-Edit model, VAE, text encoder, and Lightning LoRA).
InScene:
import torch
from diffusers import QwenImageEditPipeline
pipe = QwenImageEditPipeline.from_pretrained("Qwen/Qwen-Image-Edit", torch_dtype=torch.bfloat16)
pipe.to("cuda")
pipe.load_lora_weights("peteromallet/Qwen-Image-Edit-InScene", weight_name="InScene-0.7.safetensors")
InScene Annotate:
import torch
from diffusers import QwenImageEditPipeline
pipe = QwenImageEditPipeline.from_pretrained("Qwen/Qwen-Image-Edit", torch_dtype=torch.bfloat16)
pipe.to("cuda")
pipe.load_lora_weights("peteromallet/Qwen-Image-Edit-InScene", weight_name="InScene-Annotate-0.7.safetensors")
The models excel at:
The models may struggle with:
The InScene and InScene Annotate LoRAs were trained on curated datasets focusing on scene composition and spatial relationships. InScene uses pairs of different shots within the same scene, while InScene Annotate uses annotated images with green rectangle markers.
The training data will be released publicly when it's in a more stable state.