-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,27 @@ | ||
# TDComfyUI | ||
TouchDesigner interface for ComfyUI | ||
<a href="https://discord.com/invite/wNW8xkEjrf"><img src="https://discord.com/api/guilds/838923088997122100/widget.png?style=shield" alt="Discord Shield"/></a> | ||
|
||
TouchDesigner interface for [ComfyUI](https://github.com/comfyanonymous/ComfyUI) API | ||
|
||
![Screenshot_1](https://github.com/olegchomp/TDComfyUI/assets/11017531/fba8e8f2-42fb-486b-8cd4-839968f97601) | ||
|
||
## Installation | ||
1. Install [ComfyUI](https://github.com/ltdrdata/ComfyUI-Manager#installation) | ||
2. Install [ComfyUI Nodes for External Tooling](https://github.com/Acly/comfyui-tooling-nodes) | ||
3. Download latest [TDcomfyUI](https://github.com/olegchomp/TDComfyUI/releases) component | ||
4. Add TDComfyUI.tox to TouchDesigner project. | ||
5. Run "Re-init" in "Settings" page of TDComfyUI component. | ||
|
||
## How to use: | ||
1. Set "Enable Dev mode Options" in ComfyUI settings. | ||
2. Create workflow | ||
3. Save workflow with "Save (API Format)" | ||
5. Drop/Load created file in TouchDesigner project (TextDAT). Connect DAT to TDComfyUI input (InDAT) | ||
7. Run 'Load Wokflow" on Settings page. | ||
8. Set parameters on Workflow page and run "Generate" on Settings page. | ||
|
||
## Image send/recieve: | ||
* **Send to ComfyUI** - "Load Image (Base64)" node should be used instead of default load image. In TouchDesigner set TOP operator in "ETN_LoadImageBase64 image" field on Workflow page. | ||
* **Send to TouchDesigner** - "Send Image (WebSocket)" node should be used instead of preview, save image and etc. nodes. | ||
|
||
Load [TouchDesigner_img2img.json](https://github.com/olegchomp/TDComfyUI/blob/main/TouchDesigner_img2img.json) in ComfyUI and TouchDesigner for Wokflow example. |