Image-to-Image
Diffusers
Safetensors
English
QwenImageEditPlusPipeline
image-edit
zen
zenlm
hanzo
image-editing
diffusion
Instructions to use zenlm/zen-image-edit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use zenlm/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("zenlm/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
Add format information
Browse files- formats.json +18 -0
formats.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"formats": {
|
| 3 |
+
"safetensors": {
|
| 4 |
+
"available": true
|
| 5 |
+
},
|
| 6 |
+
"gguf": {
|
| 7 |
+
"available": true,
|
| 8 |
+
"quantizations": [
|
| 9 |
+
"Q4_K_M",
|
| 10 |
+
"Q8_0"
|
| 11 |
+
]
|
| 12 |
+
},
|
| 13 |
+
"mlx": {
|
| 14 |
+
"available": true
|
| 15 |
+
}
|
| 16 |
+
},
|
| 17 |
+
"size_estimate": "7B"
|
| 18 |
+
}
|