itspranavajay / cog-custom-stable-diffusion-xl-text2img-img2img-inpainting

Custom Stable Diffusion XL model (repository for replicate.com)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cog-SDXL

This is an implementation of a Cog model. Cog packages machine learning models as standard containers.

First, download the pre-trained weights:

cog run script/download-weights

Then, you can run

text2img predictions:

cog predict -i prompt="your prompt"

img2img predictions:

cog predict -i image=@astro.png -i prompt="photo of a lone astronaut standing on a barren planet"

inpainting predictions:

cog predict -i image=@demo.png -i mask=@mask.png -i prompt="a tabby cat, high resolution, sitting on a park bench"

About

Custom Stable Diffusion XL model (repository for replicate.com)


Languages

Language:Python 100.0%