使用ElevenLabs API和Google Drive创建自定义ASMR音效
中级
这是一个Miscellaneous, Multimodal AI领域的自动化工作流,包含 7 个节点。主要使用 Set, Form, Html, FormTrigger, GoogleDrive 等节点。 使用ElevenLabs API和Google Drive创建自定义ASMR音效
前置要求
- •Google Drive API 凭证
- •可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "4a11afdb3c52fd098e3eae9fad4b39fdf1bbcde142f596adda46c795e366b326",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "bd292bff-6196-49b5-8f52-d03a15697819",
"name": "elevenlabs_api",
"type": "n8n-nodes-base.httpRequest",
"notes": "https://try.elevenlabs.io/sound-fx",
"position": [
160,
0
],
"parameters": {
"url": "https://api.elevenlabs.io/v1/sound-generation",
"method": "POST",
"options": {},
"sendBody": true,
"sendHeaders": true,
"bodyParameters": {
"parameters": [
{
"name": "text",
"value": "={{ $('AI ASMR Generator').item.json.Music }}"
},
{
"name": "output_format",
"value": "mp3_44100_128"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "xi-api-key",
"value": "={{ $json.ELEVENLABS_API_KEY }}"
}
]
}
},
"notesInFlow": true,
"typeVersion": 4.2
},
{
"id": "fa5aff1b-5bd2-4ec3-aacc-1587fca3ce81",
"name": "API 密钥",
"type": "n8n-nodes-base.set",
"notes": "Get your ElevenLabs Music API key : https://try.elevenlabs.io/api-music",
"position": [
-64,
0
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "b805a906-dd26-4587-94b2-edb5bc3abaa9",
"name": "ELEVENLABS_API_KEY",
"type": "string",
"value": "your key"
}
]
}
},
"notesInFlow": true,
"typeVersion": 3.4
},
{
"id": "ce19cd71-1634-4fa1-82bb-a5fb8b8ce655",
"name": "上传 mp3",
"type": "n8n-nodes-base.googleDrive",
"position": [
368,
0
],
"parameters": {
"name": "music.mp3",
"driveId": {
"__rl": true,
"mode": "list",
"value": "My Drive"
},
"options": {},
"folderId": {
"__rl": true,
"mode": "list",
"value": "root",
"cachedResultName": "/ (Root folder)"
}
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "oOwfO78U2uTUNUYC",
"name": "Google Drive inforeole"
}
},
"typeVersion": 3
},
{
"id": "4e741578-f6f1-47bb-abde-830a5e1b9326",
"name": "准备响应",
"type": "n8n-nodes-base.html",
"position": [
576,
0
],
"parameters": {
"html": "<!DOCTYPE html>\n<html lang=\"en\">\n<div style=\"font-family: sans-serif; background-color: #121212; color: #e0e0e0; display: flex; justify-content: center; align-items: center; min-height: 100vh; margin: 0; padding: 20px; box-sizing: border-box;\">\n <div style=\"background-color: #1e1e1e; border-radius: 16px; padding: 40px; text-align: center; width: 100%; max-width: 500px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.1);\">\n <div style=\"font-size: 50px; background: linear-gradient(45deg, #4e54c8, #8f94fb); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 20px;\">🎧</div>\n <h1 style=\"color: #ffffff; font-size: 28px; font-weight: 700; margin: 0 0 10px 0;\">Your ASMR Sound is Ready!</h1>\n <p style=\"font-size: 16px; margin-bottom: 30px; opacity: 0.8;\">The AI has generated a unique ASMR sound for you.</p>\n \n <div style=\"font-size: 22px; font-weight: 600; color: #ffffff; margin-bottom: 30px; padding: 15px; background-color: rgba(0,0,0,0.2); border-radius: 8px;\">\n {{ $json.asmrTitle || \"Soothing Whispers\" }}\n </div>\n\n <a href=\"{{ $json.webViewLink }}\" style=\"display: inline-block; text-decoration: none; color: #ffffff; background: linear-gradient(45deg, #4e54c8, #8f94fb); padding: 15px 30px; border-radius: 50px; font-weight: 600; font-size: 16px; margin: 10px;\">▶️ Listen Now</a>\n </div>\n</div>\n</html>"
},
"typeVersion": 1.2
},
{
"id": "466725ff-8098-4553-801b-59c41bfd3b14",
"name": "显示 mp3",
"type": "n8n-nodes-base.form",
"position": [
784,
0
],
"webhookId": "668bca14-14dd-4ab3-84bc-8a7ad811697c",
"parameters": {
"operation": "completion",
"respondWith": "showText",
"responseText": "={{ $json.html }}"
},
"typeVersion": 1
},
{
"id": "59345580-a208-4161-b6cd-817606c0f799",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-272,
-432
],
"parameters": {
"width": 560,
"height": 400,
"content": "## 使用 ElevenLabs API 生成 ASMR 并上传到 Google Drive"
},
"typeVersion": 1
},
{
"id": "f0dd4985-085b-443f-bff8-803c7b8636a0",
"name": "AI ASMR 生成器",
"type": "n8n-nodes-base.formTrigger",
"position": [
-272,
0
],
"webhookId": "bdeee7fd-ef1c-44b4-b14f-072ba43ba603",
"parameters": {
"options": {
"path": "music-generator",
"buttonLabel": "Submit",
"appendAttribution": true
},
"formTitle": "AI ASMR Generator",
"formFields": {
"values": [
{
"fieldLabel": "Music",
"placeholder": "Describe your ASMR sound (e.g., gentle whispering, slow tapping on wood, crinkling paper).",
"requiredField": true
}
]
},
"formDescription": "What kind of ASMR sound or noise do you want to create?"
},
"typeVersion": 2.2
}
],
"pinData": {
"AI ASMR Generator": [
{
"Music": "cat laughing",
"formMode": "test",
"submittedAt": "2025-09-10T08:56:17.869+02:00"
}
]
},
"connections": {
"API Key": {
"main": [
[]
]
},
"Upload mp3": {
"main": [
[
{
"node": "prepare reponse",
"type": "main",
"index": 0
}
]
]
},
"elevenlabs_api": {
"main": [
[
{
"node": "Upload mp3",
"type": "main",
"index": 0
}
]
]
},
"prepare reponse": {
"main": [
[
{
"node": "display mp3",
"type": "main",
"index": 0
}
]
]
},
"AI ASMR Generator": {
"main": [
[
{
"node": "API Key",
"type": "main",
"index": 0
},
{
"node": "elevenlabs_api",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 杂项, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用 ElevenLabs API 生成 AI 音乐并上传到 Google Drive
使用 ElevenLabs API 生成 AI 音乐并上传到 Google Drive
Set
Form
Html
+4
7 节点phil
内容创作
自动化演示预约系统
集成 Outlook 日历和 Zoom 的自动化演示预约系统
If
Set
Code
+6
21 节点AureusR
杂项
使用图像生成和人工审核为 LinkedIn 和 Facebook 创建 AI 驱动的社交媒体内容
使用图像生成和人工审核为 LinkedIn 和 Facebook 创建 AI 驱动的社交媒体内容
If
Set
Slack
+14
63 节点Didac Fernandez
杂项
从您的多个参考图像生成创意广告图像
使用Seedream v4从参考图像为Instagram和Facebook生成创意广告图像
If
Set
Code
+6
20 节点Davide
杂项
The Recap AI - Nano Banana 网红广告创意
使用 Nano Banana 图片生成器生成无限电商广告创意
Set
Form Trigger
Google Drive
+5
11 节点Lucas Walter
内容创作
Sora 2
使用OpenAI Sora 2生成AI视频并上传到Google云端硬盘
Set
Form
Wait
+7
21 节点Juan Cristóbal Andrews
内容创作
工作流信息
难度等级
中级
节点数量7
分类2
节点类型7
作者
phil
@phile-com AI automation: 90% time saved on repetitive tasks: product sheets, after-sales chatbots, etc. 🚀 save time, win customers
外部链接
在 n8n.io 查看 →
分享此工作流