Sign In

upscale photo and repair a face with know face (A1111)

7
upscale photo and repair a face with know face (A1111)

this article for upscale image that a person very small or blur and you have one reference photo of the person (know face) for restore the face. but mood of face may change a bit

original image

original zoom

upscale zoom

prepare extensions

how does it work

  • using img2img and low denoise to keep original detail and using SD to fix overall

  • ultimate SD upscale to upscale

  • using roop to fix face

settings A1111 (see full settings in attachment)

  • checkpoint: your favorite checkpoint

  • img2img

    • positive: describe your image or use CLIP (you can add some prompt to change it)

    • negative: your favorite negative prompt

    • sampling: DPM++ SDE Karras

    • step: 15

    • cfg: 6

    • width x height: same size as original image

    • denoise: 2-4 (this part is important)

      • 2 near original but blur is blur

      • 4 using SD to generate details. but not too much to change original image.

  • controlNet

    • tile/blur

      • processor: tile_resample

      • model: control_v11f1e_sd15_tile

      • ControlNet is more important: checked

  • roop

    • Enable

    • Restore visibility: 0.5 (this part is important. but, you can experiment yours)

    • Upscaler: None

    • Swap in source image: unchecked

    • Swap in generated image: checked

  • script

    • Ultimate SD upscale

    • Target size type: Scale from image size

    • Scale: 2

    • Upscaler: 4xUltrasharp_4xUltrasharpV10

  • repeat upscale (optional)

    • after finished you can drag output and drop to input and run it again

final settings (see hi-res image in attachment)

attachments files

note: you should try images from this article to test first. if it's work you can replace your image and face with same settings

7

Comments