Instructions to use alimama-creative/SD3-Controlnet-Inpainting with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use alimama-creative/SD3-Controlnet-Inpainting with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("alimama-creative/SD3-Controlnet-Inpainting", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
alimama-creative/SD3-controlnet-inpaint -> alimama-creative/SD3-controlnet-inpainting (#2)
Browse files- alimama-creative/SD3-controlnet-inpaint -> alimama-creative/SD3-controlnet-inpainting (065bcd29b45b35d82f82cfa38ddd5f16a0d38c7e)
Co-authored-by: vb <vb271828@users.noreply.huggingface.co>
README.md
CHANGED
|
@@ -60,7 +60,7 @@ check_min_version("0.29.2")
|
|
| 60 |
|
| 61 |
# Build model
|
| 62 |
controlnet = SD3ControlNetModel.from_pretrained(
|
| 63 |
-
"alimama-creative/SD3-controlnet-
|
| 64 |
use_safetensors=True,
|
| 65 |
)
|
| 66 |
pipe = StableDiffusion3ControlNetInpaintingPipeline.from_pretrained(
|
|
|
|
| 60 |
|
| 61 |
# Build model
|
| 62 |
controlnet = SD3ControlNetModel.from_pretrained(
|
| 63 |
+
"alimama-creative/SD3-controlnet-inpainting",
|
| 64 |
use_safetensors=True,
|
| 65 |
)
|
| 66 |
pipe = StableDiffusion3ControlNetInpaintingPipeline.from_pretrained(
|