Image-to-Image
Diffusers
moss-image
anypaint
lora
inpainting
outpainting
arbitrary-mask
image-editing
Instructions to use yijunwang2/moss-anypaint with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use yijunwang2/moss-anypaint 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("OpenMOSS-Team/MOSS-Image-Base", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("yijunwang2/moss-anypaint") 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
- Local Apps Settings
- Draw Things
Download showcase/12_desk_objects_result.webp from yijunwang2/moss-anypaint: direct link, hf CLI and curl.
- Browser
- Download file 628 kB
-
https://huggingface.co/yijunwang2/moss-anypaint/resolve/main/showcase/12_desk_objects_result.webp
- Command line
-
hf download hf://yijunwang2/moss-anypaint/showcase/12_desk_objects_result.webp
-
curl -L -o 12_desk_objects_result.webp https://huggingface.co/yijunwang2/moss-anypaint/resolve/main/showcase/12_desk_objects_result.webp
628 kB

- Xet hash:
- ffc8a91e89d83833e23effc7baf697492ca1d05dbd70313d6c4ee7884648ff1b
- Size of remote file:
- 628 kB
- SHA256:
- 9dd85dcb5a357e56dfb11aac8c4c50bdacb513a52d76931f26fd0809221e0dc3
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.