Home Creators Posts Import Register Favorites Logout

Content

Just finished putting together an attempt at a full explainer for ComfyTD ! I hope you enjoy !

Files

ComfyTD Deep Dive

ComfyTD operator available here - https://www.patreon.com/dotsimulate This video is a thorough walkthrough of ComfyTD, detailing my entire approach to working with the operator for integrating ComfyUI workfows into TouchDesigner. It is less of a step by step guide and more of a masterclass for how to approach using the operator. I hope you enjoy. Thank you for your support. 00:00 - Video Intro 01:05 - Loading and Setting Up Comfy UI in TouchDesigner 01:45 - Setting the Comfy UI Base Folder Parameter 02:40 - Launching ComfYUI from Touchdesigner 04:15 - Explaining ComfyUI & Default workflow 07:10 - Installing ComfyUI Manager / Custom Nodes 09:20 - Default Workflow + SDXL 10:16 - Saving API Workflow to API Folder 11:28 - Loading Workflow in Touchdesigner 13:40 - ComfyUI cached settings explanation 14:35 - Set Pars After Generate 15:30 - Setting output file name and folder 16:03 - Display settings / Update range 17:50 - API Config Page / Changing between API workflows 20:44 - Image2Image workflow 23:40 - Operator Outs explained 24:10 - Simple img2img loopback animation setup 31:30 - Callbacks Explained 34:06 - Quick Explanation / Recap of how to work with operator 35:00 - RIFE interpolation setup with 2 images (BUG SPOTTED) 38:24 - Complex animatediff workflow 40:33 - ComfyUI Panel Options first look 43:30 - NDI in/out extension / testing Touchdesigner panel 45:37 - Outro

Comments

Ben

Thank you so much for this, it's been really helpful!

Olivier Pinkwater

Hi, great video, having a lot of trouble getting comfytd to see the image I am trying to upload into the system, how do you set your network up in comfy UI so that it can receive a TOP? As of now I have tested both load image(base 64) and just standard load image, and while both see that they can receive a TOP input, when it comes time to actually prompt comfy it doesn't accept the image, it feeds out this error instead "ERROR:root:Failed to validate prompt for output 33: ERROR:root:* LoadImage 34: ERROR:root: - Custom validation failed for node: image - Invalid image file: /project1/null1 ERROR:root:Output will be ignored invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}" any help would be appreciated! thank you!

DotSimulate

for the TOP parameter, are you just putting the name of the operator or network path? it shouldn't be a reference to the op, but instead just drag and drop. There should be a temp folder in your TouchDesigner project location that contains the input images, which you can check for the input files to see if they are being saved.

Olivier Pinkwater

Thanks for the quick response! Ive been connecting top inputs to a null, and then dragging the null directly into the parameter window, comfytd has been working for text based generation but for some reason just this one type of network isn't functioning. Also side note, I've been experimenting with the stream diffusion module as well, and wow! Super impressive stuff and great work!

Indra's Mirror

Hey my man did you fix this? I'm having a similar issue, I use Base64 in the img2img workflow to receive the TOP but it isnt working either :(