Automatically replace and relight the background of any image using APImage
Ready for 3.0What this workflow does
This workflow has 4 nodes and runs when someone submits an n8n form (“APImage Replace Background”). Along the way it connects Google Drive. It also calls apimage.org over HTTP.
How it runs
Trigger: When someone submits an n8n form (“APImage Replace Background”).
- APImage API (HTTP Request): calls apimage.org (POST)
- Download Image (HTTP Request): calls an HTTP API
- Store the output image (node can be exchanged) (Google Drive): uses Google Drive
Services it uses
HTTP calls to: apimage.org
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (3)
- HTTP Request
n8n-nodes-base.httpRequest - n8n Form Trigger
n8n-nodes-base.formTrigger - Google Drive
n8n-nodes-base.googleDrive
From the author
This workflow takes an image URL and a description of the desired background, then uses the APImage AI API to produce a high-quality image, preserving the subject and applying a natural-looking new background. Example Result Here you can see a…