Instructions to use Runware/Qwen-Image-Edit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Runware/Qwen-Image-Edit 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("Runware/Qwen-Image-Edit", torch_dtype=torch.bfloat16, device_map="cuda") 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
Update README.md (#4)
Browse files- Update README.md (7d8f0fa549e241c42d20d9decf67c0b884e827c3)
Co-authored-by: Kun Yan <naykun@users.noreply.huggingface.co>
README.md
CHANGED
|
@@ -89,7 +89,6 @@ Here’s another interesting example—removing fine strands of hair:
|
|
| 89 |
Below shows how to modify the color of text in an image—changing the color of the letter "n" to blue:
|
| 90 |

|
| 91 |
Appearance editing is also crucial in modifying human poses, backgrounds, and clothing, as demonstrated in the following three images:
|
| 92 |
-

|
| 93 |

|
| 94 |

|
| 95 |
The second hallmark of Qwen-Image-Edit is its accurate text editing, made possible by Qwen-Image’s powerful text rendering capabilities.
|
|
|
|
| 89 |
Below shows how to modify the color of text in an image—changing the color of the letter "n" to blue:
|
| 90 |

|
| 91 |
Appearance editing is also crucial in modifying human poses, backgrounds, and clothing, as demonstrated in the following three images:
|
|
|
|
| 92 |

|
| 93 |

|
| 94 |
The second hallmark of Qwen-Image-Edit is its accurate text editing, made possible by Qwen-Image’s powerful text rendering capabilities.
|