valiantcat Qwen-Image-Edit-2509 LoRA

Prompt
保持图3的图片和视角不改变,让图1和图2中的人在图三的地铁上的座位坐着一只手抓着扶手上靠着拥抱着激情亲吻
Prompt
保持图3的图片和视角不改变,让图1和图2中的人在图三的电梯中的右边角落站着拥抱着激情亲吻
Prompt
保持图3的图片和视角不改变,让图1和图2中的人在图三的钢琴边上靠着拥抱着激情亲吻
Prompt
保持图3的图片和视角不改变,让图1和图2中的人在图三的台球桌上靠着拥抱着激情亲吻
Prompt
保持图3的图片和视角不改变,让图1和图2中的人在图三的洗衣房上靠着洗衣机拥抱着激情亲吻
Prompt
保持图3的图片和视角不改变,让图1和图2中的人在图三的马路上站立拥抱着激情亲吻

Model Card for Model ID

This is a model for generation of embrace and kiss images of the specified person and the specified scene, trained on Qwen/Qwen-Image-Edit-2509, and it is mainly used to generate an image of a hug and kiss in the current scene based on two uploaded character pictures and one scene picture, while maintaining consistency between the characters and the scene.For use in ComfyUI.

ComfyUI Workflow

This LoRA works with a modified version of Comfy's Qwen/Qwen-Image-Edit-2509 workflow. The main modification is adding a Qwen/Qwen-Image-Edit-2509 LoRA node connected to the base model.

See the Downloads section above for the modified workflow.

Direct Use

from diffusers import QwenImageEditPipeline
import torch
from PIL import Image

# Load the pipeline
pipeline = QwenImageEditPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2509")
pipeline.to(torch.bfloat16)
pipeline.to("cuda")

# Load trained LoRA weights for in-scene editing
pipeline.load_lora_weights("valiantcat/Qwen-Image-Edit-2509-Passionate-kiss", weight_name="qwen_image_edit_2509_Passionate-kiss.safetensors")

# Load input image
image = Image.open("./result/test.jpg").convert("RGB")

# Define in-scene editing prompt
prompt = "Make a shot in the same scene of the left hand securing the edge of the cutting board while the right hand tilts it, causing the chopped tomatoes to slide off into the pan, camera angle shifts slightly to the left to center more on the pan."

# Generate edited image with enhanced scene understanding
inputs = {
    "image": image,
    "prompt": prompt,
    "generator": torch.manual_seed(12345),
    "true_cfg_scale": 4.0,
    "negative_prompt": " ",
    "num_inference_steps": 50,
}

with torch.inference_mode():
    output = pipeline(**inputs)
    output_image = output.images[0]
    output_image.save("edited_image.png")

Trigger phrase

保持图3的图片和视角不改变,让图1和图2中的人在图三的马路上站立拥抱着激情亲吻.

There is no fixed trigger word. The specific removal prompt needs to be tested more

Download model

Weights for this model are available in Safetensors format.

Download

Training at Chongqing Valiant Cat

This model was trained by the AI Laboratory of Chongqing Valiant Cat Technology Co., LTD(https://vvicat.com/).Business cooperation is welcome

Downloads last month
62
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for valiantcat/Qwen-Image-Edit-2509-Passionate-kiss

Adapter
(22)
this model

Collection including valiantcat/Qwen-Image-Edit-2509-Passionate-kiss