WorkflowRunsComfyUI Workflow

ComfyUI WorkflowCOMPLETED

Run Workflow
Anonymous
Anonymous
9 months ago
776
36
  • external
COMPLETED
Web
0s

Metadata

Prompts

evening sunset scenery blue sky nature, glass bottle with a galaxy in it

text, watermark

Note - Load Checkpoint BASE

This is a checkpoint model loader.

  • This is set up automatically with the optimal settings for whatever SD model version you choose to use.
  • In this example, it is for the Base SDXL model
  • This node is also used for SD1.5 and SD2.x models

NOTE: When loading in another person's workflow, be sure to manually choose your own local model. This also applies to LoRas and all their deviations

Note - Load Checkpoint REFINER

This is a checkpoint model loader.

  • This is set up automatically with the optimal settings for whatever SD model version you choose to use.
  • In this example, it is for the Refiner SDXL model

NOTE: When loading in another person's workflow, be sure to manually choose your own local model. This also applies to LoRas and all their deviations.

Note - Text Prompts

These nodes are where you include the text for:

  • what you want in the picture (Positive Prompt, Green)
  • or what you don't want in the picture (Negative Prompt, Red)

This node type is called a "PrimitiveNode" if you are searching for the node type.

Note - KSampler ADVANCED General Information

Here are the settings that SHOULD stay in place if you want this workflow to work correctly:

  • add_noise: enable = This adds random noise into the picture so the model can denoise it

  • return_with_leftover_noise: enable = This sends the latent image data and all it's leftover noise to the next KSampler node.

The settings to pay attention to:

  • control_after_generate = generates a new random seed after each workflow job completed.
  • steps = This is the amount of iterations you would like to run the positive and negative CLIP prompts through. Each Step will add (positive) or remove (negative) pixels based on what stable diffusion "thinks" should be there according to the model's training
  • cfg = This is how much you want SDXL to adhere to the prompt. Lower CFG gives you more creative but often blurrier results. Higher CFG (recommended max 10) gives you stricter results according to the CLIP prompt. If the CFG value is too high, it can also result in "burn-in" where the edges of the picture become even stronger, often highlighting details in unnatural ways.
  • sampler_name = This is the sampler type, and unfortunately different samplers and schedulers have better results with fewer steps, while others have better success with higher steps. This will require experimentation on your part!
  • scheduler = The algorithm/method used to choose the timesteps to denoise the picture.
  • start_at_step = This is the step number the KSampler will start out it's process of de-noising the picture or "removing the random noise to reveal the picture within". The first KSampler usually starts with Step 0. Starting at step 0 is the same as setting denoise to 1.0 in the regular Sampler node.
  • end_at_step = This is the step number the KSampler will stop it's process of de-noising the picture. If there is any remaining leftover noise and return_with_leftover_noise is enabled, then it will pass on the left over noise to the next KSampler (assuming there is another one).

Note - VAE Decoder

This node will take the latent data from the KSampler and, using the VAE, it will decode it into visible data

VAE = Latent --> Visible

This can then be sent to the Save Image node to be saved as a PNG.

Note - Empty Latent Image

This node sets the image's resolution in Width and Height.

NOTE: For SDXL, it is recommended to use trained values listed below:

  • 1024 x 1024
  • 1152 x 896
  • 896 x 1152
  • 1216 x 832
  • 832 x 1216
  • 1344 x 768
  • 768 x 1344
  • 1536 x 640
  • 640 x 1536

Note - CLIP Encode (REFINER)

These nodes receive the text from the prompt and use the optimal CLIP settings for the specified checkpoint model (in this case: SDXL Refiner)

evening sunset scenery blue sky nature, glass bottle with a galaxy in it

text, watermark

Note - CLIP Encode (BASE)

These nodes receive the text from the prompt and use the optimal CLIP settings for the specified checkpoint model (in this case: SDXL Base)

These can be used to control the total sampling steps and the step at which the sampling switches to the refiner.

Groups

  • Base Prompt
  • Refiner Prompt
  • Text Prompts
  • Load in BASE SDXL Model
  • Load in REFINER SDXL Model
  • Empty Latent Image
  • VAE Decoder
  • Step Control

ComfyUI Extensions

ComfyUI Graph