8
n8n 한국어amn8n.com

Gemini와 Google Veo 3를 사용한 UGC 비디오 생성 및 Instagram 업로드

중급

이것은Content Creation, Multimodal AI분야의자동화 워크플로우로, 13개의 노드를 포함합니다.주로 Set, Merge, Postiz, GoogleDrive, HttpRequest 등의 노드를 사용하며. Gemini 및 Google Veo 3를 사용한 UGC 비디오 제작 및 Postiz를 통한 Instagram 업로드 자동화

사전 요구사항
  • Google Drive API 인증 정보
  • 대상 API의 인증 정보가 필요할 수 있음
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "id": "do1L9CqbuXctQa2p",
  "meta": {
    "instanceId": "a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462",
    "templateCredsSetupCompleted": true
  },
  "name": "Create UGC video with Gemini and Google Veo 3 & Upload to Instagram",
  "tags": [],
  "nodes": [
    {
      "id": "6fdbd728-25ac-4250-b3cd-4dac65626800",
      "name": "워크플로우 '실행' 클릭 시",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -384,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3f0de1b4-8049-4d75-9261-3089ac6badef",
      "name": "이미지 분석",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        64,
        0
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "models/gemini-2.5-pro",
          "cachedResultName": "models/gemini-2.5-pro"
        },
        "options": {},
        "resource": "image",
        "imageUrls": "={{ $json.image_url }}",
        "operation": "analyze"
      },
      "credentials": {
        "googlePalmApi": {
          "id": "0p34rXqIqy8WuoPg",
          "name": "Google Gemini(PaLM) Api account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "c48ffb11-8364-4cd1-b08b-99c5f1be4467",
      "name": "병합",
      "type": "n8n-nodes-base.merge",
      "position": [
        1520,
        0
      ],
      "parameters": {
        "mode": "combine",
        "options": {},
        "combineBy": "combineAll"
      },
      "typeVersion": 3.2
    },
    {
      "id": "c136c427-848c-46f0-b73b-baa3770e89fd",
      "name": "Postiz에 비디오 업로드",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1168,
        -64
      ],
      "parameters": {
        "url": "https://api.postiz.com/public/v1/upload",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "contentType": "multipart-form-data",
        "authentication": "genericCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "file",
              "parameterType": "formBinaryData",
              "inputDataFieldName": "data"
            }
          ]
        },
        "genericAuthType": "httpHeaderAuth"
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "GIEq2Y2xhJSgjqyG",
          "name": "Postiz"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "4aac7e3e-07b3-4ce1-9cd3-5cd7cb4a0ce7",
      "name": "Instagram",
      "type": "n8n-nodes-postiz.postiz",
      "position": [
        1776,
        0
      ],
      "parameters": {
        "date": "={{ $now.format('yyyy-LL-dd') }}T{{ $now.format('HH:ii:ss') }}",
        "type": "schedule",
        "posts": {
          "post": [
            {
              "value": {
                "contentItem": [
                  {
                    "image": {
                      "imageItem": [
                        {
                          "id": "={{ $json.id }}",
                          "path": "={{ $json.path }}"
                        }
                      ]
                    },
                    "content": "={{ $json.caption }}"
                  }
                ]
              },
              "settings": {
                "setting": [
                  {
                    "key": "post_type",
                    "stringValue": "post"
                  }
                ]
              },
              "integrationId": "XXXXXXX"
            }
          ]
        },
        "shortLink": true
      },
      "credentials": {
        "postizApi": {
          "id": "c8iQxqMcfCXPbUHc",
          "name": "Postiz account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "755a7866-a9dd-4656-81ce-2df79c3de207",
      "name": "이미지 설정",
      "type": "n8n-nodes-base.set",
      "position": [
        -160,
        0
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "7c1cd08f-845c-4e81-8a15-fe8ed4f1c8eb",
              "name": "image_url",
              "type": "string",
              "value": "https://n3wstorage.b-cdn.net/n3witalia/image_ugc.png"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "75b7b9cd-15cf-4b46-81e0-cad8c3c14ff4",
      "name": "UGC 비디오 생성",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        800,
        -176
      ],
      "parameters": {
        "prompt": "={{ $json.content.parts[0].text }}.\nProduct Image: {{ $('Set image').item.json.image_url }}",
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "models/veo-3.0-generate-preview",
          "cachedResultName": "models/veo-3.0-generate-preview"
        },
        "options": {
          "aspectRatio": "16:9"
        },
        "resource": "video"
      },
      "credentials": {
        "googlePalmApi": {
          "id": "AaNPKXAphyMzRgfA",
          "name": "Google Gemini(PaLM) (Eure)"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "a7822306-1f3f-41b3-a145-2ed118d05a3c",
      "name": "소셜 미디어 매니저",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        768,
        160
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "models/gemini-2.5-pro",
          "cachedResultName": "models/gemini-2.5-pro"
        },
        "options": {
          "systemMessage": "=You are an expert social media manager. When provided with a scene description, you must write compelling copy for an Instagram advertising video. Write only the copy without any preambles or introductory text."
        },
        "messages": {
          "values": [
            {
              "content": "={{ $json.content.parts[0].text }}"
            }
          ]
        }
      },
      "credentials": {
        "googlePalmApi": {
          "id": "AaNPKXAphyMzRgfA",
          "name": "Google Gemini(PaLM) (Eure)"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "05b83ebe-d8cf-412d-8637-4902b3d54821",
      "name": "크리에이티브 디렉터",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        336,
        0
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "models/gemini-2.5-pro",
          "cachedResultName": "models/gemini-2.5-pro"
        },
        "options": {
          "systemMessage": "=You are an expert advertising video creator. When given a product image description, you must write a detailed prompt describing how to create an 8-second commercial spot using that image. Your response should include the setting, people involved, and specific actions that take place. Focus solely on describing the visual scene without any introductory text or explanations."
        },
        "messages": {
          "values": [
            {
              "content": "=Image description: {{ $json.content.parts[0].text }}"
            }
          ]
        }
      },
      "credentials": {
        "googlePalmApi": {
          "id": "AaNPKXAphyMzRgfA",
          "name": "Google Gemini(PaLM) (Eure)"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "29dc4ab9-f37a-4800-8304-1868bf3ab5ca",
      "name": "캡션 설정",
      "type": "n8n-nodes-base.set",
      "position": [
        1200,
        160
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "308eed8b-5893-4663-b5ea-c6203b2eebd6",
              "name": "caption",
              "type": "string",
              "value": "={{ $json.content.parts[0].text }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "c5a6ed15-9973-4511-ab19-4456beba928a",
      "name": "비디오 업로드",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1168,
        -320
      ],
      "parameters": {
        "name": "={{$now.format('yyyyLLdd')}}-{{ $json.fileName }}",
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive"
        },
        "options": {},
        "folderId": {
          "__rl": true,
          "mode": "list",
          "value": "1U_5X1tYUZ7NYp9BMQB11z7J-pFMTW8HX",
          "cachedResultUrl": "https://drive.google.com/drive/folders/1U_5X1tYUZ7NYp9BMQB11z7J-pFMTW8HX",
          "cachedResultName": "Video ads"
        }
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "HEy5EuZkgPZVEa9w",
          "name": "Google Drive account (n3w.it)"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "04b3492e-ee42-4d00-b436-e49a819ea227",
      "name": "스티커 메모",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        -432
      ],
      "parameters": {
        "color": 3,
        "width": 736,
        "height": 176,
        "content": "## Automate UGC video creation with Gemini and Google Veo 3 & upload to Instagram\n\nThis workflow automates the **creation and publishing of UGC (User-Generated Content) videos** using **Google Gemini** and **Google Veo 3**, then uploads them directly to **Instagram** with [Postiz](https://postiz.com/?ref=n3witalia)\n"
      },
      "typeVersion": 1
    },
    {
      "id": "a6291bf3-29aa-4820-b14d-64842a192cf5",
      "name": "스티커 메모1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        -224
      ],
      "parameters": {
        "width": 736,
        "height": 192,
        "content": "## STEP \n- In the \"Set image\" node, replace the default `image_url` value with yours\n- Create a FREE account on [Postiz](https://postiz.com/?ref=n3witalia)\n- Install \"Postiz\" node\n- Set Header Auth in the node \"Upload Video to Postiz\"\n- In **\"Postiz\"** node, set your `Channel ID`.\n- Execute Workflow"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "timezone": "Europe/Rome",
    "callerPolicy": "workflowsFromSameOwner",
    "executionOrder": "v1"
  },
  "versionId": "e0d183cd-15cb-4a44-af6a-6bec82399bba",
  "connections": {
    "c48ffb11-8364-4cd1-b08b-99c5f1be4467": {
      "main": [
        [
          {
            "node": "4aac7e3e-07b3-4ce1-9cd3-5cd7cb4a0ce7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4aac7e3e-07b3-4ce1-9cd3-5cd7cb4a0ce7": {
      "main": [
        []
      ]
    },
    "755a7866-a9dd-4656-81ce-2df79c3de207": {
      "main": [
        [
          {
            "node": "3f0de1b4-8049-4d75-9261-3089ac6badef",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "29dc4ab9-f37a-4800-8304-1868bf3ab5ca": {
      "main": [
        [
          {
            "node": "c48ffb11-8364-4cd1-b08b-99c5f1be4467",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "3f0de1b4-8049-4d75-9261-3089ac6badef": {
      "main": [
        [
          {
            "node": "05b83ebe-d8cf-412d-8637-4902b3d54821",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "05b83ebe-d8cf-412d-8637-4902b3d54821": {
      "main": [
        [
          {
            "node": "75b7b9cd-15cf-4b46-81e0-cad8c3c14ff4",
            "type": "main",
            "index": 0
          },
          {
            "node": "a7822306-1f3f-41b3-a145-2ed118d05a3c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "75b7b9cd-15cf-4b46-81e0-cad8c3c14ff4": {
      "main": [
        [
          {
            "node": "c5a6ed15-9973-4511-ab19-4456beba928a",
            "type": "main",
            "index": 0
          },
          {
            "node": "c136c427-848c-46f0-b73b-baa3770e89fd",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a7822306-1f3f-41b3-a145-2ed118d05a3c": {
      "main": [
        [
          {
            "node": "29dc4ab9-f37a-4800-8304-1868bf3ab5ca",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c136c427-848c-46f0-b73b-baa3770e89fd": {
      "main": [
        [
          {
            "node": "c48ffb11-8364-4cd1-b08b-99c5f1be4467",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6fdbd728-25ac-4250-b3cd-4dac65626800": {
      "main": [
        [
          {
            "node": "755a7866-a9dd-4656-81ce-2df79c3de207",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

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

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

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

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

유료인가요?

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

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

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

저자

Full-stack Web Developer based in Italy specialising in Marketing & AI-powered automations. For business enquiries, send me an email at info@n3w.it or add me on Linkedin.com/in/davideboizza

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34