Block 1 - Sticky Note
- Type / Role
- n8n-nodes-base.stickyNote - stickyNote
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
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...
n8n-nodes-base.stickynote, n8n-nodes-base.httprequest, n8n-nodes-base.formtrigger, n8n-nodes-base.googledrive
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Gegenfeld.
Original n8n.io sourceThis 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.
Here you can see a before-and-after image, generated by APImage, using this workflow.
This workflow is perfect for anyone looking to generate polished, professional images quickly:
This n8n workflow leverages a Form Trigger and APImage’s AI endpoint to automate background replacement:
┌───────────────┐
│ Input Image │
│ (URL / source)│
└───────┬───────┘
│
▼
┌──────────────────────────┐
│ Background Replacement │
│ + Lighting Optimization│
│ (APImage AI) │
└───────┬──────────────────┘
│
▼
┌──────────────────────┐
│ Download Image │
│ (default name: data) │
└───────┬──────────────┘
│
▼
┌───────────────────────────┐
│ Output Nodes │
│ (DBs, Cloud, CMS, APIs) │
└───────────────────────────┘
Form Trigger: Collects the image URL and descriptive prompt. Can be swapped with any data source node (databases, cloud storage, APIs).
APImage Integration: Processes the image, separates the subject, generates the new background, and preserves realistic lighting and shadows.
Download Node: Retrieves the processed image for storage or further use.
Output Options: Automatically upload images to Google Drive, Dropbox, Airtable, Notion, Amazon S3, or any other database, creating a fully automated pipeline.
Add Your APImage API Key
Open the APImage API node.
Replace Bearer YOUR_API_KEY with your API key from the APImage Dashboard 🡥.
Enter a valid image URL and a descriptive prompt in the Replace Background form.
Click Run Workflow to see the processed image downloaded locally.
Optional: Customize Output Storage
Add nodes after the Download step to automatically save images to your preferred storage service or database.
n8n instance: Cloud or self-hosted instance.
APImage account and API key: Required to access the AI API.
Change Background Prompts: Modify the form or connect to dynamic sources like databases, CMS, or cloud storage.
Adjust AI Settings: Customize preserve_subject, light_direction, and light_strength in the APImage node for perfect results.
Extend Outputs: Connect to additional platforms for automatic sharing with teams, clients, or CMS systems.
Automate Input: Replace manual form triggers with automated triggers from Google Sheets, Airtable, Shopify, or product databases to handle bulk processing without manual intervention.
E-commerce: Consistent product images with professional backgrounds.
Marketing & Social Media: Quickly generate visuals adapted to multiple themes.
Photography & Design: Produce mockups, portraits, and conceptual images with realistic lighting.
Business Automation: Scale image pipelines efficiently for large volumes.
Q: What types of images are supported? A: JPG, PNG, and WebP are supported.
Q: Can I choose a custom background? A: Yes. Provide a text description or integrate with other nodes supplying pre-defined backgrounds.
Q: What is the default filename for processed images? A: The default filename is data, unless renamed in the workflow.
Q: Do I need to store images locally? A: No. Connect output nodes to databases, cloud storage, or CMS platforms to store images automatically.
Q: Can APImage be used in automated workflows? A: Absolutely. Integrate with n8n to process images automatically from various sources.
Q: Does it enhance image quality? A: APImage adjusts lighting and contrast for natural, realistic results.
Q: How is background replacement different from background removal? A: Background removal makes the background transparent. Background replacement swaps it with a new one and adjusts lighting for a natural look.
Q: Are there limits to the number of images processed? A: Limits depend on your subscription plan and allocated credits
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Automatically replace and relight the background of any image using APImage |
|---|---|
| Complexity | intermediate |
| Nodes | 10 |
| Categories | Content Creation, Multimodal AI |
| Author | Gegenfeld |
| Published | 15 Sept 2025 |
Use the JSON export at /data/workflows/8619/8619.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
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...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.