From 544e904746e032b657b8b0083dcf866847eb7862 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asger=20Juul=20Brunsh=C3=B8j?= Date: Tue, 17 Jun 2025 21:27:11 +0200 Subject: [PATCH] chatterbox workflow --- justfile | 8 ++ workflows/Chatterbox.json | 164 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 172 insertions(+) create mode 100644 workflows/Chatterbox.json diff --git a/justfile b/justfile index 15ff430..9ad09b4 100644 --- a/justfile +++ b/justfile @@ -21,9 +21,17 @@ setup: pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu128 git clone git@github.com:comfyanonymous/ComfyUI.git pip install -r ComfyUI/requirements.txt + git clone https://github.com/ltdrdata/ComfyUI-Manager ComfyUI/custom_nodes/comfyui-manager + git clone https://github.com/hayden-fr/ComfyUI-Model-Manager.git ComfyUI/custom_nodes/ComfyUI-Model-Manager # Run ComfyUI run: #!/usr/bin/env bash source venv-comfyui/bin/activate python ComfyUI/main.py + +# Run ComfyUI +run-cpu: + #!/usr/bin/env bash + source venv-comfyui/bin/activate + python ComfyUI/main.py --cpu diff --git a/workflows/Chatterbox.json b/workflows/Chatterbox.json new file mode 100644 index 0000000..ebc0d2f --- /dev/null +++ b/workflows/Chatterbox.json @@ -0,0 +1,164 @@ +{ + "id": "c2725919-e4f4-4a1f-a38f-4fdbed701587", + "revision": 0, + "last_node_id": 13, + "last_link_id": 12, + "nodes": [ + { + "id": 8, + "type": "PreviewAudio", + "pos": [ + 837.7674560546875, + 646.344970703125 + ], + "size": [ + 270, + 88 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "audio", + "type": "AUDIO", + "link": 11 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.35", + "Node name for S&R": "PreviewAudio" + }, + "widgets_values": [] + }, + { + "id": 13, + "type": "ChatterboxTTS", + "pos": [ + 320.82171630859375, + 648.6416625976562 + ], + "size": [ + 400, + 256 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "audio_prompt", + "shape": 7, + "type": "AUDIO", + "link": 10 + } + ], + "outputs": [ + { + "name": "audio", + "type": "AUDIO", + "links": [ + 11 + ] + } + ], + "properties": { + "cnr_id": "comfyui-chatterboxtts", + "ver": "1.0.1", + "Node name for S&R": "ChatterboxTTS" + }, + "widgets_values": [ + "resembleai_default_voice", + "Hello, this is a test of Chatterbox TTS in ComfyUI.", + 0.5, + 0.8, + 0.5, + 246240136038943, + "randomize", + "cpu" + ] + }, + { + "id": 7, + "type": "LoadAudio", + "pos": [ + -61.7349739074707, + 651.48583984375 + ], + "size": [ + 270, + 136 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "AUDIO", + "type": "AUDIO", + "links": [ + 10 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.35", + "Node name for S&R": "LoadAudio" + }, + "widgets_values": [ + "male_old_movie.flac", + null, + null + ] + } + ], + "links": [ + [ + 10, + 7, + 0, + 13, + 0, + "AUDIO" + ], + [ + 11, + 13, + 0, + 8, + 0, + "AUDIO" + ] + ], + "groups": [ + { + "id": 3, + "title": "Chatterbox TTS", + "bounding": [ + -111.30979919433594, + 536.842041015625, + 1273.989990234375, + 808.4199829101562 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], + "config": {}, + "extra": { + "ds": { + "scale": 0.751314800901578, + "offset": [ + 847.545456650236, + -195.31900231122643 + ] + }, + "frontendVersion": "1.21.7" + }, + "version": 0.4 +} \ No newline at end of file