Image-to-Image
Diffusers
StableDiffusionImageVariationPipeline
stable-diffusion
stable-diffusion-diffusers
Instructions to use lambda/sd-image-variations-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lambda/sd-image-variations-diffusers 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("lambda/sd-image-variations-diffusers", 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
Commit History
-
Upload Picsart_24-08-26_20-35-34-535_image_repair_1724872095985.jpg
Verified signatureA striking silhouette of a [man with a thick beard] emerges from the darkness, starkly outlined in black and white with bold contrasts and dramatic chiaroscuro lighting. The subject's long, graceful fur capturing every subtle shift of light and shadow. This breathtaking photograph captures in a moment of stillness, the intensity of its gaze seeming to pierce through the darkness. The image exudes a sense of mystery and depth, showcasing the undeniable artistry1f8f3f4
-
Update README.md - Correct Link in Model Card - Line 110 (#17)
- Update README.md (c4f0213a791520fb3cf50425f54a5e7b00dab316) Co-authored-by: Joshua L Corsen <averad@users.noreply.huggingface.co>42bc0ee
-
Add `clip_sample=False` to scheduler to make model compatible with DDIM. (#7)
- Add `clip_sample=False` to scheduler to make model compatible with DDIM. (f0c29c067d5cf5ac9997bd75ea6cd0732383b4b5) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>d7246ca
-
Merge branch 'main' of https://huggingface.co/lambdalabs/sd-image-variations-diffusers into main
81640d8 -
update readme
541c94a
-
Update README.md
fffa950 -
Update README.md
e5b0426 -
update model and readme for v2
a2a1398 -
Update README.md
ca6f97f -
Update README.md
ff5cc82
-
use-clip-vision-head (#4)
- use only vision model (e1f3a0855d0e0cf9eca99de331597226797ad902) Co-authored-by: Suraj Patil <valhalla@users.noreply.huggingface.co>a430b6b
-
Update scheduler/scheduler_config.json (#1)
- Update scheduler/scheduler_config.json (df2a166f66fa5351f0d3b816b6ac2f4037c1c945) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>2ddbd90
-
Update README.md
c46d782
-
Update README.md
c337526 -
Create README.md
8fa04f7
-
Upload with huggingface_hub
273115e -
initial commit
d6c12dc