Veo

Fortgeschritten

Dies ist ein Content Creation, Multimodal AI-Bereich Automatisierungsworkflow mit 10 Nodes. Hauptsächlich werden If, Set, Wait, FormTrigger, HttpRequest und andere Nodes verwendet. AI-Videos aus Text-Prompts mit KIE.AI Veo3 generieren

Voraussetzungen
  • Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
  "id": "XgtuKIgmdAboPxUk",
  "meta": {
    "instanceId": "96dc772dec50f4b3e9db480fd23a2dd3197bc6a1ccc3bc733e2d5ea6d97363ea",
    "templateCredsSetupCompleted": true
  },
  "name": "veo",
  "tags": [],
  "nodes": [
    {
      "id": "f0485501-8b6e-4237-99e8-a11348522e84",
      "name": "Notiz6",
      "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": "Notiz",
      "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": "Notiz3",
      "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": "Notiz1",
      "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": "Textprompt für Videogenerierung übermitteln",
      "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": "Videogenerierungsanfrage an KIE.AI API senden",
      "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": "Auf Videoverarbeitungsabschluss warten",
      "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": "Generierten Status abrufen",
      "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": "Prüfen, ob Videogenerierung abgeschlossen ist",
      "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": "Videoergebnisse formatieren und anzeigen",
      "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
          }
        ]
      ]
    }
  }
}
Häufig gestellte Fragen

Wie verwende ich diesen Workflow?

Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.

Für welche Szenarien ist dieser Workflow geeignet?

Fortgeschritten - Content-Erstellung, Multimodales KI

Ist es kostenpflichtig?

Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.

Workflow-Informationen
Schwierigkeitsgrad
Fortgeschritten
Anzahl der Nodes10
Kategorie2
Node-Typen6
Schwierigkeitsbeschreibung

Für erfahrene Benutzer, mittelkomplexe Workflows mit 6-15 Nodes

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34