From 9df5b2f00416cbc6224fa85ab9440e91332098d2 Mon Sep 17 00:00:00 2001 From: LucipherDev Date: Thu, 9 Jan 2025 15:05:44 +0530 Subject: [PATCH] Add example workflow --- README.md | 6 ++ example_workflow.json | 162 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 168 insertions(+) create mode 100644 example_workflow.json diff --git a/README.md b/README.md index c993beb..8bcaca1 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,12 @@ python install.py ### Or Install via ComfyUI Manager +#### Check out some demos from [the official demo page](https://tangoflux.github.io/) + +## Example Workflow + +![example_workflow](https://github.com/user-attachments/assets/3293cf59-d3bf-4d48-8e40-2b9a74ea035a) + ## Usage **If you installed from the ComfyUI-Manager, all the necessary models should be automatically downloaded into the `models/tangoflux` folder.** diff --git a/example_workflow.json b/example_workflow.json new file mode 100644 index 0000000..f693961 --- /dev/null +++ b/example_workflow.json @@ -0,0 +1,162 @@ +{ + "last_node_id": 13, + "last_link_id": 15, + "nodes": [ + { + "id": 10, + "type": "TangoFluxLoader", + "pos": [ + 380, + 320 + ], + "size": [ + 210, + 46 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "model", + "type": "TANGOFLUX_MODEL", + "links": [ + 11 + ], + "slot_index": 0 + }, + { + "name": "vae", + "type": "TANGOFLUX_VAE", + "links": [ + 15 + ], + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "TangoFluxLoader" + }, + "widgets_values": [] + }, + { + "id": 13, + "type": "TangoFluxVAEDecodeAndPlay", + "pos": [ + 1060, + 320 + ], + "size": [ + 315, + 126 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "vae", + "type": "TANGOFLUX_VAE", + "link": 15 + }, + { + "name": "latents", + "type": "TANGOFLUX_LATENTS", + "link": 14 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "TangoFluxVAEDecodeAndPlay" + }, + "widgets_values": [ + "TangoFlux", + "wav", + true + ] + }, + { + "id": 11, + "type": "TangoFluxSampler", + "pos": [ + 620, + 320 + ], + "size": [ + 400, + 220 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "TANGOFLUX_MODEL", + "link": 11 + } + ], + "outputs": [ + { + "name": "latents", + "type": "TANGOFLUX_LATENTS", + "links": [ + 14 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "TangoFluxSampler" + }, + "widgets_values": [ + "A dog barking near the ocean, ocean waves crashing.", + 50, + 3, + 10, + 714702298733222, + "randomize", + 1 + ] + } + ], + "links": [ + [ + 11, + 10, + 0, + 11, + 0, + "TANGOFLUX_MODEL" + ], + [ + 14, + 11, + 0, + 13, + 1, + "TANGOFLUX_LATENTS" + ], + [ + 15, + 10, + 1, + 13, + 0, + "TANGOFLUX_VAE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.9480295566502464, + "offset": { + "0": -200.8333282470703, + "1": -127.03429412841797 + } + } + }, + "version": 0.4 +} \ No newline at end of file