Official

black-forest-labs / flux-depth-pro

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

  • Public
  • 203.4K runs
  • Commercial use
  • License
Iterate in playground

Input

control_image
*string
Shift + Return to add a new line

Text prompt for image generation

*file

Image to use as control input. Must be jpeg, png, gif, or webp.

integer

Random seed. Set for reproducible generation

integer
(minimum: 15, maximum: 50)

Number of diffusion steps. Higher values yield finer details but increase processing time.

Default: 50

boolean

Automatically modify the prompt for more creative generation

Default: false

number
(minimum: 1, maximum: 100)

Controls the balance between adherence to the text as well as image prompt and image quality/diversity. Higher values make the output more closely match the prompt but may reduce overall image quality. Lower values allow for more creative freedom but might produce results less relevant to the prompt.

Default: 15

integer
(minimum: 1, maximum: 6)

Safety tolerance, 1 is most strict and 6 is most permissive

Default: 2

string

Format of the output images.

Default: "jpg"

Output

output
Generated in

Pricing

Model pricing for black-forest-labs/flux-depth-pro. Looking for volume pricing? Get in touch.

$0.05
per output image

or 20 images for $1

Official models are always on, maintained, and have predictable pricing. Learn more.

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

Readme

FLUX.1 Depth [pro]

Depth-aware image generation that preserves 3D relationships. Transform images while maintaining realistic spatial structure.

FLUX.1 Depth [pro] outperforms proprietary solutions like Midjourney ReTexture in depth-aware tasks. It uses depth maps to maintain precise control during image transformations, letting you edit images while preserving spatial relationships and perspective.

The model excels at: - Architectural visualization - Product placement in scenes - Style transfer with depth preservation - Scene composition with accurate scaling

Offers higher output diversity than other depth-guided models while maintaining spatial accuracy.

License

By using FLUX.1 Depth [pro] through Replicate you agree to the Black Forest Labs API agreement and the Black Forest Labs Terms of Service.