8
n8n 한국어amn8n.com

사진 배경 제거 자동화

중급

이것은Design, AI분야의자동화 워크플로우로, 12개의 노드를 포함합니다.주로 GoogleDrive, HttpRequest, SplitInBatches, ScheduleTrigger 등의 노드를 사용하며인공지능 기술을 결합하여 스마트 자동화를 구현합니다. Photoroom API 및 Google Drive를 통한 사진 배경 제거 자동화

사전 요구사항
  • Google Drive API 인증 정보
  • 대상 API의 인증 정보가 필요할 수 있음
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "meta": {
    "instanceId": "",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "b2441a46-bd10-4c0c-a804-3be138d2fd8e",
      "name": "항목 반복",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -460,
        220
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 3
    },
    {
      "id": "c98d1021-81f1-43e9-8001-8708a16c5fdc",
      "name": "항목 반복1",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -440,
        860
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 3
    },
    {
      "id": "d6b4b139-1751-4e53-8bd3-e86d0b427301",
      "name": "원본으로 이동",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        260,
        880
      ],
      "parameters": {
        "fileId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $json.id }}"
        },
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive"
        },
        "folderId": {
          "__rl": true,
          "mode": "list",
          "value": "",
          "cachedResultUrl": "",
          "cachedResultName": "Original"
        },
        "operation": "move"
      },
      "typeVersion": 3
    },
    {
      "id": "0be7ea89-f48b-4844-ad2a-29b7e23e0fd2",
      "name": "배경 제거 저장",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        220,
        300
      ],
      "parameters": {
        "name": "={{ $json.name }}",
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive"
        },
        "options": {},
        "folderId": {
          "__rl": true,
          "mode": "list",
          "value": "",
          "cachedResultUrl": "",
          "cachedResultName": "Remove Background"
        },
        "inputDataFieldName": "result-sandbox-mode.png"
      },
      "notesInFlow": true,
      "typeVersion": 3
    },
    {
      "id": "73369386-e3c9-452d-a89f-6bf66072d002",
      "name": "이미지 다운로드",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -220,
        300
      ],
      "parameters": {
        "fileId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $json.id }}"
        },
        "options": {},
        "operation": "download"
      },
      "notesInFlow": true,
      "typeVersion": 3
    },
    {
      "id": "b127c813-9ae3-48d2-85da-36d2db1c6e63",
      "name": "모든 파일 가져오기",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -800,
        220
      ],
      "parameters": {
        "filter": {
          "folderId": {
            "__rl": true,
            "mode": "list",
            "value": "1j1wl00y4RAsRRecU74XxR6SpncYxMqdA",
            "cachedResultUrl": "",
            "cachedResultName": ""
          },
          "whatToSearch": "files"
        },
        "options": {},
        "resource": "fileFolder"
      },
      "typeVersion": 3
    },
    {
      "id": "c3546db3-2a28-4f98-87bd-1556c8ee3e8c",
      "name": "스티커 메모1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1260,
        -120
      ],
      "parameters": {
        "color": 7,
        "width": 600,
        "height": 560,
        "content": "### 1. Collect all original images file names\nTrigger the workflow to collect the names of all the images you want to process that are stored in a specific folder.\n\n### How to set up?\n- **Search all files of a specific Google Drive Folder**:\n   1. Add your Google Drive API credentials to access the Google Drive Folders\n   2. Select the folder that contains all the files you want to process\n[Learn more about the Google Drive API](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googledrive/)\n- **Prepare the subfolders**:\n   - Create a sub-folder to store processed images named: **Remove Background**\n   - Create a sub-folder to store the original files after processing name: **Original**\n  \n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "18181d47-99e1-4ec6-9f0c-4e46c5f42315",
      "name": "스티커 메모",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -520,
        -120
      ],
      "parameters": {
        "color": 7,
        "width": 1000,
        "height": 620,
        "content": "### 2. Remove backgrounds with Photoroom API & save the results in the sub-folder **Remove Background**\nFor each image, you use the API to remove the background. The result is saved in the sub-folder **Remove Background**.\n\n### How to set up?\n- **Download file from Google Drive**:\n   1. Add your Google Drive API credentials to access the Google Drive Folders\n   2. Select the sub-folder location\n[Learn more about the Google Drive API](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googledrive/)\n- **Remove Background with Photoroom API**:\n   1. Add your Photoroom API key \n[Learn more about the Photoroom API](https://docs.photoroom.com/)\n\n*You can test the API with the free sandbox mode that enables 1,000 calls per month.*\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "91ffb1ae-3a55-460b-8d29-6f28ae33c83d",
      "name": "Photoroom API 배경 제거",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        0,
        300
      ],
      "parameters": {
        "url": "https://image-api.photoroom.com/v2/edit",
        "method": "POST",
        "options": {
          "response": {
            "response": {
              "responseFormat": "file",
              "outputPropertyName": "result-sandbox-mode.png"
            }
          }
        },
        "sendBody": true,
        "contentType": "multipart-form-data",
        "sendHeaders": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "shadow.mode",
              "value": "ai.soft"
            },
            {
              "name": "background.color",
              "value": "FFFFFF"
            },
            {
              "name": "padding",
              "value": "0.1"
            },
            {
              "name": "imageFile",
              "parameterType": "formBinaryData",
              "inputDataFieldName": "data"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Accept",
              "value": "image/png, application/json"
            },
            {
              "name": "x-api-key"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "5c99a353-1a07-400e-996a-fbd83c735dce",
      "name": "스티커 메모2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -520,
        540
      ],
      "parameters": {
        "color": 7,
        "width": 1000,
        "height": 560,
        "content": "### 3. Move Processed Images \nAfter processing, the images are moved to the sub-folder **Original**.\n\n### How to set up?\n- **Move file in Google Drive**:\n   1. Add your Google Drive API credentials to access the Google Drive Folders\n   2. Select the sub-folder \n[Learn more about the Google Drive API](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googledrive/)\n- **Remove Background with Photoroom API**:\n   1. Add your Photoroom API key \n[Learn more about the Photoroom API](https://docs.photoroom.com/)\n\n*You can test the API with the free sandbox mode that enables 1,000 calls per month.*\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "3a7e0bcd-eb5a-4609-9359-8e632cace6d3",
      "name": "매일 오전 08:00",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1020,
        220
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 8
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "8281445b-9cf1-4e43-8a19-9e3b26b8d67e",
      "name": "스티커 메모3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        500,
        -120
      ],
      "parameters": {
        "width": 660,
        "height": 460,
        "content": "### [📺Complete Tutorial](https://www.youtube.com/watch?v=gBn9wd0fJ54)\n![Thumbnail](https://www.samirsaci.com/content/images/2025/05/image-4.png)\n"
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "b127c813-9ae3-48d2-85da-36d2db1c6e63": {
      "main": [
        [
          {
            "node": "b2441a46-bd10-4c0c-a804-3be138d2fd8e",
            "type": "main",
            "index": 0
          },
          {
            "node": "c98d1021-81f1-43e9-8001-8708a16c5fdc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "73369386-e3c9-452d-a89f-6bf66072d002": {
      "main": [
        [
          {
            "node": "91ffb1ae-3a55-460b-8d29-6f28ae33c83d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b2441a46-bd10-4c0c-a804-3be138d2fd8e": {
      "main": [
        [],
        [
          {
            "node": "73369386-e3c9-452d-a89f-6bf66072d002",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c98d1021-81f1-43e9-8001-8708a16c5fdc": {
      "main": [
        [],
        [
          {
            "node": "d6b4b139-1751-4e53-8bd3-e86d0b427301",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d6b4b139-1751-4e53-8bd3-e86d0b427301": {
      "main": [
        [
          {
            "node": "c98d1021-81f1-43e9-8001-8708a16c5fdc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3a7e0bcd-eb5a-4609-9359-8e632cace6d3": {
      "main": [
        [
          {
            "node": "b127c813-9ae3-48d2-85da-36d2db1c6e63",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0be7ea89-f48b-4844-ad2a-29b7e23e0fd2": {
      "main": [
        [
          {
            "node": "b2441a46-bd10-4c0c-a804-3be138d2fd8e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "91ffb1ae-3a55-460b-8d29-6f28ae33c83d": {
      "main": [
        [
          {
            "node": "0be7ea89-f48b-4844-ad2a-29b7e23e0fd2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

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

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

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

중급 - 디자인, 인공지능

유료인가요?

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

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

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

저자
Samir Saci

Samir Saci

@samirsaci

Automation, AI and Analytics for Supply Chain & Business Optimization Helping businesses streamline operations using n8n, AI agents, and data science to enhance efficiency and sustainability. Linkedin: www.linkedin.com/in/samir-saci

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34