|
--- |
|
license: mit |
|
tags: |
|
- stable-diffusion |
|
- stable-diffusion-diffusers |
|
inference: false |
|
--- |
|
|
|
# Watermarked (weak) VAE for SDXL |
|
|
|
You can use this watermarked VAE for your existing SDXL image generation pipelines |
|
to make sure generated images are watermarked. |
|
|
|
## Usage |
|
|
|
```py |
|
from diffusers.models import AutoencoderKL |
|
from diffusers import StableDiffusionXLPipeline |
|
|
|
model = "stabilityai/sdxl-turbo" |
|
|
|
vae = AutoencoderKL.from_pretrained("imatag/stable-signature-bzh-sdxl-vae-weak") |
|
|
|
pipe = StableDiffusionXLPipeline.from_pretrained(model, vae=vae) |
|
``` |
|
|
|
For more information, please have a look at [the official demo](https://huggingface.co/spaces/imatag/stable-signature-bzh) |