Instructions to use peteromallet/Qwen-Image-Edit-InScene with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use peteromallet/Qwen-Image-Edit-InScene with Diffusers:
pip install -U diffusers transformers accelerate
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", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("peteromallet/Qwen-Image-Edit-InScene") prompt = "Turn this cat into a dog" 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] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
Update README.md
Browse files
README.md
CHANGED
|
@@ -53,6 +53,14 @@ To use InScene Annotate:
|
|
| 53 |
For example:
|
| 54 |
`Zoom in on the girl, make her turn to the side and laugh`
|
| 55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
### Use with diffusers
|
| 57 |
|
| 58 |
**InScene:**
|
|
|
|
| 53 |
For example:
|
| 54 |
`Zoom in on the girl, make her turn to the side and laugh`
|
| 55 |
|
| 56 |
+
### Use with ComfyUI
|
| 57 |
+
|
| 58 |
+
A ready-to-use ComfyUI workflow is included in this repository:
|
| 59 |
+
|
| 60 |
+
- [workflow.json](workflow.json) - Complete ComfyUI workflow with model links and setup instructions
|
| 61 |
+
|
| 62 |
+
The workflow includes all necessary nodes and links to download the required models (base Qwen-Image-Edit model, VAE, text encoder, and Lightning LoRA).
|
| 63 |
+
|
| 64 |
### Use with diffusers
|
| 65 |
|
| 66 |
**InScene:**
|