Views
No views yet
1from diffusers import StableDiffusionInpaintPipeline
2import torch
3from PIL import Image
4
5# Load the model
6pipe = StableDiffusionInpaintPipeline.from_pretrained(
7 "GaneshGowri/naari-jewelry-vton",
8 torch_dtype=torch.float16
9)
10pipe = pipe.to("cuda")
11
12# Load your images
13image = Image.open("person_image.png").convert("RGB")
14mask = Image.open("neck_mask.png").convert("RGB")
15
16# Generate
17result = pipe(
18 prompt="elegant gold necklace on person",
19 image=image,
20 mask_image=mask,
21 num_inference_steps=50,
22 guidance_scale=7.5
23).images[0]
24
25result.save("result.png")1@misc{naari-jewelry-vton,
2 author = {GaneshGowri},
3 title = {Naari Jewelry VTON},
4 year = {2026},
5 publisher = {Hugging Face},
6 url = {https://huggingface.co/GaneshGowri/naari-jewelry-vton}
7}