-
Notifications
You must be signed in to change notification settings - Fork 57
nodes colored image
Mel Massadian edited this page Apr 25, 2024
·
1 revision
Constant color images of a given size can also be used to mask images.
This example uses VHS Nodes for animation preview
Workflow:
{"last_node_id":41,"last_link_id":65,"nodes":[{"id":13,"type":"Batch Float (mtb)","pos":[-1213,622],"size":[315,154],"flags":{},"order":0,"mode":0,"outputs":[{"name":"FLOATS","type":"FLOATS","links":[30],"shape":3,"slot_index":0}],"properties":{"Node name for S&R":"Batch Float (mtb)"},"widgets_values":["Steps",12,0.001,5,"Quart In/Out"]},{"id":31,"type":"VHS_VideoCombine","pos":[1080,280],"size":[315,314],"flags":{},"order":16,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":50},{"name":"audio","type":"VHS_AUDIO","link":null},{"name":"batch_manager","type":"VHS_BatchManager","link":null}],"outputs":[{"name":"Filenames","type":"VHS_FILENAMES","links":null,"shape":3}],"properties":{"Node name for S&R":"VHS_VideoCombine"},"widgets_values":{"frame_rate":12,"loop_count":0,"filename_prefix":"AnimateDiff","format":"video/nvenc_hevc-mp4","pix_fmt":"yuv420p","bitrate":10,"megabit":true,"save_metadata":true,"pingpong":false,"save_output":false,"videopreview":{"hidden":false,"paused":false,"params":{"filename":"AnimateDiff_00004.mp4","subfolder":"","type":"temp","format":"video/nvenc_hevc-mp4"}}}},{"id":22,"type":"Batch Float Fill (mtb)","pos":[-884,621],"size":[315,106],"flags":{},"order":4,"mode":0,"inputs":[{"name":"floats","type":"FLOATS","link":30}],"outputs":[{"name":"FLOATS","type":"FLOATS","links":[31],"shape":3,"slot_index":0}],"properties":{"Node name for S&R":"Batch Float Fill (mtb)"},"widgets_values":["tail",0,20]},{"id":30,"type":"ImageBlend","pos":[680,280],"size":[315,102],"flags":{},"order":14,"mode":0,"inputs":[{"name":"image1","type":"IMAGE","link":65},{"name":"image2","type":"IMAGE","link":48}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[50],"shape":3,"slot_index":0}],"properties":{"Node name for S&R":"ImageBlend"},"widgets_values":[1,"screen"]},{"id":15,"type":"Batch Transform (mtb)","pos":[484,561],"size":[210,194],"flags":{},"order":10,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":29,"slot_index":0},{"name":"x","type":"FLOATS","link":null},{"name":"y","type":"FLOATS","link":null},{"name":"zoom","type":"FLOATS","link":33},{"name":"angle","type":"FLOATS","link":null},{"name":"shear","type":"FLOATS","link":null}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[48],"shape":3,"slot_index":0}],"properties":{"Node name for S&R":"Batch Transform (mtb)"},"widgets_values":["edge","#fa96c0"]},{"id":23,"type":"Batch Float Fill (mtb)","pos":[110,623],"size":[315,106],"flags":{},"order":5,"mode":0,"inputs":[{"name":"floats","type":"FLOATS","link":32}],"outputs":[{"name":"FLOATS","type":"FLOATS","links":[33],"shape":3,"slot_index":0}],"properties":{"Node name for S&R":"Batch Float Fill (mtb)"},"widgets_values":["head",0,20]},{"id":21,"type":"Batch Float (mtb)","pos":[-246,623],"size":[315,154],"flags":{},"order":1,"mode":0,"outputs":[{"name":"FLOATS","type":"FLOATS","links":[32],"shape":3,"slot_index":0}],"properties":{"Node name for S&R":"Batch Float (mtb)"},"widgets_values":["Steps",20,0.001,4.5,"Quart In/Out"]},{"id":41,"type":"Reroute","pos":[-91,283],"size":[75,26],"flags":{},"order":12,"mode":0,"inputs":[{"name":"","type":"*","link":64}],"outputs":[{"name":"","type":"IMAGE","links":[65]}],"properties":{"showOutputText":false,"horizontal":false}},{"id":14,"type":"Batch Transform (mtb)","pos":[-517,562],"size":[210,194],"flags":{},"order":9,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":27,"slot_index":0},{"name":"x","type":"FLOATS","link":null},{"name":"y","type":"FLOATS","link":null},{"name":"zoom","type":"FLOATS","link":31},{"name":"angle","type":"FLOATS","link":null},{"name":"shear","type":"FLOATS","link":null}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[37,62,64],"shape":3,"slot_index":0}],"properties":{"Node name for S&R":"Batch Transform (mtb)"},"widgets_values":["edge","#fa96c0"]},{"id":35,"type":"LoadImage","pos":[-560,920],"size":[315,314],"flags":{},"order":2,"mode":0,"outputs":[{"name":"IMAGE","type":"IMAGE","links":[56],"shape":3,"slot_index":0},{"name":"MASK","type":"MASK","links":null,"shape":3}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["189.png","image"]},{"id":40,"type":"Blur (mtb)","pos":[-217,1000],"size":[315,82],"flags":{},"order":11,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":62,"slot_index":0}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[63],"shape":3,"slot_index":0}],"properties":{"Node name for S&R":"Blur (mtb)"},"widgets_values":[50,50]},{"id":33,"type":"ImageToMask","pos":[120,997],"size":[210,58],"flags":{},"order":13,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":63,"slot_index":0}],"outputs":[{"name":"MASK","type":"MASK","links":[57],"shape":3,"slot_index":0}],"properties":{"Node name for S&R":"ImageToMask"},"widgets_values":["red"]},{"id":37,"type":"Colored Image (mtb)","pos":[350,920],"size":[210,138],"flags":{},"order":15,"mode":0,"inputs":[{"name":"foreground_image","type":"IMAGE","link":56,"slot_index":0},{"name":"foreground_mask","type":"MASK","link":57,"slot_index":1}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[55],"shape":3,"slot_index":0}],"properties":{"Node name for S&R":"Colored Image (mtb)"},"widgets_values":["#1603fc",512,512]},{"id":36,"type":"VHS_VideoCombine","pos":[584,918],"size":[315,314],"flags":{},"order":17,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":55,"slot_index":0},{"name":"audio","type":"VHS_AUDIO","link":null},{"name":"batch_manager","type":"VHS_BatchManager","link":null}],"outputs":[{"name":"Filenames","type":"VHS_FILENAMES","links":null,"shape":3}],"properties":{"Node name for S&R":"VHS_VideoCombine"},"widgets_values":{"frame_rate":12,"loop_count":0,"filename_prefix":"AnimateDiff","format":"video/nvenc_hevc-mp4","pix_fmt":"yuv420p","bitrate":10,"megabit":true,"save_metadata":true,"pingpong":false,"save_output":false,"videopreview":{"hidden":false,"paused":false,"params":{"filename":"AnimateDiff_00009.mp4","subfolder":"","type":"temp","format":"video/nvenc_hevc-mp4"}}}},{"id":20,"type":"Mask To Image (mtb)","pos":[231,459],"size":[210,106],"flags":{},"order":8,"mode":0,"inputs":[{"name":"mask","type":"MASK","link":28,"slot_index":0}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[29],"shape":3,"slot_index":0}],"properties":{"Node name for S&R":"Mask To Image (mtb)"},"widgets_values":["#00ff00","#000000"]},{"id":16,"type":"ImageToMask","pos":[-750,191],"size":[210,58],"flags":{},"order":6,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":25}],"outputs":[{"name":"MASK","type":"MASK","links":[26,28],"shape":3,"slot_index":0}],"properties":{"Node name for S&R":"ImageToMask"},"widgets_values":["red"]},{"id":19,"type":"Mask To Image (mtb)","pos":[-750,446],"size":[210,106],"flags":{},"order":7,"mode":0,"inputs":[{"name":"mask","type":"MASK","link":26,"slot_index":0}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[27],"shape":3,"slot_index":0}],"properties":{"Node name for S&R":"Mask To Image (mtb)"},"widgets_values":["#ff0000","#000000"]},{"id":11,"type":"Batch Shape (mtb)","pos":[-1039,192],"size":[210,334],"flags":{},"order":3,"mode":0,"outputs":[{"name":"IMAGE","type":"IMAGE","links":[25],"shape":3,"slot_index":0}],"properties":{"Node name for S&R":"Batch Shape (mtb)"},"widgets_values":[20,"Tube",1024,1024,512,"#ffffff","#000000","#000000",250,0,0]}],"links":[[25,11,0,16,0,"IMAGE"],[26,16,0,19,0,"MASK"],[27,19,0,14,0,"IMAGE"],[28,16,0,20,0,"MASK"],[29,20,0,15,0,"IMAGE"],[30,13,0,22,0,"FLOATS"],[31,22,0,14,3,"FLOATS"],[32,21,0,23,0,"FLOATS"],[33,23,0,15,3,"FLOATS"],[37,14,0,27,0,"IMAGE"],[48,15,0,30,1,"IMAGE"],[50,30,0,31,0,"IMAGE"],[55,37,0,36,0,"IMAGE"],[56,35,0,37,0,"IMAGE"],[57,33,0,37,1,"MASK"],[62,14,0,40,0,"IMAGE"],[63,40,0,33,0,"IMAGE"],[64,14,0,41,0,"*"],[65,41,0,30,0,"IMAGE"]],"groups":[],"config":{},"extra":{"workspace_info":{"id":"lHUoc3eCvYMplIxkGM68o"}},"version":0.4}
The nodes strikethroughs are just not documented yet so it's easier to spot empty wiki pages.
-
Nodes
- Animation Builder
- Any To String
- Apply Text Template
- Batch From History
- Batch Nodes
- Bbox
- Bbox From Mask
- Blur
- Color Correct
- Colored Image
- Concat Images
- Crop
- Debug
- Deep Bump
- Export With Ffmpeg
- Face Swap
- Film Interpolation
Fit Number- Image Compare
- Image Premultiply
- Image Remove Background Rembg
- Image Resize Factor
- Image Tile Offset
- Int To Bool
- Int To Number
- Latent Lerp
- Load Audio
- Load Face Analysis Model
- Load Face Enhance Model
- Load Face Swap Model
- Load Image From Url
- Load Image Sequence
- Mask To Image
- Model Patch Seamless
- Model Pruner
- Qr Code
- Postshot Train
- Restore Face
- Save Gif
- Save Image Grid
- Save Image Sequence
- Save Tensors
- Sharpen
- Smart Step
- Stack Images
- String Replace
- Styles Loader
- Text To Image
- Transform Image
- Uncrop
- Unsplash Image
- Vae Decode
- Extras & Guides