YT睡前故事 - 短视频 - N8N市场
高级
这是一个Other, AI领域的自动化工作流,包含 43 个节点。主要使用 Set, Code, Wait, Limit, YouTube 等节点,结合人工智能技术实现智能自动化。 使用OpenAI生成YouTube睡前故事
前置要求
- •Telegram Bot Token
- •可能需要目标 API 的认证凭证
- •Google Sheets API 凭证
使用的节点 (43)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "TiWC1u5UbDrHY6GK",
"meta": {
"instanceId": "9498b495586ba5ae263644fe6888f4b4b507045868ae46dcb54cda2d52399b70",
"templateCredsSetupCompleted": true
},
"name": "YT 睡前故事 - 短视频 - N8N 市场",
"tags": [],
"nodes": [
{
"id": "0466edf0-3c53-4e2b-8b36-7543f1161d56",
"name": "创建图片文本列表1",
"type": "n8n-nodes-base.code",
"position": [
1120,
-220
],
"parameters": {},
"typeVersion": 2
},
{
"id": "b379366e-9a7b-4787-81d0-6bdf33c6f810",
"name": "拆分输出1",
"type": "n8n-nodes-base.splitOut",
"position": [
1280,
-220
],
"parameters": {},
"typeVersion": 1
},
{
"id": "69b9252d-3ab1-4084-a564-3a06de682d2d",
"name": "获取图片 Base",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueErrorOutput",
"position": [
2220,
-220
],
"parameters": {},
"executeOnce": false,
"typeVersion": 4.2,
"alwaysOutputData": true
},
{
"id": "44ea807c-5695-4b6d-9e76-88b793879dfb",
"name": "合并转录1",
"type": "n8n-nodes-base.code",
"position": [
1100,
320
],
"parameters": {},
"typeVersion": 2
},
{
"id": "41de69a9-91ab-4d3a-9872-10ebb81cebf8",
"name": "清理转录",
"type": "n8n-nodes-base.code",
"position": [
2700,
320
],
"parameters": {},
"typeVersion": 2
},
{
"id": "ab5865dd-3638-4ec1-b43d-95513d93b46c",
"name": "计划触发器1",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
1100,
-760
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "99bd8888-b23d-4456-94ca-4e1e2efc898d",
"name": "获取随机背景音乐",
"type": "n8n-nodes-base.googleCloudStorage",
"position": [
1280,
320
],
"parameters": {},
"typeVersion": 1
},
{
"id": "6caf808f-74db-48d5-83df-d3069f0a79ef",
"name": "YouTube Seos 频道",
"type": "n8n-nodes-base.youTube",
"position": [
1480,
920
],
"parameters": {},
"typeVersion": 1
},
{
"id": "956f5814-9187-489b-a939-069f07ccc919",
"name": "生成语音配音",
"type": "n8n-nodes-base.httpRequest",
"position": [
1620,
-760
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "e96a5653-3681-4aed-b5fd-cfc97a7964f7",
"name": "清理语音配音",
"type": "n8n-nodes-base.code",
"position": [
1880,
-760
],
"parameters": {},
"typeVersion": 2
},
{
"id": "80b0ee25-40fe-48fb-a013-39efbe12b81d",
"name": "准备 OpenAI TTS",
"type": "n8n-nodes-base.set",
"position": [
2100,
-760
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "141f2063-35b0-4a73-8447-39111cf74730",
"name": "OPENai TTS",
"type": "n8n-nodes-base.httpRequest",
"position": [
2320,
-760
],
"parameters": {},
"retryOnFail": true,
"typeVersion": 4.2,
"waitBetweenTries": 5000
},
{
"id": "cec59509-de07-4a2b-8d2c-02f1f5fd869e",
"name": "等待 5 秒",
"type": "n8n-nodes-base.wait",
"position": [
2480,
-760
],
"webhookId": "93904f5c-43a2-4989-95d1-bb412c31d18f",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "4a75e33c-5d60-4250-9ee3-1681a957e177",
"name": "保存音频到 GSC",
"type": "n8n-nodes-base.googleCloudStorage",
"position": [
2680,
-760
],
"parameters": {},
"notesInFlow": false,
"retryOnFail": true,
"typeVersion": 1
},
{
"id": "8b6a20c0-c65f-4bf3-8b12-1e97af7ddb9c",
"name": "映射公开链接",
"type": "n8n-nodes-base.set",
"position": [
2840,
-760
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "c56d57f1-a7d5-4a6a-b07b-ed777a494f2c",
"name": "从 GSC 下载音频",
"type": "n8n-nodes-base.httpRequest",
"position": [
3000,
-760
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "33a9f025-cc84-4569-b2bf-6222593bc9a0",
"name": "使用 OpenAI Whisper 转录",
"type": "n8n-nodes-base.httpRequest",
"position": [
3180,
-760
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "c620fbe9-a9a8-4fc7-8637-a6e5e8ab990b",
"name": "合并图片样式和元素",
"type": "n8n-nodes-base.code",
"position": [
1440,
-220
],
"parameters": {},
"typeVersion": 2
},
{
"id": "126cab39-dbea-4b30-8f45-325e7dc7dca1",
"name": "拆分输出 - 图片提示",
"type": "n8n-nodes-base.splitOut",
"position": [
1660,
-220
],
"parameters": {},
"typeVersion": 1
},
{
"id": "cd9a1e53-5837-4fc7-95e5-a231a8cb56b1",
"name": "制作图片提示 Gemini",
"type": "n8n-nodes-base.httpRequest",
"position": [
1860,
-220
],
"parameters": {},
"executeOnce": false,
"retryOnFail": true,
"typeVersion": 4.2
},
{
"id": "c17e1a10-a24f-4023-811c-7bc8206a09b9",
"name": "清理图片提示",
"type": "n8n-nodes-base.code",
"position": [
2060,
-220
],
"parameters": {},
"typeVersion": 2
},
{
"id": "6bb52ea5-87e6-4bd8-b83d-9f24a8da37fa",
"name": "转换为文件",
"type": "n8n-nodes-base.convertToFile",
"maxTries": 4,
"position": [
2420,
-220
],
"parameters": {},
"retryOnFail": true,
"typeVersion": 1.1
},
{
"id": "4e249b65-8861-4c8d-9a97-07dd4529709f",
"name": "等待 6 秒",
"type": "n8n-nodes-base.wait",
"position": [
2580,
-220
],
"webhookId": "04d673ff-a3dc-4f39-81fb-9ed581c9f696",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "2849dc99-09a8-4ed6-ba52-d22b5ab7d6e2",
"name": "保存图片到 GC",
"type": "n8n-nodes-base.googleCloudStorage",
"position": [
2780,
-220
],
"parameters": {},
"retryOnFail": true,
"typeVersion": 1
},
{
"id": "d2db26d3-658a-4443-87df-6dc7b407fabc",
"name": "限制",
"type": "n8n-nodes-base.limit",
"position": [
2980,
-220
],
"parameters": {},
"typeVersion": 1
},
{
"id": "55c14839-79f4-4f17-b24e-f767e0c07929",
"name": "图片链接",
"type": "n8n-nodes-base.set",
"position": [
3180,
-220
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "17953f6f-0d2b-4f39-9e5d-49b22d7963cd",
"name": "从 GSC 随机选择歌曲",
"type": "n8n-nodes-base.code",
"position": [
1460,
320
],
"parameters": {},
"typeVersion": 2
},
{
"id": "ea8010fe-9ce6-4a99-89f8-7dbbc67c2437",
"name": "映射音乐",
"type": "n8n-nodes-base.set",
"position": [
1640,
320
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "b976202d-ff12-41a6-89b3-00dd143cd853",
"name": "生成 Json 到视频",
"type": "n8n-nodes-base.code",
"position": [
1820,
320
],
"parameters": {},
"typeVersion": 2
},
{
"id": "06f7efd3-fdec-4ab3-a06b-9b20b0f2499f",
"name": "创建视频",
"type": "n8n-nodes-base.httpRequest",
"position": [
2000,
320
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "ee2355f9-a307-440a-a4e8-4093ae4b0665",
"name": "等待 6 分钟进行渲染",
"type": "n8n-nodes-base.wait",
"position": [
2160,
320
],
"webhookId": "b69d3c58-9ca3-43b3-b8f2-f8230c7cf4d7",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "9fad8e5d-1a8e-4033-b64b-212412ac96a3",
"name": "获取视频进度",
"type": "n8n-nodes-base.httpRequest",
"position": [
2340,
320
],
"parameters": {},
"executeOnce": true,
"typeVersion": 4.2
},
{
"id": "95268ca7-3424-4aad-af52-512d6b346a59",
"name": "设置正确的视频 URL",
"type": "n8n-nodes-base.set",
"position": [
2520,
320
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "574851be-5591-42ad-aefd-cfa923bd8070",
"name": "使用 AI 生成转录",
"type": "n8n-nodes-base.httpRequest",
"position": [
2860,
320
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "31309455-403f-4f99-92ba-d34b60705528",
"name": "使用 AI 生成标题",
"type": "n8n-nodes-base.httpRequest",
"position": [
3080,
320
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "219ed130-2a68-4f28-b78f-880f6c2df9df",
"name": "附加到 GS",
"type": "n8n-nodes-base.googleSheets",
"position": [
3260,
320
],
"parameters": {},
"typeVersion": 4.5
},
{
"id": "84746d6b-50dc-4092-a488-3af4d15c8f7b",
"name": "从 GS 抓取视频",
"type": "n8n-nodes-base.googleSheets",
"position": [
1100,
920
],
"parameters": {},
"typeVersion": 4.5
},
{
"id": "fc272a45-5bdc-401b-a75f-e8b33331ff0a",
"name": "下载视频",
"type": "n8n-nodes-base.httpRequest",
"position": [
1280,
920
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "10bd5fdf-36d3-4e07-9854-7db51eb4eb93",
"name": "更新 GS 上的进度",
"type": "n8n-nodes-base.googleSheets",
"position": [
1700,
920
],
"parameters": {},
"typeVersion": 4.5
},
{
"id": "daef9ee3-acdb-47e7-8f64-5b9630bc7d16",
"name": "通过 Telegram 发送消息",
"type": "n8n-nodes-base.telegram",
"position": [
1900,
920
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "5a7d6e69-4d12-4b2e-a8f4-17eaaf76ea14",
"name": "抓取动物",
"type": "n8n-nodes-base.code",
"position": [
1320,
-760
],
"parameters": {},
"typeVersion": 2
},
{
"id": "fcbde749-b919-4cca-9c66-de5d497587ce",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
1980,
80
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "591e8003-b729-4914-af83-d8519fb21503",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
1140,
-1060
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"callerPolicy": "workflowsFromSameOwner",
"errorWorkflow": "4O90BW8TICWcALsQ",
"executionOrder": "v1",
"saveExecutionProgress": true
},
"versionId": "1a4265a3-32be-4b60-adbe-d9d112326255",
"connections": {
"Limit": {
"main": [
[
{
"node": "Image Link",
"type": "main",
"index": 0
}
]
]
},
"Append GS": {
"main": [
[]
]
},
"Map Music": {
"main": [
[
{
"node": "Generate Json to Video",
"type": "main",
"index": 0
}
]
]
},
"Image Link": {
"main": [
[
{
"node": "Combine Transcript1",
"type": "main",
"index": 0
}
]
]
},
"OPENai TTS": {
"main": [
[
{
"node": "Wait 5 sec",
"type": "main",
"index": 0
}
]
]
},
"Split Out1": {
"main": [
[
{
"node": "Combine Image Style and Elements",
"type": "main",
"index": 0
}
]
]
},
"Wait 5 sec": {
"main": [
[
{
"node": "Save Audio GSC",
"type": "main",
"index": 0
}
]
]
},
"Wait 6 sec": {
"main": [
[
{
"node": "Save images to GC",
"type": "main",
"index": 0
}
]
]
},
"Grab Animal": {
"main": [
[
{
"node": "Generate Voice Over",
"type": "main",
"index": 0
}
]
]
},
"Create Video": {
"main": [
[
{
"node": "Wait 6 min for Rendering",
"type": "main",
"index": 0
}
]
]
},
"Download Video": {
"main": [
[
{
"node": "YouTube Seos Kanaal",
"type": "main",
"index": 0
}
]
]
},
"Save Audio GSC": {
"main": [
[
{
"node": "Map Public Link",
"type": "main",
"index": 0
}
]
]
},
"Convert to File": {
"main": [
[
{
"node": "Wait 6 sec",
"type": "main",
"index": 0
}
]
]
},
"Get image Base ": {
"main": [
[
{
"node": "Convert to File",
"type": "main",
"index": 0
}
],
[
{
"node": "Convert to File",
"type": "main",
"index": 0
}
]
]
},
"Map Public Link": {
"main": [
[
{
"node": "Download Audio from GSC",
"type": "main",
"index": 0
}
]
]
},
"Clean Transcript": {
"main": [
[
{
"node": "Generate Transcript With AI",
"type": "main",
"index": 0
}
]
]
},
"Clean Voice Over": {
"main": [
[
{
"node": "Prepare OpenAI TTS",
"type": "main",
"index": 0
}
]
]
},
"Save images to GC": {
"main": [
[
{
"node": "Limit",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger1": {
"main": [
[
{
"node": "Grab Animal",
"type": "main",
"index": 0
}
]
]
},
"Get Video Progress": {
"main": [
[
{
"node": "Set Correct Video Url",
"type": "main",
"index": 0
}
]
]
},
"Grab Video from GS": {
"main": [
[
{
"node": "Download Video",
"type": "main",
"index": 0
}
]
]
},
"Prepare OpenAI TTS": {
"main": [
[
{
"node": "OPENai TTS",
"type": "main",
"index": 0
}
]
]
},
"Clean Image prompts": {
"main": [
[
{
"node": "Get image Base ",
"type": "main",
"index": 0
}
]
]
},
"Combine Transcript1": {
"main": [
[
{
"node": "Get Random BG music",
"type": "main",
"index": 0
}
]
]
},
"Generate Voice Over": {
"main": [
[
{
"node": "Clean Voice Over",
"type": "main",
"index": 0
}
]
]
},
"Get Random BG music": {
"main": [
[
{
"node": "Pick Random song From GSC",
"type": "main",
"index": 0
}
]
]
},
"YouTube Seos Kanaal": {
"main": [
[
{
"node": "Upgrade Progress on GS",
"type": "main",
"index": 0
}
]
]
},
"Set Correct Video Url": {
"main": [
[
{
"node": "Clean Transcript",
"type": "main",
"index": 0
}
]
]
},
"Generate Json to Video": {
"main": [
[
{
"node": "Create Video",
"type": "main",
"index": 0
}
]
]
},
"Generate Title with AI": {
"main": [
[
{
"node": "Append GS",
"type": "main",
"index": 0
}
]
]
},
"Upgrade Progress on GS": {
"main": [
[
{
"node": "Send message with Telegram",
"type": "main",
"index": 0
}
]
]
},
"Download Audio from GSC": {
"main": [
[
{
"node": "Transcribe with OpenAI Whisper",
"type": "main",
"index": 0
}
]
]
},
"Wait 6 min for Rendering": {
"main": [
[
{
"node": "Get Video Progress",
"type": "main",
"index": 0
}
]
]
},
"Make Image Prompts Gemini": {
"main": [
[
{
"node": "Clean Image prompts",
"type": "main",
"index": 0
}
]
]
},
"Pick Random song From GSC": {
"main": [
[
{
"node": "Map Music",
"type": "main",
"index": 0
}
]
]
},
"Split Out - Image prompts": {
"main": [
[
{
"node": "Make Image Prompts Gemini",
"type": "main",
"index": 0
}
]
]
},
"Generate Transcript With AI": {
"main": [
[
{
"node": "Generate Title with AI",
"type": "main",
"index": 0
}
]
]
},
"Create a list of Image Text1": {
"main": [
[
{
"node": "Split Out1",
"type": "main",
"index": 0
}
]
]
},
"Transcribe with OpenAI Whisper": {
"main": [
[
{
"node": "Create a list of Image Text1",
"type": "main",
"index": 0
}
]
]
},
"Combine Image Style and Elements": {
"main": [
[
{
"node": "Split Out - Image prompts",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 其他, 人工智能
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
YouTube自动化 - 动物类别
自动生成YouTube短视频
Set
Code
Wait
+9
34 节点Samautomation.work
营销
在可视化参考库中探索n8n节点
在可视化参考库中探索n8n节点
If
Ftp
Set
+93
113 节点I versus AI
其他
AI 代理餐厅 [模板]
🤖 WhatsApp、Instagram 和 Messenger 的 AI 餐厅助手
If
N8n
Set
+37
239 节点Amanda Benks
其他
使用 Elevenlabs 和 Hailuo AI 自动创建 YouTube 短视频
使用 Elevenlabs 和 Hailuo AI 自动创建 YouTube 短视频
If
Set
Code
+10
38 节点Nguyen Quoc Hai
人工智能
(Duc)深度研究市场模板
集成PerplexityAI研究和OpenAI内容的多层级WordPress博客生成器
If
Set
Xml
+28
132 节点Daniel Ng
人工智能
构建与销售AI自动化与智能体
构建与销售AI自动化与智能体
If
Set
Wait
+15
74 节点NICKYAI
其他
工作流信息
难度等级
高级
节点数量43
分类2
节点类型13
作者
Samautomation.work
@contactexpertlySam Automation - Automate Your Content Creation! <br> Want to scale your content strategy without extra work? With Sam Automation, you can: ✅ Auto-generate YouTube, Instagram, and TikTok videos ✅ Use powerful n8n workflows to automate your processes ✅ Leverage our JSON Video API for 100 renders per month <br> Subscribe now and discover how to save time and automate your content production! 🚀 🔗 Learn more: samautomation.work
外部链接
在 n8n.io 查看 →
分享此工作流