Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

lambda
/
sd-image-variations-diffusers

Image-to-Image
Diffusers
StableDiffusionImageVariationPipeline
stable-diffusion
stable-diffusion-diffusers
Model card Files Files and versions
xet
Community
25

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
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Add library_name tag, link to paper and project page

#25 opened 11 months ago by
nielsr

🚩 Report

#24 opened over 1 year ago by
heguyu

A man with a determined expression, wearing a military uniform, looks upwards with a hint of a smile. The lighting is warm and soft, creating a sense of authority and power. The image is slightly faded, adding a touch of nostalgia. [Photorealistic portrait, warm lighting, faded, soft focus]

#23 opened over 1 year ago by
Medo80

Upload Picsart_24-08-26_20-35-34-535_image_repair_1724872095985.jpg

#22 opened over 1 year ago by
Medo80

Adding `safetensors` variant of this model

#21 opened about 2 years ago by
jerrysd1337

Adding `safetensors` variant of this model

#20 opened about 2 years ago by
SFconvertbot

Update README.md

#19 opened almost 3 years ago by
Juno360219

Add `scale_factor` to vae config.

#15 opened over 3 years ago by
valhalla

Create botz

#14 opened over 3 years ago by
Lightechoes

transforms not defined

2
#11 opened over 3 years ago by
terekita

mixing embeddings as described in blog post

❤️ 1
#10 opened over 3 years ago by
terekita

Adding `safetensors` variant of this model

#8 opened over 3 years ago by
mindsailor
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs