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 Settings
- Draw Things
- DiffusionBee