Photographie de produits IA pour multiplier par 10 les ventes de commerce électronique - Créer une image de marque premium

Intermédiaire

Ceci est unContent Creation, Multimodal AIworkflow d'automatisation du domainecontenant 11 nœuds.Utilise principalement des nœuds comme GoogleDrive, HttpRequest, Agent, LmChatOpenAi. 10倍提升电商销量deAIproduit摄影 - 打造高端produit形象

Prérequis
  • Informations d'identification Google Drive API
  • Peut nécessiter les informations d'identification d'authentification de l'API cible
  • Clé API OpenAI
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "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智能体指令",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        140,
        -2200
      ],
      "parameters": {
        "color": 5,
        "width": 380,
        "height": 540,
        "content": "## 🤖 AI Agent Notes (Optional)\n\n**Purpose**: Generates background prompts automatically\n\n**How to Use**:\n1. This node is OPTIONAL - you can skip it entirely\n2. If using, connect a vision-capable AI model\n3. Alternative: Write your own prompt directly in the Pixelcut node\n\n**⚠️ Important Limitations**:\n- Use OpenAI GPT-4 Vision or Claude Vision instead\n- Or simply disable this node and use manual prompts\n\n**Better Options**:\n- OpenAI GPT-4 Vision Preview\n- Anthropic Claude Vision\n- Google Gemini Vision\n- Manual prompt creation"
      },
      "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 Configuration\n\n**Required Setup**:\n1. Get API key from pixelcut.ai\n2. Replace YOUR_PIXELCUT_API_KEY with your actual key\n3. Customize the prompt field for your desired background\n\n**Supported Formats**:\n- PNG (recommended for products)\n- JPG (smaller file size)\n- WEBP (modern format)\n"
      },
      "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": "## ⚠️ File Format Warning\n\n**Current Limitation**: \nThis workflow only processes PNG files\n\n**To Support Other Formats**:\n1. Go to \"Get Images from Google Drive\" node\n2. Change queryString from :\n   - \".jpg\" for JPEG files\n   - \".webp\" for WebP files\n ➡️ to : \".png\" \n\n**Output Format**:\nChange the \"format\" parameter in Pixelcut node:\n- \"png\" - Best quality, transparency support\n- \"jpg\" - Smaller file size\n- \"webp\" - Modern format, good compression\n\n**Multiple Formats**: Use OR operator:\n\"mimeType='image/png' or mimeType='image/jpeg'\""
      },
      "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": "## 🚨 Background Removal Warning\n\n**Important**: This workflow expects products WITHOUT backgrounds\n\n**If Your Images Have Backgrounds**:\n1. Add a background removal step BEFORE this workflow\n2. Use Pixelcut's remove-background endpoint:\n   - URL: https://api.developer.pixelcut.ai/v1/remove-background\n   - Same API key and setup\n\n**Background Removal Options**:\n- Pixelcut.ai remove-background API\n- Remove.bg API\n- Deep-Image.ai background removal\n- Adobe Creative SDK\n"
      },
      "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": "## 📋 Setup Checklist\n\n**Required Credentials**:\n□ Google Drive OAuth2 API\n□ Pixelcut.ai API Key\n□ Vision AI API (if using AI prompts) any AI Accepts images\n\n**Folder Configuration**:\n□ Replace YOUR_GOOGLE_DRIVE_FOLDER_ID\n□ Replace YOUR_OUTPUT_FOLDER_ID\n□ Ensure proper folder permissions\n\n**Security Notes**:\n□ Never share API keys publicly\n□ Use environment variables for sensitive data\n□ Regularly rotate API keys\n□ Monitor API usage and costs\n\n**Testing Steps**:\n1. Test with single image first\n2. Verify output quality\n3. Check file naming convention\n4. Confirm folder permissions\n5. Monitor API rate limits"
      },
      "typeVersion": 1
    },
    {
      "id": "81ca6ccb-855e-4b04-934c-8167feea9fea",
      "name": "下载二进制图像文件",
      "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": {
    "1c668c86-2ec4-4ddd-a5b5-0c37dac39c93": {
      "ai_languageModel": [
        [
          {
            "node": "b20d6ab3-e90d-4a06-8c77-447c7b327413",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "81ca6ccb-855e-4b04-934c-8167feea9fea": {
      "main": [
        [
          {
            "node": "5601862a-ff17-4dce-b0fe-d61f5f1926ab",
            "type": "main",
            "index": 0
          },
          {
            "node": "b20d6ab3-e90d-4a06-8c77-447c7b327413",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1c1f5f21-2517-4644-bb67-4d9887f3b2c6": {
      "main": [
        [
          {
            "node": "81ca6ccb-855e-4b04-934c-8167feea9fea",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5601862a-ff17-4dce-b0fe-d61f5f1926ab": {
      "main": [
        [
          {
            "node": "aef4b599-cd45-48c9-8a31-8a6f31fc7680",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b20d6ab3-e90d-4a06-8c77-447c7b327413": {
      "main": [
        [
          {
            "node": "5601862a-ff17-4dce-b0fe-d61f5f1926ab",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Foire aux questions

Comment utiliser ce workflow ?

Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.

Dans quelles scénarios ce workflow est-il adapté ?

Intermédiaire - Création de contenu, IA Multimodale

Est-ce payant ?

Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.

Workflows recommandés

Informations sur le workflow
Niveau de difficulté
Intermédiaire
Nombre de nœuds11
Catégorie2
Types de nœuds5
Description de la difficulté

Adapté aux utilisateurs expérimentés, avec des workflows de complexité moyenne contenant 6-15 nœuds

Auteur
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.

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34