• Stars
    star
    110
  • Rank 315,149 (Top 7 %)
  • Language
    Python
  • Created almost 2 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Applies mirroring and flips to the latent images to produce anything from subtle balanced compositions to perfect reflections

SD-latent-mirroring

Applies mirroring and flips to the latent images mid-generation to produce anything from subtle balanced compositions to perfect reflections

UI

image

  • Mirror Application Mode
    • None - Do not mirror
    • Alternate Steps - flip or rotate the latents on each step
    • Blend Average - take the average of the original latents and their flipped or rotated version
  • Mirror Style
    • Vertical Mirroring - Mirror vertically flipping left for right.
    • Horizontal Mirroring - Mirror horizontally flipping up for down.
    • Horizontal+Vertical Mirroring - flip alternately horizontally and vertically.
    • 90 Degree Rotation - Rotate 90 degrees clockwise.
    • 180 Degree Rotation - Rotate 180 degrees
    • Roll Channels - Sequentially switch the 'channels' of the latent image for colour variations.
    • None - No mirroring.
  • X/Y Panning - shift the latents in the specfied direction by this percentage of the total size every step.
  • Maximum steps fraction to mirror at - a decimal percentage representing the maximum step to apply the mirroring on, 0.5 = 50%, stopping at the 10th step out of 20 when 20 steps are used.

Outputs

Vertical Mirroring:

image

Horizontal Mirroring:

image

90 Degree Rotation:

image

180 Degree Rotation:

image

Higher Maximum steps fraction to mirror at values producer stronger symetries:

image