Instructions to use stabilityai/stable-diffusion-xl-refiner-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stabilityai/stable-diffusion-xl-refiner-1.0 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("stabilityai/stable-diffusion-xl-refiner-1.0", 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
IMAGINATION HUB
#45
by motherskitchenblr2 - opened
README.md
CHANGED
|
@@ -3,6 +3,38 @@ license: openrail++
|
|
| 3 |
tags:
|
| 4 |
- stable-diffusion
|
| 5 |
- image-to-image
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
---
|
| 7 |
# SD-XL 1.0-refiner Model Card
|
| 8 |

|
|
|
|
| 3 |
tags:
|
| 4 |
- stable-diffusion
|
| 5 |
- image-to-image
|
| 6 |
+
datasets:
|
| 7 |
+
- bigai/TongSIM-Asset
|
| 8 |
+
- TuringEnterprises/Turing-Open-Reasoning
|
| 9 |
+
- google/mobile-actions
|
| 10 |
+
- MiniMaxAI/VIBE
|
| 11 |
+
- openai/gdpval
|
| 12 |
+
language:
|
| 13 |
+
- en
|
| 14 |
+
- hi
|
| 15 |
+
- kn
|
| 16 |
+
- ta
|
| 17 |
+
- te
|
| 18 |
+
- ml
|
| 19 |
+
- mr
|
| 20 |
+
- ur
|
| 21 |
+
metrics:
|
| 22 |
+
- accuracy
|
| 23 |
+
- character
|
| 24 |
+
- code_eval
|
| 25 |
+
- bleu
|
| 26 |
+
- bleurt
|
| 27 |
+
base_model:
|
| 28 |
+
- black-forest-labs/FLUX.2-dev
|
| 29 |
+
- Qwen/Qwen-Image-Layered
|
| 30 |
+
- deepseek-ai/DeepSeek-V3.2
|
| 31 |
+
- Tongyi-MAI/Z-Image-Turbo
|
| 32 |
+
- google/functiongemma-270m-it
|
| 33 |
+
- zai-org/GLM-4.6V-Flash
|
| 34 |
+
- deepseek-ai/DeepSeek-Math-V2
|
| 35 |
+
new_version: microsoft/VibeVoice-Realtime-0.5B
|
| 36 |
+
pipeline_tag: image-text-to-image
|
| 37 |
+
library_name: diffusers
|
| 38 |
---
|
| 39 |
# SD-XL 1.0-refiner Model Card
|
| 40 |

|