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": "## STEP 1 - GET API KEY (YOURAPIKEY)\n- Create an account [here](https://kie.ai/) and obtain API KEY.\n- It will be used in on form submission.\n- Important: Please keep your key safe and do not disclose it to others."
      },
      "typeVersion": 1
    },
    {
      "id": "6e5c541e-429e-41fd-a79d-a6ce6001df53",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        120,
        -540
      ],
      "parameters": {
        "width": 780,
        "height": 180,
        "content": "## STEP 2 - Usage Process\n1. **Start Workflow** - Click \"Execute workflow\" button to begin the task.\n2. **Fill Form** - Complete the required fields in the popup form.\n3. **Submit - Click** \"Submit\" button to send your request.\n4. **Close Window** - You can close the form window after successful submission.\n5. **Wait for Generation** - System automatically checks status every 10 seconds.\n6. **Get Results** - Video files will be displayed automatically when generation is complete."
      },
      "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": "## Overview\nThis workflow leverages the KIE. AI Veo3 model to generate AI videos from simple text descriptions.  Users interact via a form interface, inputting a prompt (e.g., a scene description), and the system automatically submits the request to the KIE. AI API, monitors the generation status in real time, and retrieves the final video output.  It's ideal for content creators, marketers, or developers exploring text-to-video AI creation, supporting intelligent video generation with minimal setup.\n\n\n## Prerequisites\n- A KIE. AI account and API key: Sign up at [KIE.AI](https://kie.ai) to obtain your free or paid API key.\n- An active n8n instance (cloud or self-hosted) with HTTP Request and form submission capabilities.\n- Basic knowledge of AI prompts for video generation to achieve optimal results.\n\n## Setup Instructions\n1.  **Obtain API Key**: Register at KIE. AI and generate your API key.  Store it securely—do not share it publicly.\n2.  **Configure the Form**: In the \"On Form Submission\" node, ensure fields like \"prompt\" (for video description) and \"api_key\" are set up.  Example prompt: `\"A serene mountain landscape at sunset with birds flying.\" `\n3.  **Test the Workflow**:\n    - Click \"Execute Workflow\" in n8n.\n    - Access the generated form URL, submit your prompt and API key.\n    - The workflow will poll the API every 10 seconds until the video is ready, then display the results.\n4.  **Handle Outputs**: The final node formats and displays the video file URL for download or embedding.\n\n## Customization Tips\n- **Enhance Prompts**: Include specifics like duration, style (e.g., realistic, animated), actions, and visual elements to improve AI video quality.\n\n- **Keywords for SEO**: This template focuses on AI video generation, text-to-video models, Veo3 API integration, and automated workflows.\n\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "3d1dc6f7-a61c-4281-85b3-87b13b180206",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        120,
        -320
      ],
      "parameters": {
        "width": 780,
        "height": 280,
        "content": "## STEP 3 - Form Parameters\n1. **Prompt** (Video Description)\n    - Purpose: Describe the video content you want to generate.\n    - Example: \"A dog playing in a park\".\n    - Tips:\n    Be detailed and specific in describing video content.\n    Include actions, scenes, and style information.\n    Describe movements and visual elements you want to see.\n    More detailed descriptions lead to better results.\n2. **api_key** (API Key)\n    - This is what you get in the first step.\n"
      },
      "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": {
    "bfc484eb-a358-408a-a1d9-644b61d965e4": {
      "main": [
        [
          {
            "node": "0239973f-5bb9-4b9c-a827-d3ec3c908d7d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f9c550c5-8c1d-4cd1-9747-bea5af3abb94": {
      "main": [
        [
          {
            "node": "bfc484eb-a358-408a-a1d9-644b61d965e4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0239973f-5bb9-4b9c-a827-d3ec3c908d7d": {
      "main": [
        [
          {
            "node": "719edda6-4694-4637-a5c5-c951cc968768",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "f9c550c5-8c1d-4cd1-9747-bea5af3abb94",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a42b81a8-e0cc-497a-987c-aa5eb31992c9": {
      "main": [
        [
          {
            "node": "608b1ea0-dd48-4643-89d7-0873e5888387",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "608b1ea0-dd48-4643-89d7-0873e5888387": {
      "main": [
        [
          {
            "node": "f9c550c5-8c1d-4cd1-9747-bea5af3abb94",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

中級 - コンテンツ作成, マルチモーダルAI

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
中級
ノード数10
カテゴリー2
ノードタイプ6
難易度説明

経験者向け、6-15ノードの中程度の複雑さのワークフロー

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34