{
  "nodes": [
    {
      "id": "8c5a050b-c76e-44cd-8553-660f683e6ff7",
      "name": "When clicking \u2018Execute workflow\u2019",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        1184,
        1696
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "4bbd57e8-e4d7-46bc-97eb-0c4177fd2759",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        128,
        80
      ],
      "parameters": {
        "width": 672,
        "height": 1168,
        "content": "## Generate AI Videos from Text Prompts with Google Veo\nThis n8n workflow uses the Google Gemini node to generate AI videos via the Veo model. It replaces complex manual API setups with a simple, plug-and-play experience.\n\n### Important Prerequisite\nTo use the Veo model, your Google Cloud project **must have billing enabled**. The feature is not available on the free tier and may incur charges.\n\n\n### Who Is This For?\n* **Marketers & Content Creators**\n  Quickly create B-roll, ad clips, or social content from text prompts.\n* **Filmmakers & Artists**\n  Prototype scenes and visualize ideas without filming.\n* **Anyone exploring AI video generation**\n  Use Google\u2019s Veo model without any manual API work.\n\n### What the Workflow Does\n* **Define Prompt**\n  Write a text prompt in the `1. Set Video Prompt` node.\n* **Trigger**\n  Manually run the workflow with one click.\n* **Generate**\n  The Gemini node sends the prompt to the Veo model and generates a video.\n* **Output**\n  Returns a binary video file ready to save or share.\n\n### Setup Instructions\n**1. Enable Google Cloud Billing**\nMake sure your Google Cloud project has billing activated.\n**2. Add Credentials**\nAdd your Google AI (Gemini) credentials in n8n.\n**3. Set the Prompt**\nOpen the `1. Set Video Prompt` node and write your video idea.\n**4. Activate Workflow**\nSave and activate the workflow.\n**5. Run It**\nClick \u201cExecute Workflow\u201d to generate a video.\n\n### Requirements\n* n8n (Cloud or Self-Hosted)\n* Google Cloud Project with billing enabled\n* Google AI (Gemini) credentials linked to that project\n\n### Customization Ideas\n* **Save Output**\n  Add a Google Drive, Dropbox, or S3 node to store the video.\n* **Post Automatically**\n  Connect social media nodes (YouTube Shorts, TikTok, etc.) to publish content.\n\n* **Generate in Bulk**\n  Replace the Set node with Google Sheets or Airtable to generate multiple videos from a list of prompts.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "cc3113c5-b1ee-40c9-97ae-c0761363f923",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1488,
        1616
      ],
      "parameters": {
        "width": 320,
        "height": 256,
        "content": "**ACTION: (MANDATORY)** Write a descriptive prompt for the video you want to create in the 'Value' field of this node. Be specific for the best results!\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "af9608a0-28f1-4e19-91db-1ac7847f6ad1",
      "name": "1. Set Video Prompt",
      "type": "n8n-nodes-base.set",
      "position": [
        1616,
        1696
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "a6682a52-9305-44b9-813e-37eb58a0e13a",
              "name": "prompt",
              "type": "string",
              "value": "a very cute cat"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "a526e679-7f2a-4625-8799-a8f843747c6b",
      "name": "2. Generate Video with Veo",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        2128,
        1696
      ],
      "parameters": {
        "prompt": "={{ $json.prompt }}",
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "models/veo-3.0-generate-preview",
          "cachedResultName": "models/veo-3.0-generate-preview"
        },
        "options": {},
        "resource": "video"
      },
      "credentials": {
        "googlePalmApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "2aa944aa-406a-4383-9009-e4ec307f9633",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2032,
        1552
      ],
      "parameters": {
        "width": 288,
        "height": 336,
        "content": "This node sends your text prompt to Google's Veo model to generate a video.\n**Note:** This step will fail if billing is not enabled on your Google Cloud project."
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "1. Set Video Prompt": {
      "main": [
        [
          {
            "node": "2. Generate Video with Veo",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking \u2018Execute workflow\u2019": {
      "main": [
        [
          {
            "node": "1. Set Video Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}