Views
No views yet
Qwen/Qwen-Image-Edit-2511. It is a general-purpose image editing LoRA for transforming ordinary input images into a trendy figurine / blind-box toy style with Pop Mart-inspired aesthetics, cute chibi proportions, smooth PVC material, delicate gloss, soft colors, and high-detail 3D rendering. The model can be used with a broad range of common images, including people, portraits, full-body characters, animals, pets, objects, products, indoor scenes, outdoor scenes, lifestyle photos, and mixed real-world compositions. It focuses on preserving the main subject identity and recognizable structure while restyling the image into a collectible toy / 3D figurine look. For use in ComfyUI or any Qwen-Image-Edit-2511 compatible LoRA inference pipeline.qwen_image_edit_2511_trendy_figurines.safetensors into ComfyUI/models/loras/, import the linked workflow in ComfyUI, then select this LoRA weight in the workflow.1from diffusers import QwenImageEditPipeline
2import torch
3from PIL import Image
4
5# Load the Qwen-Image-Edit-2511 pipeline.
6pipeline = QwenImageEditPipeline.from_pretrained(
7 "Qwen/Qwen-Image-Edit-2511",
8 torch_dtype=torch.bfloat16,
9)
10pipeline.to("cuda")
11
12# Load trained LoRA weights for trendy figurine image editing.
13pipeline.load_lora_weights(
14 "starsfriday/Qwen-Image-Edit-2511-Trendy_figurines",
15 weight_name="qwen_image_edit_2511_trendy_figurines.safetensors",
16)
17
18# Load input image.
19image = Image.open("./input.png").convert("RGB")
20
21# Define the editing prompt.
22prompt = "把整个图片的内容变成潮玩手办风格,风格: 盲盒玩具风,泡泡玛特审美,Q版风格,材质: 光滑PVC材质,细腻光泽,细节: 精致细节,柔和配色,渲染: 3D渲染,Octane渲染,高细节,8k超高清。"
23
24# Generate edited image.
25inputs = {
26 "image": image,
27 "prompt": prompt,
28 "generator": torch.manual_seed(12345),
29 "true_cfg_scale": 3.0,
30 "negative_prompt": " ",
31 "num_inference_steps": 25,
32}
33
34with torch.inference_mode():
35 output = pipeline(**inputs)
36 output_image = output.images[0]
37 output_image.save("edited_image.png")把整个图片的内容变成潮玩手办风格,风格: 盲盒玩具风,泡泡玛特审美,Q版风格,材质: 光滑PVC材质,细腻光泽,细节: 精致细节,柔和配色,渲染: 3D渲染,Octane渲染,高细节,8k超高清。1024 x 1024flowmatch2530.8 to 1.0