Skip to content

Sortium-io/Derfuu_ComfyUI_ModdedNodes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Derfuu_ComfyUI_ModdedNodes

Small description

  • Automate calculation depending on image sizes or something you want
  • easier(or not) editing multiple values of various nodes
  • Math
  • Modded scalers

Used:

Previews:

  • Only composed latents: compose_only

  • Composed latents with area modifiers: with_set_areas

  • All included nodes: all_nodes

Workflow example:

workflow_preview

Nodes descriptions

  • Variables:
    • Float - mainly used to calculation
    • Integer - used to set width/height and offsets mainly, also provides converting of float values
    • Text - input field for text
    • Text box - same, but multiline
  • Debug nodes: prints values in console
    • DebugFloat
    • DebugInt
    • DebugText
    • DebugTuple
  • Functional:
    • Random - gives random value within threshold
    • Get image size - return image size like: Width, Height and (Width, Height) in one value as tuple
    • Get latent size - return latent size like: Width, Height and (Width, Height) in one value as tuple
      • NOTE: Original values are 8 times smaller
    • Converters: converts one type to another
      • Int to float
      • Ceil - rounding up float value ex: 1.01 --> 2
      • Floor - rounding down float value ex: 1.99 --> 1
      • Absolute - return only positive (or negative) value on your choice (default - positive)
  • Tuples (dead fetch?)
  • Maths
    • sum - (A + B)
    • subtract - (A - B)
    • multiply (A * B)
    • divide - (A / B)
    • power - (A * A * A...) B times
    • square root - (√A)
  • Modded:
    • Conditioning
      • Condition area scale - multiplies size of condion area
    • Latents
      • Latent scale by ratio - multiplies size of latent
      • Latent scale to size - scale size of latent to length of selected side
    • Image
      • Image scale by ratio - multiplies size of latent
      • Image scale to size - scale size of image to length of selected side

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%