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.

n8n

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

Key Components

  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.

$14.99
Last updated September 12, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related AI workflows

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.