FLUX.1 Depth

Replicate
Image Generation

FLUX structural control via depth maps. Keep 3D scene layout while changing style/content.

Generate with FLUX.1 Depth
Describe what you want and pick a size β€” the image renders inline.
Sign in to try this model with €5 free credits.
Sign in
Result appears here
TL;DRΒ·Last updated May 16, 2026

FLUX.1 Depth is image generation AI model from Replicate, priced at €0.000 per 1M input tokens with a unknown context window.

Try FLUX.1 Depth
Sign in to generate β€” 50 free credits on sign-up

Pricing

Price per Generation
Per generation€0.05

API Integration

Use our OpenAI-compatible API to integrate FLUX.1 Depth into your application.

Install
npm install railwail
JavaScript / TypeScript
import railwail from "railwail";

const rw = railwail("YOUR_API_KEY");

const images = await rw.run("flux-1-depth", "A beautiful sunset over Tokyo");
console.log(images[0].url);

// Or use the image() method for full control
const res = await rw.image("flux-1-depth", "A cat in space", {
  size: "1024x1024",
  n: 1,
});
console.log(res.data[0].url);
Specifications
Price
€0.05
Developer
Replicate
Category
Image Generation
Supported Formats
image
text
Tags
flux
black-forest-labs
image-edit
controlnet
depth
structural

Deep dive β€” Black Forest Labs's FLUX.1 Depth

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 that built Latent Diffusion at LMU Munich and Stable Diffusion at Stability AI. The company raised a $31M seed round led by Andreessen Horowitz in 2024 and launched the FLUX.1 family (pro, dev, schnell) plus the FLUX.1 Tools (Fill, Canny, Depth, Redux). Black Forest Labs positions itself as Europe's flagship open foundation-model lab for generative media.

Visit Black Forest Labs β†’
Architecture
Rectified-flow Diffusion Transformer (DiT) with depth-map structural conditioning

FLUX.1 Depth is part of the FLUX.1 Tools suite released in late 2024. It extends the base FLUX.1 [dev] / [pro] rectified-flow DiT backbone with an additional conditioning branch that consumes a depth map (typically produced by MiDaS, Depth Anything v2 or ZoeDepth) of a reference image. Depth features are injected into DiT blocks via ControlNet-style adapters so that the generated image preserves the 3D layout (perspective, occlusions, scale) of the source while colour, materials, lighting and style are dictated by the text prompt. The model uses T5-XXL plus CLIP-L text encoders and a 16x VAE, and samples with 28-50 flow-matching steps. Black Forest Labs fine-tuned the conditioning branch on a large licensed corpus of depth-image pairs, building on the rectified-flow training recipe from the SD3 paper (Esser et al. 2024).

Parameters
~12B (FLUX.1 dev backbone) plus depth conditioning branch
Context
512 tokens
What it can do
  • Depth-conditioned generation that preserves 3D scene structure
  • Works at up to 2 MP output resolution
  • Strong photorealism and prompt fidelity inherited from FLUX.1
  • Ideal for view-consistent restyling of indoor/outdoor scenes
  • Compatible with depth maps from MiDaS, Depth Anything v2, ZoeDepth
  • Pairs well with Canny and Fill for compound conditioning workflows
  • Best for: interior design visualisation, automotive renders, architectural restyling, world-building.
Training & License

Fine-tuned from FLUX.1 base weights on pairs of images and estimated depth maps from a curated licensed corpus. Exact composition is not disclosed.

License: FLUX.1 [dev] non-commercial license for dev weights; FLUX.1 [pro] commercial only via API.

Known limitations
  • Requires a precomputed depth map at inference
  • Output quality depends on depth-map accuracy
  • Dev weights non-commercial only
  • Less effective when source depth is very noisy or low-resolution

Frequently asked questions

Start using FLUX.1 Depth today

Get started with free credits. No credit card required. Access FLUX.1 Depth and 100+ other models through a single API.