Générer un podcast multi-speakers avec Elevenlabs v3
Ceci est unContent Creation, Multimodal AIworkflow d'automatisation du domainecontenant 8 nœuds.Utilise principalement des nœuds comme Code, GoogleDrive, HttpRequest, GoogleSheets, ManualTrigger. Créer un podcast multi-hôtes en utilisant Google Sheets, ElevenLabs v3 et Drive
- •Informations d'identification Google Drive API
- •Peut nécessiter les informations d'identification d'authentification de l'API cible
- •Informations d'identification Google Sheets API
Nœuds utilisés (8)
Catégorie
{
"id": "5TvSxJW2lAijV6am",
"meta": {
"instanceId": "a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462",
"templateCredsSetupCompleted": true
},
"name": "Generate Mutlispeaker podcast with Elevenlabs v3",
"tags": [],
"nodes": [
{
"id": "9eb580fe-7b75-4d15-92a9-19877abd3a50",
"name": "Lors du clic sur 'Exécuter le workflow'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-528,
-16
],
"parameters": {},
"typeVersion": 1
},
{
"id": "4f58a82a-c01d-4f4e-9d79-8569d3c52400",
"name": "Téléverser un fichier",
"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": "Générer le podcast",
"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": "Obtenir le dialogue",
"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": "Préparer le dialogue",
"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": "Note adhésive",
"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": "Note adhésive1",
"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": "Note adhésive2",
"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
}
]
]
}
}
}Comment utiliser ce workflow ?
Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.
Dans quelles scénarios ce workflow est-il adapté ?
Intermédiaire - Création de contenu, IA Multimodale
Est-ce payant ?
Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.
Workflows recommandés
Davide
@n3witaliaFull-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
Partager ce workflow