Skip to content

PS5SD 0.5.0

Choose a tag to compare

@Darkatek7 Darkatek7 released this 21 Oct 11:12

PS5SD 0.5.0 adds image to image and inpainting, as asked for in #3.

New

  • Start from an image: on the Create tab, Start from an image takes a file from your computer or phone; Edit does the same with any image in the gallery or with the last result. The size follows the image's shape. Strength says how much changes: 0.3 to 0.5 keeps the picture and changes details, 0.7 and up changes much more. Below 1 only that share of the steps runs, so a light change is quick.
  • Inpainting: Paint a mask over what should change: brush size, eraser, invert and clear, with a mouse, a finger or the DualSense cursor. Only the painted part is made again; the rest of the image stays exactly as it was (the result is blended back in with a soft edge).
  • Only the masked area (on by default): a box around the mask is made at the model's full size and put back into the image. A small fix in a large image is quick this way and comes out sharp. The finished image goes into the gallery.
  • Inpainting models in the catalog: SDXL Inpainting 0.1 (5.2 GB with the SDXL VAE) and SD 1.5 Inpainting (1.9 GB). Any model can inpaint; these blend the new part in better.

API

  • init_image, mask_image and strength on /sdcpp/v1/img_gen; init_images, mask and denoising_strength on /sdapi/v1/img2img. White in the mask changes, black stays.
  • POST /ps5sd/v1/app/gallery with {"image": "<base64 PNG>"} saves an image to the gallery (the web UI uses it for a finished inpainting).

Install

Install from the homebrew store, or unpack PPSA99576.zip into /data/homebrew/ on the console and let ShadowMountPlus scan. The requirements are unchanged from 0.1.0 (etaHEN + kstuff-lite, ShadowMountPlus, elfldr; ftpsrv on 2121 optional).

Details: docs/API.md, docs/MODELS.md, ROADMAP.md (next: ControlNet in 0.6.0).