Instructions to use tarn59/book_flatten_and_crop_qwen_image_edit_2511 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use tarn59/book_flatten_and_crop_qwen_image_edit_2511 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2511", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("tarn59/book_flatten_and_crop_qwen_image_edit_2511") prompt = "flatten and crop the book image, remove the middle crease, zoom in" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Book Flatten Lora
.png)
- Prompt
- flatten and crop the book image, remove the middle crease, zoom in

- Prompt
- flatten and crop the book image, remove the middle crease, zoom in
Model description
Flattens, crops and merges images that are split between 2 pages. User will need to play around with aspect ratio and resolution to get it right (different books have different aspect ratios). Works well with https://huggingface.co/Osrivers/Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors/tree/main for speed
Trigger words
You should use flatten and crop the book image to trigger the image generation.
You should use remove the middle crease to trigger the image generation.
You should use zoom in to trigger the image generation.
Download model
Download them in the Files & versions tab.
- Downloads last month
- 10
Model tree for tarn59/book_flatten_and_crop_qwen_image_edit_2511
Base model
Qwen/Qwen-Image-Edit-2511