ComfyTD 0.1.0 π§©!! Big Update ! [ Changelog ]
🕑 Added 2024-03-06 00:37:49 +0000 UTCVersion 0.1.0 is a much improved version with more information visible about the workflows, making it easier to quickly load in workflows and iterate within TouchDesigner. ComfyTD still follows the same logic / flow as the ComfyTD Deep Dive video I posted last month, but I will be sharing more workflows / videos to expand and show some more specific setups soo.
TOX is available in a separate post !
Major New Features:
- any PNG Workflow supported ! Loads API configs from png outputs with metadata or API json file. API folder dropdown still available if the Workflow / Config parameter is empty. ('Comfy' page)
- New 'onQueueEnd' Callback. Runs when queue of the current operator reaches 0, usually after 'Keep Generating'. Enables custom post-processing/cleanup.
- Getfunction(config=None): Returns operator's function string. config can be PNG output or workflow file.
- Generate(config=None, kwargs**) config added to exposed Generate function via extension class. config can be a file path to any png output or api workflow json.
- Regenerate pulse / function added ('Display' page). This will rerun the same settings as the currently displayed output but with randomized seed.
Improved UI / workflow:
- Added headers per node in both Config and API Parameters page. The headers prioritize custom Titles to clarify settings when loading in configs. for example titling a switch 'txt2img(1)' or 'img2img(2)' is a handy way to label what it does.
- Rating System and Sorting: Rates outputs based on par.RatingFile and sorts by rating. ('Display' page)
- "Save Top Rated" Pulse: Easily saves top-rated outputs from operator. ('Display' page)
- "Delete ID / Delete Job": Removes specific jobs from queue. References "Pending Outputs" table for non-finished jobs and promptids ('Display' page)
- "Link Settings Table" / "External Settings Table": Links parameters from other operators' outputs for integration. ('Display' page)
- Green Loading Bar
- Optional Display Info Toggle ('Display' page)
- "Pars to Set" String Menu: Simplifies selecting API parameters for randomization, increment (+1), or decrement (-1) after generation. Works for menu parameters, allowing looping through schedulers or other settings. Supports multiple parameter names.
- "Image Parameter Type" Menu: Allows dynamically switching Image parameters between TOP or File parameter type.
- HistoryTable and MessageTable: Stores job history/outputs. Potentially transitioning from jobTable (WIP).
- "Listen" Toggle: Turns off operator's internal server connection to limit connections depending on network. ('Comfy' page)
- Reboot Server Pulse (needs ComfyUI Manager): Cancels jobs, clears queue, restarts server.
- Unload Models Pulse (same effect as Manager).
- Warning Popup on "Clear Temp": Shows number of images to be cleared.
- Open Browser Pulse: Opens ComfyUI in an external web browser.
- Poll Speed Control: Exposes poll speed setting for system info/image history checks (default 1/sec). ('Comfy' page)
Other fixes !
- Changed API Config Loading: Fully reloads config each time instead of just new 'Add' toggles. Toggles sync to match current API parameters.
- jobTable Updates: Now updates with interrupted, error or removed status after job completion.
- Fixed Timer Log Issue: No longer ends instantly during every other KeepGenerating generation.
- Improved Connection/Disconnection Handling
- Save JobTable/Load JobTable Improvement
- & a few other minor tweaks and menu cleanups + more helper text added !
Feedback and suggestions are encouraged and appreciated ! Enjoy.
Comments
Daniele Calderazzo
Hi, @DotSimulate! thanks for your amazing works. I'm trying to use comfyTD but I have some troubles with "Current active api workflow parameters". I can find the API Parameters under "API Config" tab but when I toggle the params on ON I can't find them under "Current active" on the "API parameters" tab. I've tried with the api.json of the default example of comfy. I've the latest version of comfy and touchdesigner. Thanks for your work!
dotsimulate
Could be many things and would need to see your API config settings page to get a better idea. Perhaps you aren't loading the workflow correctly? It needs to be a .png output from Comfyui in the Workflow / Config parameter, or that par can be left blank and use the API folder exactly like the video. There are now more headers / organization in the parameters, but the logic / approach to using is exactly the same as the video.
AnΓbal Echeveste
Hi, when adding .tox to TD Im not getting the same Parameters as in the Deep Dive video (OK different versiosn...). The problem is that under "Current Active API Workflow Parameters" is empty in the Api Parameters tab. Also getting 500 Server Error when hitting Pulse-Generate Comfy is working fine.