AutomationFlowsAI & RAG › Place Products on AI Generated Backgrounds with Google Imagen, Ideogram & Placid

Place Products on AI Generated Backgrounds with Google Imagen, Ideogram & Placid

ByDaniel Setzermann @danielsetzermann on n8n.io

This workflow transforms product images into professional marketing visuals by combining AI background generation, intelligent copywriting, and automated design templating. Upload a product photo, describe your desired scene, and get publication-ready assets for Meta ads, email…

Event trigger★★★★★ complexityAI-powered40 nodesHTTP RequestAgentOpenAI ChatOutput Parser StructuredGoogle DriveForm Trigger
AI & RAG Trigger: Event Nodes: 40 Complexity: ★★★★★ AI nodes: yes Added:

This workflow corresponds to n8n.io template #5017 — we link there as the canonical source.

This workflow follows the Agent → Form Trigger recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "3knMT0G3Tu4gXFrO",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Product + AI Image Asset Creator - Meta Ads, Email, Social with fal.ai & Placid",
  "tags": [],
  "nodes": [
    {
      "id": "c6b02b7e-2abe-4731-9089-c474e57eb052",
      "name": "Fetch Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1180,
        40
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "f9ef7f9c-ab89-49bf-982a-a874b5cb78a5",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        1560,
        220
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "5c47297c-c9c7-403a-a5b4-271618561ccf",
      "name": "Is Ready?",
      "type": "n8n-nodes-base.if",
      "position": [
        1360,
        40
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "001c0169-0ba2-40e8-b2e6-e733d07a07ef",
      "name": "Fetch Result",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1600,
        40
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "2799853c-fa2d-4d03-9348-161773689a1a",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        -200,
        40
      ],
      "parameters": {},
      "typeVersion": 3.1
    },
    {
      "id": "4d7efaa4-2196-4b1d-a866-049965287b59",
      "name": "Fetch Status1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2040,
        40
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "9625a660-7442-4b0b-aa32-c41d09eeba8c",
      "name": "Wait1",
      "type": "n8n-nodes-base.wait",
      "position": [
        2420,
        220
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "943068a4-cec0-4727-ade8-2d5e1ecac509",
      "name": "Is Ready?1",
      "type": "n8n-nodes-base.if",
      "position": [
        2220,
        40
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "19e7a052-7102-478f-bd64-3dbe2d83bdcc",
      "name": "Fetch Result1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2460,
        40
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "7e8af5b2-d206-42e6-86bb-70a442e5b913",
      "name": "Download Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2900,
        40
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "b4b103b0-5dc4-40bf-95df-acc88be62737",
      "name": "Background Image Prompt Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -680,
        -140
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "8e3d42e3-7f6c-4393-a245-0fbd26baab7f",
      "name": "Copywriting Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -680,
        200
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "296da2e4-b03e-45f4-b1a3-750a3abdb937",
      "name": "gpt-4o-mini",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -700,
        400
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "d03e9ba0-e89b-49de-8b0c-22b484e7282c",
      "name": "gpt-4.1-mini",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -680,
        40
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "3021e9fd-31b5-43f0-b482-82e1b1c9881f",
      "name": "BG Prompt Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -480,
        40
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "362716f9-900f-46b6-bc4b-57697c0ed661",
      "name": "Copy Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -480,
        400
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "43e8ebfc-e731-46e6-b615-61568bd08ed1",
      "name": "Fal.ai Replace Background",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        980,
        40
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "32844609-a76f-4d38-8ba7-4fa35fd1ae66",
      "name": "Fal.ai Time of Day Relight",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1820,
        40
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "c085a0f2-c521-413a-b4ad-944473e2cebb",
      "name": "Create Image via Template with Placid.app",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2680,
        40
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "e041720f-c176-48b3-b82b-eef0c93dbefe",
      "name": "Save to Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        3140,
        40
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "3a494c2a-be33-47eb-a661-4a7e1be79951",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -1280,
        40
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "104f0629-00b2-42ad-9efc-81013d1ffda5",
      "name": "Get a temporary file url for the upload",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1060,
        40
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "36e48a80-2a2e-4f06-92c5-e7b042cc7cfe",
      "name": "Fetch Status2",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        260,
        40
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "7c2e6496-7dee-450d-a520-d821175eb32f",
      "name": "Wait2",
      "type": "n8n-nodes-base.wait",
      "position": [
        640,
        220
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "cf957df2-de45-404c-afbf-27951440f045",
      "name": "Is Ready?2",
      "type": "n8n-nodes-base.if",
      "position": [
        440,
        40
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "84c0f8ba-4fb8-44e4-b6d1-c46eb13b75c0",
      "name": "Fal.ai Google Image Gen4",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        60,
        40
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "ed6efcac-6670-406b-86a1-4728fc4df1d9",
      "name": "Fetch Style Reference Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        680,
        40
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "46480feb-1305-4ebf-af5a-067b9c15e000",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        -780
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5dc6f8ed-04ba-4736-9b16-43ca7ef07922",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        920,
        -780
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ac1a7234-c7cc-4c12-9ee3-ac87575545a6",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1800,
        -780
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "245b0f0d-1d49-4921-b7d5-07d7edb639e9",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2660,
        -780
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2ebd7c80-fbf9-4dd0-9a8a-b12eb3509c02",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1700,
        -780
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0e0e8f53-23d2-4a53-b29c-b44f19d8c5cc",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1700,
        -1020
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "09c82d0e-9bc5-4642-a687-d06c510bded2",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -820,
        -500
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "607c7ad0-c448-40f4-82f0-b3948ef61722",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        -1020
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5c2b42d2-6c91-4ce7-9a5d-f4f99fe9fdaf",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        920,
        -1020
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "140df2ce-0aa8-4e6d-8505-198d3fa3ad21",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1800,
        -1020
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "bf2140b2-ba69-4434-8818-c4a81a264ea3",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2660,
        -1020
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e6ca7809-1920-4d86-9bcc-fa1d748d456f",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3520,
        -1020
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5417dfd5-e06e-49d3-a830-44f98e86312c",
      "name": "Sticky Note12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -820,
        -1020
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "7e99b029-7d77-43aa-8214-d5889eb792f0",
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "Fetch Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "Fal.ai Google Image Gen4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "Fetch Status1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait2": {
      "main": [
        [
          {
            "node": "Fetch Status2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is Ready?": {
      "main": [
        [
          {
            "node": "Fetch Result",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is Ready?1": {
      "main": [
        [
          {
            "node": "Fetch Result1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is Ready?2": {
      "main": [
        [
          {
            "node": "Fetch Style Reference Image",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "gpt-4o-mini": {
      "ai_languageModel": [
        [
          {
            "node": "Copywriting Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Result": {
      "main": [
        [
          {
            "node": "Fal.ai Time of Day Relight",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Status": {
      "main": [
        [
          {
            "node": "Is Ready?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "gpt-4.1-mini": {
      "ai_languageModel": [
        [
          {
            "node": "Background Image Prompt Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Result1": {
      "main": [
        [
          {
            "node": "Create Image via Template with Placid.app",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Status1": {
      "main": [
        [
          {
            "node": "Is Ready?1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Status2": {
      "main": [
        [
          {
            "node": "Is Ready?2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Image": {
      "main": [
        [
          {
            "node": "Save to Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Copywriting Agent": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Copy Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Copywriting Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Get a temporary file url for the upload",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save to Google Drive": {
      "main": [
        []
      ]
    },
    "BG Prompt Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Background Image Prompt Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Fal.ai Google Image Gen4": {
      "main": [
        [
          {
            "node": "Fetch Status2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fal.ai Replace Background": {
      "main": [
        [
          {
            "node": "Fetch Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fal.ai Time of Day Relight": {
      "main": [
        [
          {
            "node": "Fetch Status1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Style Reference Image": {
      "main": [
        [
          {
            "node": "Fal.ai Replace Background",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Background Image Prompt Agent": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get a temporary file url for the upload": {
      "main": [
        [
          {
            "node": "Background Image Prompt Agent",
            "type": "main",
            "index": 0
          },
          {
            "node": "Copywriting Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Image via Template with Placid.app": {
      "main": [
        [
          {
            "node": "Download Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

This workflow transforms product images into professional marketing visuals by combining AI background generation, intelligent copywriting, and automated design templating. Upload a product photo, describe your desired scene, and get publication-ready assets for Meta ads, email…

Source: https://n8n.io/workflows/5017/ — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

🎯 Create viral TikToks, Shorts, Reels, podcasts, and ASMR videos in minutes — all on autopilot.

OpenAI, HTTP Request, Form Trigger +7
AI & RAG

Transform your manual hiring process into an intelligent evaluation system that saves 15-20 minutes per candidate! This workflow automates the entire candidate assessment pipeline - from CSV/XLSX uplo

Form Trigger, Google Sheets, Google Drive +8
AI & RAG

This workflow turns Reddit pain points into emotionally-driven comic-style ads using AI. It takes in a product description, scrapes Reddit for real user pain points, filters relevant posts using AI, g

Form Trigger, OpenAI, Reddit +6
AI & RAG

Creators, agencies, and marketers who need short-form vertical video at scale. Anyone who wants to turn a topic into an edited “talking shorts” style clip without opening a video editor.

Anthropic Chat, OpenAI Chat, Output Parser Structured +4
AI & RAG

This n8n workflow is designed for e-commerce businesses, digital marketers, and content creators who want to automatically generate professional 3D product videos from product images. It's perfect for

Form Trigger, Google Drive, HTTP Request +9