Erstellung mehrsprechender Podcasts mit Elevenlabs v3

Fortgeschritten

Dies ist ein Content Creation, Multimodal AI-Bereich Automatisierungsworkflow mit 8 Nodes. Hauptsächlich werden Code, GoogleDrive, HttpRequest, GoogleSheets, ManualTrigger und andere Nodes verwendet. Mehr-Sprecher-Podcast mit Google Sheets, ElevenLabs v3 und Drive erstellen

Voraussetzungen
  • Google Drive API-Anmeldedaten
  • Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
  • Google Sheets API-Anmeldedaten
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
  "id": "5TvSxJW2lAijV6am",
  "meta": {
    "instanceId": "a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462",
    "templateCredsSetupCompleted": true
  },
  "name": "Generate Mutlispeaker podcast with Elevenlabs v3",
  "tags": [],
  "nodes": [
    {
      "id": "9eb580fe-7b75-4d15-92a9-19877abd3a50",
      "name": "Bei Klick auf 'Workflow ausführen'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -528,
        -16
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "4f58a82a-c01d-4f4e-9d79-8569d3c52400",
      "name": "Datei hochladen",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        368,
        -16
      ],
      "parameters": {
        "name": "=podcast_{{$now.format('yyyyLLddHHmm')}}",
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive"
        },
        "options": {},
        "folderId": {
          "__rl": true,
          "mode": "list",
          "value": "1J7_S0zPgUukmKWJglMepvf429vfQsidL",
          "cachedResultUrl": "https://drive.google.com/drive/folders/1J7_S0zPgUukmKWJglMepvf429vfQsidL",
          "cachedResultName": "Elevenlabs"
        }
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "HEy5EuZkgPZVEa9w",
          "name": "Google Drive account (n3w.it)"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "e11d5c4a-4cbc-4fb9-9ac2-069ee0bb57a5",
      "name": "Podcast generieren",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        160,
        -16
      ],
      "parameters": {
        "url": "https://api.elevenlabs.io/v1/text-to-dialogue",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n  \"model_id\": \"eleven_v3\",\n  \"inputs\":  {{ JSON.stringify($json.podcast) }}\n}",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "cuOCiacID6OxWFUF",
          "name": "ElevenLabs API"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "e890110b-d0a9-4d8c-9beb-66642cc06406",
      "name": "Dialog abrufen",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -288,
        -16
      ],
      "parameters": {
        "options": {},
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1eB8iUQmhj3xJMpGam_slCS0ivtgTUpbcWAqeutG_HM8/edit#gid=0",
          "cachedResultName": "Foglio1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1eB8iUQmhj3xJMpGam_slCS0ivtgTUpbcWAqeutG_HM8",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1eB8iUQmhj3xJMpGam_slCS0ivtgTUpbcWAqeutG_HM8/edit?usp=drivesdk",
          "cachedResultName": "Elevenlabs v3 Pocast Multispeaker"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "JYR6a64Qecd6t8Hb",
          "name": "Google Sheets account"
        }
      },
      "typeVersion": 4.7
    },
    {
      "id": "989198ac-709c-442f-b3e8-dca8c6c3d4b0",
      "name": "Dialog vorbereiten",
      "type": "n8n-nodes-base.code",
      "position": [
        -64,
        -16
      ],
      "parameters": {
        "jsCode": "// Loop over input items and transform the structure\nconst transformedItems = [];\n\nfor (const item of $input.all()) {\n  // Create the new structure with text and voice_id fields\n  transformedItems.push({\n    text: item.json.Input,\n    voice_id: item.json[\"Voice ID\"]\n  });\n}\n\n// Store the result in a variable\nconst result = transformedItems;\n\nreturn [{ json: { podcast: result } }];"
      },
      "typeVersion": 2
    },
    {
      "id": "3d20ed34-a6c2-4bfc-881a-37c5457e9deb",
      "name": "Notizzettel",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        144,
        -592
      ],
      "parameters": {
        "color": 6,
        "width": 320,
        "height": 448,
        "content": "### Tips\n\nNon-speech audio events examples:\n \nEmotions:\n[happy] [excited] [sad] [angry] [nervous] [curious] [mischievously] [serious] [sorrowful]\n\nSpeech Styles / Volume:\n[whispers] [whispering] [shouts] [shouting] [speaking softly] [slowly] [quickly] [pause]\n\nNonverbal reactions:\n[laughs] [laughing] [sighs] [crying] [clears throat] [gulps] [gasp] [coughs]\n\nSound/ambient effects:\n[clapping] [explosion] [gunshot] [door creaks] [bird chirping]"
      },
      "typeVersion": 1
    },
    {
      "id": "357c0a82-616e-4b6f-9e64-c2bebcaa320b",
      "name": "Notizzettel1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -576,
        -592
      ],
      "parameters": {
        "color": 3,
        "width": 688,
        "height": 272,
        "content": "## Generate Mutlispeaker podcast with Elevenlabs v3\n\nThe ElevenLabs Text to Dialogue API creates natural sounding expressive dialogue from text using the [Eleven v3 model](https://try.elevenlabs.io/ahkbf00hocnu). Popular use cases include:\n- Generating pitch perfect conversations for video games\n- Creating immersive dialogue for podcasts and other audio content\n- Bring audiobooks to life with expressive narration\n\nThe Eleven v3 model allows the use of non-speech audio events to influence the delivery of the dialogue. This is done by inserting the audio events into the text input wrapped in square brackets."
      },
      "typeVersion": 1
    },
    {
      "id": "bda15b17-1cf9-43f0-b2fa-c959f743b002",
      "name": "Notizzettel2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -576,
        -304
      ],
      "parameters": {
        "width": 688,
        "content": "### PRELIMINARY STEP \n- Clone this [sheet](https://docs.google.com/spreadsheets/d/1eB8iUQmhj3xJMpGam_slCS0ivtgTUpbcWAqeutG_HM8/edit?usp=sharing)\n- [Create a FREE account on Elevenlabs](https://try.elevenlabs.io/ahkbf00hocnu) and Set the voice_id by Elevenlabs about speakers (column B)\n- Write the dialogue text for each speaker (column C)\n- Speaker name is optional (column A)\n- Set the \"Auth Header\" in \"Generate podcast\" node. Name 'xi-api-key', Value 'API_KEY'\n"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "b17f8bbc-98c9-4df2-9196-cc580e67c1cf",
  "connections": {
    "e890110b-d0a9-4d8c-9beb-66642cc06406": {
      "main": [
        [
          {
            "node": "989198ac-709c-442f-b3e8-dca8c6c3d4b0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e11d5c4a-4cbc-4fb9-9ac2-069ee0bb57a5": {
      "main": [
        [
          {
            "node": "4f58a82a-c01d-4f4e-9d79-8569d3c52400",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "989198ac-709c-442f-b3e8-dca8c6c3d4b0": {
      "main": [
        [
          {
            "node": "e11d5c4a-4cbc-4fb9-9ac2-069ee0bb57a5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9eb580fe-7b75-4d15-92a9-19877abd3a50": {
      "main": [
        [
          {
            "node": "e890110b-d0a9-4d8c-9beb-66642cc06406",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Häufig gestellte Fragen

Wie verwende ich diesen Workflow?

Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.

Für welche Szenarien ist dieser Workflow geeignet?

Fortgeschritten - Content-Erstellung, Multimodales KI

Ist es kostenpflichtig?

Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.

Workflow-Informationen
Schwierigkeitsgrad
Fortgeschritten
Anzahl der Nodes8
Kategorie2
Node-Typen6
Schwierigkeitsbeschreibung

Für erfahrene Benutzer, mittelkomplexe Workflows mit 6-15 Nodes

Autor

Full-stack Web Developer based in Italy specialising in Marketing & AI-powered automations. For business enquiries, send me an email at info@n3w.it or add me on Linkedin.com/in/davideboizza

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34