Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Logo

A compact and efficient toggle-based ComfyUI workflow by Luckytime

Features

  • Text to image
  • Image to image
  • Face swap
  • Upscale
  • No overlapping nodes
  • No wasted space

Dependencies

ComfyUI

rgthree-comfy

efficiency-nodes-comfyui

comfyui-reactor-node

Overview

Logo

The workflow is a pipeline of 4 groups that moves from left to right. It starts with an empty latent image in the 'Generate' group, then reprocesses the image in the 'Redraw' group, then the face is fixed in the 'Face Swap' group, and finally the image is upscaled and saved in the 'Upscale' group. Any combination of the 4 groups may be used. If the last three groups are used independently, a local image can be uploaded as a starting point.

Toggles

There are 3 'Group Toggle' nodes included in the workflow so they are always within reach. Switching off the groups lets you pause after each step and decide whether an image is worth refining. If you want to send an image to the next group, the seed from any previous KSampler should be frozen by clicking 'Last Queued Seed'.

Groups

Generate

This group lets you create a new image from an empty latent (AKA text2img).

Logo

Workflow:

  1. Write postive/negative prompts and choose CLIP skip
  2. Load a checkpoint
  3. Choose size for an empty latent image
  4. Load any Loras
  5. Choose KSampler settings
  6. Preview/Save the generation
  7. Send the generation to Redraw, Face Swap, or Upscale

Note: The prompts and CLIP are shared between the 'Generate' and 'Redraw' groups, but the Loras are not.

Redraw

This group lets you create variations using an image as a starting point (AKA img2img) (AKA Hires Fix). It takes the decoded image from 'Generate' and upscales, re-encodes, and redraws it with a second KSampler.

Logo

Workflow:

  1. Load a local image (if using only redraw)
  2. Load a checkpoint
  3. Rescale the image from the previous step
  4. Load any Loras
  5. Choose KSampler settings
  6. Preview/Save the redraw
  7. Send the redraw to face swap or upscale

Note: The prompts and CLIP are shared between the 'Generate' and 'Redraw' groups, but the Loras are not.

Face Swap

This group lets you replace the face in an image with a face from another image. It will replace face indexes 0-9 by default. When uploading your own image, you can rescale the image to ensure the face swap is effective.

Logo

Workflow:

  1. Load and rescale a local image (if using only face swap)
  2. Load a face image
  3. Preview old image
  4. Preview/Save the face swap
  5. Send the face swap to upscale

Upscale

This group lets you upscale an image using an upscale model. It then rescales the image down to a uniform size to save drive space and saves the image to your ComfyUI output folder.

Workflow:

  1. Load a local image (if using only upscale)
  2. Load an upscale model
  3. Rescale image to a smaller size
  4. Save image to output folder

Shortcuts

The 1-4 number keys are shortcuts for useful camera views. You can adjust the bookmark nodes to suit your display.