{
  "name": "Create AI nature videos with Sora 2 (Kie AI), Gemini, and send to Telegram",
  "nodes": [
    {
      "id": "351eec25-40cc-4a01-acb7-e990556d3217",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1536,
        3872
      ]
    },
    {
      "id": "afeee234-5af4-4961-84d5-6b345c4f31d1",
      "name": "Generate Video Prompt",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -1360,
        3872
      ]
    },
    {
      "id": "518f5546-2fd2-44c4-aade-b525aa8ec246",
      "name": "Submit Video Generation",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1072,
        3872
      ]
    },
    {
      "id": "c761833c-8e83-401d-bf4e-df55804dd84a",
      "name": "Await Video Completion",
      "type": "n8n-nodes-base.wait",
      "position": [
        -864,
        3872
      ]
    },
    {
      "id": "ef4e79ae-0788-4b01-8250-e84c733c3989",
      "name": "Poll Video Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -656,
        3872
      ]
    },
    {
      "id": "a631c233-db2d-4087-8a65-033913926fa6",
      "name": "Download Generated Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -448,
        3872
      ]
    },
    {
      "id": "228d32da-5e35-4280-bdea-ce06be80153c",
      "name": "Gemini Prompt Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -1360,
        4080
      ]
    },
    {
      "id": "a8432ff0-1338-44f1-96a7-b1be9f8d34cc",
      "name": "Deliver Video to Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -240,
        3872
      ]
    },
    {
      "id": "0adb59bc-4951-4b7a-9c18-4302bc36a42f",
      "name": "Note: API Submission",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1136,
        4064
      ],
      "parameters": {
        "width": 364,
        "height": 192,
        "content": "## 🚀 Submit Video Generation\n\n**Purpose:** Posts the prompt to Kie AI API to start async video creation.\n\n**Note:** Sets portrait aspect and 10 frames; webhook resumes on completion."
      }
    },
    {
      "id": "600a2abf-4dbc-4a28-90fc-23954ddcd1ef",
      "name": "Note: Webhook Wait",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -928,
        3600
      ],
      "parameters": {
        "width": 348,
        "height": 192,
        "content": "## ⏳ Await Video Completion\n\n**Purpose:** Pauses execution until Kie AI webhook notifies task readiness.\n\n**Note:** Requires public n8n URL; fallback to polling if webhooks fail."
      }
    },
    {
      "id": "187692e1-b8d2-492a-9b21-f4281b217aaa",
      "name": "Note: Telegram Delivery",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -464,
        4064
      ],
      "parameters": {
        "width": 380,
        "height": 192,
        "content": "## 📥 Deliver Video to Telegram\n\n**Purpose:** Sends the downloaded video file to your specified chat.\n\n**Note:** Replace [Your Chat ID] with actual ID; supports groups or personal bots."
      }
    },
    {
      "id": "69fdcab9-d77a-4908-b7d0-8dd5fe6b9f8a",
      "name": "Overview Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2464,
        3296
      ],
      "parameters": {
        "width": 872,
        "height": 1352,
        "content": "# Automated 10s Sora 2 Video Bot for Telegram\n\n## 📋 What This Template Does\nThis workflow automates the creation and delivery of high-quality, 10-second nature-themed videos using AI generation tools."
      }
    },
    {
      "id": "554122f5-8cc0-4b68-87f7-15c86bc26faa",
      "name": "Note: Prompt Generation1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1376,
        3600
      ],
      "parameters": {
        "width": 332,
        "height": 192,
        "content": "## 🤖 Generate Video Prompt\n\n**Purpose:** Crafts detailed, timestamped prompts for 10s nature videos using Gemini.\n\n**Note:** Outputs only the formatted prompt; customize system text for themes like se"
      }
    }
  ],
  "connections": {
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Generate Video Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Poll Video Status": {
      "main": [
        [
          {
            "node": "Download Generated Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gemini Prompt Model": {
      "ai_languageModel": [
        [
          {
            "node": "Generate Video Prompt",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Generate Video Prompt": {
      "main": [
        [
          {
            "node": "Submit Video Generation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Await Video Completion": {
      "main": [
        [
          {
            "node": "Poll Video Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Submit Video Generation": {
      "main": [
        [
          {
            "node": "Await Video Completion",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Generated Video": {
      "main": [
        [
          {
            "node": "Deliver Video to Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}