Comfyui save image node not working. g. Aug 25, 2023 · You signed in with another tab or window. The way ComfyUI is built up, every image or video saves the workflow in the metadata, which means that once an image has been generated with ComfyUI, you can Hey - not sure if you got your answer yet or not but you can "Set the ComfyUI temp directory (default is in the ComfyUI directory) via: --temp-directory <TEMP_DIRECTORY> Also, if you run "python main. sigma. I've found another thread on another git page where someone had a similar issue but I'm not sure if that's relevant and if so how to translate that solution to this, ModelSurge/sd-webui-comfyui#184 , here is the link if that could Dec 17, 2023 · Input image resolution: BLIP and comfyui-reactor-node work together without any problems. Author site: Deevad4. The CLIP Text Encode nodes take the CLIP model of your checkpoint as input, take your prompts (postive and negative) as variables, perform the encoding process, and output these embeddings to the next node, the KSampler. Development. Works also with image batches. 26. VeryAngrySquirrel. Click on Install. As of right now, it seems there is only support for doing that with images. The “MultiLatentComposite 1. If you enter a name in the save_file_name_override section, the file will be saved with this name. ) Reply. Seems to be, according to vanilla, base ComfyUI, it still only saves embeded PNG images. pt:1. Dec 19, 2023 · Step 4: Start ComfyUI. Mar 1, 2024 · The problem is that the UE visualizations are not refreshed, when an rgtree node is used, to bypass/mute a node/group. No branches or pull requests. In which case, possible issues you may be dealing with: Outdated custom nodes -> Fetch Updates and Update in ComfyUI Manager. My location was: "ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui" It uninstalled a few Transformers and now the BLIP works. Jan 15, 2024 · 1: Shutdown ComfyUI 2: Run "install. To disable/mute a node (or group of nodes) select them and press CTRL + m. The aim is for the node to additionally take as input: a custom output dir the seed used for generating the picture an iteration-id (I Aug 31, 2023 · ltdrdata commented on Sep 4, 2023. 1) If you had batch count = 2, batch size = 10, in order to bake 20, you would need to bake just 2 times (2 trays Aug 8, 2023 · Navigate to the Extensions tab > Available tab. PNG quantizes the image to 256 possible values per channel (2^8), while the TIFF has 65,536 possible values per channel (2^16) For latent EXR viewing purposes, if you I've tested and successfully generated images with EasyDiffusion on this system so it is capable of running SD. Feb 19, 2024 · With that extension installed, instead of using a primitive node plugged into the save image node, I can directly use the date format in filename_prefix (without converting to widget). New version is not working Deevad. The reasoning for not using base64 is that base64 adds 33% more data so it would be slower So what you are adding there is an image loader to bring whatever image you're using as reference for ControlNet, a ControlNet Model Loader to select which variant of ControlNet you'll be using, and the Apply ControlNet node that adds that information to the positive prompt conditioning information. Save workflow: Ctrl + O: Load workflow: Ctrl + A: Select all nodes: Alt + C: Collapse/uncollapse selected nodes: Ctrl + M: Mute/unmute selected nodes: Ctrl + B: Bypass selected nodes (acts like the node was removed from the graph and the wires reconnected through) Delete/Backspace: Delete selected nodes: Ctrl + Delete/Backspace: Delete the First of all, there a 'heads up display' (top left) that lets you cancel the Image Choice without finding the node (plus it lets you know that you are paused!). Edit: Ok, I've cleaned it up and added it to rgthree-comfy the slide preview too. If you are using ComfyUI-Manager, you can right-click on the group node and Nov 7, 2023 · brandostrong commented on Nov 7, 2023. To help with organizing your images you can pass specially formatted strings to an output node with a file_prefix widget. I have a large batch workflow and the WAS image save node is nearly the biggest bottleneck, it's almost slower than my detailer pass. Jan 30, 2024 · In my Photomaker Node, there are only 2 menu items - the LoadPhotoMaker option is not available. There should be 2 outputs: IMAGE and MASK. Kaerhon_v1. Image. With the text already selected, you can use ctrl+up arrow, or ctrl+down arrow to autoomatically add parenthesis and increase/decrease the value. [Beta] You can actually put any parameter value of any node currently in use, in the file or folder name, simply by adding the parameter name to one of the 'keys' input fields. Reinstalled twice (the SMZ version). Save data about the generated job (sampler, prompts, models) as entries in a json (text) file, in each folder. inputs. However now that AI Image Generation is becoming actually usable in production we need a more flexible naming in order to adapt to professional production workflows. ComfyUI-Crystools. Video tutorial on how to use ComfyUI, a powerful and modular Stable Diffusion GUI and backend, is here . Since you can see the history in ComfyUI the images on the PreviewImage node need to be put somewhere and it's better to put them in a temp directory on the disk that gets cleared than to keep them in memory. This tool revolutionizes the process by allowing users to visualize the MultiLatentComposite node, granting an advanced level of control over image synthesis. sharpen_radius. The Batch Loader Node is specifically designed for the Prompt Reader Node to batch-read image files in a directory and cannot be used with other custom nodes. Supported Nodes: "Load Image" or any other nodes providing images as an output; face_model - is the input for the "Load Face Model" Node or another ReActor node to provide a face model file (face embedding) you created earlier via the "Save Face Model" Node; Supported Nodes: "Load Face Model", "Build Blended Face Model"; Right-click on the Save Image node, then select Remove. It might seem daunting at first, but you actually don't need to fully learn how these are connected. The Image Sharpen node can be used to apply a Laplacian sharpening filter to an image. Single image works by just selecting the index of the image. This appears to be because your nodes (and other nodes available for ComfyUI) do not save the correct seed. ComfyUI provides a variety of nodes to manipulate pixel images. But when I used "Save Text File" node to save the file. This custom node is largely identical to the usual Save Image but allows saving images also in JPEG and WEBP formats, the latter with both lossless and lossy compression. First thing i do when I'm trying someone else' workflow is: 1- install missing nodes, 2- replace the stupid "save image" node. Right-click on the Save Image node, then select Remove. Jul 31, 2023 · If you can link the source code in ComfyUI I can see about adding support for it. In case you are still looking for a solution (like i did): I just published my first custom node for comfy that is loading the generation metadata from the image: tkoenig89/ComfyUI_Load_Image_With_Metadata (github. The little grey dot on the upper left of the various nodes will minimize a node if clicked. Note that you can always right click on the image to save, it will also include the workflow if activated. This is usually a Save Image node most of the time but a Preview Image node would also work if you don't intend to save what you are testing. 05) etc. There's a custom Save Image node for it in WAS node suite. Choose the "Save Image" Node. In the example below an image is loaded using the load image node, and is then encoded to latent space with a VAE encode node, letting us perform image to image tasks. Search for “ comfyui ” in the search box and the ComfyUI extension will appear in the list (as shown below). Metadata is embedded in the images as usual, and the resulting images can be used to load a workflow. With this custom save image node, you can preview or save, include or exclude the ComfyUI workflow metadata in the image. Sep 5, 2023 · Let’s say you need to make 20 cookies and your tray only fits a maximum of 10. this happens when the node fails to initialize correctly. Plug the image output of the Load node into the Tagger, and the other two outputs in the inputs of the Save node. For batch processing, please connect the IMAGE output of the Batch Loader Node to the image input of the Prompt Reader Node. py and the file in py/defs/ext/. Lora. And above all, BE NICE. To duplicate parts of a workflow from one area to another, select the nodes as usual, CTRL + C to copy, but use CTRL + SHIFT + V to paste. json workflow file you downloaded in the previous step. These nodes can be used to load images for img2img workflows, save results, or e. Click the Load button and select the . In that wall of text will be reference to a missing model or a missing python library or some such. ago. Didn't notice it installing anything, took about 2 minutes to run. But more useful is that you can now right-click an image in the `Preview for Image Chooser` and select `Progress this image` - which is the same as selecting it's number and pressing go [Beta] You can actually put any parameter value of any node currently in use, in the file or folder name, simply by adding the parameter name to one of the 'keys' input fields. Click run_nvidia_gpu. You've possibly messed the noodles up on the "Get latent size" node under the Ultimate SD Upscale node -> It should use the Two INT outputs. from io import BytesIO. You can swap machines in and out but you'll always have certain machines in the line up. Solution. A node like that really needs the ability to open the operating system's file browser. However, when I use ComfyUI and your "Seed (rgthree)" node as an input to KSampler, the saved images are not reproducible when image batching is used. counter_digits: Number of digits used for the image counter. A bit late to the party, but you can replace the output directory in comfyUI with a symbolic link (yes, even on Windows). Jan 15, 2024 · Issue I am using the ComfyUI portable installation and have downloaded the files in 3 ways without any of them working: Zip file unzipped to custom_nodes git install to custom_nodes batch file inst Here is how it works: Gather the images for your LoRA database, in a single folder. You are absolutely right. 7. Feb 15, 2024 · I would like really to fix it as it is really useful. In trying to convert this to a Pillow Image it appears this type is a tensor. Make sure the images are all in png. In these cases one can specify a specific name in the node option menu under properties>Node name for S&R. Sytan's SDXL Workflow will load: Dec 14, 2023 · Right now ComfyUI's save image node allows only for a prefix string that's prepended to the filename and then followed by a frame number. Dec 19, 2023 · The CLIP model is used to convert text into a format that the Unet can understand (a numeric representation of the text). After making a selection, on any of the selected nodes and select and choose a name that won't conflict with any other existing node. bat and ComfyUI will automatically open in your web browser. Yeah, you can save them as a ‘Template’ from the context menu - select a bunch of nodes, then right click outside of the selection on the background and find “Save as Template”. Belittling their efforts will get you banned. Locate the IMAGE output of the VAE Decode node and connect it to the images input of the Preview Image node you just added. Not guaranteed to work in all instances. job_custom_text - Custom string to save along with the job data. More Information. Img2Img. Keep the characters already filled in as the folder name and add to it if you want to. Author. bat and the upload image option is back for me. At times node names might be rather large or multiple nodes might share the same name. - giriss/comfy-image-saver Custom Node Image Input Type. To simply preview an image inside the node graph use the Preview Image node. import comfy. Photomaker Encode and Apply Photomaker Style are OK, as is Prepare Images For ClipVision From Path. Edit: Oh yeah, also put a preview node from the decoder too, as that save node does not have it's own picture viewer. I'm trying to create a node that pulls the exif data from an image. The ultimate solution for managing image metadata and multi-tool compatibility. Had the same issue. With this suit, you can see the resources monitor, progress bar & time elapsed, metadata and compare between two images, compare between two JSONs, show any value to console/display, pipes, and more! This provides better nodes to load/save images Jan 11, 2024 · 1. Dec 14, 2023 · Right now ComfyUI's save image node allows only for a prefix string that's prepended to the filename and then followed by a frame number. You can enter or ignore the file extension. This would reduce the number of noodles outputting from a VAE Decode when you're going to send the image on to May 30, 2023 · You signed in with another tab or window. Nesting the selected nodes. bat" for the WAS Nodes. You switched accounts on another tab or window. By default, it will save the image to the /input directory. import time. #images will be sent in exactly the same format as the image previews: as. There are many JPEG pictures on the C site, but it doesn't support JPEG, which is very inconvenient. 1. It worked for me. Double-click on an empty part of the canvas, type in preview, then click on the PreviewImage option. You can construct an image generation workflow by chaining different blocks (called nodes) together. Let's assume you have Comfy setup in C:\Users\khalamar\AI\ComfyUI_windows_portable\ComfyUI, and you want to save your images in D:\AI\output . The radius of the sharpening kernel. Welcome to the unofficial ComfyUI subreddit. Next. Mar 31, 2023 · got prompt WAS Node Suite Text Output: cyberpunk railway station cliff morning cinematic lighting dim lighting warm lighting hyperrealistic digital painting cinematic landscape concept art award-winning HD highly detailed attributes and atmosphere award-winning. The Save Image node can be used to save images. Inpainting. save_metadata - Saves metadata into the image. Node. Press any key to continue . It can be hard to keep track of all the images that you generate. Jul 29, 2023 · No milestone. With these custom nodes, combined with WD 14 Tagger (available from COmfyUI Manager), I just need a folder of images (in png format though, I still have to update these nodes to work with every image format), then I let WD make the captions, review them manually, and train right away. #You can use this node to save full size images through the websocket, the. Node that allows for flexible image overlaying. ComfyUI node version of the SD Prompt Reader - Issues · receyuki/comfyui-prompt-reader-node. Ramon. . It is a derivation of ComfyUI's built-in save image node. Clear the save_path line to prevent saving the image (it will still be saved in the TEMP-folder). Node setup 1 below is based on the original modular scheme found in ComfyUI_examples -> Inpainting. ComfyUI Nodes Info. Mar 31, 2024 · Reinstall ComfyUI_IPAdapter_plus using git clone in the ComfyUI/custom_nodes folder Re-download all of the models and make sure they have the correct names and locations All reactions First of all, there a 'heads up display' (top left) that lets you cancel the Image Choice without finding the node (plus it lets you know that you are paused!). Scatterplot of raw red/green values, left=PNG, right=TIFF. Contribute to itsKaynine/comfy-ui-client development by creating an account on GitHub. js does not support the functions of the latest version of mypaint), use the settings to adjust! 1. When I try to reproduce an image, I get a different image. May 5, 2024 · When enabled, saves individual job data files for each image. To activate you must have installed the simpleeval library in your Python workspace. 6. You can save output to a subfolder: subfolder/video. Metadata is extracted from the input of the KSampler node found by sampler_selection_method and the input of the previously executed node. show image ( groups ) show image ( nodes ) I need to move or left click on a node, for this to update. Image Sharpen node. Date time strings¶ ComfyUI can also inset date information with %date:FORMAT% where format recognizes the following specifiers: Nov 23, 2023 · You signed in with another tab or window. ) On the right hand panel, there is a button that says "History. Has anyone experienced similar, it seems the rate decreases with the number of images as well. Recommend adding the --fp32-vae CLI argument for more accurate decoding. upscale images for a highres workflow. Experimental. ps: there's tones of simple JS scripts for image comparisons - just need to be ported to a node. import numpy as np. The idea of uploading images isn't anything more than the idea of opening files I've done it this way too. Hard coded. github. and no workflow metadata will be saved in any image. You can also use to highlight nodes. But more useful is that you can now right-click an image in the `Preview for Image Chooser` and select `Progress this image` - which is the same as selecting it's number and pressing go Image Overlay. You've changed the batch size on the "pipeLoader - Base" node Welcome to the unofficial ComfyUI subreddit. In Auto (and in Comfy with auto saving) I've got a work flow that saves with a format like timestamp-model-seed or timestamp-seed. Right click the node and convert to input to connect with another node. I'm an ultra newbie in using nodes and Comfy UI (and I'm a 58 yo sound engineer / composer - it doesn't fix things). Save and load images and latents as 32bit EXRs. Otherwise, anything else works, really. ↑ Node setup 1: Classic SD Inpaint mode (Save portrait and image with hole to your PC and then drag and drop portrait into you ComfyUI A good place to start if you have no idea how any of this works is the: ComfyUI Basic Tutorial VN: All the art is made with ComfyUI. (early and not finished) Here are some more advanced examples: "Hires Fix" aka 2 Pass Txt2Img. Reload to refresh your session. In order to perform image to image generations you have to load the image with the load image node. Went to Updates as suggested below and ran the ComfyUI and Python Dependencies batch files, but that didn't work for me. 3 = image_001. Win 10. The idea of uploading images isn't anything more than the idea of opening files example. 1” custom node introduces a new dimension of control and precision to your image generation endeavors. PNG is the default file format but I don't know how it handles transparency. Sort by: N0I3ody. It is being used in a lot of their workflows so I must be missing something. Mar 18, 2024 · 2. transforms it tells me it is a 4d array which isn't valid. io ] Type: All ID Author Title Description Nodes. MultiLatentComposite 1. Save workflow: Ctrl + O: Load workflow: Ctrl + A: Select all nodes: Alt + C: Collapse/uncollapse selected nodes: Ctrl + M: Mute/unmute selected nodes: Ctrl + B: Bypass selected nodes (acts like the node was removed from the graph and the wires reconnected through) Delete/Backspace: Delete selected nodes: Ctrl + Delete/Backspace: Delete the from PIL import Image, ImageOps. This didn't seem to work; I am using Load Image, then masking in the Mask Editor. Do manual activation would be to have that chunk of nodes be activated after generation manually. save_metadata: Saves metadata into the image. Dieterle (doesn't work, not added to brushes) More brushes mypaint is here. I have connected the Convert to Image It also outputs the Width/Height of the image. Directory Path Field: Input the relative path of your image folder. image. format: The file format to use. WASasquatch on Mar 19, 2023. com) btw, this should work with a1111 images as well. They will create a subfolder with todays date. Look at the output from the place you started comfy. Will adjust the The Save Image node can be used to save images. Once installed move to the Installed tab and click on the Apply and Restart UI button. Please share your tips, tricks, and workflows for using this software to create your AI art. Target KSampler nodes are the key of SAMPLERS in the file py/defs/samplers. I'm guessing that's why the LoadLatent node is still in testing. Saves the images received as input as an image with metadata (PNGInfo). Extended Save Image for ComfyUI. Works with png, jpeg and webp. (TODO: provide different example using mask) Prev. Embeddings/Textual Inversion. Like the builtin Save Image node, you can add timestamps. Mar 24, 2023 · You signed in with another tab or window. Selecting the nodes to nest. Fix that, the node will load. Select multiple nodes by using on the desired nodes to nest. js WebSockets API client for ComfyUI. There should be a (true/false) toggle to actually save the image. Now you can just load that node cluster into any workflow you’re working on. 🪛 A powerful set of tools for your belt when you work with ComfyUI 🪛. Something that could replace both the Save Image and Preview Image nodes. Tanda. It’s not a slider, but that could be easy to add too. Nodes work by linking together simple operations to complete a larger complex task. Turn off metadata with this launch option : Where ever you launch ComfyUI from, will now need to become. Aug 1, 2023 · I've installed the "was node suite" because it can generate automatically a date when you save an image by using a node "text add tokens". %date:yyyy-MM-ddThh:mm:ss% might become 2023-10-31T6:45:25. Click on Load from: the standard default existing url will do. • 9 mo. 1. I hope this hint helps Mar 18, 2023 · edited. So when I update some plugins and i press restart it show this in the windows terminal. The pixel image to be sharpened. Format: {your-folder-name}/{your-image-name} Example: If your folder name is "Test1" and the image name is "001", input: Test1/001. ) There is a folder called TEMP in the root directory of ComfyUI that saves all images that were previewed during Mar 20, 2024 · ComfyUI is a node-based GUI for Stable Diffusion. SimpleEval Nodes. You will need to launch comfyUI with this option each time, so modify your bat file or launch script. Aug 31, 2023 · ltdrdata commented on Sep 4, 2023. Some commonly used blocks are Loading a Checkpoint Model, entering a prompt, specifying a sampler, etc. 2. #binary images on the websocket with a 8 byte header indicating the type. Hypernetworks. GitHub Repositories: [ ComfyUI ] [ ComfyUI-Manager ] [ ltdrdata. pip install Mar 24, 2023 · You signed in with another tab or window. Compatible with Civitai & Prompthero geninfo auto-detection. There must be an output or ComfyUI won't run. NOTE: Not all brushes work correctly (brushlib. 1 participant. When you have it installed just dubbel click and search for save. If I use ToPILImage from torchvision. widget_name. counter_digits - Number of digits used for the image counter. Advanced information on configuring or adding additional video formats can be found in the Video Formats section. Simply add the parameter names in the order you want them to appear. As in, it will then change to (embedding:file. E:\stable-diffusion-ComfyUI->pause. import struct. A lot of people are just discovering this technology, and want to show off what they created. The selected nodes will be replaced with a new node Node: Save Image w/o Metadata. I tried uninstalling and re-installing it again but it did not fix the issue. alpha. png Simply add the parameter names in the order you want them to appear. - First and foremost, copy all your images from ComfyUI\output to the target All the tools you need to save images with their generation metadata on ComfyUI. A collection of nodes that allows users to write simple Python expressions for a variety of data types using the simpleeval library. I am taking in the image from another node using the "IMAGE" type. . The sigma of the gaussian, the smaller sigma is the more the kernel in concentrated on the center pixel. I’ll see if I can clean it up and put it into rgthree-comfy. Using the "Save Image" Node. job_data_per_image - When enabled, saves individual job data files for each image. The strength of the The Mask output is green but you can convert it to Image, which is blue, using that node, allowing you to use the Save Image node to save your mask. But when I bypass or mute via right click, it shows immediately. ComfyUI breaks down a workflow into rearrangeable elements so you can easily make your own. Feb 8, 2024 · Hi everyone, I am trying to build a custom Save-to-Image node. py --help" it will list the other arguments you can start comfyui with. " If you click this, it will expand a selection menu that contains every generation parameter and node setup that you have used during that session of ComfyUI. See comments made yesterday about this: #54 (comment) I did want it to be totally different but ComfyUI is pretty limited when it comes to the python nodes without customizing ComfyUI itself. I have tried adding a "load image" node, converting the filename to input, adding an "image" node that I increment after every generate, but it doesn't quite work: even if I rename every file to start with something unique and then filter by that unique string, it still isn't doing what I expect. It got like this: I did click on ComfyUI_windows_portable\update\update_comfyui_and _python_dependencies. You signed out in another tab or window. I have one locally. Manual generation of nodes could be useful elsewhere too, such as when using nodes to post process images. Please keep posted images SFW. Copy that folder’s path and write it down in the widget of the Load node. Removing the Primitive node and converting filename_prefix to widget magically solves the problem. Input the Relative Path. Apr 24, 2023 · It will swap images each run going through the list of images found in the folder. utils. job_custom_text: Custom string to save along with the job data. Mask editor already works on the Save Image node. I think it's about the transformers==4. Save prompt as entries in a JSON (text) file, in each folder: May 5, 2024 · Save Image Extended for ComfyUI: Customize the folder, sub-folders, and filenames of your images! Use the values of ANY node’s widget, by simply adding its badge number in the form id. Takes about 15 minutes to save 900 images, at 1-2 seconds per image. png. I don't save automatically anything, it will be insanity, 99% of my generations is only to see what i can improve and experimentation, i generate dozens, even hundreds, until it's "ready" to be saved. We call these embeddings. Update: As requested you can now use 'resolution' in the names to add the image resolution. pe gd ca ox ua yp hc kt kf aw