This is a model for generation of oil painting style, trained on
Qwen/Qwen-Image-Edit
, and the main purpose is to generate images in an oil painting style. Surprisingly, this oil painting style can bypass the real-person image review process of sora2.For use in
ComfyUI
.
ComfyUI Workflow
This LoRA works with a modified version of
Comfy's Qwen-Image-Edit workflow
. The main modification is adding a Qwen-Image-Edit LoRA node connected to the base model.
See the Downloads section above for the modified workflow.
Video Demos
Direct Use
from diffusers import QwenImageEditPipeline
import torch
from PIL import Image
# Load the pipeline
pipeline = QwenImageEditPipeline.from_pretrained("Qwen/Qwen-Image-Edit")
pipeline.to(torch.bfloat16)
pipeline.to("cuda")
# Load trained LoRA weights for in-scene editing
pipeline.load_lora_weights("valiantcat/Qwen-Image-Edit-Skip-Sora",weight_name="qwen_edit_oil-paint.safetensors")
# Load input image
image = Image.open("./result/test.jpg").convert("RGB")
# Define in-scene editing prompt
prompt = "turn the image into the oil painting style. "
# 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("restlt.png")
Trigger phrase
turn the image into the oil painting style.
Download model
Weights for this model are available in Safetensors format.
Qwen-Image-Edit-Skip-Sora huggingface.co is an AI model on huggingface.co that provides Qwen-Image-Edit-Skip-Sora's model effect (), which can be used instantly with this joyfox Qwen-Image-Edit-Skip-Sora model. huggingface.co supports a free trial of the Qwen-Image-Edit-Skip-Sora model, and also provides paid use of the Qwen-Image-Edit-Skip-Sora. Support call Qwen-Image-Edit-Skip-Sora model through api, including Node.js, Python, http.
Qwen-Image-Edit-Skip-Sora huggingface.co is an online trial and call api platform, which integrates Qwen-Image-Edit-Skip-Sora's modeling effects, including api services, and provides a free online trial of Qwen-Image-Edit-Skip-Sora, you can try Qwen-Image-Edit-Skip-Sora online for free by clicking the link below.
joyfox Qwen-Image-Edit-Skip-Sora online free url in huggingface.co:
Qwen-Image-Edit-Skip-Sora is an open source model from GitHub that offers a free installation service, and any user can find Qwen-Image-Edit-Skip-Sora on GitHub to install. At the same time, huggingface.co provides the effect of Qwen-Image-Edit-Skip-Sora install, users can directly use Qwen-Image-Edit-Skip-Sora installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
Qwen-Image-Edit-Skip-Sora install url in huggingface.co: