import torch
from diffusers import DiffusionPipeline
from diffusers.utils import load_image
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2509", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("tarn59/apply_texture_qwen_image_edit_2509")
prompt = "Apply wood siding texture to building walls."
input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
image = pipe(image=input_image, prompt=prompt).images[0]Apply Texture LoRA

- Prompt
- Apply wood siding texture to building walls.

- Prompt
- Apply salmon texture to leaves and stems
Model description
Apply textures to objects, buildings, and sprites. Motivated by a discussion with an ads company that uses textures to force assets to take a similar style. Free for all to use.
Prompt: Apply {texture description} texture to {optional qualifier (left, right, front, back)} object or thing. Example: Apply crochet texture to all the trees.
Works with recursion as well
Prompt: Apply the woman holding a sign texture to the white sign. The sign should show a woman holding a sign that sign should show a woman holding a sign.
Trigger words
You should use Apply ... texture to ... to trigger the image generation.
Download model
Download them in the Files & versions tab.
- Downloads last month
- 2,253
Model tree for tarn59/apply_texture_qwen_image_edit_2509
Base model
Qwen/Qwen-Image-Edit-2509
