8
n8n 한국어amn8n.com

광고 비디오 생성기

고급

이것은Content Creation, Multimodal AI분야의자동화 워크플로우로, 20개의 노드를 포함합니다.주로 If, Set, Wait, Telegram, HttpRequest 등의 노드를 사용하며. Telegram과 Gemini를 통해 Kie.ai의 Veo3.1 API를 통해 원활한 통합 구현

사전 요구사항
  • Telegram Bot Token
  • 대상 API의 인증 정보가 필요할 수 있음
  • Google Gemini API Key
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "id": "MBRhvliMi5xlWUlx",
  "meta": {
    "instanceId": "7f9905f3b9fa1f8e9067942d39545bd5ebc4f8d5708704da67789fbda9e791d7",
    "templateCredsSetupCompleted": true
  },
  "name": "AD Video Generator",
  "tags": [],
  "nodes": [
    {
      "id": "f89797fa-685e-412e-b186-b117c353d15e",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        208,
        -416
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "googlePalmApi": {
          "id": "dcLzqJ0anvB782nu",
          "name": "Google Gemini(PaLM) Api account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "0fbdf6cb-a5a9-42fd-ada3-537d57e1c53b",
      "name": "메시지 수신",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -384,
        -544
      ],
      "webhookId": "81a497f1-32b6-4db0-aa84-850c32551e95",
      "parameters": {
        "updates": [
          "message"
        ],
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "30g8OVx09FW7rRSM",
          "name": "Telegram account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "684d32b1-f04f-42fb-a11c-5a67ca378ae3",
      "name": "이미지 및 캡션 추출",
      "type": "n8n-nodes-base.set",
      "position": [
        -160,
        -544
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "3911fb54-cca0-43bb-9482-c6da7641dc92",
              "name": "message.caption",
              "type": "string",
              "value": "={{ $json.message.caption }}"
            },
            {
              "id": "4edb62f8-7aa3-4a96-b0a2-2dfc702e0d45",
              "name": "message.photo[3].file_id",
              "type": "string",
              "value": "={{ $json.message.photo[2].file_id }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "bacc3d5a-7b28-46a9-bdd7-57b6089ad91b",
      "name": "Telegram 이미지 다운로드",
      "type": "n8n-nodes-base.telegram",
      "position": [
        64,
        -544
      ],
      "webhookId": "310b5f86-fa8f-46e9-8a3d-573fe949266e",
      "parameters": {
        "fileId": "={{ $json.message.photo[3].file_id }}",
        "resource": "file",
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "30g8OVx09FW7rRSM",
          "name": "Telegram account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "fb4a2389-db12-4cf3-9134-90e7d8a54165",
      "name": "스크립트 생성",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        224,
        -544
      ],
      "parameters": {
        "text": "=Follow System Message",
        "options": {
          "systemMessage": "=You are a professional UGC ad scriptwriter. \nGenerate a 30-second UGC-style video script for Instagram Reels or TikTok \nthat sounds authentic, friendly, and relatable. \nIt should describe the product in a natural human tone, like a real person \nsharing their experience.\n\nProduct details:\n{{ $('Extract Image & Caption').item.json.message.caption }}\n{{ $json.result.file_path }}\n\nIf possible, mention benefits, sensory details, and an emotional payoff. \nEnd with a short, clear call to action like \"link in bio\" or \"try it yourself\".\n"
        },
        "promptType": "define"
      },
      "typeVersion": 3
    },
    {
      "id": "2c512f38-67d3-4c3f-a8b6-6a5fe8f6ecfe",
      "name": "영상 생성 작업 생성",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        800,
        -544
      ],
      "parameters": {
        "url": "https://api.kie.ai/api/v1/veo/generate",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "sendHeaders": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "prompt",
              "value": "={{ $('Generate Script').item.json.output }}"
            },
            {
              "name": "imageUrls",
              "value": "={{ $json.data.downloadUrl }}"
            },
            {
              "name": "model",
              "value": "veo3_fast"
            },
            {
              "name": "aspectRatio",
              "value": "9:16"
            },
            {
              "name": "seeds",
              "value": "12345"
            },
            {
              "name": "enableFallback",
              "value": "false"
            },
            {
              "name": "enableTranslation",
              "value": "true"
            },
            {
              "name": "generationType",
              "value": "TEXT_2_VIDEO"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer <TOKEN>"
            }
          ]
        }
      },
      "typeVersion": 4.3
    },
    {
      "id": "745edc27-4b5e-4ce2-a629-636448cea7da",
      "name": "영상 준비 완료 여부 확인",
      "type": "n8n-nodes-base.if",
      "position": [
        1232,
        -688
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "48af49b6-272a-41d6-bc92-af8aaa2d4dd5",
              "operator": {
                "type": "number",
                "operation": "empty",
                "singleValue": true
              },
              "leftValue": "={{ $json.data.completeTime }}",
              "rightValue": ""
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "47a51398-cf01-4e8a-8489-60931fbc2fb9",
      "name": "30초 대기",
      "type": "n8n-nodes-base.wait",
      "position": [
        1440,
        -704
      ],
      "webhookId": "1958d2df-5d70-4c70-b4dc-a34bee3bc94e",
      "parameters": {
        "amount": 30
      },
      "typeVersion": 1.1
    },
    {
      "id": "cbb402a4-bf3c-4312-892d-c833972f44dc",
      "name": "HD 영상 URL 가져오기",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1488,
        -352
      ],
      "parameters": {
        "url": "https://api.kie.ai/api/v1/veo/get-1080p-video",
        "options": {},
        "sendQuery": true,
        "sendHeaders": true,
        "queryParameters": {
          "parameters": [
            {
              "name": " taskId",
              "value": "={{ $json.data.taskId }}"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer <TOKEN>"
            }
          ]
        }
      },
      "typeVersion": 4.3
    },
    {
      "id": "dc079bec-5a2e-4b0c-a009-73799d99d3fc",
      "name": "생성된 영상 다운로드",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1664,
        -352
      ],
      "parameters": {
        "url": "={{ $('Check Video Status').item.json.data.response.resultUrls[0] }}",
        "options": {}
      },
      "typeVersion": 4.3
    },
    {
      "id": "f27ca815-8a24-4d06-9d43-49444c8edc19",
      "name": "사용자에게 영상 전송",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1840,
        -352
      ],
      "webhookId": "1b38fa9e-79f5-4b18-98ce-92865e0c0c06",
      "parameters": {
        "chatId": "={{ $('Receive Message').item.json.message.chat.id }}",
        "operation": "sendVideo",
        "binaryData": true,
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "30g8OVx09FW7rRSM",
          "name": "Telegram account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "18a58bee-1516-49a2-8e42-eea638feca20",
      "name": "스티커 노트",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        192,
        -688
      ],
      "parameters": {
        "color": 3,
        "width": 272,
        "height": 416,
        "content": "## 📝 Generate Script \nThis node creates a highly engaging ad script for the product using AI, written in a natural, UGC-style tone."
      },
      "typeVersion": 1
    },
    {
      "id": "431166b0-9f45-4ee8-879e-b41b95b8830c",
      "name": "스티커 노트2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        512,
        -720
      ],
      "parameters": {
        "color": 4,
        "width": 192,
        "height": 368,
        "content": "## ☁️ Upload to Kie Storage\nUploads the downloaded Telegram image to Kie.ai storage via API for further video generation."
      },
      "typeVersion": 1
    },
    {
      "id": "e40711bb-7d2f-42c9-a24c-4777ba2c6d67",
      "name": "Kie Storage에 이미지 업로드",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        560,
        -544
      ],
      "parameters": {
        "url": "https://kieai.redpandaai.co/api/file-url-upload",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "sendHeaders": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "fileUrl",
              "value": "=https://api.telegram.org/file/bot7759143820:AAHyXBFghzJd5OksfEmOfPYxz6THes5-c6o/{{ $('Download Telegram Image').item.json.result.file_path }}"
            },
            {
              "name": "uploadPath",
              "value": "images/downloaded"
            },
            {
              "name": "fileName",
              "value": "my-downloaded-image.jpg"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer <TOKEN>"
            }
          ]
        }
      },
      "typeVersion": 4.3
    },
    {
      "id": "1f446bb2-0f14-4bd8-a372-cbb947487f9e",
      "name": "스티커 노트3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        752,
        -736
      ],
      "parameters": {
        "color": 7,
        "width": 192,
        "height": 384,
        "content": "## 🎥 Create Video Task\nSends the script and image URL to Kie.ai’s Veo3 API to start the UGC video generation process."
      },
      "typeVersion": 1
    },
    {
      "id": "0cb432ee-2e9d-4338-b262-44f6219cbe8e",
      "name": "스티커 노트4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        992,
        -848
      ],
      "parameters": {
        "color": 4,
        "width": 192,
        "height": 336,
        "content": "## 🛰️ Check Video Status\nChecks the current generation progress of the video on Kie.ai Veo3 using the task ID."
      },
      "typeVersion": 1
    },
    {
      "id": "57ca7b44-1e55-4f01-a43f-f9fd1adced3d",
      "name": "영상 상태 확인",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1040,
        -672
      ],
      "parameters": {
        "url": "https://api.kie.ai/api/v1/veo/record-info",
        "options": {},
        "sendQuery": true,
        "sendHeaders": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "taskId",
              "value": "={{ $json.data.taskId }}"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer <TOKEN>"
            }
          ]
        }
      },
      "typeVersion": 4.3
    },
    {
      "id": "c8417ecb-fa5a-4d9e-beb1-66b0a1f09ae0",
      "name": "스티커 노트5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1216,
        -816
      ],
      "parameters": {
        "color": 5,
        "width": 352,
        "height": 272,
        "content": "##  🔄 Video Status Loop\nChecks if the video generation is complete.\nIf not, waits 30 seconds before rechecking until it’s ready."
      },
      "typeVersion": 1
    },
    {
      "id": "12f57a10-da0f-436d-8999-2b602045ff76",
      "name": "스티커 노트6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1424,
        -496
      ],
      "parameters": {
        "color": 4,
        "width": 608,
        "height": 304,
        "content": "## 🎬 Retrieve & Send Video\n\nFetches the HD video URL from Kie.ai, downloads the generated video, and sends it back to the user on Telegram."
      },
      "typeVersion": 1
    },
    {
      "id": "8d4cfb49-5bf7-43a0-bae2-1c7398f015c7",
      "name": "스티커 노트1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -224,
        -736
      ],
      "parameters": {
        "height": 352,
        "content": "##  🖼️ Extract Image & Caption\nThis node extracts the product image file ID and its caption text from the Telegram message input for use in later workflow steps."
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "76908e76-902b-414a-870a-60c854d05106",
  "connections": {
    "fb4a2389-db12-4cf3-9134-90e7d8a54165": {
      "main": [
        [
          {
            "node": "e40711bb-7d2f-42c9-a24c-4777ba2c6d67",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "745edc27-4b5e-4ce2-a629-636448cea7da": {
      "main": [
        [
          {
            "node": "47a51398-cf01-4e8a-8489-60931fbc2fb9",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "cbb402a4-bf3c-4312-892d-c833972f44dc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0fbdf6cb-a5a9-42fd-ada3-537d57e1c53b": {
      "main": [
        [
          {
            "node": "684d32b1-f04f-42fb-a11c-5a67ca378ae3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "47a51398-cf01-4e8a-8489-60931fbc2fb9": {
      "main": [
        [
          {
            "node": "57ca7b44-1e55-4f01-a43f-f9fd1adced3d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "cbb402a4-bf3c-4312-892d-c833972f44dc": {
      "main": [
        [
          {
            "node": "dc079bec-5a2e-4b0c-a009-73799d99d3fc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "57ca7b44-1e55-4f01-a43f-f9fd1adced3d": {
      "main": [
        [
          {
            "node": "745edc27-4b5e-4ce2-a629-636448cea7da",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "bacc3d5a-7b28-46a9-bdd7-57b6089ad91b": {
      "main": [
        [
          {
            "node": "fb4a2389-db12-4cf3-9134-90e7d8a54165",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "684d32b1-f04f-42fb-a11c-5a67ca378ae3": {
      "main": [
        [
          {
            "node": "bacc3d5a-7b28-46a9-bdd7-57b6089ad91b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "dc079bec-5a2e-4b0c-a009-73799d99d3fc": {
      "main": [
        [
          {
            "node": "f27ca815-8a24-4d06-9d43-49444c8edc19",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f89797fa-685e-412e-b186-b117c353d15e": {
      "ai_languageModel": [
        [
          {
            "node": "fb4a2389-db12-4cf3-9134-90e7d8a54165",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "e40711bb-7d2f-42c9-a24c-4777ba2c6d67": {
      "main": [
        [
          {
            "node": "2c512f38-67d3-4c3f-a8b6-6a5fe8f6ecfe",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2c512f38-67d3-4c3f-a8b6-6a5fe8f6ecfe": {
      "main": [
        [
          {
            "node": "57ca7b44-1e55-4f01-a43f-f9fd1adced3d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

이 워크플로우를 어떻게 사용하나요?

위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.

이 워크플로우는 어떤 시나리오에 적합한가요?

고급 - 콘텐츠 제작, 멀티모달 AI

유료인가요?

이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.

워크플로우 정보
난이도
고급
노드 수20
카테고리2
노드 유형9
난이도 설명

고급 사용자를 위한 16+개 노드의 복잡한 워크플로우

저자
Parth Pansuriya

Parth Pansuriya

@parthpansuriya

I build smart and scalable automation workflows using n8n to simplify tasks, connect apps, and boost productivity. From WhatsApp bots to AI-powered systems, I create seamless automations tailored for business and creators.

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34