FLUX.1 Fill

Image generationAvailable
by Black Forest LabsModel ID: flux-1-fill

Black Forest Labs' inpainting/outpainting model for FLUX. Fill masked regions with prompt-guided content.

Price
$0.060/image
Input โ†’ output
Text โ†’ Image
Developer
Black Forest Labs
Updated
September 23, 2026
01

Playground

Try FLUX.1 Fill

No input form

$0.060/image

No input form for this model yet

Its inputs are not documented yet. So that no run fails on a wrong input, we don't offer a form here. Pick a comparable model instead.

02

Examples

Real outputs from the public examples of this model on Replicate, with the prompt and settings that produced them. They were not generated live on this page.
03

About FLUX.1 Fill

TL;DRAs of September 23, 2026

FLUX.1 Fill is a model by Black Forest Labs in the Image generation category. On Railwail, FLUX.1 Fill costs $0.060 per image.

Background

About Black Forest Labs

Founded 2024 ยท Freiburg, Germany

Black Forest Labs was founded in August 2024 in Freiburg, Germany by Robin Rombach, Patrick Esser, Andreas Blattmann and Dominik Lorenz, the team behind Latent Diffusion at LMU Munich and Stable Diffusion at Stability AI. A $31M seed round led by Andreessen Horowitz funded the launch of the FLUX.1 family (pro, dev, schnell) and the FLUX.1 Tools (Fill, Canny, Depth, Redux). The lab positions itself as the leading European open foundation-model lab for generative media.

Visit Black Forest Labs

Architecture

Rectified-flow Diffusion Transformer (DiT) with inpainting/outpainting mask conditioning

FLUX.1 Fill is the inpainting and outpainting model in the FLUX.1 Tools suite released in November 2024. It is a fine-tune of the FLUX.1 base rectified-flow DiT that takes three inputs at training and inference: the source image, a binary mask indicating which pixels should be regenerated, and a text prompt describing the desired content. The architecture concatenates the masked image latent and the binary mask as extra channels into the DiT input, similar to the design of Stable Diffusion XL Inpainting and FLUX's predecessor models, allowing the same backbone to act as a powerful editor. Outpainting is achieved by zero-padding the latent and setting the mask to 1 outside the original bounds. The model uses T5-XXL plus CLIP-L text encoders and the standard 16x VAE, sampled with 28-50 flow-matching steps. Black Forest Labs reports state-of-the-art results on prompted inpainting benchmarks at launch, outperforming Adobe Firefly and Ideogram inpainting models.

Parameters
~12B (FLUX.1 dev backbone) plus mask-conditioning branch
Context
512 tokens

Capabilities

  • Prompted inpainting: edit a masked region with natural-language instruction
  • Outpainting up to 2 MP for canvas extension
  • Photorealistic blending with the surrounding context
  • Strong prompt adherence via T5-XXL text encoder
  • Object removal, replacement and addition workflows
  • Compatible with depth/canny conditioning for hybrid pipelines
  • Best for: photo editing, e-commerce retouching, advertising mockups, comic panel completion.

Training & license

Fine-tuned from FLUX.1 base weights on synthetic masked image pairs with paired captions, sampled from a large licensed image corpus.

License: FLUX.1 Fill [dev] is released under the FLUX.1 [dev] non-commercial license; FLUX.1 Fill [pro] is available via API for commercial use.

Safety testing: Inherits safety filters of the base FLUX.1 family; additional moderation on inpainting inputs to reduce NCII and deepfake misuse.

Known limitations

  • Quality drops on very large mask regions (>50% of image)
  • Faces and hands inside masks can still degrade at small sizes
  • Dev weights are non-commercial only
  • Outpainting works best within ~1.5x of original canvas
04

Pricing

Prices in US dollars. Usage is charged from prepaid credits.
Per image$0.060 per image
  • 1 credit = $0.01

Cost calculator

Price calculator

Total

$6.00

600 credits

Per run

$0.06 ยท 6 credits

Fixed price per run, known before the run starts.

05

API

Call FLUX.1 Fill with your Railwail API key. Use this model ID in the request:

No verified API example

The inputs of this model are not documented yet.

06

Specifications

Model ID
flux-1-fill
Input
Text
Output
Image
Billing
Fixed price, known before the run
Model size
~12B (FLUX.1 dev backbone) plus mask-conditioning branch
License
FLUX.1 Fill [dev] is released under the FLUX.1 [dev] non-commercial license; FLUX.1 Fill [pro] is available via API for commercial use.
Catalog entry updated
September 23, 2026

Tags

  • flux
  • black-forest-labs
  • image-edit
  • inpainting
  • outpainting
  • edit
07

Use cases

What it is used for

  • Photo retouching and object removal
  • E-commerce product cleanup and background swap
  • Advertising mockups with text-driven edits
  • Canvas extension for social-media reformatting
  • Comic and storyboard panel completion
  • Real-estate photo enhancement
08

Frequently asked questions

What is FLUX.1 Fill?

FLUX.1 Fill is a model by Black Forest Labs in the Image generation category.

How much does FLUX.1 Fill cost on Railwail?

On Railwail, FLUX.1 Fill costs $0.060 per image. The price is known before the run starts. Usage is paid from prepaid credits; 1 credit equals $0.01.

How fast is FLUX.1 Fill?

There are not enough measured runs of FLUX.1 Fill on Railwail yet to state a run time. It depends on the input, the settings and the load at the provider.

Is FLUX.1 Fill better than FLUX 1.1 Pro?

That depends on the task. FLUX.1 Fill (Black Forest Labs) and FLUX 1.1 Pro (Black Forest Labs) are both models in the Image generation category. The comparison page shows their prices and specifications side by side.

Compare FLUX.1 Fill and FLUX 1.1 Pro
09

Comparable models

All in this category

All models through one API

One API key for every model on Railwail. Usage is charged from prepaid credits, 1 credit = $0.01.