Files
niknah-ComfyUI-F5-TTS/example_workflows/F5TTS_whisper_workflow.json
T

256 lines
4.1 KiB
JSON

{
"last_node_id": 14,
"last_link_id": 7,
"nodes": [
{
"id": 12,
"type": "F5TTSAudioInputs",
"pos": {
"0": 1025,
"1": 155
},
"size": [
400,
200
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "sample_audio",
"type": "AUDIO",
"link": 3
},
{
"name": "sample_text",
"type": "STRING",
"link": 5,
"widget": {
"name": "sample_text"
}
}
],
"outputs": [
{
"name": "AUDIO",
"type": "AUDIO",
"links": [
4
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "F5TTSAudioInputs"
},
"widgets_values": [
"Text of sample_audio",
"This is what I want to say"
]
},
{
"id": 4,
"type": "LoadAudio",
"pos": {
"0": 241,
"1": 146
},
"size": {
"0": 315,
"1": 124
},
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "AUDIO",
"type": "AUDIO",
"links": [
3,
6
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LoadAudio"
},
"widgets_values": [
"F5TTS_test_en_1_ref_short.wav",
null,
""
]
},
{
"id": 13,
"type": "Apply Whisper",
"pos": {
"0": 618,
"1": 249
},
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "audio",
"type": "AUDIO",
"link": 6
}
],
"outputs": [
{
"name": "text",
"type": "STRING",
"links": [
5,
7
],
"slot_index": 0
},
{
"name": "segments_alignment",
"type": "whisper_alignment",
"links": null
},
{
"name": "words_alignment",
"type": "whisper_alignment",
"links": null
}
],
"properties": {
"Node name for S&R": "Apply Whisper"
},
"widgets_values": [
"base"
]
},
{
"id": 14,
"type": "DisplayAny",
"pos": {
"0": 651,
"1": 451
},
"size": {
"0": 315,
"1": 100
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "*",
"link": 7
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": null
}
],
"properties": {
"Node name for S&R": "DisplayAny"
},
"widgets_values": [
"raw value",
"Some call me nature. Others call me Mother Nature."
]
},
{
"id": 2,
"type": "PreviewAudio",
"pos": {
"0": 1043,
"1": 450
},
"size": {
"0": 315,
"1": 76
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "audio",
"type": "AUDIO",
"link": 4
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewAudio"
},
"widgets_values": [
null
]
}
],
"links": [
[
3,
4,
0,
12,
0,
"AUDIO"
],
[
4,
12,
0,
2,
0,
"AUDIO"
],
[
5,
13,
0,
12,
1,
"STRING"
],
[
6,
4,
0,
13,
0,
"AUDIO"
],
[
7,
13,
0,
14,
0,
"*"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1,
"offset": [
-46,
154
]
}
},
"version": 0.4
}