{
  "name": "Generate social videos with AI avatars using VEED, Claude, and OpenAI",
  "nodes": [
    {
      "id": "faf9466b-1b0c-443f-be17-627379ef2ac1",
      "name": "When clicking 'Execute workflow'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        2480,
        1168
      ]
    },
    {
      "id": "826715fd-5123-4c78-be23-e70a21d4536e",
      "name": "⚙️ Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        2704,
        1168
      ]
    },
    {
      "id": "43174c93-3ec4-4d80-94da-5029bc1fe205",
      "name": "📋 Generate Video Tasks",
      "type": "n8n-nodes-base.code",
      "position": [
        2944,
        1168
      ]
    },
    {
      "id": "1cfd2f7c-d245-4710-a599-4b264dec6c65",
      "name": "🔄 Loop Through Videos",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        3184,
        1168
      ]
    },
    {
      "id": "c98a35a7-2aff-49b7-9829-1a1152c38891",
      "name": "🧠 Build Claude Prompt",
      "type": "n8n-nodes-base.code",
      "position": [
        3408,
        1280
      ]
    },
    {
      "id": "2cda4f21-e3bc-4ed1-911d-2917fb0fca8e",
      "name": "🤖 Claude: Generate Content",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3648,
        1280
      ]
    },
    {
      "id": "cb6b083f-2fe9-47b3-bc19-4a03c50bc9fb",
      "name": "📋 Parse Claude Response",
      "type": "n8n-nodes-base.code",
      "position": [
        3888,
        1280
      ]
    },
    {
      "id": "7aa724fb-736f-46cf-ba4a-e4e40f98dc3e",
      "name": "🎨 Generate Avatar (OpenAI)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4128,
        1280
      ]
    },
    {
      "id": "399e2a91-be1a-4e90-93d1-9b5f059cc955",
      "name": "📸 Extract Image Data",
      "type": "n8n-nodes-base.code",
      "position": [
        4368,
        1280
      ]
    },
    {
      "id": "d74ba138-544f-497d-9681-ece8812280bb",
      "name": "☁️ Upload Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        4592,
        1280
      ]
    },
    {
      "id": "0ab57308-8206-402b-b778-e705ce7127dc",
      "name": "💾 Store Image URL",
      "type": "n8n-nodes-base.code",
      "position": [
        4816,
        1280
      ]
    },
    {
      "id": "fdb0a9e7-71a9-4906-a74a-0f7ec213ef1a",
      "name": "🔊 Generate Audio (TTS)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        5040,
        1280
      ]
    },
    {
      "id": "cb24f84a-6b96-4fc1-8e82-634d390ea2ba",
      "name": "🎵 Convert Audio",
      "type": "n8n-nodes-base.code",
      "position": [
        5264,
        1280
      ]
    },
    {
      "id": "46b78438-86cb-442c-8180-80b1d86876ca",
      "name": "☁️ Upload Audio",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        5488,
        1280
      ]
    },
    {
      "id": "ee599f88-8246-446e-95f0-6223c29f168b",
      "name": "📦 Prepare VEED Request",
      "type": "n8n-nodes-base.code",
      "position": [
        5712,
        1280
      ]
    },
    {
      "id": "74053fe2-b750-46d2-8b41-378917955e3f",
      "name": "🎬 Generate Video (VEED)",
      "type": "n8n-nodes-veed.veed",
      "position": [
        5952,
        1280
      ]
    },
    {
      "id": "792788e1-6080-4e15-8a15-dbdaa87ebc78",
      "name": "📁 Prepare Upload",
      "type": "n8n-nodes-base.code",
      "position": [
        6176,
        1280
      ]
    },
    {
      "id": "0d5813ff-dfd6-4745-b8d2-b3cf85a99356",
      "name": "⬇️ Download Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        6416,
        1280
      ]
    },
    {
      "id": "b68991c0-835b-4466-a1c2-a429437debf9",
      "name": "📤 Upload to Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        6640,
        1280
      ]
    },
    {
      "id": "6bd0a1e7-9d33-4ffe-b5a9-908f5b3ec381",
      "name": "✅ Prepare Final Data",
      "type": "n8n-nodes-base.code",
      "position": [
        6864,
        1280
      ]
    },
    {
      "id": "c8b3a865-4aa7-4ae8-9bdb-667a31a19f13",
      "name": "📝 Log to Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        7088,
        1280
      ]
    },
    {
      "id": "1a7d44bb-12a9-4815-ba54-d040642482c2",
      "name": "🔄 Continue Loop1",
      "type": "n8n-nodes-base.noOp",
      "position": [
        7312,
        1280
      ]
    },
    {
      "id": "5fef2c70-7dc3-417e-9fb7-2e3e1b4f15b1",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1904,
        896
      ],
      "parameters": {
        "width": 500,
        "height": 784,
        "content": "# Generate social videos with AI avatars using VEED and Claude\n\n## How it works\nThis workflow automates the creation of short-form social videos featuring AI-generated talking-head avatars.\n\n1. You co"
      }
    },
    {
      "id": "62b3a1d6-47a5-41e3-b0fa-46dcfbbf71c0",
      "name": "Sticky Note Configuration",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2416,
        1040
      ],
      "parameters": {
        "width": 450,
        "height": 462,
        "content": "### Configuration\nSet your topic, API keys, and video settings. Supports custom avatar descriptions and scripts."
      }
    },
    {
      "id": "865efaa2-ebff-48a8-9d2f-333e72efc637",
      "name": "Sticky Note AI Content",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2880,
        1040
      ],
      "parameters": {
        "width": 1172,
        "height": 464,
        "content": "### AI Content Generation\nClaude creates the script, image prompt, and social caption based on your topic and intention."
      }
    },
    {
      "id": "55973e05-0aa5-4309-a03d-6299d689ab67",
      "name": "Sticky Note Avatar Audio",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4064,
        1040
      ],
      "parameters": {
        "width": 1568,
        "height": 462,
        "content": "### Avatar & Audio\nOpenAI generates a photorealistic avatar image and converts the script to natural speech."
      }
    },
    {
      "id": "7349858c-b29c-40c9-b5cd-f271f76b74f9",
      "name": "Sticky Note Video Rendering",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        5648,
        1040
      ],
      "parameters": {
        "width": 462,
        "height": 462,
        "content": "### Video Rendering\nVEED creates the final lip-synced talking-head video from your avatar and audio."
      }
    },
    {
      "id": "d63164f9-675a-4488-b4b3-de50a03abe1a",
      "name": "Sticky Note Storage Logging",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        6128,
        1040
      ],
      "parameters": {
        "width": 1364,
        "height": 462,
        "content": "### Storage & Logging\nDownloads the video, uploads to Google Drive, and logs all metadata to Google Sheets."
      }
    }
  ],
  "connections": {
    "🎵 Convert Audio": {
      "main": [
        [
          {
            "node": "☁️ Upload Audio",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📝 Log to Sheets": {
      "main": [
        [
          {
            "node": "🔄 Continue Loop1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "☁️ Upload Audio": {
      "main": [
        [
          {
            "node": "📦 Prepare VEED Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "☁️ Upload Image": {
      "main": [
        [
          {
            "node": "💾 Store Image URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📁 Prepare Upload": {
      "main": [
        [
          {
            "node": "⬇️ Download Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🔄 Continue Loop1": {
      "main": [
        [
          {
            "node": "🔄 Loop Through Videos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "💾 Store Image URL": {
      "main": [
        [
          {
            "node": "🔊 Generate Audio (TTS)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📤 Upload to Drive": {
      "main": [
        [
          {
            "node": "✅ Prepare Final Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "⬇️ Download Video": {
      "main": [
        [
          {
            "node": "📤 Upload to Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "✅ Prepare Final Data": {
      "main": [
        [
          {
            "node": "📝 Log to Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📸 Extract Image Data": {
      "main": [
        [
          {
            "node": "☁️ Upload Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🔄 Loop Through Videos": {
      "main": [
        [],
        [
          {
            "node": "🧠 Build Claude Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🧠 Build Claude Prompt": {
      "main": [
        [
          {
            "node": "🤖 Claude: Generate Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📋 Generate Video Tasks": {
      "main": [
        [
          {
            "node": "🔄 Loop Through Videos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📦 Prepare VEED Request": {
      "main": [
        [
          {
            "node": "🎬 Generate Video (VEED)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🔊 Generate Audio (TTS)": {
      "main": [
        [
          {
            "node": "🎵 Convert Audio",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🎬 Generate Video (VEED)": {
      "main": [
        [
          {
            "node": "📁 Prepare Upload",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📋 Parse Claude Response": {
      "main": [
        [
          {
            "node": "🎨 Generate Avatar (OpenAI)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "⚙️ Workflow Configuration": {
      "main": [
        [
          {
            "node": "📋 Generate Video Tasks",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🎨 Generate Avatar (OpenAI)": {
      "main": [
        [
          {
            "node": "📸 Extract Image Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🤖 Claude: Generate Content": {
      "main": [
        [
          {
            "node": "📋 Parse Claude Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking 'Execute workflow'": {
      "main": [
        [
          {
            "node": "⚙️ Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}