8
n8n 中文网amn8n.com

10倍提升电商销量的AI产品摄影 - 打造高端产品形象

中级

这是一个Content Creation, Multimodal AI领域的自动化工作流,包含 11 个节点。主要使用 GoogleDrive, HttpRequest, Agent, LmChatOpenAi 等节点。 10倍提升电商销量的AI产品摄影 - 打造高端产品形象

前置要求
  • Google Drive API 凭证
  • 可能需要目标 API 的认证凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "b123b0ced16c403c4b53c4c2871fe8ad53e10fa860639a439ee9c523097eb0ca",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "1c1f5f21-2517-4644-bb67-4d9887f3b2c6",
      "name": "从 Google Drive 获取图像",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -460,
        -2520
      ],
      "parameters": {
        "filter": {
          "folderId": {
            "__rl": true,
            "mode": "list",
            "value": "YOUR_GOOGLE_DRIVE_FOLDER_ID",
            "cachedResultUrl": "https://drive.google.com/drive/folders/YOUR_FOLDER_ID",
            "cachedResultName": "Product Images"
          }
        },
        "options": {},
        "resource": "fileFolder",
        "returnAll": true,
        "queryString": ".png"
      },
      "typeVersion": 3
    },
    {
      "id": "b20d6ab3-e90d-4a06-8c77-447c7b327413",
      "name": "AI 提示生成器(可选)",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        160,
        -2400
      ],
      "parameters": {
        "text": "Analyze this product image and create a professional background prompt for commercial photography. Focus on style, lighting, and environment that would complement this product.",
        "options": {},
        "promptType": "define"
      },
      "typeVersion": 2
    },
    {
      "id": "aef4b599-cd45-48c9-8a31-8a6f31fc7680",
      "name": "保存增强图像",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1300,
        -2520
      ],
      "parameters": {
        "name": "enhanced-{{ $('Get Images from Google Drive').item.json.name }}",
        "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": "YOUR_OUTPUT_FOLDER_ID",
          "cachedResultUrl": "https://drive.google.com/drive/folders/YOUR_OUTPUT_FOLDER_ID",
          "cachedResultName": "Enhanced Products"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "123430d3-e08f-42f3-8e65-cc20a07c28ad",
      "name": "AI Agent 指令",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        140,
        -2200
      ],
      "parameters": {
        "color": 5,
        "width": 380,
        "height": 540,
        "content": "## 🤖 AI Agent 备注(可选)"
      },
      "typeVersion": 1
    },
    {
      "id": "5601862a-ff17-4dce-b0fe-d61f5f1926ab",
      "name": "Pixelcut 背景生成器",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        760,
        -2520
      ],
      "parameters": {
        "url": "https://api.developer.pixelcut.ai/v1/generate-background",
        "method": "POST",
        "options": {
          "timeout": 60000
        },
        "sendBody": true,
        "contentType": "multipart-form-data",
        "sendHeaders": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "image",
              "parameterType": "formBinaryData",
              "inputDataFieldName": "imageData"
            },
            {
              "name": "prompt",
              "value": "Professional studio background with soft lighting, clean surfaces, and elegant atmosphere"
            },
            {
              "name": "format",
              "value": "png"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "X-API-KEY",
              "value": "YOUR_PIXELCUT_API_KEY"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "d6986636-7d05-44d2-87cc-1df4bf7a640c",
      "name": "Pixelcut 配置指南",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        640,
        -2860
      ],
      "parameters": {
        "color": 5,
        "width": 400,
        "height": 320,
        "content": "## 🎨 Pixelcut.ai 配置"
      },
      "typeVersion": 1
    },
    {
      "id": "3b9c5250-8498-4096-96ab-e3cbf8175b84",
      "name": "文件格式配置",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        220,
        -3020
      ],
      "parameters": {
        "color": 5,
        "width": 380,
        "height": 520,
        "content": "## ⚠️ 文件格式警告"
      },
      "typeVersion": 1
    },
    {
      "id": "14182b3a-a7b5-4c58-99b7-a6b125446f2d",
      "name": "背景要求",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -460,
        -3000
      ],
      "parameters": {
        "color": 3,
        "width": 400,
        "height": 460,
        "content": "## 🚨 背景移除警告"
      },
      "typeVersion": 1
    },
    {
      "id": "e20669ed-e1ba-43c7-92f3-15420fb03d6e",
      "name": "设置检查清单",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -900,
        -2800
      ],
      "parameters": {
        "color": 5,
        "width": 350,
        "height": 560,
        "content": "## 📋 设置检查清单"
      },
      "typeVersion": 1
    },
    {
      "id": "81ca6ccb-855e-4b04-934c-8167feea9fea",
      "name": "下载二进制图像文件 2",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -180,
        -2520
      ],
      "parameters": {
        "fileId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $json.id }}"
        },
        "options": {
          "binaryPropertyName": "imageData"
        },
        "operation": "download"
      },
      "typeVersion": 3
    },
    {
      "id": "1c668c86-2ec4-4ddd-a5b5-0c37dac39c93",
      "name": "OpenAI 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -40,
        -2120
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "typeVersion": 1.2
    }
  ],
  "pinData": {},
  "connections": {
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Prompt Generator (Optional)",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Download Binary Image Files2": {
      "main": [
        [
          {
            "node": "Pixelcut Background Generator",
            "type": "main",
            "index": 0
          },
          {
            "node": "AI Prompt Generator (Optional)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Images from Google Drive": {
      "main": [
        [
          {
            "node": "Download Binary Image Files2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pixelcut Background Generator": {
      "main": [
        [
          {
            "node": "Save Enhanced Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Prompt Generator (Optional)": {
      "main": [
        [
          {
            "node": "Pixelcut Background Generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

中级 - 内容创作, 多模态 AI

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
中级
节点数量11
分类2
节点类型5
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

作者
ARRE

ARRE

@arre

Automation Architect | I transform complexity into simplicity Building intelligent n8n workflows that do your heavy lifting in minutes, not hours. My mission: Eliminate repetitive tasks, streamline your operations, and give you back the most valuable resource – your time. Let’s make work feel lighter together.

外部链接
在 n8n.io 查看

分享此工作流