8
n8n 한국어amn8n.com

OpenAI를 사용하여 이미지 편집

중급

이것은Content Creation, Multimodal AI분야의자동화 워크플로우로, 15개의 노드를 포함합니다.주로 Set, Telegram, FormTrigger, GoogleDrive, HttpRequest 등의 노드를 사용하며. DALL-E 2를 사용하여 이미지를 편집하고 Google Drive와 Telegram을 통해 전송

사전 요구사항
  • Telegram Bot Token
  • Google Drive API 인증 정보
  • 대상 API의 인증 정보가 필요할 수 있음
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "id": "e2a9WLWDqS85I1AX",
  "meta": {
    "instanceId": "2000c64071c20843606b95c63795bb0797c41036047055a6586498e855b96efc"
  },
  "name": "Edit Images with OPEN AI",
  "tags": [],
  "nodes": [
    {
      "id": "0b9585d8-e520-4ed2-9c63-de16fdcfdf50",
      "name": "🚀 폼 제출 트리거",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        380,
        280
      ],
      "webhookId": "f9d60b5f-0a09-4654-a840-84a0f745321e",
      "parameters": {
        "options": {},
        "formTitle": "AI Image Editor",
        "formFields": {
          "values": [
            {
              "fieldType": "file",
              "fieldLabel": "image",
              "multipleFiles": false,
              "requiredField": true
            },
            {
              "fieldLabel": "prompt",
              "placeholder": "Describe the edits you want (e.g., 'remove background', 'add sunglasses', 'change to winter scene')",
              "requiredField": true
            }
          ]
        },
        "formDescription": "Upload your image and describe the edits you want to make. Our AI will process your image and deliver the results instantly via Telegram."
      },
      "typeVersion": 2.2
    },
    {
      "id": "8fcc87f1-f2c0-4bbd-b1be-3baf1f154f67",
      "name": "⚙️ 설정 변수",
      "type": "n8n-nodes-base.set",
      "position": [
        640,
        280
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "google_drive_folder_id",
              "name": "google_drive_folder_id",
              "type": "string",
              "value": "YOUR_GOOGLE_DRIVE_FOLDER_ID"
            },
            {
              "id": "telegram_chat_id",
              "name": "telegram_chat_id",
              "type": "string",
              "value": "YOUR_TELEGRAM_CHAT_ID"
            },
            {
              "id": "image_size",
              "name": "image_size",
              "type": "string",
              "value": "1024x1024"
            },
            {
              "id": "openai_model",
              "name": "openai_model",
              "type": "string",
              "value": "dall-e-2"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "877c3e0f-8566-438c-bf69-8e7ccdb9dfe3",
      "name": "📁 원본 Drive에 업로드",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        880,
        280
      ],
      "parameters": {
        "name": "=original-{{ $now.format('yyyy-MM-dd-HHmmss') }}.png",
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive"
        },
        "options": {},
        "folderId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('⚙️ Configuration Variables').item.json.google_drive_folder_id }}"
        },
        "inputDataFieldName": "image"
      },
      "typeVersion": 3
    },
    {
      "id": "4742b2b8-5c56-468f-98b2-b1f2ea908702",
      "name": "📥 처리용 다운로드",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1140,
        280
      ],
      "parameters": {
        "fileId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $json.id }}"
        },
        "options": {},
        "operation": "download"
      },
      "typeVersion": 3
    },
    {
      "id": "c8008016-1d32-415b-a59b-0858d8f5887e",
      "name": "🎨 AI 이미지 편집기",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1380,
        280
      ],
      "parameters": {
        "url": "https://api.openai.com/v1/images/edits",
        "method": "POST",
        "options": {
          "timeout": 60000
        },
        "sendBody": true,
        "contentType": "multipart-form-data",
        "authentication": "genericCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "image",
              "parameterType": "formBinaryData",
              "inputDataFieldName": "data"
            },
            {
              "name": "prompt",
              "value": "={{ $('🚀 Form Submission Trigger').item.json.prompt }}"
            },
            {
              "name": "model",
              "value": "={{ $('⚙️ Configuration Variables').item.json.openai_model }}"
            },
            {
              "name": "size",
              "value": "={{ $('⚙️ Configuration Variables').item.json.image_size }}"
            },
            {
              "name": "n",
              "value": "1"
            }
          ]
        },
        "genericAuthType": "httpHeaderAuth"
      },
      "typeVersion": 4.2
    },
    {
      "id": "5c8753f1-43cf-45d5-a984-69232a14adac",
      "name": "🔄 파일로 변환",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        1640,
        280
      ],
      "parameters": {
        "options": {
          "fileName": "=edited-{{ $now.format('yyyy-MM-dd-HHmmss') }}.png",
          "mimeType": "image/png"
        },
        "operation": "toBinary",
        "sourceProperty": "data[0].url"
      },
      "typeVersion": 1.1
    },
    {
      "id": "dd69866a-1439-4ad7-8e20-5e6eeccb3e2e",
      "name": "📱 Send to Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1880,
        280
      ],
      "webhookId": "9b429508-63ad-471c-b8b5-ce71400ac43e",
      "parameters": {
        "chatId": "={{ $('⚙️ Configuration Variables').item.json.telegram_chat_id }}",
        "operation": "sendPhoto",
        "binaryData": true,
        "additionalFields": {}
      },
      "typeVersion": 1.2
    },
    {
      "id": "14fd976d-849b-4b6c-b4f7-bb12d21da68d",
      "name": "스티키 노트",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -200,
        40
      ],
      "parameters": {
        "width": 569,
        "height": 1304,
        "content": "# 🎨 AI Image Editor Workflow\n\n**Created by:** David Olusola\n\n## 📋 What This Workflow Does\n\nThis automation creates a complete AI image editing pipeline that:\n- ✅ Provides a user-friendly web form for image uploads\n- ✅ Stores original images in Google Drive\n- ✅ Processes images through OpenAI's image editing API  \n- ✅ Delivers edited results instantly via Telegram\n\n## 🛠️ Setup Requirements\n\n1. **OpenAI API Key** - Add to HTTP Request credentials\n2. **Google Drive OAuth** - For file storage\n3. **Telegram Bot** - For result delivery\n4. **Configuration Variables** - Update the yellow node with your IDs\n\n## ⚙️ Configuration Steps\n\n1. **Update Configuration Variables node:**\n   - `google_drive_folder_id`: Your Google Drive folder ID\n   - `telegram_chat_id`: Your Telegram chat ID\n   - `image_size`: Desired output size (default: 1024x1024)\n   - `openai_model`: AI model to use (default: dall-e-2)\n\n2. **Set up credentials:**\n   - OpenAI API in \"AI Image Editor\" node\n   - Google Drive OAuth in both Drive nodes\n   - Telegram Bot in \"Send to Telegram\" node\n\n3. **Test the workflow:**\n   - Deploy and get the form URL\n   - Upload a test image with editing prompt\n   - Check Telegram for the result\n\n## 🎯 Example Prompts\n- \"Remove the background\"\n- \"Add sunglasses to the person\"\n- \"Change the sky to sunset\"\n- \"Make it look like a cartoon\"\n\n## 🔧 Customization Options\n- Change image dimensions in config\n- Modify file naming conventions\n- Add error handling nodes\n- Implement batch processing\n- Add multiple delivery channels"
      },
      "typeVersion": 1
    },
    {
      "id": "e8b0837c-bd0e-4184-a42a-13ce73837e29",
      "name": "스티키 노트1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        280,
        160
      ],
      "parameters": {
        "color": 7,
        "width": 200,
        "height": 308,
        "content": "💡 **STEP 1: Form Submission**\n\nUser uploads image and provides editing instructions through web form. The form validates file type and requires both image and prompt."
      },
      "typeVersion": 1
    },
    {
      "id": "04947555-cd06-4c6c-9f01-43aab9dcd821",
      "name": "스티키 노트2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        540,
        160
      ],
      "parameters": {
        "color": 3,
        "width": 200,
        "height": 248,
        "content": "⚙️ **STEP 2: Configuration**\n\nSets up all workflow variables that users need to customize. Update these values before first use!"
      },
      "typeVersion": 1
    },
    {
      "id": "4f504b1e-73c9-4d62-b7bf-41a83087d68a",
      "name": "스티키 노트3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        780,
        160
      ],
      "parameters": {
        "color": 6,
        "width": 200,
        "height": 248,
        "content": "📁 **STEP 3: Backup Storage**\n\nUploads original image to Google Drive with timestamp for organization and backup purposes."
      },
      "typeVersion": 1
    },
    {
      "id": "e065914a-070c-48bd-ac65-e9c666478e78",
      "name": "스티키 노트4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1040,
        160
      ],
      "parameters": {
        "color": 3,
        "width": 200,
        "height": 248,
        "content": "📥 **STEP 4: Prepare for AI**\n\nDownloads the image from Drive to prepare it for OpenAI processing in the correct format."
      },
      "typeVersion": 1
    },
    {
      "id": "0a9ffa00-4432-497d-98cb-d74e9320fcc7",
      "name": "스티키 노트5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1280,
        160
      ],
      "parameters": {
        "color": 6,
        "width": 200,
        "height": 248,
        "content": "🎨 **STEP 5: AI Magic**\n\nSends image and prompt to OpenAI's image editing API. Uses DALL-E model for high-quality results."
      },
      "typeVersion": 1
    },
    {
      "id": "30d577e2-9c74-46b9-b62e-7b7a24aca423",
      "name": "스티키 노트6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1540,
        160
      ],
      "parameters": {
        "color": 2,
        "width": 200,
        "height": 268,
        "content": "🔄 **STEP 6: File Conversion**\n\nConverts the AI response to a downloadable PNG file with proper naming and metadata."
      },
      "typeVersion": 1
    },
    {
      "id": "97a064c2-60cb-4e8c-bfda-d81356c7918c",
      "name": "스티키 노트7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1780,
        160
      ],
      "parameters": {
        "color": 6,
        "width": 200,
        "height": 228,
        "content": "📱 **STEP 7: Instant Delivery**\n\nSends the edited image to Telegram with prompt details and timestamp for easy identification."
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "9dce616c-0e79-4fea-b905-50aa27e1f0a8",
  "connections": {
    "c8008016-1d32-415b-a59b-0858d8f5887e": {
      "main": [
        [
          {
            "node": "5c8753f1-43cf-45d5-a984-69232a14adac",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5c8753f1-43cf-45d5-a984-69232a14adac": {
      "main": [
        [
          {
            "node": "dd69866a-1439-4ad7-8e20-5e6eeccb3e2e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4742b2b8-5c56-468f-98b2-b1f2ea908702": {
      "main": [
        [
          {
            "node": "c8008016-1d32-415b-a59b-0858d8f5887e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0b9585d8-e520-4ed2-9c63-de16fdcfdf50": {
      "main": [
        [
          {
            "node": "8fcc87f1-f2c0-4bbd-b1be-3baf1f154f67",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "877c3e0f-8566-438c-bf69-8e7ccdb9dfe3": {
      "main": [
        [
          {
            "node": "4742b2b8-5c56-468f-98b2-b1f2ea908702",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8fcc87f1-f2c0-4bbd-b1be-3baf1f154f67": {
      "main": [
        [
          {
            "node": "877c3e0f-8566-438c-bf69-8e7ccdb9dfe3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

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

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

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

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

유료인가요?

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

관련 워크플로우 추천

AI 이력서 선별: Gmail, GPT-4o 및 Google 스프레드시트 - 자동화된 채용 프로세스
AI 이력서 선별: Gmail, GPT-4o 및 Google 스프레드시트 - 자동화된 채용 프로세스
Set
Switch
Google Drive
+
Set
Switch
Google Drive
23 노드David Olusola
콘텐츠 제작
GPT-4o 및 오류 처리를 통한 자동화 이력서 스크리닝 - Google 스프레드시트 및 드라이브 플로우
GPT-4o 및 오류 처리를 사용한 자동화된 이력서 선별 - Google Sheets 및 Drive 프로세스
If
Set
Gmail
+
If
Set
Gmail
34 노드David Olusola
콘텐츠 제작
Postiz를 사용하여 AI 뉴스 비디오를 자동으로 생성하고 소셜 미디어에 게시
GPT-4o와 HeyGen을 사용하여 AI 뉴스 비디오를 생성하고 소셜 미디어에 게시
Set
Code
Wait
+
Set
Code
Wait
37 노드David Olusola
콘텐츠 제작
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
콘텐츠 제작
LinkedIn 및 X 바이럴 콘텐츠 자동 엔진
사용AI생성및게시자동생성LinkedIn및X의病毒콘텐츠
If
Set
Wait
+
If
Set
Wait
156 노드Diptamoy Barman
콘텐츠 제작
워크플로우 정보
난이도
중급
노드 수15
카테고리2
노드 유형7
난이도 설명

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

저자
David Olusola

David Olusola

@dae221

AI automation consultant working with ambitious businesses on their most complex operational challenges. For project inquiries, reach me at david@daexai.com

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34