diff --git a/workflow_example/IndexTTS2_workflow.json b/workflow_example/IndexTTS2_workflow.json new file mode 100644 index 0000000..51b086d --- /dev/null +++ b/workflow_example/IndexTTS2_workflow.json @@ -0,0 +1 @@ +{"id":"65766334-1ae1-4f7d-a99d-1e3b91630ca1","revision":0,"last_node_id":18,"last_link_id":9,"nodes":[{"id":11,"type":"Note","pos":[7685.51904296875,945.2861328125],"size":[283.02984619140625,88],"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["First audio is the voice to clone"],"color":"#432","bgcolor":"#653"},{"id":14,"type":"Note","pos":[7689.80859375,1270.3328857421875],"size":[283.02984619140625,88],"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["Optional: Second audio (emotion_audio) is the added emotion\nIf no emotion audio provided, the emotion is used from the original audio."],"color":"#432","bgcolor":"#653"},{"id":1,"type":"PreviewAny","pos":[9216.06640625,1673.9837646484375],"size":[214.5383758544922,179.66830444335938],"flags":{},"order":9,"mode":0,"inputs":[{"localized_name":"source","name":"source","type":"*","link":1}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.59","Node name for S&R":"PreviewAny","ue_properties":{"widget_ue_connectable":{},"version":"7.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":2,"type":"PreviewAny","pos":[9210.265625,1423.6153564453125],"size":[214.5383758544922,179.66830444335938],"flags":{},"order":12,"mode":0,"inputs":[{"localized_name":"source","name":"source","type":"*","link":2}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.59","Node name for S&R":"PreviewAny","ue_properties":{"widget_ue_connectable":{},"version":"7.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":3,"type":"IndexTTS2Simple","pos":[8624.7353515625,1086.0533447265625],"size":[400,256],"flags":{},"order":10,"mode":0,"inputs":[{"localized_name":"audio","name":"audio","type":"AUDIO","link":6},{"localized_name":"emotion_audio","name":"emotion_audio","shape":7,"type":"AUDIO","link":9},{"localized_name":"emotion_vector","name":"emotion_vector","shape":7,"type":"EMOTION_VECTOR","link":7},{"localized_name":"text","name":"text","type":"STRING","widget":{"name":"text"},"link":null},{"localized_name":"emotion_control_weight","name":"emotion_control_weight","type":"FLOAT","widget":{"name":"emotion_control_weight"},"link":null}],"outputs":[{"localized_name":"AUDIO","name":"AUDIO","type":"AUDIO","links":[5]},{"localized_name":"STRING","name":"STRING","type":"STRING","links":[2]}],"properties":{"aux_id":"snicolast/ComfyUI-IndexTTS2","ver":"a326daa293593f0916fcd1450d16087f998913a4","Node name for S&R":"IndexTTS2Simple","ue_properties":{"widget_ue_connectable":{"text":true,"emotion_control_weight":true},"version":"7.1","input_ue_unconnectable":{}}},"widgets_values":["I can't believe what I see! Thanks!",1],"color":"#233","bgcolor":"#355"},{"id":10,"type":"PreviewAudio","pos":[9195.2861328125,1083.52587890625],"size":[270,88],"flags":{},"order":11,"mode":0,"inputs":[{"localized_name":"audio","name":"audio","type":"AUDIO","link":5},{"localized_name":"audioUI","name":"audioUI","type":"AUDIO_UI","widget":{"name":"audioUI"},"link":null}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.59","Node name for S&R":"PreviewAudio","ue_properties":{"widget_ue_connectable":{"audioUI":true},"version":"7.1","input_ue_unconnectable":{}}},"widgets_values":[]},{"id":15,"type":"Note","pos":[9462.68359375,1596.648193359375],"size":[140,60],"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["Logs\n"],"color":"#432","bgcolor":"#653"},{"id":6,"type":"IndexTTS2EmotionFromText","pos":[8076.60009765625,1648.6190185546875],"size":[400,200],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"text","name":"text","type":"STRING","widget":{"name":"text"},"link":null}],"outputs":[{"localized_name":"EMOTION_VECTOR","name":"EMOTION_VECTOR","type":"EMOTION_VECTOR","links":null},{"localized_name":"STRING","name":"STRING","type":"STRING","links":[1]}],"properties":{"aux_id":"snicolast/ComfyUI-IndexTTS2","ver":"a326daa293593f0916fcd1450d16087f998913a4","Node name for S&R":"IndexTTS2EmotionFromText","ue_properties":{"widget_ue_connectable":{"text":true},"version":"7.1","input_ue_unconnectable":{}}},"widgets_values":["slightly surprised and sad"],"color":"#233","bgcolor":"#355"},{"id":17,"type":"Note","pos":[8623.572265625,875.7151489257812],"size":[398.1340637207031,141.89796447753906],"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["Connect only the emotion you want to use.\n \n---If you want the original audio, just connect audio.\n---If you want from a second audio, just connect original audio to clone + emotion_audio.\n---If you want to use vectors: connect original audio to clone + Emotion Vector node OR Emotion From Text node."],"color":"#432","bgcolor":"#653"},{"id":8,"type":"IndexTTS2EmotionVector","pos":[8087.70458984375,1349.96044921875],"size":[270,250],"flags":{},"order":6,"mode":0,"inputs":[{"localized_name":"happy","name":"happy","type":"FLOAT","widget":{"name":"happy"},"link":null},{"localized_name":"angry","name":"angry","type":"FLOAT","widget":{"name":"angry"},"link":null},{"localized_name":"sad","name":"sad","type":"FLOAT","widget":{"name":"sad"},"link":null},{"localized_name":"afraid","name":"afraid","type":"FLOAT","widget":{"name":"afraid"},"link":null},{"localized_name":"disgusted","name":"disgusted","type":"FLOAT","widget":{"name":"disgusted"},"link":null},{"localized_name":"melancholic","name":"melancholic","type":"FLOAT","widget":{"name":"melancholic"},"link":null},{"localized_name":"surprised","name":"surprised","type":"FLOAT","widget":{"name":"surprised"},"link":null},{"localized_name":"calm","name":"calm","type":"FLOAT","widget":{"name":"calm"},"link":null}],"outputs":[{"localized_name":"EMOTION_VECTOR","name":"EMOTION_VECTOR","type":"EMOTION_VECTOR","links":[7]}],"properties":{"aux_id":"snicolast/ComfyUI-IndexTTS2","ver":"a326daa293593f0916fcd1450d16087f998913a4","Node name for S&R":"IndexTTS2EmotionVector","ue_properties":{"widget_ue_connectable":{"happy":true,"angry":true,"sad":true,"afraid":true,"disgusted":true,"melancholic":true,"surprised":true,"calm":true},"version":"7.1","input_ue_unconnectable":{}}},"widgets_values":[1.4,0,0,0,0,0,0,0],"color":"#233","bgcolor":"#355"},{"id":16,"type":"Note","pos":[8382.2080078125,1486.5048828125],"size":[387.7672424316406,97.32058715820312],"flags":{},"order":7,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["You can use Emotion vectors or Emotion from text. Emotion from text will translate your text into vectors.\n*Do not exceed 1.50 as the sum of all vectors."],"color":"#432","bgcolor":"#653"},{"id":12,"type":"LoadAudio","pos":[7691.1796875,1084.067626953125],"size":[274.080078125,136],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"audio","name":"audio","type":"COMBO","widget":{"name":"audio"},"link":null},{"localized_name":"audioUI","name":"audioUI","type":"AUDIO_UI","widget":{"name":"audioUI"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"AUDIOUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"AUDIO","name":"AUDIO","type":"AUDIO","links":[6]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.59","Node name for S&R":"LoadAudio"},"widgets_values":["voiceover.mp3",null,""]},{"id":18,"type":"LoadAudio","pos":[7693.34765625,1414.067626953125],"size":[274.080078125,136],"flags":{},"order":8,"mode":0,"inputs":[{"localized_name":"audio","name":"audio","type":"COMBO","widget":{"name":"audio"},"link":null},{"localized_name":"audioUI","name":"audioUI","type":"AUDIO_UI","widget":{"name":"audioUI"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"AUDIOUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"AUDIO","name":"AUDIO","type":"AUDIO","links":[9]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.59","Node name for S&R":"LoadAudio"},"widgets_values":["amb05.mp3",null,""]}],"links":[[1,6,1,1,0,"*"],[2,3,1,2,0,"*"],[5,3,0,10,0,"AUDIO"],[6,12,0,3,0,"AUDIO"],[7,8,0,3,2,"EMOTION_VECTOR"],[9,18,0,3,1,"AUDIO"]],"groups":[],"config":{},"extra":{"ue_links":[],"ds":{"scale":0.9646149645000018,"offset":[-7482.374030327205,-743.2035823135216]}},"version":0.4} \ No newline at end of file