{
  "name": "Create .SRT subtitles & .LRC lyrics from audio with Whisper AI and GPT-5-nano",
  "nodes": [
    {
      "id": "d3f1c98a-1ff5-47ae-a68c-432355827779",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -544,
        176
      ]
    },
    {
      "id": "805bc1ef-55d7-4f4c-b82f-8921d7645f4e",
      "name": "WhisperTranscribe",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -704,
        0
      ]
    },
    {
      "id": "a4760f60-c22e-4325-abf1-4e34665b4154",
      "name": "AudioInput",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -864,
        0
      ]
    },
    {
      "id": "3b4b5409-5cbf-41ec-9be0-bdf4eee690d0",
      "name": "TimestampMatching",
      "type": "n8n-nodes-base.code",
      "position": [
        -64,
        176
      ]
    },
    {
      "id": "3bdb855d-0dbb-496c-8d44-9050981a344a",
      "name": "SubtitlesPreparation",
      "type": "n8n-nodes-base.code",
      "position": [
        272,
        176
      ]
    },
    {
      "id": "5c72a572-a67b-423c-92f4-fedbb0c0dbd6",
      "name": "QualityCheck",
      "type": "n8n-nodes-base.wait",
      "position": [
        80,
        -16
      ]
    },
    {
      "id": "b1ac8f7e-bcb1-4732-b549-b910ec605784",
      "name": "RoutingQualityCheck",
      "type": "n8n-nodes-base.if",
      "position": [
        -240,
        0
      ]
    },
    {
      "id": "404c19e5-9351-4abb-aef3-900dbb7a4587",
      "name": "DiffMatch + SrcPrep",
      "type": "n8n-nodes-base.code",
      "position": [
        272,
        -16
      ]
    },
    {
      "id": "fcb24b3f-17c1-43a9-9966-bf0e542d1c4c",
      "name": "SRT",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        464,
        -16
      ]
    },
    {
      "id": "aa743fae-91a0-4275-a940-874399341e98",
      "name": "LRC",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        464,
        176
      ]
    },
    {
      "id": "6dad3945-e25a-40b9-bac0-fd2d17a1dba7",
      "name": "TranscribedLyrics",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        -64,
        -16
      ]
    },
    {
      "id": "201a2931-ae46-43bb-85d2-0abc47ca2c98",
      "name": "PostProcessing",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -544,
        0
      ]
    },
    {
      "id": "6a1a5512-f2c3-4b98-b89f-4f328e42422c",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -240,
        -256
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "a7725722-9e75-439e-b4c8-bb0bb16520bb",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -544,
        -256
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "81fb4fa3-41fe-4750-bdaf-b8518e16acdf",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -848,
        -256
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "16538472-625d-425a-b374-2ad750a0ac3e",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        512,
        -272
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "0169bbce-6ab2-4ff6-9799-9204a3ba0400",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        208,
        -256
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "1bb72b32-f5f0-4a98-801c-ba751f3db0c3",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1328,
        -368
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "AudioInput": {
      "main": [
        [
          {
            "node": "WhisperTranscribe",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "QualityCheck": {
      "main": [
        [
          {
            "node": "DiffMatch + SrcPrep",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "PostProcessing": {
      "main": [
        [
          {
            "node": "RoutingQualityCheck",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "PostProcessing",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "TimestampMatching": {
      "main": [
        [
          {
            "node": "SubtitlesPreparation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "TranscribedLyrics": {
      "main": [
        [
          {
            "node": "QualityCheck",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "WhisperTranscribe": {
      "main": [
        [
          {
            "node": "PostProcessing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "DiffMatch + SrcPrep": {
      "main": [
        [
          {
            "node": "SRT",
            "type": "main",
            "index": 0
          },
          {
            "node": "LRC",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RoutingQualityCheck": {
      "main": [
        [
          {
            "node": "TranscribedLyrics",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "TimestampMatching",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SubtitlesPreparation": {
      "main": [
        [
          {
            "node": "SRT",
            "type": "main",
            "index": 0
          },
          {
            "node": "LRC",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}