Image-to-Image
Diffusers
image
editing
lora
style-transfer
qwen

Run this model with HF Jobs

Run peteromallet/Qwen-Image-Edit-InStyle on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/peteromallet/Qwen-Image-Edit-InStyle. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/peteromallet/Qwen-Image-Edit-InStyle on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

QwenEdit InStyle LoRA

Model Description

QwenEdit InStyle is a LoRA fine-tune for QwenEdit that significantly improves its ability to generate images based on a style reference. While the base model has style transfer capabilities, it often misses the nuances of styles and can transplant unwanted details from the input image. This LoRA addresses these limitations to provide more accurate style-based image generation.

samples.png

How to Use

To get the best results, start your prompt with the phrase:

Make an image in this style of

And then describe what you want to generate.

For example: Make an image in this style of a serene mountain landscape at sunset.

use with diffusers

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-InStyle", weight_name="InStyle-0.5.safetensors")

Strengths & Weaknesses

The model excels at:

  • Capturing subtle style nuances from reference images
  • Avoiding unwanted detail transplantation from source images
  • Generating coherent images that match the intended style
  • Strong prompt adherence

The model may struggle with:

  • Extremely abstract or unconventional artistic styles
  • Very specific technical details that conflict with the reference style
  • Occasional anatomy issues

Training Data

The QwenEdit InStyle LoRA was trained on a curated dataset of high-quality Midjourney style references. This dataset focuses on diverse artistic styles and provides clean style-content separation for better training.

You can find the public dataset used for training here: https://huggingface.co/datasets/peteromallet/high-quality-midjouney-srefs

Links

Downloads last month
1,258
Inference Providers NEW

Model tree for peteromallet/Qwen-Image-Edit-InStyle

Adapter
(49)
this model

Dataset used to train peteromallet/Qwen-Image-Edit-InStyle

Space using peteromallet/Qwen-Image-Edit-InStyle 1