8
n8n 한국어amn8n.com

Dumpling AI와 HeyGen을 사용하여 최신 AI 뉴스에서 가상 인물 비디오를 생성

중급

이것은Content Creation, Multimodal AI분야의자동화 워크플로우로, 15개의 노드를 포함합니다.주로 If, Wait, Limit, SplitOut, Aggregate 등의 노드를 사용하며. Dumpling AI, GPT-4o, 및 HeyGen을 사용하여 AI 뉴스 virtually image 비디오를 생성

사전 요구사항
  • 대상 API의 인증 정보가 필요할 수 있음
  • Google Sheets API 인증 정보
  • OpenAI API Key
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "id": "I0Tzx8whIWYdQJVn",
  "meta": {
    "instanceId": "a1ae5c8dc6c65e674f9c3947d083abcc749ef2546dff9f4ff01de4d6a36ebfe6",
    "templateCredsSetupCompleted": true
  },
  "name": "Generate Avatar Videos from Latest AI News using Dumpling AI and HeyGen",
  "tags": [],
  "nodes": [
    {
      "id": "8a457904-7d80-4bf8-a433-d25dbce33c45",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -840,
        -95
      ],
      "parameters": {
        "rule": {
          "interval": [
            {}
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "90cf1daa-9652-4717-84af-f96a1a3d7dc6",
      "name": "Dumpling AI: AI 뉴스 검색",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -620,
        -95
      ],
      "parameters": {
        "url": "https://app.dumplingai.com/api/v1/search-news",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n  \"query\": \"AI Agent\",\n  \"language\": \"en\",\n  \"dateRange\": \"pastHour\",\n  \"page\": \"1\"\n}\n",
        "sendBody": true,
        "specifyBody": "json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth"
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "RLFzAcGRepr5eXZB",
          "name": "Dumpling AI-n8n"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "321da41d-6a13-4a00-95c1-915fa6d8f5e6",
      "name": "Split: 개별 뉴스 항목 분리",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -400,
        -95
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "news"
      },
      "typeVersion": 1
    },
    {
      "id": "d7e5fcf2-7a24-4277-9459-9e828d3a98ef",
      "name": "Limit: 상위 4개 뉴스 결과",
      "type": "n8n-nodes-base.limit",
      "position": [
        -180,
        -95
      ],
      "parameters": {
        "maxItems": 4
      },
      "typeVersion": 1
    },
    {
      "id": "c1847dce-9564-44ae-b9a9-1ac48e42d2c8",
      "name": "Dumpling AI: 기사 내용 스크래핑",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        40,
        -95
      ],
      "parameters": {
        "url": "https://app.dumplingai.com/api/v1/scrape",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n  \"url\": \"{{ $json.link }}\",\n  \"cleaned\": \"true\"\n}\n",
        "sendBody": true,
        "specifyBody": "json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth"
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "RLFzAcGRepr5eXZB",
          "name": "Dumpling AI-n8n"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "f6e8c80e-72b7-47ba-a3b6-0d43a0ee1615",
      "name": "Combine: 스크래핑된 뉴스 내용 병합",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        260,
        -95
      ],
      "parameters": {
        "options": {},
        "fieldsToAggregate": {
          "fieldToAggregate": [
            {
              "fieldToAggregate": "content"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "7c203f11-51ca-4aaa-a3c5-a571af36accd",
      "name": "GPT-4o Agent: 비디오 스크립트 작성",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        480,
        -95
      ],
      "parameters": {
        "text": "=Here is the topic:{{ $json.content }}\n\n\nHere is the news article:{{ $('Dumpling AI: Search AI News').item.json.searchParameters.q }}\n",
        "options": {
          "systemMessage": "=You are a creative content writer. I will give you a news article and the intended topic or angle I want to focus on. Your job is to turn that into a short, engaging script suitable for a 30 to 60-second video. Write in a natural, conversational tone that sounds like someone talking to a general audience. Keep it simple, clear, and focused on the most interesting or important angle based on the topic I provide. Avoid technical jargon. The goal is to grab attention and make the message easy to understand and relatable. Very important: Output the final script as a single line only — no new lines, no paragraph breaks, no titles or formatting. Just plain text in one continuous sentence."
        },
        "promptType": "define"
      },
      "typeVersion": 1.9
    },
    {
      "id": "b5bc7652-ba15-4d8d-a3ab-08e65f7ea54f",
      "name": "GPT-4o Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        568,
        125
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "dd8NvMC6rvx8RITo",
          "name": "OpenAi account 2"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "c60ba871-f5a9-4ec2-b3d9-5aa4583c8f43",
      "name": "HeyGen: 아바타 비디오 생성",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        856,
        -95
      ],
      "parameters": {
        "url": "https://api.heygen.com/v2/video/generate",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n  \"video_inputs\": [\n    {\n      \"character\": {\n        \"type\": \"avatar\",\n        \"avatar_id\": \"\",\n        \"avatar_style\": \"normal\"\n      },\n      \"voice\": {\n        \"type\": \"text\",\n        \"input_text\": \"{{ $json.output }}\",\n        \"voice_id\": \"\",\n        \"speed\": 1.1\n      }\n    }\n  ],\n  \"dimension\": {\n    \"width\": 1280,\n    \"height\": 720\n  }\n}",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "headerParameters": {
          "parameters": [
            {
              "name": "accept",
              "value": "application/json"
            }
          ]
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "h1B8sEXHl3ik4IwS",
          "name": "heygen 2"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "97b7db8d-2233-4bb5-b615-a93885ddfcfa",
      "name": "Wait: HeyGen 처리 대기",
      "type": "n8n-nodes-base.wait",
      "position": [
        1076,
        -95
      ],
      "webhookId": "f78db6d8-9a63-4961-8abb-ac44b4c230d1",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "33b34d1e-4674-44fe-937e-ad907a6ff6ca",
      "name": "HeyGen: 비디오 상태 확인",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1296,
        -95
      ],
      "parameters": {
        "url": "https://api.heygen.com/v1/video_status.get",
        "options": {},
        "sendQuery": true,
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "queryParameters": {
          "parameters": [
            {
              "name": "video_id",
              "value": "={{ $json.data.video_id }}"
            }
          ]
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "h1B8sEXHl3ik4IwS",
          "name": "heygen 2"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "27a6d57c-f518-43fd-93f0-2a237ccf0a99",
      "name": "IF: 비디오 완료 여부?",
      "type": "n8n-nodes-base.if",
      "position": [
        1516,
        -170
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "fbed8c0e-f2ad-4519-9eb9-1423731654ea",
              "operator": {
                "name": "filter.operator.equals",
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $json.data.status }}",
              "rightValue": "completed"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "99219ffb-7d15-4393-877a-a9cb592c025b",
      "name": "Wait: 미완료 시 재시도",
      "type": "n8n-nodes-base.wait",
      "position": [
        1736,
        5
      ],
      "webhookId": "82e9f0a0-05e2-4eae-9b8c-d08e554a9704",
      "parameters": {
        "amount": 20
      },
      "typeVersion": 1.1
    },
    {
      "id": "6761efd6-79c8-4a79-970e-a30d26a18336",
      "name": "Google Sheets: 비디오 URL 기록",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1736,
        -220
      ],
      "parameters": {
        "columns": {
          "value": {
            "Video link": "={{ $json.data.video_url }}"
          },
          "schema": [
            {
              "id": "Video link",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "Video link",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [
            "Video link"
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "append",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1AUADRf5MafbEazIZKuEBuDb7ETBEpCI0WSEnxFDJqn4/edit#gid=0",
          "cachedResultName": "Sheet1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1AUADRf5MafbEazIZKuEBuDb7ETBEpCI0WSEnxFDJqn4/edit?usp=drivesdk",
          "cachedResultName": "Videos"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "GaJqJHuS5mQxap7q",
          "name": "Google Sheets account"
        }
      },
      "typeVersion": 4.6
    },
    {
      "id": "294f5c10-e0fa-42c2-8a7a-f823ae4ed477",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -840,
        -700
      ],
      "parameters": {
        "width": 800,
        "height": 660,
        "content": "### 🎥 Workflow Overview: Auto-Generate AI News Avatar Videos\n\nThis workflow runs every hour and creates an avatar-style video summarizing \nthe latest AI-related news.\n\n**Here’s what it does:**\n- Searches for recent AI Agent news using Dumpling AI\n- Scrapes the content from the top 4 articles\n- Merges article content into one body of text\n- Uses GPT-4o to generate a short, casual video script\n- Sends the script to HeyGen to create an avatar video\n- Waits for the video to finish rendering\n- Logs the video link in a Google Sheet\n\n🛠 Tools Used:\n- Dumpling AI (News search + scraping)\n- OpenAI GPT-4o (Script writing)\n- HeyGen (Video generation)\n- Google Sheets (Tracking links)\n\n📌 Credentials Required:\n- Dumpling AI API (via HTTP Header credentials)\n- HeyGen API key (via Bearer token credential)\n- Google Sheets + OpenAI account\n\nCustomize the topic (e.g., change \"AI Agent\" to something else), avatar, voice, \nor video style to suit your brand.\n"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "3339c6da-749b-481d-85d4-e90f923c83c9",
  "connections": {
    "b5bc7652-ba15-4d8d-a3ab-08e65f7ea54f": {
      "ai_languageModel": [
        [
          {
            "node": "7c203f11-51ca-4aaa-a3c5-a571af36accd",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "8a457904-7d80-4bf8-a433-d25dbce33c45": {
      "main": [
        [
          {
            "node": "90cf1daa-9652-4717-84af-f96a1a3d7dc6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "27a6d57c-f518-43fd-93f0-2a237ccf0a99": {
      "main": [
        [
          {
            "node": "6761efd6-79c8-4a79-970e-a30d26a18336",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "99219ffb-7d15-4393-877a-a9cb592c025b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d7e5fcf2-7a24-4277-9459-9e828d3a98ef": {
      "main": [
        [
          {
            "node": "c1847dce-9564-44ae-b9a9-1ac48e42d2c8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "33b34d1e-4674-44fe-937e-ad907a6ff6ca": {
      "main": [
        [
          {
            "node": "27a6d57c-f518-43fd-93f0-2a237ccf0a99",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "90cf1daa-9652-4717-84af-f96a1a3d7dc6": {
      "main": [
        [
          {
            "node": "321da41d-6a13-4a00-95c1-915fa6d8f5e6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "97b7db8d-2233-4bb5-b615-a93885ddfcfa": {
      "main": [
        [
          {
            "node": "33b34d1e-4674-44fe-937e-ad907a6ff6ca",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "99219ffb-7d15-4393-877a-a9cb592c025b": {
      "main": [
        [
          {
            "node": "33b34d1e-4674-44fe-937e-ad907a6ff6ca",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "321da41d-6a13-4a00-95c1-915fa6d8f5e6": {
      "main": [
        [
          {
            "node": "d7e5fcf2-7a24-4277-9459-9e828d3a98ef",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c60ba871-f5a9-4ec2-b3d9-5aa4583c8f43": {
      "main": [
        [
          {
            "node": "97b7db8d-2233-4bb5-b615-a93885ddfcfa",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7c203f11-51ca-4aaa-a3c5-a571af36accd": {
      "main": [
        [
          {
            "node": "c60ba871-f5a9-4ec2-b3d9-5aa4583c8f43",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c1847dce-9564-44ae-b9a9-1ac48e42d2c8": {
      "main": [
        [
          {
            "node": "f6e8c80e-72b7-47ba-a3b6-0d43a0ee1615",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f6e8c80e-72b7-47ba-a3b6-0d43a0ee1615": {
      "main": [
        [
          {
            "node": "7c203f11-51ca-4aaa-a3c5-a571af36accd",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

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

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

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

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

유료인가요?

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

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

일정 경험을 가진 사용자를 위한 6-15개 노드의 중간 복잡도 워크플로우

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34