GPT-4, Dumpling AI, Google Drive를 사용하여 광고 이미지 변이 생성
중급
이것은Content Creation, Multimodal AI분야의자동화 워크플로우로, 14개의 노드를 포함합니다.주로 SplitOut, FormTrigger, GoogleDrive, HttpRequest, GoogleSheets 등의 노드를 사용하며. GPT-4、Dumpling AI와 Google Drive를 사용하여 광고 이미지 변이 생성
사전 요구사항
- •Google Drive API 인증 정보
- •대상 API의 인증 정보가 필요할 수 있음
- •Google Sheets API 인증 정보
- •OpenAI API Key
사용된 노드 (14)
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"id": "cU2fwVR3z955Vuqt",
"meta": {
"instanceId": "a1ae5c8dc6c65e674f9c3947d083abcc749ef2546dff9f4ff01de4d6a36ebfe6",
"templateCredsSetupCompleted": true
},
"name": "Generate Ad Image Variations Using GPT-4, Dumpling AI & Google Drive",
"tags": [],
"nodes": [
{
"id": "849a3377-d9bb-42d4-b602-61ca789bfb1f",
"name": "브랜드 정보 + 이미지 제출",
"type": "n8n-nodes-base.formTrigger",
"position": [
240,
55
],
"webhookId": "da177997-c71a-4127-816e-d0e3a442b94a",
"parameters": {
"options": {},
"formTitle": "Ad Image Generator",
"formFields": {
"values": [
{
"fieldLabel": "Brand Name",
"requiredField": true
},
{
"fieldLabel": "Brand Website",
"requiredField": true
},
{
"fieldType": "file",
"fieldLabel": "Ad Image",
"multipleFiles": false,
"requiredField": true
}
]
},
"formDescription": "Provide brand and product info, and an optional reference image to generate image variations with AI."
},
"typeVersion": 2.2
},
{
"id": "25dc9e03-7c7e-44eb-897c-bd8956e554d7",
"name": "광고 이미지를 Google Drive에 업로드",
"type": "n8n-nodes-base.googleDrive",
"position": [
460,
55
],
"parameters": {
"name": "={{ $json['Ad Image'].filename }} (Original)",
"driveId": {
"__rl": true,
"mode": "list",
"value": "My Drive",
"cachedResultUrl": "https://drive.google.com/drive/my-drive",
"cachedResultName": "My Drive"
},
"options": {},
"folderId": {
"__rl": true,
"mode": "list",
"value": "1R5bTxrKmi9NDMFJIh3aQgbNuZwmCybLV",
"cachedResultUrl": "https://drive.google.com/drive/folders/1R5bTxrKmi9NDMFJIh3aQgbNuZwmCybLV",
"cachedResultName": "n8n Testing"
},
"inputDataFieldName": "Ad_Image"
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "B0Hulh0j065xznhI",
"name": "nnekajennifer"
}
},
"typeVersion": 3
},
{
"id": "feb9a701-63d5-4c68-b4d2-56693dfd667a",
"name": "분석을 위한 광고 이미지 다운로드",
"type": "n8n-nodes-base.googleDrive",
"position": [
680,
55
],
"parameters": {
"fileId": {
"__rl": true,
"mode": "id",
"value": "={{ $(' Upload Ad Image to Google Drive').item.json.id }}"
},
"options": {},
"operation": "download"
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "B0Hulh0j065xznhI",
"name": "nnekajennifer"
}
},
"typeVersion": 3
},
{
"id": "c6000bdb-ce69-4302-b27e-aab73d128337",
"name": "이미지의 시각적 스타일 설명",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
900,
55
],
"parameters": {
"text": "Describe the visual style, subject matter, and composition of this image. Is it a lifestyle image, a product-only shot, or a combination? Include lighting style and camera angle if possible.",
"modelId": {
"__rl": true,
"mode": "list",
"value": "gpt-4o",
"cachedResultName": "GPT-4O"
},
"options": {},
"resource": "image",
"inputType": "base64",
"operation": "analyze"
},
"credentials": {
"openAiApi": {
"id": "dd8NvMC6rvx8RITo",
"name": "OpenAi account 2"
}
},
"typeVersion": 1.8
},
{
"id": "110842b9-d0d0-4c46-bc2d-94851bd6aa30",
"name": "브랜드 웹사이트 스타일 분석",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
1120,
55
],
"parameters": {
"modelId": {
"__rl": true,
"mode": "list",
"value": "gpt-4",
"cachedResultName": "GPT-4"
},
"options": {},
"messages": {
"values": [
{
"content": "=You are a visual brand strategist and art director for direct-to-consumer (DTC) e-commerce brands.\n\nPlease analyze the following brand website. Focus **only** on the brand’s **visual aesthetic**, including:\n\n- Color palette\n- Photography style and lighting\n- Imagery themes (e.g. lifestyle vs. product shots)\n- Mood or tone evoked by visuals\n- Any repeating design elements or layout patterns\n\nBe descriptive but concise. The output will be used to help design consistent and creative AI-generated images for ad creatives — so focus entirely on the visual look and feel.\n\n\nBrand Website: {{ $('Submit Brand Info + Image').item.json['Brand Website'] }}\nBrand Name: {{ $('Submit Brand Info + Image').item.json['Brand Name'] }}\n"
}
]
}
},
"credentials": {
"openAiApi": {
"id": "dd8NvMC6rvx8RITo",
"name": "OpenAi account 2"
}
},
"typeVersion": 1.8
},
{
"id": "41a97d61-1d3a-4ec3-9b76-c5fe4fb2b312",
"name": "LangChain Agent: 변형 프롬프트 생성",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1496,
55
],
"parameters": {
"text": "=Brand Name: {{ $('Submit Brand Info + Image').item.json['Brand Name'] }}\nWebsite: {{ $('Submit Brand Info + Image').item.json['Brand Website'] }}\nReference Ad Description: {{ $('Describe Visual Style of Image').item.json.content }}\nVisual Style Overview: {{ $json.message.content }}",
"options": {
"systemMessage": "=Brand Name: {{ $('Submit Brand Info + Image').item.json['Brand Name'] }}\nWebsite: {{ $('Submit Brand Info + Image').item.json['Brand Website'] }}\nReference Ad Description: {{ $('Describe Visual Style of Image').item.json.content }}\nVisual Style Overview: {{ $json.message.content }}\n\nYour task is to generate **10 tightly related visual variations** of a reference ad image — not new concepts. These prompts are for testing subtle creative changes on Facebook/Instagram ads (e.g., backdrop, mood, color, lighting) while preserving the original subject and composition.\n\n### Reference Materials:\n\n**Brand Info**: {{ $('Submit Brand Info + Image').item.json['Brand Name'] }}\n**Website**: {{ $('Submit Brand Info + Image').item.json['Brand Website'] }}\n**Visual Aesthetics Guideline**: {{ $json.message.content }}\n**Reference Image Description**: {{ $('Describe Visual Style of Image').item.json.content }}\n\nUse the Reference Image Description to ground your concepts in visual reality — the new prompts should **feel like believable variations** of this original ad image in terms of camera angle, lighting, and context, while introducing fresh concepts or creative twists.\n\n### For each of the 10 prompts:\n\n- **Preserve** the reference image's subject (product, camera angle, core framing)\n- **Only vary** the background, environment, mood, lighting, or color treatment\n- Examples of variation types:\n - Daylight vs sunset lighting\n - Poolside vs marble countertop\n - Lavender tones vs beach sand tones\n - Summer vibe vs spa-like calm\n- Use vivid, sensory language to describe each variation\n- Always include **aspect ratio** (1:1 or 4:5)\n- Never introduce logos, overlays, or major subject changes\n\nThe goal is to create **subtle, performance-testable image variations**, not entirely new compositions.\n\nPlease return **only** a JSON array of 10 objects, each with a single property `\"prompt\"` containing the image prompt. Example output structure:\n\n[\n {\n \"prompt\": \"Sun-drenched poolside shot of the product on a marble ledge at golden hour, with soft shadows and warm tones. Aspect ratio 1:1.\"\n },\n {\n \"prompt\": \"Cool lavender-tinted sunset beach backdrop behind the product, highlighting reflective metallic accents. Aspect ratio 4:5.\"\n },\n {\n \"prompt\": \"...\"\n }\n]"
},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 1.7
},
{
"id": "549abb3a-c944-47ce-a5eb-a5e35e8b7934",
"name": "프롬프트를 JSON 배열로 파싱",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1720,
260
],
"parameters": {
"jsonSchemaExample": "[\n {\n \"prompt\": \"Sun-drenched poolside shot of the product on a marble ledge at golden hour, with soft shadows and warm tones. Aspect ratio 1:1.\"\n },\n {\n \"prompt\": \"Cool lavender-tinted sunset beach backdrop behind the product, highlighting reflective metallic accents. Aspect ratio 4:5.\"\n },\n {\n \"prompt\": \"...\"\n }\n]"
},
"typeVersion": 1.2
},
{
"id": "833fd095-e1ea-4b70-989f-542b415f4294",
"name": "분할: 항목당 하나의 프롬프트",
"type": "n8n-nodes-base.splitOut",
"position": [
1872,
55
],
"parameters": {
"options": {},
"fieldToSplitOut": "output"
},
"typeVersion": 1
},
{
"id": "89875b01-68e0-4aec-a688-9965a8ca4a3d",
"name": "각 변형용 기본 이미지 다운로드",
"type": "n8n-nodes-base.googleDrive",
"position": [
2092,
55
],
"parameters": {
"fileId": {
"__rl": true,
"mode": "id",
"value": "={{ $(' Upload Ad Image to Google Drive').item.json.id }}"
},
"options": {},
"operation": "download"
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "B0Hulh0j065xznhI",
"name": "nnekajennifer"
}
},
"typeVersion": 3
},
{
"id": "6c0131d3-46c3-47af-b8d4-d293f5378760",
"name": "반복: 이미지 변형 처리",
"type": "n8n-nodes-base.splitInBatches",
"position": [
2312,
55
],
"parameters": {
"options": {}
},
"typeVersion": 3
},
{
"id": "046f2619-c1a3-4674-9ae6-33221bb6f095",
"name": "Dumpling AI: 이미지 변형 생성",
"type": "n8n-nodes-base.httpRequest",
"position": [
2532,
-20
],
"parameters": {
"url": "https://app.dumplingai.com/api/v1/generate-ai-image",
"method": "POST",
"options": {},
"jsonBody": "={\n \"model\": \"FLUX.1-pro\",\n \"input\": {\n \"prompt\": \"{{ $json.prompt }}\"\n }\n}\n",
"sendBody": true,
"specifyBody": "json",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth"
},
"credentials": {
"httpHeaderAuth": {
"id": "6X2b4RLVRbz8I4Z8",
"name": "Vapi"
}
},
"typeVersion": 4.2
},
{
"id": "815e004d-f1ed-485f-be24-c4bf565a61f1",
"name": "이미지 변형 URL을 Google Sheets에 기록",
"type": "n8n-nodes-base.googleSheets",
"position": [
2752,
55
],
"parameters": {
"columns": {
"value": {
"Image URL": "={{ $json.url }}"
},
"schema": [
{
"id": "Image URL",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Image URL",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"Image URL"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "append",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/12bBSaMdX-jE7QtIlEX4CBUEGScmJx3xK7bwFtHWan64/edit#gid=0",
"cachedResultName": "Sheet1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/12bBSaMdX-jE7QtIlEX4CBUEGScmJx3xK7bwFtHWan64/edit?usp=drivesdk",
"cachedResultName": "Edited image "
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "GaJqJHuS5mQxap7q",
"name": "Google Sheets account"
}
},
"typeVersion": 4.6
},
{
"id": "165b9120-6c0b-446e-afd6-c4f233d167df",
"name": "GPT-4o (LangChain Agent에 연결됨)",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
1524,
275
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4o-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "dd8NvMC6rvx8RITo",
"name": "OpenAi account 2"
}
},
"typeVersion": 1.2
},
{
"id": "b52a1b6b-d5c5-43ad-a2c4-b318aa715f7d",
"name": "스티커 노트",
"type": "n8n-nodes-base.stickyNote",
"position": [
300,
-480
],
"parameters": {
"width": 780,
"height": 740,
"content": "### 🖼️ Ad Image Variation Generator (Using GPT-4 + Dumpling AI)\n\nThis workflow creates 10 subtle creative variations of a reference ad image \nto test performance across visual styles, lighting, background, and tone — \nwhile preserving the product's framing and subject.\n\n---\n\n### 🔧 How It Works\n\n1. User submits brand name, website, and reference ad image via a form.\n2. The image is uploaded to Google Drive.\n3. GPT-4o analyzes the image’s visual style (composition, subject, lighting).\n4. GPT-4 analyzes the brand website to understand overall visual identity.\n5. A LangChain AI Agent uses both to generate 10 variation prompts.\n6. Each prompt is passed to Dumpling AI to generate a new ad image.\n7. All image URLs are logged in Google Sheets.\n\n"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "3bc41ee0-40f8-4a07-b76d-e8fe2ff5a0c8",
"connections": {
"849a3377-d9bb-42d4-b602-61ca789bfb1f": {
"main": [
[
{
"node": "25dc9e03-7c7e-44eb-897c-bd8956e554d7",
"type": "main",
"index": 0
}
]
]
},
"833fd095-e1ea-4b70-989f-542b415f4294": {
"main": [
[
{
"node": "89875b01-68e0-4aec-a688-9965a8ca4a3d",
"type": "main",
"index": 0
}
]
]
},
"110842b9-d0d0-4c46-bc2d-94851bd6aa30": {
"main": [
[
{
"node": "41a97d61-1d3a-4ec3-9b76-c5fe4fb2b312",
"type": "main",
"index": 0
}
]
]
},
"549abb3a-c944-47ce-a5eb-a5e35e8b7934": {
"ai_outputParser": [
[
{
"node": "41a97d61-1d3a-4ec3-9b76-c5fe4fb2b312",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"c6000bdb-ce69-4302-b27e-aab73d128337": {
"main": [
[
{
"node": "110842b9-d0d0-4c46-bc2d-94851bd6aa30",
"type": "main",
"index": 0
}
]
]
},
"feb9a701-63d5-4c68-b4d2-56693dfd667a": {
"main": [
[
{
"node": "c6000bdb-ce69-4302-b27e-aab73d128337",
"type": "main",
"index": 0
}
]
]
},
"6c0131d3-46c3-47af-b8d4-d293f5378760": {
"main": [
[],
[
{
"node": "046f2619-c1a3-4674-9ae6-33221bb6f095",
"type": "main",
"index": 0
}
]
]
},
"25dc9e03-7c7e-44eb-897c-bd8956e554d7": {
"main": [
[
{
"node": "feb9a701-63d5-4c68-b4d2-56693dfd667a",
"type": "main",
"index": 0
}
]
]
},
"046f2619-c1a3-4674-9ae6-33221bb6f095": {
"main": [
[
{
"node": "815e004d-f1ed-485f-be24-c4bf565a61f1",
"type": "main",
"index": 0
}
]
]
},
"165b9120-6c0b-446e-afd6-c4f233d167df": {
"ai_languageModel": [
[
{
"node": "41a97d61-1d3a-4ec3-9b76-c5fe4fb2b312",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"89875b01-68e0-4aec-a688-9965a8ca4a3d": {
"main": [
[
{
"node": "6c0131d3-46c3-47af-b8d4-d293f5378760",
"type": "main",
"index": 0
}
]
]
},
"815e004d-f1ed-485f-be24-c4bf565a61f1": {
"main": [
[
{
"node": "6c0131d3-46c3-47af-b8d4-d293f5378760",
"type": "main",
"index": 0
}
]
]
},
"41a97d61-1d3a-4ec3-9b76-c5fe4fb2b312": {
"main": [
[
{
"node": "833fd095-e1ea-4b70-989f-542b415f4294",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급 - 콘텐츠 제작, 멀티모달 AI
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
💥 NanoBanana, Seedream 4, ChatGPT Image 및 Veo 3를 사용한 동영상 광고 자동화 - VIDE
AI(NanoBanana, Seedream, GPT-4o, Veo 3)를 사용하여 비디오 광고 캠페인 자동화 및 게시
Set
Code
Wait
+
Set
Code
Wait
63 노드Dr. Firas
콘텐츠 제작
WordPress 블로그 자동화 프로페셔널 에디션(심층 연구) v2.1 마켓
GPT-4o, Perplexity AI 및 다국어 지원을 사용한 SEO 최적화 블로그 생성 자동화
If
Set
Xml
+
If
Set
Xml
125 노드Daniel Ng
콘텐츠 제작
OpenAI, ElevenLabs 및 Fal.ai를 사용한 비디오, 팟캐스트 및 ASMR용 바이럴 콘텐츠 제작 자동화
OpenAI, ElevenLabs 및 Fal.ai를 사용한 비디오, 팟캐스트 및 ASMR용 바이럴 콘텐츠 제작 자동화
Set
Code
Wait
+
Set
Code
Wait
97 노드Adam Crafts
콘텐츠 제작
Dumpling AI를 사용하여 양식에서 자동으로 영화 수준의 동물 비디오 및 소리 생성
GPT-4, Dumpling AI 및 ElevenLabs 오디오를 사용하여 양식 입력을 영화 수준 비디오로 변환
Set
Code
Wait
+
Set
Code
Wait
23 노드Yang
콘텐츠 제작
OpenAI, RunwayML, ElevenLabs를 사용한 무면식 숏폼 비디오 자동화
OpenAI, RunwayML, ElevenLabs를 사용한 무면쇼트 비디오 자동화: 스크립트부터 소셜 미디어까지
Set
Code
Wait
+
Set
Code
Wait
56 노드LeeWei
콘텐츠 제작
WordPress, OpenAI 및 Perplexity를 사용한 자동화 SEO 블로그 게시
WordPress, OpenAI 및 Perplexity를 사용한 자동화된 SEO 블로그 게시
Set
Limit
Split Out
+
Set
Limit
Split Out
43 노드LukaszB
콘텐츠 제작