{
  "openruna_format": "flow-graph-v1",
  "title": "AI-Powered Short-Form Video Generator with OpenAI, Flux, Kling, and ElevenLabs and upload to all social networks",
  "slug": "ai-powered-short-form-video-generator-with-openai-flux-kling-and-elevenlabs-and-upload-to-all-social-networks",
  "source_filename": "1282_Wait_Code_Import_Webhook.json",
  "nodes": [
    {
      "id": "Get image",
      "name": "Get image",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Generate Image",
      "name": "Generate Image",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Image-to-Video",
      "name": "Image-to-Video",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Get Video",
      "name": "Get Video",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "List Elements",
      "name": "List Elements",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Wait 10min",
      "name": "Wait 10min",
      "integration": "wait",
      "kind": "logic"
    },
    {
      "id": "Wait 3min",
      "name": "Wait 3min",
      "integration": "wait",
      "kind": "logic"
    },
    {
      "id": "Wait 5min",
      "name": "Wait 5min",
      "integration": "wait",
      "kind": "logic"
    },
    {
      "id": "Generate voice",
      "name": "Generate voice",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "List Elements1",
      "name": "List Elements1",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Fail check",
      "name": "Fail check",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Wait to retry",
      "name": "Wait to retry",
      "integration": "wait",
      "kind": "logic"
    },
    {
      "id": "Generate Image Prompts",
      "name": "Generate Image Prompts",
      "integration": "@n8n/n8n-nodes-langchain.openAi",
      "kind": "action"
    },
    {
      "id": "Calculate Token Usage",
      "name": "Calculate Token Usage",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Check for failures",
      "name": "Check for failures",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Generate Video Captions",
      "name": "Generate Video Captions",
      "integration": "@n8n/n8n-nodes-langchain.openAi",
      "kind": "action"
    },
    {
      "id": "Match captions with videos",
      "name": "Match captions with videos",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "Generate Script",
      "name": "Generate Script",
      "integration": "@n8n/n8n-nodes-langchain.openAi",
      "kind": "action"
    },
    {
      "id": "Upload Voice Audio",
      "name": "Upload Voice Audio",
      "integration": "googleDrive",
      "kind": "action"
    },
    {
      "id": "Set Access Permissions",
      "name": "Set Access Permissions",
      "integration": "googleDrive",
      "kind": "action"
    },
    {
      "id": "Pair Videos with Audio",
      "name": "Pair Videos with Audio",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "Render Final Video",
      "name": "Render Final Video",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Notify me on Discord",
      "name": "Notify me on Discord",
      "integration": "discord",
      "kind": "action"
    },
    {
      "id": "Once Per Day",
      "name": "Once Per Day",
      "integration": "schedule",
      "kind": "trigger"
    },
    {
      "id": "Load Google Sheet",
      "name": "Load Google Sheet",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Create List",
      "name": "Create List",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Wait1",
      "name": "Wait1",
      "integration": "wait",
      "kind": "logic"
    },
    {
      "id": "Get Final Video",
      "name": "Get Final Video",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Upload Final Video",
      "name": "Upload Final Video",
      "integration": "googleDrive",
      "kind": "action"
    },
    {
      "id": "Get Raw File",
      "name": "Get Raw File",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Set Permissions",
      "name": "Set Permissions",
      "integration": "googleDrive",
      "kind": "action"
    },
    {
      "id": "Update Google Sheet",
      "name": "Update Google Sheet",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Set API Keys",
      "name": "Set API Keys",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Validate list formatting",
      "name": "Validate list formatting",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Get Audio from Video",
      "name": "Get Audio from Video",
      "integration": "@n8n/n8n-nodes-langchain.openAi",
      "kind": "action"
    },
    {
      "id": "Generate Description for Videos  in Tiktok and Instagram",
      "name": "Generate Description for Videos  in Tiktok and Instagram",
      "integration": "@n8n/n8n-nodes-langchain.openAi",
      "kind": "action"
    },
    {
      "id": "Upload Video and Description to Tiktok",
      "name": "Upload Video and Description to Tiktok",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Upload Video and Description to Instagram",
      "name": "Upload Video and Description to Instagram",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Upload Video and Description to Youtube",
      "name": "Upload Video and Description to Youtube",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Upload Video and Description to Facebook",
      "name": "Upload Video and Description to Facebook",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Upload Video and Description to Linkedin",
      "name": "Upload Video and Description to Linkedin",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Read Video from Google Drive",
      "name": "Read Video from Google Drive",
      "integration": "readBinaryFile",
      "kind": "action"
    },
    {
      "id": "Write video",
      "name": "Write video",
      "integration": "writeBinaryFile",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "Wait1",
      "to": "Get Final Video"
    },
    {
      "from": "Get Video",
      "to": "Fail check"
    },
    {
      "from": "Get image",
      "to": "Check for failures"
    },
    {
      "from": "Wait 3min",
      "to": "Get image"
    },
    {
      "from": "Wait 5min",
      "to": "Generate Image"
    },
    {
      "from": "Fail check",
      "to": "Wait to retry"
    },
    {
      "from": "Fail check",
      "to": "Match captions with videos"
    },
    {
      "from": "Wait 10min",
      "to": "Get Video"
    },
    {
      "from": "Create List",
      "to": "Validate list formatting"
    },
    {
      "from": "Write video",
      "to": "Get Audio from Video"
    },
    {
      "from": "Get Raw File",
      "to": "Upload Final Video"
    },
    {
      "from": "Get Raw File",
      "to": "Write video"
    },
    {
      "from": "Once Per Day",
      "to": "Set API Keys"
    },
    {
      "from": "Set API Keys",
      "to": "Load Google Sheet"
    },
    {
      "from": "List Elements",
      "to": "Pair Videos with Audio"
    },
    {
      "from": "Wait to retry",
      "to": "Image-to-Video"
    },
    {
      "from": "Generate Image",
      "to": "Wait 3min"
    },
    {
      "from": "Generate voice",
      "to": "Upload Voice Audio"
    },
    {
      "from": "Image-to-Video",
      "to": "Wait 10min"
    },
    {
      "from": "List Elements1",
      "to": "Pair Videos with Audio"
    },
    {
      "from": "Generate Script",
      "to": "Generate voice"
    },
    {
      "from": "Get Final Video",
      "to": "Get Raw File"
    },
    {
      "from": "Set Permissions",
      "to": "Update Google Sheet"
    },
    {
      "from": "Load Google Sheet",
      "to": "Generate Video Captions"
    },
    {
      "from": "Check for failures",
      "to": "Wait 5min"
    },
    {
      "from": "Check for failures",
      "to": "Image-to-Video"
    },
    {
      "from": "Render Final Video",
      "to": "Wait1"
    },
    {
      "from": "Upload Final Video",
      "to": "Set Permissions"
    },
    {
      "from": "Upload Voice Audio",
      "to": "Set Access Permissions"
    },
    {
      "from": "Update Google Sheet",
      "to": "Notify me on Discord"
    },
    {
      "from": "Get Audio from Video",
      "to": "Generate Description for Videos  in Tiktok and Instagram"
    },
    {
      "from": "Calculate Token Usage",
      "to": "Generate Image"
    },
    {
      "from": "Generate Image Prompts",
      "to": "Calculate Token Usage"
    },
    {
      "from": "Pair Videos with Audio",
      "to": "Render Final Video"
    },
    {
      "from": "Set Access Permissions",
      "to": "List Elements1"
    },
    {
      "from": "Generate Video Captions",
      "to": "Create List"
    },
    {
      "from": "Validate list formatting",
      "to": "Generate Image Prompts"
    },
    {
      "from": "Validate list formatting",
      "to": "Match captions with videos"
    },
    {
      "from": "Validate list formatting",
      "to": "Generate Script"
    },
    {
      "from": "Validate list formatting",
      "to": "Generate Video Captions"
    },
    {
      "from": "Match captions with videos",
      "to": "List Elements"
    },
    {
      "from": "Read Video from Google Drive",
      "to": "Upload Video and Description to Tiktok"
    },
    {
      "from": "Read Video from Google Drive",
      "to": "Upload Video and Description to Instagram"
    },
    {
      "from": "Read Video from Google Drive",
      "to": "Upload Video and Description to Youtube"
    },
    {
      "from": "Read Video from Google Drive",
      "to": "Upload Video and Description to Facebook"
    },
    {
      "from": "Read Video from Google Drive",
      "to": "Upload Video and Description to Linkedin"
    },
    {
      "from": "Generate Description for Videos  in Tiktok and Instagram",
      "to": "Read Video from Google Drive"
    }
  ]
}