Better img2img results with Flux.1 schnell by using ScaleUp or Sharpen or FillColor pre-processing

Community Article Published November 15, 2024

You can try all the tips from this article in the space at the bottom of this document.

Scaleuped image is usually similar to original

Original
Simple Img2Img
Scaleup img2img and face replace

Steps

  • face-detect and scaleup
  • img2img2
  • replace face
  • fix image-gap(if possible)
ScaleUpped
ScaleUpped Img2Img

the image has huge gap,need better mask

The output image inherits the sharpness or blurriness of the input image

Input Images with PIL Filter

Blur
None
Edge Enhance More

Output Images with Img2Img

Blur
None
Edge Enhance More

sometime sharpen image become totally 3D-CG on img2img

Background color effect result some time more than prompt

Original
Mixed Animation

image/jpeg

image/jpeg

image/jpeg

image/jpeg

Sometime lip color in the image fades.

Origin
img2img(fades lip)
img2img with gray

Compare with Mixed

img2img(fades lip)
img2img with gray

Spaces

Mediapipe Face Crop and Replace - you can try ScaleUp or Sharpen or FillColor

Histgram Color Matching - you can color matching test

Gradio550 Paint - quick simple draw paint or GIMP Image Editor