Official

black-forest-labs / flux-depth-dev

Open-weight depth-aware image generation. Edit images while preserving spatial relationships.

  • Public
  • 54.4K runs
  • $0.025 per image
  • Commercial use
  • Weights
  • License

Input

control_image
*string
Shift + Return to add a new line

Prompt for generated image

*file

Image used to control the generation. The depth map will be automatically generated.

integer
(minimum: 1, maximum: 4)

Number of outputs to generate

Default: 1

integer
(minimum: 1, maximum: 50)

Number of denoising steps. Recommended range is 28-50, and lower number of steps produce lower quality outputs, faster.

Default: 28

number
(minimum: 0, maximum: 100)

Guidance for generated image

Default: 10

integer

Random seed. Set for reproducible generation

string

Format of the output images

Default: "webp"

integer
(minimum: 0, maximum: 100)

Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs

Default: 80

boolean

This model’s safety checker can’t be disabled when running on the website. Learn more about platform safety on Replicate.

Disable safety checker for generated images.

Default: false

string

Approximate number of megapixels for generated image. Use match_input to match the size of the input (with an upper limit of 1440x1440 pixels)

Default: "1"

Output

output
Generated in

Pricing

Official model
Pricing for official models works differently from other models. Instead of being billed by time, you’re billed by input and output, making pricing more predictable.

This model is priced by how many images are generated.

TypePer unitPer $1
Output
$0.025 / image
or
40 images / $1

For example, generating 100 images should cost around $2.50.

Check out our docs for more information about how per-image pricing works on Replicate.

Readme

FLUX.1 Depth [dev]

FLUX.1 Depth [dev] brings depth-guided generation to open development. Feed it an image and its depth map, and it maintains proper perspective and scale while adding or changing elements. The same technology that powers Depth [pro], optimized for developers building spatial-aware creative tools.

License

If you generate images on Replicate with FLUX.1 models and their fine-tunes, then you can use the images commercially.

If you download the weights off Replicate and generate images on your own computer, you can’t use the images commercially.