{
  "name": "Generate AI videos from text or images with Veo 3 API and VietVid.com",
  "nodes": [
    {
      "id": "287c7b64-415d-4978-9e56-999f59cb7a60",
      "name": "Sticky Note - Step 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1520,
        240
      ],
      "parameters": {
        "width": 260,
        "height": 472,
        "content": "## STEP 1 - GET API KEY (YOURAPIKEY)\n- Create an account [here](https://vietvid.com/api) and obtain your API key.\n- This key will be required in later steps.\n- Important: Keep your key safe and never "
      }
    },
    {
      "id": "1c8d3fba-7775-4aaa-ba07-d27ff21d8942",
      "name": "Sticky Note - Step 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1248,
        240
      ],
      "parameters": {
        "width": 352,
        "height": 468,
        "content": "## STEP 2 - ENTER PROMPT INFORMATION\nFill out the required fields in the form:\n- **Prompt**: Describe your video idea in English (e.g., \"A robot dancing under neon lights\").\n- **Image URL (optional)**"
      }
    },
    {
      "id": "b66bed0f-48ca-44f5-b33c-2b4e755690ef",
      "name": "Sticky Note - Step 4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -368,
        240
      ],
      "parameters": {
        "width": 648,
        "height": 476,
        "content": "## STEP 4 - WAIT FOR VIDEO CREATION\nThe workflow will **automatically check (poll)** every 10 seconds until the video URL is available.\n\n**Status Check**\n- **Method:** GET\n- **URL:** https://vietvid.c"
      }
    },
    {
      "id": "e4f77ea7-1ebd-4378-82f9-af894bba326d",
      "name": "Sticky Note - Step 5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        304,
        240
      ],
      "parameters": {
        "width": 680,
        "height": 472,
        "content": "## STEP 5 - RECEIVE COMPLETED VIDEO LINK\nWhen status = **completed**, the API will return the video link.\n\n**Response Example**\n```\n{\n  \"success\": true,\n  \"status\": \"completed\",\n  \"videoUrl\": \"https:/"
      }
    },
    {
      "id": "a8b24e60-3e49-400e-bb68-46a3cc552c43",
      "name": "Sticky Note - Step ",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -880,
        240
      ],
      "parameters": {
        "width": 492,
        "height": 472,
        "content": "## STEP 3 - SUBMIT REQUEST (AUTO POST)\nThe workflow will automatically **POST** your inputs to VietVid.com to generate the video.\n\n**HTTP Request**\n- **Method:** POST\n- **URL:** https://vietvid.com/ap"
      }
    },
    {
      "id": "cd1346b1-e8e5-4f01-9235-d8a06a0cf38c",
      "name": "Sticky Note - Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1520,
        -512
      ],
      "parameters": {
        "width": 1144,
        "height": 428,
        "content": "## Overview\nThis workflow uses the VietVid.com Veo3 engine to create AI-powered videos from either text prompts or images. Through a simple form, users can provide a description, optionally attach an "
      }
    },
    {
      "id": "5d764d02-55ad-4c01-9496-f589dc43c193",
      "name": "Sticky Note - Setup",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -368,
        -512
      ],
      "parameters": {
        "width": 1352,
        "height": 428,
        "content": "## Setup Instructions\n1. **Get API Key**: Log in at VietVid.com and generate your personal API key. Keep it secure.\n2. **Configure the Form**: Ensure the following fields exist: prompt (video descript"
      }
    },
    {
      "id": "3f362a74-74f2-4130-aa06-d95793835d20",
      "name": "Enter prompt infomation",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -1120,
        -16
      ]
    },
    {
      "id": "a46abb93-ab7b-4aaa-8c3c-8ca5d11dc09b",
      "name": "Submit request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -672,
        -16
      ]
    },
    {
      "id": "d590cd72-7c31-4073-a28a-fe4422345989",
      "name": "Wait for Video Processing",
      "type": "n8n-nodes-base.wait",
      "position": [
        -288,
        -16
      ]
    },
    {
      "id": "7692b851-0b01-4d6f-8054-91ed8745f121",
      "name": "Check Video status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -96,
        -16
      ]
    },
    {
      "id": "721f655b-c3c3-46c1-932c-19c2922d2b94",
      "name": "Return video link",
      "type": "n8n-nodes-base.set",
      "position": [
        576,
        -32
      ]
    },
    {
      "id": "515fba5e-f600-4441-bb70-ed6b67aa94f4",
      "name": "Check video available (720p or 1080p)",
      "type": "n8n-nodes-base.if",
      "position": [
        112,
        -16
      ]
    }
  ],
  "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
          }
        ]
      ]
    }
  }
}