How to use from the
Use from the
Diffusers library
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("parlance/dreamlike-diffusion-1.0-inpainting", 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]

This model was created by mixing the dreamlike-art/dreamlike-diffusion-1.0 model with runwayML/stable-diffusion-v1-5-inpainting

Please see the original model card here: https://huggingface.co/dreamlike-art/dreamlike-diffusion-1.0

Downloads last month
196
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Spaces using parlance/dreamlike-diffusion-1.0-inpainting 3