Instructions to use GeorgeQi/SDXL-Shadow_Generation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use GeorgeQi/SDXL-Shadow_Generation with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("GeorgeQi/SDXL-Shadow_Generation") pipe = StableDiffusionControlNetPipeline.from_pretrained( "stabilityai/stable-diffusion-xl-base-1.0", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle

- Prompt
- a product with soft natural shadow, white background

- Prompt
- a product with hard natural shadow, white background

- Prompt
- a product with floating natural shadow, white background

- Prompt
- a product with soft natural shadow, white background

- Prompt
- a product with hard natural shadow, white background

- Prompt
- a product with floating natural shadow, white background

- Prompt
- a product with soft natural shadow, white background

- Prompt
- a product with hard natural shadow, white background

- Prompt
- a product with floating natural shadow, white background
Inference
python3 generate_shadow_main.py
Gradio Demo
python3 app_shadow_generation_gradio.py
Training
Training was done using https://github.com/huggingface/diffusers/blob/main/examples/controlnet/train_controlnet_sdxl.py
- Downloads last month
- -
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for GeorgeQi/SDXL-Shadow_Generation
Base model
stabilityai/stable-diffusion-xl-base-1.0