Google Gemini AI를 사용한 비디오 분석 - 양식 업로드 및 YouTube 링크
중급
이것은Content Creation, Multimodal AI분야의자동화 워크플로우로, 15개의 노드를 포함합니다.주로 Set, Wait, FormTrigger, HttpRequest, ManualTrigger 등의 노드를 사용하며. Google Gemini AI를 사용하여 동영상 분석 - 양식 업로드 및 YouTube 링크
사전 요구사항
- •대상 API의 인증 정보가 필요할 수 있음
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"meta": {
"instanceId": "9f2d25c77f55013c8efee3de456573aadd7369e6f0aaea70d0311a32c92bead1"
},
"nodes": [
{
"id": "608b8d6d-3abc-4a53-aa81-5b6b13d9a874",
"name": "분석 결과 가져오기",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueErrorOutput",
"position": [
736,
304
],
"parameters": {
"url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent",
"method": "POST",
"options": {},
"jsonBody": "={\n \"contents\": [\n {\n \"role\": \"user\",\n \"parts\": [\n {\n \"fileData\": {\n \"fileUri\": \"{{ $json.file.uri }}\",\n \"mimeType\": \"{{ $json.file.mimeType }}\"\n }\n },\n {\n \"text\": \"Describe what's going on in the video in great detail. Describe the entire video.\"\n }\n ]\n }\n ]\n}\n",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"authentication": "genericCredentialType",
"genericAuthType": "httpQueryAuth",
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "cfeadae7-65d6-4b79-823e-8db5024fac25",
"name": "파일 업로드",
"type": "n8n-nodes-base.httpRequest",
"position": [
960,
64
],
"parameters": {
"url": "https://generativelanguage.googleapis.com/upload/v1beta/files",
"method": "POST",
"options": {},
"sendBody": true,
"contentType": "binaryData",
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpQueryAuth",
"headerParameters": {
"parameters": [
{
"name": "X-Goog-Upload-Command",
"value": "start, upload, finalize"
},
{
"name": "X-Goog-Upload-Header-Content-Length",
"value": "={{ $binary.Video.fileSize }}"
},
{
"name": "X-Goog-Upload-Header-Content-Type",
"value": "={{ $binary.Video.fileType }}/{{ $binary.Video.fileExtension }}"
},
{
"name": "Content-Type",
"value": "={{ $binary.Video.fileType }}/{{ $binary.Video.fileExtension }}"
}
]
},
"inputDataFieldName": "Video"
},
"typeVersion": 4.2
},
{
"id": "89df5f59-2806-42dd-aa6e-7d5e1d6a0f07",
"name": "5초",
"type": "n8n-nodes-base.wait",
"position": [
976,
304
],
"webhookId": "2ae152a3-3b31-497a-b285-8a19a7933c07",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "5150add7-edf5-49ca-92f9-385efcf8184b",
"name": "폼 제출 시",
"type": "n8n-nodes-base.formTrigger",
"position": [
720,
64
],
"webhookId": "d5b07e65-1bc8-4d57-9c91-e3f7531dbd08",
"parameters": {
"options": {},
"formTitle": "Insert Video",
"formFields": {
"values": [
{
"fieldType": "file",
"fieldLabel": "Video",
"multipleFiles": false,
"requiredField": true
}
]
},
"formDescription": "Drop in a video for analysis."
},
"typeVersion": 2.2
},
{
"id": "2e6a1e17-a406-485f-b5d6-2f1bbee090af",
"name": "메모",
"type": "n8n-nodes-base.stickyNote",
"position": [
672,
0
],
"parameters": {
"color": 7,
"width": 220,
"height": 220,
"content": "## Form Trigger\n"
},
"typeVersion": 1
},
{
"id": "b8fc011e-f9da-4729-a88e-b1dcd4745a0b",
"name": "메모1",
"type": "n8n-nodes-base.stickyNote",
"position": [
912,
0
],
"parameters": {
"color": 4,
"width": 220,
"height": 220,
"content": "## Upload File\n\n"
},
"typeVersion": 1
},
{
"id": "ccba1069-f0fd-48e5-ab15-467142b72d02",
"name": "메모2",
"type": "n8n-nodes-base.stickyNote",
"position": [
688,
240
],
"parameters": {
"color": 5,
"width": 220,
"height": 220,
"content": "## Get Analysis\n\n"
},
"typeVersion": 1
},
{
"id": "526c98ac-9783-4abd-aa31-ee9a14fe32a4",
"name": "대기",
"type": "n8n-nodes-base.wait",
"position": [
1200,
64
],
"webhookId": "bf2e644e-b6de-463f-938b-71c42da94efe",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "4996040a-b998-4eef-8a5a-3c4c316ed546",
"name": "영상 분석",
"type": "n8n-nodes-base.set",
"position": [
1200,
304
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "268682ab-62a0-4e6f-aea0-652b30325f70",
"name": "Video Analysis",
"type": "string",
"value": "={{ $json.candidates[0].content.parts[0].text }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "8d6f60d5-6063-41e3-b0b8-b5cc0076b313",
"name": "메모5",
"type": "n8n-nodes-base.stickyNote",
"position": [
1136,
240
],
"parameters": {
"color": 5,
"width": 220,
"height": 220,
"content": "## Result\n\n\n"
},
"typeVersion": 1
},
{
"id": "15f412e3-5958-4d8d-abab-7c7da62382fd",
"name": "'Test workflow' 클릭 시",
"type": "n8n-nodes-base.manualTrigger",
"disabled": true,
"position": [
736,
608
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0cb0b756-1657-4c32-b9e0-63580319fe0a",
"name": "YouTube Video",
"type": "n8n-nodes-base.httpRequest",
"position": [
960,
608
],
"parameters": {
"url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent",
"method": "POST",
"options": {},
"jsonBody": "{\n \"contents\": [\n {\n \"parts\": [\n {\n \"text\": \"Please summarize the video in 3 sentences.\"\n },\n {\n \"file_data\": {\n \"file_uri\": \"https://youtu.be/gwCQF--cARA?si=uCbaUnoRlEjHO50a\"\n }\n }\n ]\n }\n ]\n}",
"sendBody": true,
"specifyBody": "json",
"authentication": "genericCredentialType",
"genericAuthType": "httpQueryAuth"
},
"typeVersion": 4.2
},
{
"id": "ffa376e6-4c1b-400e-8ead-98e7e5a6f8d2",
"name": "결과 가져오기",
"type": "n8n-nodes-base.set",
"position": [
1168,
608
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "2103b25e-fbee-4d71-9224-280f1c2383da",
"name": "text",
"type": "string",
"value": "={{ $json.candidates[0].content.parts[0].text }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "b838e099-4651-4561-92e1-36b856a50f06",
"name": "메모7",
"type": "n8n-nodes-base.stickyNote",
"position": [
672,
528
],
"parameters": {
"color": 2,
"width": 688,
"height": 260,
"content": "# YouTube Vision\n"
},
"typeVersion": 1
},
{
"id": "7ae7e8a0-69ee-48a1-81a4-ef53af8805cb",
"name": "메모8",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
0
],
"parameters": {
"width": 640,
"height": 800,
"content": "# 🛠️ Setup Guide \n*Author: [Lee Wei]*\n\n### ✅ Step 1: Get Your Free API Key \nGo to [**Google**](https://ai.google.dev/) and sign up to get your **free API key**.\n\nCreate your query authorization credential using that API key in the **HTTP Request** nodes that require a Google credential.\n\n\n### 🎬 Step 2: Drop in a Video \nYou’re basically all set! Now you can:\n- Upload a video using the **Form Trigger**, **OR**\n- Drop in a **YouTube URL** to have it analyzed.\n---\n\nThat’s it — your video analysis agent is ready to go.\n"
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"526c98ac-9783-4abd-aa31-ee9a14fe32a4": {
"main": [
[
{
"node": "608b8d6d-3abc-4a53-aa81-5b6b13d9a874",
"type": "main",
"index": 0
}
]
]
},
"89df5f59-2806-42dd-aa6e-7d5e1d6a0f07": {
"main": [
[
{
"node": "608b8d6d-3abc-4a53-aa81-5b6b13d9a874",
"type": "main",
"index": 0
}
]
]
},
"608b8d6d-3abc-4a53-aa81-5b6b13d9a874": {
"main": [
[
{
"node": "4996040a-b998-4eef-8a5a-3c4c316ed546",
"type": "main",
"index": 0
}
],
[
{
"node": "89df5f59-2806-42dd-aa6e-7d5e1d6a0f07",
"type": "main",
"index": 0
}
]
]
},
"cfeadae7-65d6-4b79-823e-8db5024fac25": {
"main": [
[
{
"node": "526c98ac-9783-4abd-aa31-ee9a14fe32a4",
"type": "main",
"index": 0
}
]
]
},
"0cb0b756-1657-4c32-b9e0-63580319fe0a": {
"main": [
[
{
"node": "ffa376e6-4c1b-400e-8ead-98e7e5a6f8d2",
"type": "main",
"index": 0
}
]
]
},
"5150add7-edf5-49ca-92f9-385efcf8184b": {
"main": [
[
{
"node": "cfeadae7-65d6-4b79-823e-8db5024fac25",
"type": "main",
"index": 0
}
]
]
},
"15f412e3-5958-4d8d-abab-7c7da62382fd": {
"main": [
[
{
"node": "0cb0b756-1657-4c32-b9e0-63580319fe0a",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급 - 콘텐츠 제작, 멀티모달 AI
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
OpenAI, RunwayML, ElevenLabs를 사용한 무면식 숏폼 비디오 자동화
OpenAI, RunwayML, ElevenLabs를 사용한 무면쇼트 비디오 자동화: 스크립트부터 소셜 미디어까지
Set
Code
Wait
+
Set
Code
Wait
56 노드LeeWei
콘텐츠 제작
AI, Hedra와 ElevenLabs를 사용하여 바이러스성 베이비 스타 팟캐스트 생성
AI, Hedra, ElevenLabs를 사용하여 바이러스성婴儿名人播客 생성
Code
Wait
Merge
+
Code
Wait
Merge
35 노드LeeWei
콘텐츠 제작
OpenAI, ElevenLabs 및 Fal.ai를 사용한 비디오, 팟캐스트 및 ASMR용 바이럴 콘텐츠 제작 자동화
OpenAI, ElevenLabs 및 Fal.ai를 사용한 비디오, 팟캐스트 및 ASMR용 바이럴 콘텐츠 제작 자동화
Set
Code
Wait
+
Set
Code
Wait
97 노드Adam Crafts
콘텐츠 제작
AI 기반 제품 비디오 생성기 (Foreplay + Gemini + Sora 2)
Foreplay, Gemini 및 Sora 2를 기반으로 한 AI 기반 제품 비디오 생성기
Set
Wait
Switch
+
Set
Wait
Switch
18 노드Fahmi Fahreza
콘텐츠 제작
템플릿 HP - 콘텐츠 스케줄링
GPT-4, Apify 및 Google Sheets를 사용하여 Instagram 콘텐츠 일정 자동 생성
Set
Code
Wait
+
Set
Code
Wait
24 노드keisha kalra
콘텐츠 제작
WooCommerce Nano Banana용 AI 가상 피팅
Fal.ai Nano Banana를 사용하여 WooCommerce용 가상 AI 피팅 이미지 자동 생성
If
Set
Wait
+
If
Set
Wait
20 노드Davide
콘텐츠 제작