ComfyUI Workflow

View and download your workflow JSON

{
  "nodes": [
    {
      "id": 1,
      "type": "PrimitiveNode",
      "pos": [
        50,
        100
      ],
      "size": [
        210,
        82
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            2
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "String"
      },
      "widgets_values": [
        "Hello! This is a test of the Sarvam.ai Bulbul Text to Speech model."
      ]
    },
    {
      "id": 2,
      "type": "PrimitiveNode",
      "pos": [
        50,
        250
      ],
      "size": [
        210,
        82
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            3
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "String"
      },
      "widgets_values": [
        "en-IN"
      ]
    },
    {
      "id": 3,
      "type": "PrimitiveNode",
      "pos": [
        50,
        400
      ],
      "size": [
        210,
        82
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            4
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "String"
      },
      "widgets_values": [
        "MALE"
      ]
    },
    {
      "id": 4,
      "type": "SarvamBulbulT2S",
      "pos": [
        400,
        150
      ],
      "size": [
        315,
        574
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "name": "text",
          "type": "STRING",
          "link": 2,
          "slot_index": 0
        },
        {
          "name": "language_code",
          "type": "STRING",
          "link": 3,
          "slot_index": 1
        },
        {
          "name": "voice_gender",
          "type": "STRING",
          "link": 4,
          "slot_index": 2
        }
      ],
      "outputs": [
        {
          "name": "AUDIO",
          "type": "AUDIO",
          "links": [
            5,
            6
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "SarvamBulbulT2S"
      },
      "widgets_values": [
        false,
        "",
        1,
        "default",
        1,
        "aacar-samantha"
      ]
    },
    {
      "id": 5,
      "type": "AudioSave",
      "pos": [
        850,
        100
      ],
      "size": [
        210,
        90
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "audio",
          "type": "AUDIO",
          "link": 5,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "AudioSave"
      },
      "widgets_values": [
        "sarvam_output.mp3"
      ]
    },
    {
      "id": 6,
      "type": "AudioPlay",
      "pos": [
        850,
        300
      ],
      "size": [
        210,
        106
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "audio",
          "type": "AUDIO",
          "link": 6,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "AudioPlay"
      },
      "widgets_values": []
    }
  ],
  "links": [
    [
      2,
      1,
      0,
      "STRING",
      "STRING",
      ""
    ],
    [
      3,
      2,
      0,
      "STRING",
      "STRING",
      ""
    ],
    [
      4,
      3,
      0,
      "STRING",
      "STRING",
      ""
    ],
    [
      5,
      4,
      0,
      "AUDIO",
      "AUDIO",
      ""
    ],
    [
      6,
      4,
      0,
      "AUDIO",
      "AUDIO",
      ""
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds_scale": {
      "scale": 1.0
    }
  },
  "version": 0.4
}