{
  "name": "One-click YouTube shorts generator with Leonardo AI, GPT and ElevenLabs",
  "nodes": [
    {
      "id": "sticky-main-info",
      "name": "Main Info",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2000,
        -400
      ],
      "parameters": {
        "width": 389,
        "height": 464,
        "content": "## 🎬 AI YouTube Video Generator\n\n**One-Click Automation Workflow**\n\nThis workflow automatically creates complete YouTube videos from a simple text prompt using:\n\n• **OpenAI** - Content generation & im"
      }
    },
    {
      "id": "sticky-content-gen",
      "name": "Content Generation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1680,
        -450
      ],
      "parameters": {
        "width": 289,
        "height": 242,
        "content": "## 🧠 Content Generation\n\n**Step 1:** AI creates video concept\n\n• Generates structured script (Intro/Base/CTA)\n• Creates engaging title & description\n• Optimized for YouTube engagement\n• Uses latest Op"
      }
    },
    {
      "id": "sticky-audio",
      "name": "Audio Processing",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1220,
        -450
      ],
      "parameters": {
        "width": 289,
        "height": 242,
        "content": "## 🎙️ Audio Processing\n\n**Step 2:** Convert text to speech\n\n• ElevenLabs high-quality TTS\n• Returns audio + timing alignment\n• Segments into 4-second chunks\n• Optimized for video sync\n\n**Input:** Gene"
      }
    },
    {
      "id": "sticky-visual",
      "name": "Visual Generation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -100,
        -450
      ],
      "parameters": {
        "width": 349,
        "height": 242,
        "content": "## 🎨 Visual Generation\n\n**Step 3:** Create video segments\n\n• AI generates image prompts for each segment\n• Leonardo AI creates high-quality images\n• Converts images to animated videos\n• Each segment m"
      }
    },
    {
      "id": "sticky-assembly",
      "name": "Final Assembly",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2800,
        -450
      ],
      "parameters": {
        "width": 309,
        "height": 242,
        "content": "## 🎬 Final Assembly\n\n**Step 4:** Combine everything\n\n• Merges all video segments\n• Adds background audio track\n• Creates smooth transitions\n• Renders final MP4 video\n\n**Output:** Complete YouTube-read"
      }
    },
    {
      "id": "sticky-config",
      "name": "Configuration",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2000,
        120
      ],
      "parameters": {
        "width": 309,
        "height": 183,
        "content": "## ⚙️ Configuration Notes\n\n**Required Environment Variables:**\n• `CLOUDINARY_CLOUD_NAME`\n\n**API Credentials Needed:**\n• OpenAI API key\n• ElevenLabs API key  \n• Leonardo AI API key\n• Creatomate API key"
      }
    },
    {
      "id": "4212a15b-bfc4-4d0f-9b2c-40e7efab0240",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1640,
        -180
      ]
    },
    {
      "id": "4cc730d1-8da6-4c4a-b099-eed5fd54d41c",
      "name": "Ideator 🧠",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -1420,
        -180
      ]
    },
    {
      "id": "bb218c67-74bd-40db-9a44-26d37c506fc7",
      "name": "Script",
      "type": "n8n-nodes-base.set",
      "position": [
        -1200,
        -180
      ]
    },
    {
      "id": "1c60fb80-27af-4ceb-81bf-7b66fd8bb420",
      "name": "Script Generator",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -980,
        -180
      ]
    },
    {
      "id": "85005f99-2e9d-44c4-b52a-13848d2c4137",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -760,
        -180
      ]
    },
    {
      "id": "e0092152-adf3-4feb-9c3a-4a1b9af9aeaf",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -540,
        -180
      ]
    },
    {
      "id": "f77297d3-c351-48ff-acf8-fbde536a4dd9",
      "name": "image-prompter",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -320,
        -180
      ]
    },
    {
      "id": "f400da48-a2ec-45a9-beb0-61d1bdfe5dd2",
      "name": "request image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        40,
        -180
      ]
    },
    {
      "id": "b4901763-9973-4fc8-8f3a-f5530ceb23f0",
      "name": "Upload Cloudinary",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -780,
        220
      ]
    },
    {
      "id": "3c2434d7-b313-4c05-911e-87028dfcbd9a",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        2060,
        -180
      ]
    },
    {
      "id": "023a1abc-c85f-4e90-bef4-b790a7d29fa2",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        2300,
        0
      ]
    },
    {
      "id": "9a660895-f394-4758-9213-44db831ee8ad",
      "name": "Create editor JSON",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2700,
        -100
      ]
    },
    {
      "id": "667a6ffd-13ef-4673-8cbf-4374fa77dc93",
      "name": "SET JSON VARIABLE",
      "type": "n8n-nodes-base.set",
      "position": [
        2920,
        -100
      ]
    },
    {
      "id": "99b1cbb9-98f9-4a32-83d0-c4d756f81cf3",
      "name": "Editor",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3140,
        -100
      ]
    },
    {
      "id": "e69860af-ca44-4341-a4a9-65f536b2ff20",
      "name": "Rendering wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        3360,
        -100
      ]
    },
    {
      "id": "8d15aea0-7ca7-41b0-bb44-8b41ecff8eed",
      "name": "Get final video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3560,
        -100
      ]
    },
    {
      "id": "940f83fc-ddb0-4e95-a5f9-8cc7840aaf1b",
      "name": "request image1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        480,
        -180
      ]
    },
    {
      "id": "cafd1f35-2f0c-4c88-87fa-d6f38ada63d8",
      "name": "request image2",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        860,
        -180
      ]
    },
    {
      "id": "6ee4427e-b994-4062-9c65-3e6787dc9ec5",
      "name": "Request Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1320,
        -180
      ]
    },
    {
      "id": "a041856d-e21b-4002-9881-05b085791d33",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        1780,
        -180
      ]
    },
    {
      "id": "dc0d72a4-7ca0-4597-a912-daa03f683525",
      "name": "Wait3",
      "type": "n8n-nodes-base.wait",
      "position": [
        660,
        -180
      ]
    },
    {
      "id": "84a66ca3-e7a6-49d2-adae-4c215e01cf08",
      "name": "Wait1",
      "type": "n8n-nodes-base.wait",
      "position": [
        1540,
        -180
      ]
    },
    {
      "id": "a3c77e5a-40b4-460d-af50-37ced1bd78c1",
      "name": "Wait2",
      "type": "n8n-nodes-base.wait",
      "position": [
        260,
        -180
      ]
    },
    {
      "id": "a3fd3ed3-31ce-4898-9a38-acf528727882",
      "name": "Wait4",
      "type": "n8n-nodes-base.wait",
      "position": [
        1080,
        -180
      ]
    }
  ],
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "Create editor JSON",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait2": {
      "main": [
        [
          {
            "node": "request image1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait3": {
      "main": [
        [
          {
            "node": "request image2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait4": {
      "main": [
        [
          {
            "node": "Request Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Editor": {
      "main": [
        [
          {
            "node": "Rendering wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Script": {
      "main": [
        [
          {
            "node": "Script Generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "image-prompter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Ideator 🧠": {
      "main": [
        [
          {
            "node": "Script",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Request Video": {
      "main": [
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "request image": {
      "main": [
        [
          {
            "node": "Wait2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rendering wait": {
      "main": [
        [
          {
            "node": "Get final video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "image-prompter": {
      "main": [
        [
          {
            "node": "request image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "request image1": {
      "main": [
        [
          {
            "node": "Wait3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "request image2": {
      "main": [
        [
          {
            "node": "Wait4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Script Generator": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          },
          {
            "node": "Upload Cloudinary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SET JSON VARIABLE": {
      "main": [
        [
          {
            "node": "Editor",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Cloudinary": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Create editor JSON": {
      "main": [
        [
          {
            "node": "SET JSON VARIABLE",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Ideator 🧠",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}