Save image extended comfyui github. A lot of people are just discovering this technology, and want to show off what they created. import numpy as np. Oct 7, 2023 · It looks like the code tries to load embeds from the input directory but saves them to the default image output directory, with a default "embeds/" dialogue box opening up in comfyui itself. Save Image Extended Apr 8, 2024 · You signed in with another tab or window. size ()" this give "torch. 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 Save prompt is now Save job data, with some options. 107 <--it's my computer with comfyui \188. I found a typo bug in Line 239 in save_image_extended. - ComfyUI-Image-Saver/README. For JPEG/WEBP only the a1111-style parameters are stored. import comfy. Contribute to fnhvj/wx-save-image-extended-comfyui development by creating an account on GitHub. from io import BytesIO. Jan 26, 2024 · I thought about your idea and solved this problem by adding the "Prepare imafe for insightface" node between the source face image and the "prepare image for clipvision" node. Mulitple options for saving prompt , basic data , sampler settings , loaded models . 0 seconds: C:\Matrix\Data\Packages\ComfyUI\custom_nodes\sdxl-recommended-res-calc 0. 31. 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. 3 = image_001. Nov 22, 2023 · Hello together, forst I have to say I love comfyui, great work. 0 seconds: C:\Matrix\Data\Packages\ComfyUI\custom_nodes\image-resize-comfyui 0. Contribute to haohaocreates/PR-extended-saveimage-comfyui-e8a82db2 development by creating an account on GitHub. Save Image with more file formats for ComfyUI. . Code; Sign up for a free GitHub account to open an issue and contact its maintainers Extended Save node for ComfyUI. bat for example X:\Stable-Diffusion\output\ComfyUI, and I save other projects in X:\Stable-Diffusion\output\Projects is there a conflict over this? Also this path is a symlink X:\Stable-Diffusion\output since images are uploaded from this folder to the cloud drive. Save the prompt, basic data, sampler data, and loaded models. ComfyUI is a powerful and modular stable diffusion GUI and backend with a user-friendly interface that empowers users to effortlessly design and execute intricate Stable Diffusion pipelines. Customize the information saved in file- and folder names. Custom Nodes. Has anyone experienced similar, it seems the rate decreases with the number of images as well. Aug 1, 2023 · You're not using my Save Image node, that's the base vanilla ComfyUI save image node. More on the topic of PNG Meta standards can be found here: https://www. Type. Install the ComfyUI dependencies. #images will be sent in exactly the same format as the image previews: as. owner does not provide any way to contact them, no email nothing. Will adjust the counter if files are deleted. sd-webui-comfyui is an extension for Automatic1111's stable-diffusion-webui that embeds ComfyUI in its own tab. Github. Upscale model now saved in job data. Nov 7, 2023 · brandostrong commented on Nov 7, 2023. Maintained by Fannovel16. Allows you to save images with their generation metadata in ComfyUI. save(os. And above all, BE NICE. import time. Another note is this image doesn’t bundled deps for WAS Node Suite, because it has some deps version fixed, and is not under active development. Launch ComfyUI by running python main. py", line 90, in Save_as_webp img. Extended Save Image for ComfyUI 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. Contribute to palant/extended-saveimage-comfyui development by creating an account Save Image with more file formats for ComfyUI. Feb 15, 2024 · I would like really to fix it as it is really useful. About ComfyUI. I can do this in the regular save and video combine VHS node. For more information May 5, 2024 · Find and fix vulnerabilities Codespaces. Basically the positive prompt was overwritten by the negative one. Includes the metadata compatible with Civitai geninfo auto-detection. png. To generate more at the same time you have to increase batch_size in the Empty Latent Image node. This will save a file pred. 👍 1 steverhoades reacted with thumbs up emoji 🚀 1 steverhoades reacted with rocket emoji May 8, 2023 · Batch count generates the images sequentially so only 1 will be visible at a time. md at main · nickve28/ComfyUI-Image-Saver. save_metadata - Saves metadata into the image. Doesn't display images saved outside /ComfyUI/output/ Save Image With Metadata Saves the images received as input as an image with metadata (PNGInfo). w3. utils. Save Image. Actively maintained by AustinMroz and I. png I had the same issue and fixed the code. 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. Includes the metadata compatible with Civitai geninfo auto-detection. Some features: Jan 29, 2024 · 0. Now with timestamp in local format Counter position, per request the counter can now appear in the beginning of the filename Image preview can now be turned off ComfyUI-VideoHelperSuite for loading videos, combining images into videos, and doing various image/latent operations like appending, splitting, duplicating, selecting, or counting. It has lots of issues unanswered. Save image with generation metadata in ComfyUI. This prevents the prompt to be loaded into the web UI. Find and fix vulnerabilities Codespaces. If you have another Stable Diffusion UI you might be able to reuse the dependencies. Please share your tips, tricks, and workflows for using this software to create your AI art. It can be hard to keep track of all the images that you generate. Notifications Fork 3; Star 59. I use a custom "image saver node". counter_digits: Number of digits used for the image counter. Right click the node and convert to input to connect with another node. 0 seconds: F:\AI\ComfyUI\ComfyUI\custom_nodes\stability-ComfyUI-nodes 0. png in the root folder, showing RGB and corresponding predicted depth side-by-side. Feb 2, 2024 · On Fri, Feb 2, 2024, 12:18 PM Chaoses-Ib ***@***. If i have say 1200 files already in the folder, and want to save 500 more, it will only save 300 in that folder and skip the rest. files = [f for f in os. Installation With this setting, the counter does not work. You can enter or ignore the file extension. In the same \db/icons folder, for example. forked from alexopus/ComfyUI-Image-Saver. py containing model definitions and models/config_<model_name>. png Extended Save Image for ComfyUI 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. import struct. Note that --force-fp16 will only work if you installed the latest pytorch nightly. 0 seconds: C:\Matrix\Data\Packages\ComfyUI\custom_nodes\ComfyUI-Logic 0. Now that the last ComfyUI update succeded in breaking the Save Image node using Primitive node values, everyone is pointing to this plugin as a workaround. widget_name% into the filename_prefix widget in the WAS Image Save Node and also the Text Add Tokens node. Then inside the Save Image Extended node, right click and choose 'convert foldername_prefix to input'. And let's you mix different embeddings. You signed in with another tab or window. Jan 15, 2024 · Temporary workaround until it's fixed. But the variables were not populated. Contribute to thedyze/save-image-extended-comfyui development by creating an account on GitHub. Save data about the generated job (sampler, prompts, models) as entries in a json (text) file, in each folder. permute (1,0,3,2) Now if I do "tensorImg. By default, it will save the image to the /input directory. save_metadata: Saves metadata into the image. 0 seconds: K:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_FastVAEDecorder_SDXL 0. If i change the folder name to something different, that folder has no contents it will save the full 500 till it reaches 1500 thedyze / save-image-extended-comfyui Public. Save prompt is now Save job data, with some options. to the corresponding Comfy folders, as discussed in ComfyUI manual installation. ***> wrote: Image Save will save Workflow regardless of whether it is available. Jul 22, 2023 · Right now the Search and replace strings feature only seems to work in the default ComfyUI Save Image node. I symlinked the {default output}/embeds folder to input/embeds which fixed it, and changed. 0. json extension. png", it will be overwritten. job_custom_text - Custom string to save along with the job data. Works with png, jpeg and webp. It is also useful to to some bashing and take the best part of every image and create the best version possible. 0 seconds: K:\ComfyUI\ComfyUI\custom_nodes\save-image-extended-comfyui 0. Contribute to palant/extended-saveimage-comfyui development by creating an account on GitHub. Sometimes just faster than inpainting. save_job_data - If enabled, saves information about each job as entries in a jobs. You signed out in another tab or window. How should I set up the batch file? I saw this example. So when I update some plugins and i press restart it show this in the windows terminal. This would be for single and batched images, where batched images save the specific workflow used for them (including seeds - same with single images). show_history will show previously saved images with the WAS Save Image node. counter_digits - Number of digits used for the image counter. Convert to input to save any node text in the job data. comfyui_controlnet_aux for ControlNet preprocessors not present in vanilla ComfyUI. Press any key to continue . Use the values of sampler parameters as part of file or folder names. Fork 0. May 6, 2024 · I am taking over save-image-extended-comfyui since the owner is gone for 6 months now. More than 100 million people use GitHub to discover, fork, and contribute to over 330 million projects. Save Image Extended for ComfyUI . . As I have everything saved by date in folders I revise every day and delete what looks wrong to me or isn't useful anymore. Go into the folder of the manager open terminal git reset --hard 2f3e794 run This will just reset to the commit before it breaks. 6. tensorImg=tensorImg. Belittling their efforts will get you banned. join(full_output_folder, file), method=6 , exif= imgexif, lossless=boolloss , quality=compression) #Save as webp - options to be determined Dec 23, 2023 · Ok after further testing, removing the manager folder from custom nodes is making it work, something is in conflict with it for sure, and i am not sure what honestly, will keep this open. Feb 8, 2024 · Hi everyone, I am trying to build a custom Save-to-Image node. I want to set comfyui's image save to a folder on the another computer. Extended Save Image for ComfyUI. py --output-directory D:\YOUR . #You can use this node to save full size images through the websocket, the. Compatible with Civitai & Prompthero geninfo auto-detection. Problem solved. GitHub is where people build software. I am not used to ML software/libraries to work out of the box, usually one has to fix some bugs in an undocumented research repo – thank you for this great experience with ComfyUI! I'd love to be able to specify the Save Image. I can confirm this makes the manager work again. Now with timestamp in local format Counter position, per request the counter can now appear in the beginning of the filename Image preview can now be turned off Save and load images and latents as 32bit EXRs. Clear the save_path line to prevent saving the image (it will still be saved in the TEMP-folder). What I am trying to do is to create folders inside folders. Laso the custom nodes. My "problem" is. Scatterplot of raw red/green values, left=PNG, right=TIFF. Contains 2 nodes for ComfyUI that allows for more control over the way prompt weighting should be interpreted. nickve28 / ComfyUI-Image-Saver Public. Extended Save node for ComfyUI. Extended Save node for ComfyUI(扩展保存图片节点的功能). All the tools you need to save images with their generation metadata on ComfyUI. Image Save: A save image node with format support and path support. Should also work for 'filename_prefix'. org/TR/png/#11textinfo job_data_per_image - When enabled, saves individual job data files for each image. 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. Compatible with Civitai. If there is a fear of duplicates and saving disk space, it would be enough to save previews of images in 128 pixels resolution (as they are visible in the plugin panel). py. Instant dev environments Jun 12, 2023 · File "C:\Programs\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Saveaswebp\Save_as_webp. json containing configuration. Instead the old picture is overwritten: For example, if the image written last time was "000001_1. Authored by palant. Mar 10, 2013 · You signed in with another tab or window. PS: I'm amazed by your work. Fixed counter issue when position was 'first'. 👍 1 inanorbit reacted with thumbs up emoji To achieve this, add a 'Get Date Time String' node. JPG instead of PNG. "python main. listdir (f' {input_dir}/embeds/') if os Jul 31, 2023 · You signed in with another tab or window. Instant dev environments I also think it would be good to save previews to a separate directory. And if Workflow exists, ComfyUI's web UI will use it instead of Prompt even if it's NUL. 0 seconds: K:\ComfyUI\ComfyUI\custom_nodes\comfyui-tooling-nodes I'd love to be able to specify the output format in the save image module, eg. Size ( [4, 1, 768, 512])" Jan 23, 2024 · 0. To help with organizing your images you can pass specially formatted strings to an output node with a file_prefix widget. Save your positive & negative prompt as entries in a JSON (text) file, in each folder. To make it generate 1 image of the right dimension I have to do. You will have to update your manager once the issue is resolved. Other. Recommend adding the --fp32-vae CLI argument for more accurate decoding. Dec 14, 2023 · \188. 0 seconds: F:\AI\ComfyUI\ComfyUI\custom_nodes\save-image-extended-comfyui 0. 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. This innovative system employs a visual approach with nodes, flowcharts, and graphs, eliminating the need for manual coding. Finally, drag the output of the date node to the new input. @thedyze @AlUlkesh Save Image Extended for ComfyUI: Customize the folder, sub-folders, and filenames of your images! - haohaocreates/PR-save-image-extended-comfyui-2afc0618 Extended Save Image for ComfyUI 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. Description. When saving, the save image extended node only saves 1500 per folder and skips the rest. py --force-fp16. Added 'model_name' to file or folder keys (upscale model). Added ability to save job data file for each image. Metadata is extracted from the input of the KSampler node found by sampler_selection_method and the input of the previously executed node. Notifications Fork 0; Star 10. / — Reply to this email directly, view it on GitHub <#149 Welcome to the unofficial ComfyUI subreddit. I tried uninstalling and re-installing it again but it did not fix the issue. However, the image’s script only install one custom node (ComfyUI-Manager). The Save Image node can be used to save images. 0 seconds: F:\AI\ComfyUI\ComfyUI\custom_nodes\ComfyUI_Cutoff Find and fix vulnerabilities Codespaces. Instant dev environments GitHub is where people build software. py; Note: Remember to add your models, VAE, LoRAs etc. from PIL import Image, ImageOps. Not stupid to me whatsoever. ProTip! Type g p on any issue or pull request to go back to the pull request listing page. You can fix it yourself by correcting the line until it's fixed :) Just replace the second "positive_prompt" with "negative_prompt". Works with PNG, JPG and WEBP. To simply preview an image inside the node graph use the Preview Image node. Advanced CLIP Text Encode. For PNG stores both the full workflow in comfy format, plus a1111-style parameters. widget_name. RESPECT at all who are working for it. Metadata is embedded in the images as usual, and the resulting images can be used to load a workflow. 85" computer is definitely set up for sharing. I tried putting %node_name. 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. 0 seconds: K:\ComfyUI\ComfyUI\custom_nodes\comfyui-prompt-composer 0. The main folder has a name for instance IPAdapter then the subfolder is the current date. 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 It also outputs the Width/Height of the image. Customize what information to save with each generated job. counter_position: Image counter first or last in the filename. E:\stable-diffusion-ComfyUI->pause. Notifications. Code; Sign up for a free GitHub account to open an issue and contact its maintainers As issues are created, they’ll appear here in a searchable and filterable list. If you enter a name in the save_file_name_override section, the file will be saved with this name. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects. Star 0. Let me know if it doesnt work as expected. Added 'job_custom_text' string input. For me it's not saving the workflow for neither jpg nor webp. Oct 20, 2023 · Essentially the same name as the image, but with a . A1111 Extension for ComfyUI. Oct 25, 2023 · Since --output-directory is written in run_nvidia_gpu. Allows you to save images with their generation metadata. 85 <--The computer where you want to set the output folder That "ip. json text file, inside the generated folder. path. one_counter_per_folder: Toggles the counter. #binary images on the websocket with a 8 byte header indicating the type. Jan 8, 2024 · 0. Takes about 15 minutes to save 900 images, at 1-2 seconds per image. Authored by thedyze. You switched accounts on another tab or window. To get started, you should create an issue. Personally using "Save Image Extended" Dec 15, 2023 · But now in comfyUi this will generate 512 images of 768 width and 4 of height which is not what should happen. Model files Models are defined under models/ folder, with models/<model_name>_<version>. Looks for the highest number in the folder, does not fill gaps. I will try and answer them, but before that, I want to submit my updated and bugfixed version. This is the missing link to be able to use ComfyUI to automatically tag images with keywords and save those keywords directly into the PNG file (not external text file). job_data_per_image - When enabled, saves individual job data files for each image. ComfyUI unfortunately resizes displayed images to the same size however, so if images are in different sizes it will force them in a different size. - giriss/comfy-image-saver Allows you to save images with their generation metadata. 0 seconds: C:\Matrix\Data\Packages\ComfyUI\custom_nodes\sdxl_prompt_styler ComfyUI Extension: Save Image Extended for ComfyUICustomize the information saved in file- and folder names. Please keep posted images SFW. If the path is on the same drive as the ComfyUI_windows_por Follow the ComfyUI manual installation instructions for Windows and Linux. Truncated decimals for 'cfg' and 'denoise' values. This could be a simple boolean input in the save image node to trigger the saving of the workflow. Reload to refresh your session. Is there a way of doing t thedyze / save-image-extended-comfyui Public. gv hi vk cq qe qt pe jv vn km