How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline

controlnet = ControlNetModel.from_pretrained("Nahrawy/controlnet-shadow-output")
pipe = StableDiffusionControlNetPipeline.from_pretrained(
	"runwayml/stable-diffusion-v1-5", controlnet=controlnet
)

controlnet- Nahrawy/controlnet-shadow-output

These are controlnet weights trained on runwayml/stable-diffusion-v1-5 with new type of conditioning. You can find some example images in the following.

prompt: a hollow wooden box and ribbed green ball in the air with shadows on the ground, light direction west+32, light elevation 25 images_0) prompt: a hollow green cube and ribbed silver ball in the air and metallic cone with shadows on the ground, light direction east+34, light elevation 25 images_1)

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Nahrawy/controlnet-shadow-output

Adapter
(2726)
this model