Image-to-Image
Diffusers
Safetensors
ZenImageEditPipeline
text-to-image
image-editing
qwen-image
text-encoder
adapter
Instructions to use AiArtLab/zen-image-edit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AiArtLab/zen-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("AiArtLab/zen-image-edit", 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
Download media/edit_char.jpg from AiArtLab/zen-image-edit: direct link, hf CLI and curl.
- Browser
- Download file 123 kB
-
https://huggingface.co/AiArtLab/zen-image-edit/resolve/main/media/edit_char.jpg
- Command line
-
hf download hf://AiArtLab/zen-image-edit/media/edit_char.jpg
-
curl -L -o edit_char.jpg https://huggingface.co/AiArtLab/zen-image-edit/resolve/main/media/edit_char.jpg
123 kB

- Xet hash:
- 8a7c957e57382a2d6ca8752a0f7e31f1ffa07f42636865f77aa7602560352d33
- Size of remote file:
- 123 kB
- SHA256:
- 975128b005fa3777eebb49a05fab2cb13432cdb542414ce71ef4df51143cba31
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.