Veo
中级
这是一个Content Creation, Multimodal AI领域的自动化工作流,包含 10 个节点。主要使用 If, Set, Wait, FormTrigger, HttpRequest 等节点。 使用KIE.AI Veo3从文本提示生成AI视频
前置要求
- •可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "XgtuKIgmdAboPxUk",
"meta": {
"instanceId": "96dc772dec50f4b3e9db480fd23a2dd3197bc6a1ccc3bc733e2d5ea6d97363ea",
"templateCredsSetupCompleted": true
},
"name": "veo",
"tags": [],
"nodes": [
{
"id": "f0485501-8b6e-4237-99e8-a11348522e84",
"name": "便签6",
"type": "n8n-nodes-base.stickyNote",
"position": [
120,
-760
],
"parameters": {
"width": 780,
"height": 180,
"content": "## 步骤 1 - 获取 API 密钥(YOURAPIKEY)"
},
"typeVersion": 1
},
{
"id": "6e5c541e-429e-41fd-a79d-a6ce6001df53",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
120,
-540
],
"parameters": {
"width": 780,
"height": 180,
"content": "## 步骤 2 - 使用流程"
},
"typeVersion": 1
},
{
"id": "d85c4535-3ee5-4bb1-96b0-ce54c846f45e",
"name": "便签 3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-720,
-740
],
"parameters": {
"color": 3,
"width": 780,
"height": 700,
"content": "## 概述"
},
"typeVersion": 1
},
{
"id": "3d1dc6f7-a61c-4281-85b3-87b13b180206",
"name": "便签 1",
"type": "n8n-nodes-base.stickyNote",
"position": [
120,
-320
],
"parameters": {
"width": 780,
"height": 280,
"content": "## 步骤 3 - 表单参数"
},
"typeVersion": 1
},
{
"id": "a42b81a8-e0cc-497a-987c-aa5eb31992c9",
"name": "提交文本提示进行视频生成",
"type": "n8n-nodes-base.formTrigger",
"position": [
-460,
0
],
"webhookId": "791b190b-2acc-4d10-b593-c1929e67686c",
"parameters": {
"options": {},
"formTitle": "AI video generator",
"formFields": {
"values": [
{
"fieldLabel": "prompt"
},
{
"fieldLabel": "api_key"
}
]
},
"formDescription": "Please fill in the following information to generate your video"
},
"typeVersion": 2.2
},
{
"id": "608b1ea0-dd48-4643-89d7-0873e5888387",
"name": "发送视频生成请求到 KIE.AI API",
"type": "n8n-nodes-base.httpRequest",
"position": [
-240,
0
],
"parameters": {
"url": "https://api.kie.ai/api/v1/veo/generate",
"method": "POST",
"options": {},
"jsonBody": "={\n \"prompt\": \"{{$json.prompt}}\",\n \"model\": \"veo3\",\n \"watermark\": \"\",\n \"callBackUrl\": \"https://api.example.com/callback\",\n \"aspectRatio\": \"16:9\",\n \"seeds\": 12345\n}",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Authorization",
"value": "=Bearer {{$json.api_key}}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "f9c550c5-8c1d-4cd1-9747-bea5af3abb94",
"name": "等待视频处理完成",
"type": "n8n-nodes-base.wait",
"position": [
0,
0
],
"webhookId": "bb6c2821-9586-44b7-8606-2ee69a77ed75",
"parameters": {
"amount": 10
},
"typeVersion": 1.1
},
{
"id": "bfc484eb-a358-408a-a1d9-644b61d965e4",
"name": "获取生成状态",
"type": "n8n-nodes-base.httpRequest",
"position": [
220,
0
],
"parameters": {
"url": "https://api.kie.ai/api/v1/veo/record-info",
"options": {},
"sendQuery": true,
"sendHeaders": true,
"queryParameters": {
"parameters": [
{
"name": "taskId",
"value": "={{$json.data.taskId}}"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Authorization",
"value": "=Bearer {{$node[\"Submit Text Prompt for Video Generation\"].json[\"api_key\"]}}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "0239973f-5bb9-4b9c-a827-d3ec3c908d7d",
"name": "检查视频生成是否完成",
"type": "n8n-nodes-base.if",
"position": [
60,
220
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "loose"
},
"combinator": "and",
"conditions": [
{
"id": "db9a5dec-997b-4c3f-9582-37c9bbeb19ff",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "=true",
"rightValue": "={{ $json.data.successFlag == 1 }}"
}
]
},
"looseTypeValidation": true
},
"typeVersion": 2.2
},
{
"id": "719edda6-4694-4637-a5c5-c951cc968768",
"name": "格式化和显示视频结果",
"type": "n8n-nodes-base.set",
"position": [
420,
200
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "d5cc0615-8ccb-4dd5-b2c0-1cdb81dbfcc5",
"name": "originUrls",
"type": "string",
"value": "={{$json.data.response.originUrls}}"
},
{
"id": "fa5f375f-cddc-4f7b-a018-67c28015d18b",
"name": "resultUrls",
"type": "string",
"value": "={{$json.data.response.resultUrls}}"
},
{
"id": "8f93e12e-13da-495f-a686-c0abc22f39d9",
"name": "",
"type": "string",
"value": ""
}
]
}
},
"typeVersion": 3.4
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "e681e1bc-260c-4fb5-ae5a-f488bb4337c6",
"connections": {
"Obtain the generated status": {
"main": [
[
{
"node": "Check if Video Generation is Complete",
"type": "main",
"index": 0
}
]
]
},
"Wait for Video Processing Completion": {
"main": [
[
{
"node": "Obtain the generated status",
"type": "main",
"index": 0
}
]
]
},
"Check if Video Generation is Complete": {
"main": [
[
{
"node": "Format and Display Video Results",
"type": "main",
"index": 0
}
],
[
{
"node": "Wait for Video Processing Completion",
"type": "main",
"index": 0
}
]
]
},
"Submit Text Prompt for Video Generation": {
"main": [
[
{
"node": "Send Video Generation Request to KIE.AI API",
"type": "main",
"index": 0
}
]
]
},
"Send Video Generation Request to KIE.AI API": {
"main": [
[
{
"node": "Wait for Video Processing Completion",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 内容创作, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
suno
使用KIE.ai API和表单界面通过Suno V3.5生成AI音乐
If
Set
Wait
+3
10 节点yichao zeng
内容创作
mj
使用KIE.AI Midjourney API生成AI图像和视频
If
Set
Wait
+3
10 节点damo
杂项
香蕉
使用KIE.AI Nano Banana API生成角色一致的AI图像
If
Set
Wait
+3
10 节点damo
杂项
Recap AI - Veo 3.1 电商产品动画生成器
基于Veo 3.1的电商产品目录AI视频生成器
If
Set
Wait
+10
18 节点Lucas Walter
内容创作
WordPress博客自动化专业版(深度研究)v2.1市场
使用GPT-4o、Perplexity AI和多语言支持自动化SEO优化的博客创建
If
Set
Xml
+27
125 节点Daniel Ng
内容创作
自动化本地线索查找与冷邮件发送
使用 Apify、AI 和 Gmail 自动查找本地线索并发送冷邮件
If
Set
Wait
+10
18 节点Meak
内容创作