Generador de efectos de sonido
Este es unAIflujo de automatización del dominio deautomatización que contiene 12 nodos.Utiliza principalmente nodos como If, Wait, FormTrigger, GoogleDrive, HttpRequest, combinando tecnología de inteligencia artificial para lograr automatización inteligente. Usar CassetteAI para generar efectos de sonido realistas y guardarlos en Google Drive
- •Credenciales de API de Google Drive
- •Pueden requerirse credenciales de autenticación para la API de destino
Nodos utilizados (12)
Categoría
{
"id": "6MbJjFFQ8e6Lq8Rw",
"meta": {
"instanceId": "a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462",
"templateCredsSetupCompleted": true
},
"name": "Sound Effects Generator",
"tags": [],
"nodes": [
{
"id": "4183ba34-e5a7-4ee1-866a-e6e725b51589",
"name": "Obtener estado",
"type": "n8n-nodes-base.httpRequest",
"position": [
800,
660
],
"parameters": {
"url": "=https://queue.fal.run/cassetteai/sound-effects-generator/requests/{{ $('Create audio').item.json.request_id }}/status ",
"options": {},
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth"
},
"credentials": {
"httpHeaderAuth": {
"id": "daOZafXpRXLtoLUV",
"name": "Fal.run API"
}
},
"typeVersion": 4.2
},
{
"id": "d2b00c1e-be8b-4aeb-8b56-85659be7b607",
"name": "Nota adhesiva3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-220,
-100
],
"parameters": {
"color": 3,
"width": 740,
"height": 180,
"content": "# Sound Effects Generator\n\nCreate stunningly realistic sound effects in seconds - CassetteAI's Sound Effects Model generates high-quality SFX up to 30 seconds long in just 1 second of processing time and save the audio file (.wav) on Google Drive\n\n\n"
},
"typeVersion": 1
},
{
"id": "c3110e24-b0c1-440b-8971-fdfe3f065b72",
"name": "¿Completado?",
"type": "n8n-nodes-base.if",
"position": [
1020,
660
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "383d112e-2cc6-4dd4-8985-f09ce0bd1781",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.status }}",
"rightValue": "COMPLETED"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "5ae7f107-0350-446b-90d3-13ea67969969",
"name": "Nota adhesiva5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-220,
320
],
"parameters": {
"width": 740,
"height": 100,
"content": "## STEP 2 - MAIN FLOW\nStart the workflow and type the prompt and the duration (in seconds, max 30)."
},
"typeVersion": 1
},
{
"id": "c3872c07-05fd-4124-97f2-843365cfeb3b",
"name": "Nota adhesiva6",
"type": "n8n-nodes-base.stickyNote",
"position": [
-220,
120
],
"parameters": {
"width": 740,
"content": "## STEP 1 - GET API KEY (YOURAPIKEY)\nCreate an account [here](https://fal.ai/) and obtain API KEY.\nIn the node \"Create Image\" set \"Header Auth\" and set:\n- Name: \"Authorization\"\n- Value: \"Key YOURAPIKEY\""
},
"typeVersion": 1
},
{
"id": "c3189915-a6a5-4a1e-973c-d0552d1b95cb",
"name": "Nota adhesiva7",
"type": "n8n-nodes-base.stickyNote",
"position": [
280,
600
],
"parameters": {
"width": 180,
"height": 200,
"content": "Set API Key created in Step 2"
},
"typeVersion": 1
},
{
"id": "2de370c0-4c08-4154-8f93-c2856b983466",
"name": "Al enviar el formulario",
"type": "n8n-nodes-base.formTrigger",
"position": [
80,
660
],
"webhookId": "960dd363-daa5-47d2-b5dc-660c93fb5b05",
"parameters": {
"options": {},
"formTitle": "Sound Effects Generator",
"formFields": {
"values": [
{
"fieldLabel": "Prompt",
"requiredField": true
},
{
"fieldType": "number",
"fieldLabel": "Duration (max 30 sec.)",
"requiredField": true
}
]
},
"formDescription": "Sound Effects Generator"
},
"typeVersion": 2.2
},
{
"id": "83e7b9fa-13cd-48b2-81e3-2d9fd0f51410",
"name": "Esperar 10 seg.",
"type": "n8n-nodes-base.wait",
"position": [
580,
660
],
"webhookId": "70185285-4ebd-45a3-9e49-bc0b99120fe9",
"parameters": {
"amount": 10
},
"typeVersion": 1.1
},
{
"id": "8264d6a6-d174-474f-804c-17859327e2d1",
"name": "Crear audio",
"type": "n8n-nodes-base.httpRequest",
"position": [
320,
660
],
"parameters": {
"url": "https://queue.fal.run/cassetteai/sound-effects-generator",
"method": "POST",
"options": {},
"jsonBody": "={\n \"prompt\": \"{{ $json.Prompt }}\",\n \"duration\": {{ $json['Duration (max 30 sec.)'] }}\n}",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "daOZafXpRXLtoLUV",
"name": "Fal.run API"
}
},
"typeVersion": 4.2
},
{
"id": "8b00e3d3-9d8a-4d0d-8971-1666c3158c66",
"name": "Obtener URL del audio",
"type": "n8n-nodes-base.httpRequest",
"position": [
100,
1000
],
"parameters": {
"url": "=https://queue.fal.run/cassetteai/sound-effects-generator/requests/{{ $json.request_id }}",
"options": {},
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth"
},
"credentials": {
"httpHeaderAuth": {
"id": "daOZafXpRXLtoLUV",
"name": "Fal.run API"
}
},
"typeVersion": 4.2
},
{
"id": "cda508d2-2f10-4d48-8196-f17e20dbb416",
"name": "Subir audio",
"type": "n8n-nodes-base.googleDrive",
"position": [
560,
1000
],
"parameters": {
"name": "={{ $now.format('yyyyLLddHHmmss') }}.{{ $json.audio_file.file_name }}",
"driveId": {
"__rl": true,
"mode": "list",
"value": "My Drive"
},
"options": {},
"folderId": {
"__rl": true,
"mode": "list",
"value": "1aHRwLWyrqfzoVC8HoB-YMrBvQ4tLC-NZ",
"cachedResultUrl": "https://drive.google.com/drive/folders/1aHRwLWyrqfzoVC8HoB-YMrBvQ4tLC-NZ",
"cachedResultName": "Fal.run"
}
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "HEy5EuZkgPZVEa9w",
"name": "Google Drive account (n3w.it)"
}
},
"typeVersion": 3
},
{
"id": "ca095dda-3ac1-4e08-ad67-c4cdea232271",
"name": "Obtener archivo de audio",
"type": "n8n-nodes-base.httpRequest",
"position": [
320,
1000
],
"parameters": {
"url": "={{ $json.audio_file.url }}",
"options": {}
},
"typeVersion": 4.2
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "d6d655d2-8ec6-4807-b17e-fea5d18a9f80",
"connections": {
"c3110e24-b0c1-440b-8971-fdfe3f065b72": {
"main": [
[
{
"node": "8b00e3d3-9d8a-4d0d-8971-1666c3158c66",
"type": "main",
"index": 0
}
],
[
{
"node": "83e7b9fa-13cd-48b2-81e3-2d9fd0f51410",
"type": "main",
"index": 0
}
]
]
},
"4183ba34-e5a7-4ee1-866a-e6e725b51589": {
"main": [
[
{
"node": "c3110e24-b0c1-440b-8971-fdfe3f065b72",
"type": "main",
"index": 0
}
]
]
},
"8264d6a6-d174-474f-804c-17859327e2d1": {
"main": [
[
{
"node": "83e7b9fa-13cd-48b2-81e3-2d9fd0f51410",
"type": "main",
"index": 0
}
]
]
},
"cda508d2-2f10-4d48-8196-f17e20dbb416": {
"main": [
[]
]
},
"83e7b9fa-13cd-48b2-81e3-2d9fd0f51410": {
"main": [
[
{
"node": "4183ba34-e5a7-4ee1-866a-e6e725b51589",
"type": "main",
"index": 0
}
]
]
},
"8b00e3d3-9d8a-4d0d-8971-1666c3158c66": {
"main": [
[
{
"node": "ca095dda-3ac1-4e08-ad67-c4cdea232271",
"type": "main",
"index": 0
}
]
]
},
"ca095dda-3ac1-4e08-ad67-c4cdea232271": {
"main": [
[
{
"node": "cda508d2-2f10-4d48-8196-f17e20dbb416",
"type": "main",
"index": 0
}
]
]
},
"2de370c0-4c08-4154-8f93-c2856b983466": {
"main": [
[
{
"node": "8264d6a6-d174-474f-804c-17859327e2d1",
"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 - Inteligencia Artificial
¿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