基于图像的 AI 生成视频
中级
这是一个AI领域的自动化工作流,包含 13 个节点。主要使用 If, Set, Wait, FormTrigger, GoogleDrive 等节点,结合人工智能技术实现智能自动化。 从图像生成 🤖🧠 AI 驱动视频 🎥 并上传到 Google Drive
前置要求
- •Google Drive API 凭证
- •可能需要目标 API 的认证凭证
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "WSYhLeH2uNrR9C20",
"meta": {
"instanceId": "a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462",
"templateCredsSetupCompleted": true
},
"name": "基于图像的 AI 生成视频",
"tags": [],
"nodes": [
{
"id": "0b38123a-0134-4bf6-abb8-6a454212d2b4",
"name": "从视频和音频文件生成说话头像视频",
"type": "n8n-nodes-base.httpRequest",
"position": [
840,
400
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "1900f2e8-310c-4c0b-914b-0c7a9890fb05",
"name": "获取状态",
"type": "n8n-nodes-base.wait",
"position": [
660,
400
],
"webhookId": "ba8dcc65-c1aa-427b-9ba0-d083c6af79dc",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "c6c8ff96-b7f0-49d4-ba12-b086f1c07265",
"name": "便签 3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-20,
-240
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "237e03ad-72d2-4ddd-8baf-33c6f88b7c88",
"name": "# 从视频和音频文件生成说话头像视频",
"type": "n8n-nodes-base.if",
"position": [
1020,
400
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "301f51c7-b3eb-4001-b4ad-b504af7085fb",
"name": "设置数据",
"type": "n8n-nodes-base.set",
"position": [
220,
400
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "95c13de7-b11a-4472-9176-68b4c69078d8",
"name": "便签 5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-20,
160
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "fc2b9d60-3c3d-4336-805e-94835fe7155c",
"name": "便签6",
"type": "n8n-nodes-base.stickyNote",
"position": [
-20,
-20
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "df0555de-85e4-45ea-bdb2-e330237bd876",
"name": "便签7",
"type": "n8n-nodes-base.stickyNote",
"position": [
400,
340
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "9d2ab380-a3d4-4745-93d4-dc0040915977",
"name": "表单提交时",
"type": "n8n-nodes-base.formTrigger",
"position": [
-40,
400
],
"webhookId": "621b572f-3b5a-4b8c-b0f6-f5c8486d08d6",
"parameters": {},
"typeVersion": 2.2
},
{
"id": "43d68c4e-adaf-4b9b-84b8-db476b35a5f3",
"name": "创建视频",
"type": "n8n-nodes-base.httpRequest",
"position": [
440,
400
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "67ecd974-6a94-491a-853b-8c99cc5caad8",
"name": "设置在步骤1中创建的API密钥",
"type": "n8n-nodes-base.httpRequest",
"position": [
-20,
720
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "79abf65b-6c38-4108-ba65-d06428d18951",
"name": "获取视频URL",
"type": "n8n-nodes-base.httpRequest",
"position": [
200,
720
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "ec0da2e6-70e3-4ee1-abba-5e7157e6fe2e",
"name": "上传视频",
"type": "n8n-nodes-base.googleDrive",
"position": [
420,
720
],
"parameters": {},
"typeVersion": 3
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "577f731c-07f5-4708-9afa-90357393e4d9",
"connections": {
"Set data": {
"main": [
[
{
"node": "Create Video",
"type": "main",
"index": 0
}
]
]
},
"Completed?": {
"main": [
[
{
"node": "Get Url Video",
"type": "main",
"index": 0
}
],
[
{
"node": "Wait 60 sec.",
"type": "main",
"index": 0
}
]
]
},
"Get status": {
"main": [
[
{
"node": "Completed?",
"type": "main",
"index": 0
}
]
]
},
"Create Video": {
"main": [
[
{
"node": "Wait 60 sec.",
"type": "main",
"index": 0
}
]
]
},
"Upload Video": {
"main": [
[]
]
},
"Wait 60 sec.": {
"main": [
[
{
"node": "Get status",
"type": "main",
"index": 0
}
]
]
},
"Get Url Video": {
"main": [
[
{
"node": "Get File Video",
"type": "main",
"index": 0
}
]
]
},
"Get File Video": {
"main": [
[
{
"node": "Upload Video",
"type": "main",
"index": 0
}
]
]
},
"On form submission": {
"main": [
[
{
"node": "Set data",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 人工智能
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
WooCommerce服装目录的AI虚拟试穿
WooCommerce服装目录的AI虚拟试穿自动生成
If
Set
Wait
+7
21 节点Davide
销售
在GIF上交换面孔
使用Fal.run AI和Google服务自动化GIF人脸交换
If
Set
Wait
+6
19 节点Davide
设计
图像转3D
使用Fal.ai Trellis将图像转换为3D模型并存储到Google Drive
If
Set
Wait
+6
17 节点Davide
设计
使用Google Veo3创建视频并上传到YouTube
使用Google Veo3生成AI视频,保存到Google云端硬盘并上传到YouTube
If
Set
Wait
+7
22 节点Davide
人工智能
音效生成器
使用CassetteAI生成逼真音效并保存到Google Drive
If
Wait
Form Trigger
+3
12 节点Davide
人工智能
口型同步视频生成
使用Infinitalk AI创建并分享口型同步虚拟形象视频,并上传至TikTok/YouTube
If
Set
Wait
+5
18 节点Davide
内容创作
工作流信息
难度等级
中级
节点数量13
分类1
节点类型7
作者
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
外部链接
在 n8n.io 查看 →
分享此工作流