Interactive Image Editor with FLUX: Fill Tool for Inpainting
> Like this template? [Connect with Eduard](https://www.linkedin.com/in/parsadanyan/) via LinkedIn. This workflow is a prototype of an AI-powered image editing interface, similar to Photoshop's Generative Fill feature, but running entirely in the browser. It provides a web-based editor that allows users to: - Select areas in images using an adjustable brush tool - Input text prompts to guide the AI generation - Compare original and generated images side by side - Iterate on edits with different prompts and settings - Save or reuse generated images > Perfect for [product catalog management](https://www.reddit.com/r/n8n/comments/1h98n7a/have_a_product_catalog_make_a_flux1_in_painting/), seasonal content updates, and creative image editing tasks! **Requirements** -------------- - [FLUX API Access](https://api.bfl.ai/): You'll need API credentials from FLUX to use this workflow. - Configure the [HTTP Header Auth credential](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.httprequest/) in n8n with your FLUX API key **Key Components** ---------------- - [FLUX Fill API](https://api.us1.bfl.ai/scalar#tag/tasks/POS/v1/flux-pro-1.0-fill) for AI-powered image generation - [Konva.js](https://konvajs.org/) for canvas manipulation - [img-comparison-slider](https://www.npmjs.com/package/img-comparison-slider) for result visualization - [Custom CSS/JS](https://github.com/ed-parsadanyan/n8n-flux-fill-demo) for editor functionality 1. **Simple Editor Interface** - HTML page with an editor is served on the Webhook call - Adjustable brush selection tool - Provides several mock examples and allows uploading custom images - Basic prompt and FLUX model parameter controls 2. **Image Processing Pipeline** - Handles image and mask separately - Processes FLUX Fill API requests - Delivers results back to the editor 3. **Result Viewer** - Split-screen comparison of original and generated images - Interactive slider for before/after comparison - Options to save or continue editing - Support for multiple iteration cycles **Use Cases** ----------- This prototype is particularly useful for: - Testing AI-powered image editing concepts - Quick product visualization experiments - Exploring creative image variations - Demonstrating inpainting capabilities > **Pro tip**: Save masks for frequently edited areas to quickly generate variations with different prompts! The workflow can be extended to integrate with various data sources and can be customized for specific business needs.
Like this template? Connect with Eduard via LinkedIn.
This workflow is a prototype of an AI-powered image editing interface, similar to Photoshop's Generative Fill feature, but running entirely in the browser. It provides a web-based editor that allows users to:
- Select areas in images using an adjustable brush tool
- Input text prompts to guide the AI generation
- Compare original and generated images side by side
- Iterate on edits with different prompts and settings
- Save or reuse generated images
Perfect for product catalog management, seasonal content updates, and creative image editing tasks!
Requirements
- FLUX API Access: You'll need API credentials from FLUX to use this workflow.
- Configure the HTTP Header Auth credential in n8n with your FLUX API key
Key Components
- FLUX Fill API for AI-powered image generation
- Konva.js for canvas manipulation
- img-comparison-slider for result visualization
- Custom CSS/JS for editor functionality
-
Simple Editor Interface
- HTML page with an editor is served on the Webhook call
- Adjustable brush selection tool
- Provides several mock examples and allows uploading custom images
- Basic prompt and FLUX model parameter controls
-
Image Processing Pipeline
- Handles image and mask separately
- Processes FLUX Fill API requests
- Delivers results back to the editor
-
Result Viewer
- Split-screen comparison of original and generated images
- Interactive slider for before/after comparison
- Options to save or continue editing
- Support for multiple iteration cycles
Use Cases
This prototype is particularly useful for:
- Testing AI-powered image editing concepts
- Quick product visualization experiments
- Exploring creative image variations
- Demonstrating inpainting capabilities
Pro tip: Save masks for frequently edited areas to quickly generate variations with different prompts!
The workflow can be extended to integrate with various data sources and can be customized for specific business needs.
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Related bundle
Content Repurposing Engine
8 hand-picked workflows for $29.00.
That is $3.63 each, vs $14.99 for this one alone.
View bundleSecure checkout powered by Stripe
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related AI workflows
- Launch Your First AI-Powered Chatbot with Actionable Tools$9.99
- Automate AI Video Creation and YouTube Upload with Google Sheets$14.99
- Build a WhatsApp Assistant with Memory, Google Suite, Multi-AI, Research, and Imaging$24.99
- Automate Blog Post Creation and Publishing with GPT, Leonardo AI, and WordPress$14.99
- Automate SEO Keyword Generation with ChatGPT from Google Sheets$3.99
- Email Agent$500.99
More from Eduard
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.