我的工作流 3
中级
这是一个Content Creation, Miscellaneous, Multimodal AI领域的自动化工作流,包含 13 个节点。主要使用 If, Set, Wait, FormTrigger, HttpRequest 等节点。 使用Veo3 API和VietVid.com从文本或图像生成AI视频
前置要求
- •可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "D1OiajULSbxamTth",
"meta": {
"instanceId": "ae35fcac1ced05e71449f098fbec8ecb6349893e0c2112cc033acbf2f682aad4"
},
"name": "我的工作流 3",
"tags": [],
"nodes": [
{
"id": "287c7b64-415d-4978-9e56-999f59cb7a60",
"name": "便签 - 步骤 1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1520,
240
],
"parameters": {
"width": 260,
"height": 472,
"content": "## 步骤 1 - 获取 API 密钥(YOURAPIKEY)"
},
"typeVersion": 1
},
{
"id": "1c8d3fba-7775-4aaa-ba07-d27ff21d8942",
"name": "便签 - 步骤 2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1248,
240
],
"parameters": {
"width": 352,
"height": 468,
"content": "## 步骤 2 - 输入提示信息"
},
"typeVersion": 1
},
{
"id": "b66bed0f-48ca-44f5-b33c-2b4e755690ef",
"name": "便签 - 步骤 4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-368,
240
],
"parameters": {
"width": 648,
"height": 476,
"content": "## 步骤 4 - 等待视频生成"
},
"typeVersion": 1
},
{
"id": "e4f77ea7-1ebd-4378-82f9-af894bba326d",
"name": "便签 - 步骤 5",
"type": "n8n-nodes-base.stickyNote",
"position": [
304,
240
],
"parameters": {
"width": 680,
"height": 472,
"content": "## 步骤 5 - 接收完成的视频链接"
},
"typeVersion": 1
},
{
"id": "a8b24e60-3e49-400e-bb68-46a3cc552c43",
"name": "便签 - 步骤",
"type": "n8n-nodes-base.stickyNote",
"position": [
-880,
240
],
"parameters": {
"width": 492,
"height": 472,
"content": "## 步骤 3 - 提交请求(自动 POST)"
},
"typeVersion": 1
},
{
"id": "cd1346b1-e8e5-4f01-9235-d8a06a0cf38c",
"name": "便签 - 概述",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1520,
-512
],
"parameters": {
"color": 3,
"width": 1144,
"height": 428,
"content": "## 概述"
},
"typeVersion": 1
},
{
"id": "5d764d02-55ad-4c01-9496-f589dc43c193",
"name": "便签 - 设置",
"type": "n8n-nodes-base.stickyNote",
"position": [
-368,
-512
],
"parameters": {
"color": 3,
"width": 1352,
"height": 428,
"content": "## 设置说明"
},
"typeVersion": 1
},
{
"id": "3f362a74-74f2-4130-aa06-d95793835d20",
"name": "输入提示信息",
"type": "n8n-nodes-base.formTrigger",
"position": [
-1120,
-16
],
"webhookId": "26df1ad1-7a31-4fe2-99b1-26c772842454",
"parameters": {
"options": {},
"formTitle": "Veo 3 video generator",
"formFields": {
"values": [
{
"fieldLabel": "text_prompt",
"placeholder": "The cat playing in the garden"
},
{
"fieldLabel": "ImageURL [optional]",
"placeholder": "https://vietvid.com/example.jpg"
},
{
"fieldLabel": "api_Token",
"placeholder": "47f33b46*************47f33b46"
},
{
"fieldType": "dropdown",
"fieldLabel": "aspect_Ratio [16:9,9:16]",
"fieldOptions": {
"values": [
{
"option": "16:9"
},
{
"option": "9:16"
}
]
},
"requiredField": true
},
{
"fieldType": "dropdown",
"fieldLabel": "model",
"fieldOptions": {
"values": [
{
"option": "veo3"
},
{
"option": "veo3_fast"
}
]
},
"requiredField": true
}
]
},
"formDescription": "Please fill in the following information to generate your video"
},
"typeVersion": 2.2
},
{
"id": "a46abb93-ab7b-4aaa-8c3c-8ca5d11dc09b",
"name": "提交请求",
"type": "n8n-nodes-base.httpRequest",
"position": [
-672,
-16
],
"parameters": {
"url": "https://vietvid.com/api/n8n/generate",
"method": "POST",
"options": {},
"jsonBody": "={\n \"prompt\": \"{{ $('Enter prompt infomation').item.json.text_prompt }}\",\n \"model\": \"{{ $('Enter prompt infomation').item.json.model }}\",\n \"watermark\": \"\",\n \"imageUrls\": [\"{{ $('Enter prompt infomation').item.json['ImageURL [optional]'] }}\"],\"aspectRatio\": \"{{ $('Enter prompt infomation').item.json['aspect_Ratio [16:9,9:16]'] }}\",\n \"seeds\": 50000\n}",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Authorization",
"value": "=Bearer {{ $('Enter prompt infomation').item.json.api_Token }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "d590cd72-7c31-4073-a28a-fe4422345989",
"name": "等待视频处理",
"type": "n8n-nodes-base.wait",
"position": [
-288,
-16
],
"webhookId": "bb6c2821-9586-44b7-8606-2ee69a77ed75",
"parameters": {
"amount": 10
},
"typeVersion": 1.1
},
{
"id": "7692b851-0b01-4d6f-8054-91ed8745f121",
"name": "检查视频状态",
"type": "n8n-nodes-base.httpRequest",
"position": [
-96,
-16
],
"parameters": {
"url": "=https://vietvid.com/api/n8n/video-status/{{ $('Submit request').item.json.task.taskId }}",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "721f655b-c3c3-46c1-932c-19c2922d2b94",
"name": "返回视频链接",
"type": "n8n-nodes-base.set",
"position": [
576,
-32
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "68bed228-7506-4deb-a96b-cde86468a261",
"name": "720p_link",
"type": "string",
"value": "={{ $json.videoUrl }}"
},
{
"id": "e49e0e01-a6d5-47be-8c54-895257e9fe76",
"name": "1080p_link",
"type": "string",
"value": "={{ $json.hdVideoUrl }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "515fba5e-f600-4441-bb70-ed6b67aa94f4",
"name": "检查视频可用性(720p 或 1080p)",
"type": "n8n-nodes-base.if",
"position": [
112,
-16
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "loose"
},
"combinator": "and",
"conditions": [
{
"id": "db9a5dec-997b-4c3f-9582-37c9bbeb19ff",
"operator": {
"type": "boolean",
"operation": "exists",
"singleValue": true
},
"leftValue": "={{ $json.videoUrl }}",
"rightValue": "={{ $json.data.successFlag == 1 }}"
}
]
},
"looseTypeValidation": true
},
"typeVersion": 2.2
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "8865cb0a-767e-4e18-9509-30d8eee0298d",
"connections": {
"Submit request": {
"main": [
[
{
"node": "Wait for Video Processing",
"type": "main",
"index": 0
}
]
]
},
"Check Video status": {
"main": [
[
{
"node": "Check video available (720p or 1080p)",
"type": "main",
"index": 0
}
]
]
},
"Enter prompt infomation": {
"main": [
[
{
"node": "Submit request",
"type": "main",
"index": 0
}
]
]
},
"Wait for Video Processing": {
"main": [
[
{
"node": "Check Video status",
"type": "main",
"index": 0
}
]
]
},
"Check video available (720p or 1080p)": {
"main": [
[
{
"node": "Return video link",
"type": "main",
"index": 0
}
],
[
{
"node": "Wait for Video Processing",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 内容创作, 杂项, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用 BananaAPI 和 Nano Banana 引擎通过文本提示生成 AI 图像
使用 BananaAPI 和 Nano Banana 引擎通过文本提示生成 AI 图像
If
Set
Wait
+3
16 节点Tran Trung Nghia
内容创作
生成会说话的虚拟形象视频并发布到 TikTok
使用Elevenlabs和Infinitalk创建会说话的虚拟形象视频并自动发布到TikTok
If
Set
Wait
+5
24 节点Davide
内容创作
无水印TikTok视频下载至Google Drive并自动记录到表格
将无水印TikTok视频下载到Google Drive,并自动在表格中记录日志
If
Wait
Form Trigger
+4
19 节点Evoort Solutions
内容创作
3个Hackernews到AI克隆视频
使用Heygen和Blotato生成并自动发布科技新闻AI虚拟形象视频到社交媒体
If
Set
Wait
+9
30 节点Sabrina Ramonov 🍄
内容创作
使用 Nano Banana 和 Veo-3 从 Telegram 消息生成 AI 视频
使用 Nano Banana 和 Veo-3 从 Telegram 消息生成 AI 视频
If
Set
Wait
+9
26 节点Sulieman Said
内容创作
使用 NanoBanana、Kling 和 LATE Publishing_Bilsimaging 生成产品品牌动画
使用 Gemini AI、Kling 和 LATE 将产品照片转换为社交媒体视频
If
Set
Code
+13
83 节点Bilel Aroua
内容创作