peteromallet / Qwen-Image-Edit-InScene

huggingface.co
Total runs: 226
24-hour runs: 0
7-day runs: 40
30-day runs: -620
Model's Last Updated: November 01 2025
image-to-image

Introduction of Qwen-Image-Edit-InScene

Model Details of Qwen-Image-Edit-InScene

QwenEdit InScene LoRAs (Beta)

Model Description

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.

InScene

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-samples.png

InScene Annotate

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-annotate-samples.png

InScene and InScene Annotate are currently in beta.

How to Use
InScene

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.

InScene Annotate

To use InScene Annotate:

  1. Draw a green rectangle over the subject or area of interest in your reference image
  2. Describe what you want to focus on and how it should change

For example: Zoom in on the girl, make her turn to the side and laugh

Use with ComfyUI

A ready-to-use ComfyUI workflow is included in this repository:

  • workflow.json - Complete ComfyUI workflow with model links and setup instructions

The workflow includes all necessary nodes and links to download the required models (base Qwen-Image-Edit model, VAE, text encoder, and Lightning LoRA).

Use with diffusers

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")
Strengths & Weaknesses

The models excel at:

  • Capturing scene composition and spatial layout from reference images
  • Maintaining consistent scene structure while varying content
  • Understanding spatial relationships between elements
  • Strong prompt adherence with scene-aware generation
  • (Annotate) Precise control using annotated references

The models may struggle with:

  • Very complex multi-layered scenes with numerous elements
  • Extremely abstract or non-traditional scene compositions
  • Fine-grained details that conflict with the reference scene layout
  • Occasional depth perception issues
Training Data

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.

Links

Runs of peteromallet Qwen-Image-Edit-InScene on huggingface.co

226
Total runs
0
24-hour runs
6
3-day runs
40
7-day runs
-620
30-day runs

More Information About Qwen-Image-Edit-InScene huggingface.co Model

More Qwen-Image-Edit-InScene license Visit here:

https://choosealicense.com/licenses/apache-2.0

Qwen-Image-Edit-InScene huggingface.co

Qwen-Image-Edit-InScene huggingface.co is an AI model on huggingface.co that provides Qwen-Image-Edit-InScene's model effect (), which can be used instantly with this peteromallet Qwen-Image-Edit-InScene model. huggingface.co supports a free trial of the Qwen-Image-Edit-InScene model, and also provides paid use of the Qwen-Image-Edit-InScene. Support call Qwen-Image-Edit-InScene model through api, including Node.js, Python, http.

Qwen-Image-Edit-InScene huggingface.co Url

https://huggingface.co/peteromallet/Qwen-Image-Edit-InScene

peteromallet Qwen-Image-Edit-InScene online free

Qwen-Image-Edit-InScene huggingface.co is an online trial and call api platform, which integrates Qwen-Image-Edit-InScene's modeling effects, including api services, and provides a free online trial of Qwen-Image-Edit-InScene, you can try Qwen-Image-Edit-InScene online for free by clicking the link below.

peteromallet Qwen-Image-Edit-InScene online free url in huggingface.co:

https://huggingface.co/peteromallet/Qwen-Image-Edit-InScene

Qwen-Image-Edit-InScene install

Qwen-Image-Edit-InScene is an open source model from GitHub that offers a free installation service, and any user can find Qwen-Image-Edit-InScene on GitHub to install. At the same time, huggingface.co provides the effect of Qwen-Image-Edit-InScene install, users can directly use Qwen-Image-Edit-InScene installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Qwen-Image-Edit-InScene install url in huggingface.co:

https://huggingface.co/peteromallet/Qwen-Image-Edit-InScene

Url of Qwen-Image-Edit-InScene

Qwen-Image-Edit-InScene huggingface.co Url

Provider of Qwen-Image-Edit-InScene huggingface.co

peteromallet
ORGANIZATIONS

Other API from peteromallet