diff --git a/.gitignore b/.gitignore index aa11767..2e7da1c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,6 @@ processed outputs checkpoints trash -examples* .env build *.egg-info/ diff --git a/examples/workflow.jpg b/examples/workflow.jpg new file mode 100644 index 0000000..3d1cbfe Binary files /dev/null and b/examples/workflow.jpg differ diff --git a/examples/workflow.json b/examples/workflow.json new file mode 100644 index 0000000..c05091f --- /dev/null +++ b/examples/workflow.json @@ -0,0 +1,339 @@ +{ + "last_node_id": 10, + "last_link_id": 16, + "nodes": [ + { + "id": 10, + "type": "ACE_AudioSave", + "pos": [ + 590, + 690 + ], + "size": [ + 315, + 106 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "audio", + "type": "*", + "link": 15 + }, + { + "name": "sample_rate", + "type": "INT", + "link": 16, + "widget": { + "name": "sample_rate" + } + } + ], + "properties": { + "Node name for S&R": "ACE_AudioSave" + }, + "widgets_values": [ + 0, + "ComfyUI", + "wav" + ] + }, + { + "id": 9, + "type": "ACE_AudioPlay", + "pos": [ + 590, + 490 + ], + "size": [ + 315, + 106 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "audio", + "type": "*", + "link": 13 + }, + { + "name": "sample_rate", + "type": "INT", + "link": 14, + "widget": { + "name": "sample_rate" + } + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null, + "shape": 6 + } + ], + "properties": { + "Node name for S&R": "ACE_AudioPlay" + }, + "widgets_values": [ + "always", + 0.5, + 0 + ] + }, + { + "id": 5, + "type": "ACE_AudioPlay", + "pos": [ + 589, + 71 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "audio", + "type": "*", + "link": 9 + }, + { + "name": "sample_rate", + "type": "INT", + "link": 10, + "widget": { + "name": "sample_rate" + } + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null, + "shape": 6 + } + ], + "properties": { + "Node name for S&R": "ACE_AudioPlay" + }, + "widgets_values": [ + "always", + 0.5, + 0 + ] + }, + { + "id": 6, + "type": "ACE_AudioSave", + "pos": [ + 590, + 264 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "audio", + "type": "*", + "link": 11 + }, + { + "name": "sample_rate", + "type": "INT", + "link": 12, + "widget": { + "name": "sample_rate" + } + } + ], + "properties": { + "Node name for S&R": "ACE_AudioSave" + }, + "widgets_values": [ + 0, + "ComfyUI", + "wav" + ] + }, + { + "id": 8, + "type": "D_OpenVoice_STS", + "pos": [ + 82, + 588 + ], + "size": [ + 382.28044794139237, + 102 + ], + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "AUDIO", + "type": "*", + "links": [ + 13, + 15 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "SAMPLE_RATE", + "type": "INT", + "links": [ + 14, + 16 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "D_OpenVoice_STS" + }, + "widgets_values": [ + "nb-tts-0305-female.wav", + "nb_tts0315_male.wav" + ] + }, + { + "id": 7, + "type": "D_OpenVoice_TTS", + "pos": [ + 64, + 130 + ], + "size": { + "0": 400, + "1": 200 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "AUDIO", + "type": "*", + "links": [ + 9, + 11 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "SAMPLE_RATE", + "type": "INT", + "links": [ + 10, + 12 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "D_OpenVoice_TTS" + }, + "widgets_values": [ + "He hoped there would be stew for dinner, turnips and carrots and bruised potatoes and fat mutton pieces to be ladled out in thick, peppered, flour-fattened sauce.", + "English", + "default", + 1, + "nb-tts-0305-female.wav" + ] + } + ], + "links": [ + [ + 9, + 7, + 0, + 5, + 0, + "*" + ], + [ + 10, + 7, + 1, + 5, + 1, + "INT" + ], + [ + 11, + 7, + 0, + 6, + 0, + "*" + ], + [ + 12, + 7, + 1, + 6, + 1, + "INT" + ], + [ + 13, + 8, + 0, + 9, + 0, + "*" + ], + [ + 14, + 8, + 1, + 9, + 1, + "INT" + ], + [ + 15, + 8, + 0, + 10, + 0, + "*" + ], + [ + 16, + 8, + 1, + 10, + 1, + "INT" + ] + ], + "groups": [], + "config": {}, + "extra": { + "workspace_info": { + "id": "k2WPLAdMKBoiKPCHqG0Xf" + } + }, + "version": 0.4 +} \ No newline at end of file