Generar podcasts de múltiples oradores usando Elevenlabs v3
Este es unContent Creation, Multimodal AIflujo de automatización del dominio deautomatización que contiene 8 nodos.Utiliza principalmente nodos como Code, GoogleDrive, HttpRequest, GoogleSheets, ManualTrigger. Crear podcasts de múltiples locutores usando Google Sheets, ElevenLabs v3 y Drive
- •Credenciales de API de Google Drive
- •Pueden requerirse credenciales de autenticación para la API de destino
- •Credenciales de API de Google Sheets
Nodos utilizados (8)
Categoría
{
"id": "5TvSxJW2lAijV6am",
"meta": {
"instanceId": "a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462",
"templateCredsSetupCompleted": true
},
"name": "Generate Mutlispeaker podcast with Elevenlabs v3",
"tags": [],
"nodes": [
{
"id": "9eb580fe-7b75-4d15-92a9-19877abd3a50",
"name": "Al hacer clic en 'Ejecutar flujo de trabajo'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-528,
-16
],
"parameters": {},
"typeVersion": 1
},
{
"id": "4f58a82a-c01d-4f4e-9d79-8569d3c52400",
"name": "Subir archivo",
"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": "Generar pódcast",
"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": "Obtener diálogo",
"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": "Preparar diálogo",
"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": "Nota adhesiva",
"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": "Nota adhesiva1",
"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": "Nota adhesiva2",
"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
}
]
]
}
}
}¿Cómo usar este flujo de trabajo?
Copie el código de configuración JSON de arriba, cree un nuevo flujo de trabajo en su instancia de n8n y seleccione "Importar desde JSON", pegue la configuración y luego modifique la configuración de credenciales según sea necesario.
¿En qué escenarios es adecuado este flujo de trabajo?
Intermedio - Creación de contenido, IA Multimodal
¿Es de pago?
Este flujo de trabajo es completamente gratuito, puede importarlo y usarlo directamente. Sin embargo, tenga en cuenta que los servicios de terceros utilizados en el flujo de trabajo (como la API de OpenAI) pueden requerir un pago por su cuenta.
Flujos de trabajo relacionados recomendados
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
Compartir este flujo de trabajo