Sign In

Astronaut 10min revisit (2023-2024)

Loading Images

The original image (512x768) was made in SD 1.5 in 2023.

I thought the astronaut in this shot looked really cute, but the background that was supposed to be her spaceship looked like incoherent AI greeble of the worst kind. Also, I wasn't impressed by the halo around her head.

With the power of SDXL, here she is again, as a starship commander.

Process:

  1. Upscale to standard SDXL 3:2 size using img2img with Mistoon Pony Alpha, denoise 0.1. Go. This step could be done with a pixel-based superresolution tool, but we're the Latent Space Agency.

  2. Run just the preprocessor of the depth ControlNet to extract a depth map via AI. The depth map essentially tells us which parts of the image are the character, and which parts are background. Save the depth map as PNG.

  3. In Inpaint Upload mode, upload the upscaled image. Upload the depth map as the mask. Inpaint not masked, denoise 0.75. Go. This creates a new background, while keeping the character.

  4. Observe that artifacts remain at the edges of the mask. Send the result to inpaint.

  5. Mask just the face, manually. It doesn't need to be precise - just be sure to mask the parts you definitely want to keep. Inpaint not masked, denoise 0.4. Go. This fixes the seams.

  6. Final result.

EDIT:

  1. Realize that you accidentally undid the upscaling at step 3 due to wrong resolution settings for the output. Sigh, and revisit this later.