Image-to-Image
Diffusers
Safetensors
VisualClozePipeline
text-to-image
flux
lora
in-context-learning
universal-image-generation
ai-tools
Instructions to use VisualCloze/VisualClozePipeline-384 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use VisualCloze/VisualClozePipeline-384 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("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("VisualCloze/VisualClozePipeline-384") 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
|
@@ -42,7 +42,7 @@ tags:
|
|
| 42 |
If you find VisualCloze is helpful, please consider to star ⭐ the [<strong><span style="color:hotpink">Github Repo</span></strong>](https://github.com/lzyhha/VisualCloze). Thanks!
|
| 43 |
|
| 44 |
## 📰 News
|
| 45 |
-
- [2025-5-15] 🤗🤗🤗 VisualCloze has been merged into the [<strong><span style="color:hotpink">official pipelines of diffusers</span></strong>](https://github.com/huggingface/diffusers/tree/main/src/diffusers/pipelines/visualcloze).
|
| 46 |
|
| 47 |
## 🌠 Key Features
|
| 48 |
|
|
|
|
| 42 |
If you find VisualCloze is helpful, please consider to star ⭐ the [<strong><span style="color:hotpink">Github Repo</span></strong>](https://github.com/lzyhha/VisualCloze). Thanks!
|
| 43 |
|
| 44 |
## 📰 News
|
| 45 |
+
- [2025-5-15] 🤗🤗🤗 VisualCloze has been merged into the [<strong><span style="color:hotpink">official pipelines of diffusers</span></strong>](https://github.com/huggingface/diffusers/tree/main/src/diffusers/pipelines/visualcloze).
|
| 46 |
|
| 47 |
## 🌠 Key Features
|
| 48 |
|