Nanosaur2-670M
well9472 · Kit
Makes illustrations from text prompts with a small 670M-parameter diffusion model, run through ComfyUI. Built as a low-budget research model for people who wan…
An n8n workflow that serves an image editor in the browser. You paint over part of a picture and describe the change, and FLUX.1 Fill redraws that area and shows it beside the original.
Image inpainting editor in n8n with FLUX.1 Fill is an n8n workflow in the Marketing & SEO category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.
Webhook
It starts when a browser opens the webhook’s address, and again each time the editor posts an edit:
An edited copy of your image, shown in the browser beside the original, with the painted area redrawn to match your prompt
What you need before you start.
Image inpainting
Redraws the painted area of the image from your prompt with FLUX.1 Fill.
NeedsA Black Forest Labs API key, kept in a Header Auth credential
Checked by Mindket on 13 Nov 2026
This n8n workflow serves a small image editor from a webhook address and sends each edit to FLUX.1 Fill, an inpainting model from Black Forest Labs. In the browser you pick an image or load one from your computer, paint over the area to change and type what should be there. The workflow sends the image, the mask and the prompt to Black Forest Labs, waits for the result and returns the edited image to the page, which shows it next to the original. The file holds nineteen nodes, seven of them sticky notes, and Mindket added one.
Designers, product teams and developers who want to try masked image editing on their own pictures without a separate app. Skip it if you need to edit many images in a batch. The editor works on one image at a time.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| E-commerce | Product marketers | Change the scene behind a product photo | A shop owner paints the plain backdrop of a mug photo and asks for a wooden table. |
| Design | Designers | Try variants of a mockup | A designer paints one wall of a room mockup and asks for green paint. |
| Social media | Content creators | Remove or swap an object in a picture | A creator paints over a stray sign and asks for a clear sky. |
| Software | Developers | Use the workflow as the back end of their own editor | A developer keeps the POST path and replaces the page with their own. |
You need some n8n and a Black Forest Labs account: import a file, make one credential and open an address in a browser.
Any n8n that can reach Black Forest Labs and that your browser can reach will run it.
Download saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Make the credential before you open the editor.
| Need | Detail |
|---|---|
| n8n | On n8n Cloud or on a server of your own |
| Black Forest Labs | An API key, kept in a Header Auth credential |
| Images | Optional public image addresses for the editor’s list. The editor can also load a file from your computer |
workflow.json.x-key and your Black Forest Labs key as the value. Select it in FLUX Fill and in Check FLUX status.Mockups and replace <YOUR_IMAGE_URL> with an image address your browser may load from another site, or delete the entry.Webhook, listen for a test event and open its test address in a browser. To use it for real, publish the workflow and open the production address.Open the address, pick an image or load a file, and paint over the area to change with the brush. Type a prompt, or leave it empty, and press Generate. The result opens beside the original with a slider, and you can reuse it for the next edit or save it.
| To change | Where |
|---|---|
| The images in the list | Mockups |
| The model’s output | output_format and safety_tolerance in FLUX Fill, and the Steps and Guidance sliders on the page |
| Where results go | Add nodes after Get Fill Image |
| The page | The HTML in Editor page |
You paint over the plain backdrop of a mug photo and type this prompt.
a wooden kitchen table by a sunny window
Black Forest Labs redraws the painted area to match, and the page shows the new image next to your original, with a slider to compare them.
If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. This one answers two kinds of request on the same address. Opening it in a browser draws the editor. Pressing Generate sends the edit. Start with an image from your computer, and open the run under Executions if nothing comes back.
For experts. One webhook has two outputs, GET for the page and POST for the edit, and the edit loops until the status is Ready.
| Node | What it does | What to know |
|---|---|---|
Webhook | Webhook 2 on the path flux-fill, GET and POST, answered by a Respond to Webhook node | Its first output draws the page, the second runs the edit |
Editor page | HTML node that fills in the image list and the page’s own address | The script and style load from jsDelivr at a fixed commit |
FLUX Fill | POST to api.bfl.ai/v1/flux-pro-1.0-fill, PNG, safety tolerance 2 | The image and mask go in without their data-URL header |
Check FLUX status | GET on the polling_url from the first call | Black Forest Labs asks for the returned address |
Is Ready? | Passes on only when the status equals Ready | Any other status loops back to Wait 3 sec |
The webhook has no authentication, and the loop has no exit for a failed request.
api.bfl.ml. This copy uses api.bfl.ai and the returned polling_url, as Black Forest Labs’ docs show (read on 12 November 2026)safety_tolerance was 6, the least strict level. It is now 2, the API’s defaultAn n8n workflow that serves a small image editor in the browser and sends each edit to Black Forest Labs' FLUX.1 Fill.
You open the webhook's address, pick or load an image, paint over the part to change, describe what should appear there
and press Generate. The result opens beside the original in a before-and-after view.
workflow.json: the workflow as n8n exports it, nineteen nodes. Seven are sticky notes, and one of them was added byREADME.md: these notes.FLUX Fill called api.bfl.ml, an older address of the API that Black Forest Labs' docs no longer use. It now postshttps://api.bfl.ai/v1/flux-pro-1.0-fill, as the docs show (read on 12 November 2026).Check FLUX status asked get_result?id= on that old address. It now polls the polling_url that the first callsafety_tolerance was 6, the least strict level on a scale where 0 is the strictest. It is now 2, the API's default.FLUX Fill if moderation blocks your own edits.Mockups listed five example photos kept in the original author's file storage. It holds one placeholder,<YOUR_IMAGE_URL>.workflow.json.x-key and whose value is your BFL key. Select it in FLUX Fill and inCheck FLUX status.Mockups. Replace <YOUR_IMAGE_URL> with the address of an image your browser may load from another site, orWebhook and listen for a test event, then open its test address in a browser. To use it for real,<YOUR_N8N_HOST>/webhook/flux-fill.Webhook hands it to Mockups, which builds the list of images, and to Merge,Editor page fills the list and the address into the HTML, and Respond to Webhook returns it as a page.Webhook goes through NO OP to FLUX Fill.FLUX Fill cuts the data-URL header off the image and the mask and posts them to BFL as a PNG request.Wait 3 sec, Check FLUX status and Is Ready? loop every three seconds until the status is Ready.Get Fill Image downloads the result from result.sample, and Show the image to user returns it to the page withMockups.output_format and safety_tolerance inFLUX Fill.Wait 3 sec.Get Fill Image, as the sticky note there suggests.Editor page.* by default.Webhook would not reach the page's own POST. The webhook has none, as inNOTICE.md 630 B README.md 5 KB workflow.json 15 KB
well9472 · Kit
Makes illustrations from text prompts with a small 670M-parameter diffusion model, run through ComfyUI. Built as a low-budget research model for people who wan…
Waqf-AI · Kit
Reads handwritten Arabic text from images and returns it as text. A fine-tuned PaddleOCR-VL model for people digitizing Arabic handwriting.
Wan-AI · Kit
Makes video clips from a text prompt or an image plus text, at up to 720P and 24 frames per second, in the Diffusers format for a single consumer GPU.
nhathoangfoto · Kit
A LoRA for FLUX.2 Klein 9B that puts a character into the pose shown by a mannequin reference while keeping the character's face and style. For artists and des…
leejet · Kit
Generates images from text on modest GPUs, using quantized Z-Image-Turbo files made for stable-diffusion.cpp. For people who run image models on their own comp…
HiDream-ai · Kit
Generates images from text prompts with a 17B-parameter open model that scores at the top of the card's prompt-following tables. For designers, marketers and d…