sdxl-panoramic-inpaint Cog model
This is a custom model implementing a workflow to get a seamless 360 sdxl image, as 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 predictions:
cog predict -i prompt="tron world"
Workflow:
1.SDXL image 1024x512
- Cut image in half vertically, swap left and right sections
- GFPGAN upscale 2x
- Crop out 1024x1024 middle section to inpaint seam
- Put flush seam back into upscaled image