Nodes:CharacterManagerNode, FilmGrain, FlipFlopperSameArch
A collection of custom nodes created for personal use and convenience.
git clone this repository into your custom nodes folder
I tried to make it so all requirements come with comfy, so hopefully no installs needed.
The nodes will appear under a calbenodes heading and can be searched
The Character Manager node is a versatile tool for managing and applying character-specific attributes in your image generation pipeline. It allows you to create, select, and apply character settings, including LoRA models, face images, and textual descriptions.
model
: The base model to apply character settings toclip
: The CLIP model for text processingcharacter
: Select from existing characters, create a new one, or choose randomlylora_strength
: Strength of the LoRA application (-10.0 to 10.0)seed
: Random seed for consistent resultsnew_name
: Name for creating a new characterlora_path
: Path to the character's LoRA fileface_images_dir
: Directory containing character face imagespreferred_face_image
: Path to the preferred face imageactivation_text
: Text to activate the character in promptsdescription
: Character descriptionnegative_prompt
: Negative prompt for the charactermodel
: Updated model with applied LoRAclip
: Updated CLIP modellora_activation
: Character activation textdescription
: Character descriptionnegative_prompt
: Character-specific negative promptpreferred_face
: Preferred face image (as tensor)random_face
: Randomly selected face image (as tensor)face_grid
: Grid of all character face images (as tensor)character_name
: Name of the selected or created characterseed
: The seed used for this executionThe Film Grain node adds a realistic film grain effect to images, simulating the appearance of traditional photographic film.
image
: The input image or batch of images (IMAGE type)intensity
: The strength of the film grain effect (FLOAT, range 0.01 to 1.0, default 0.07)IMAGE
: The processed image(s) with added film grainThe Flip Flopper node (Same Architecture) is an advanced sampling node that alternates between two models during the sampling process, allowing for unique and creative image generation.
model1
and model2
: The two models to alternate betweenvae1
and vae2
: VAEs corresponding to each modeladd_noise
: Enable or disable noise additionnoise_seed
: Seed for noise generationsteps
: Total number of sampling stepscfg1
and cfg2
: CFG scales for each modelsampler_name1
and sampler_name2
: Sampler types for each modelscheduler1
and scheduler2
: Scheduler types for each modelpositive1
, negative1
, positive2
, negative2
: Conditioning for each modellatent_image
: Input latent imagedenoise
: Denoising strengthchunks
: Number of steps per chunkinvert
: Option to invert the order of model applicationLATENT
: The resulting latent image after samplingFINAL_VAE
: The VAE used in the final iterationThis project is primarily for personal use, but if you have any suggestions or improvements, feel free to open an issue or submit a pull request.
MIT