Skip to content

lingondricka2/Randomize_ComfyScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About The Project

The infinite monkey method of creating your perfect workflow for ComfyUI. My first project and it's a work in progress so keep expectations low. As it is now the yaml file can be confusing and a pain to edit, you probably should have some experience with python/yaml and patience.

So what are the advantages of using this over the web-ui? I know a lot of randomizing can be done in the web-ui, but probably not everything that is done here, haven't tried it myself though. One big advantage is that the resulting workflow is a lot cleaner using this script. Another advantage for me at least is better memory management, I can merge 6 checkpoints no problem where as in the web-ui it would have crashed my computer.

Prerequisites

Installation

Put randomize.py and randomize.yml in a subfolder of ComfyScript e.g ComfyUI\custom_nodes\ComfyScript\scripts\Randomizer

Usage

Edit the yaml file to make it use your models, use:

python randomizer.py list

to get a list of all models, useful when editing the yaml file. The settings in the yaml file is rather conservative right now to avoid images that have artifacts and are too out there, but that can be changed of course.

python randomizer.py

To run the randomizer. The resulting images can be loaded in ComfyUI web-ui.

TODO

  • A GUI for the settings would be great, but probably not going to happen.
  • Random shape/gradients blending (almost done)
  • Random regional prompts using color segmentation, maybe
  • Other small things like random VAE and image save options
  • Upscaler version of this script

Examples

Cherry picked from 200 generated images using prompt "monkey typing on a typewriter"

alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text alt text

About

Randomizer script for ComfyUI using ComfyScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages