black-forest-labs/flux-depth-dev 🔢📝❓🖼️✓ → 🖼️

⭐ Official ▶️ 782.4K runs 📅 Nov 2024 ⚙️ Cog 0.9.21 ⚖️ License
depth-guided image-editing image-to-image

About

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

Example Output

Prompt:

"A tropical beach"

Output

Example output

Performance Metrics

10.59s Prediction Time
10.60s Total Time
1 Images
All Input Parameters
{
  "prompt": "A tropical beach",
  "guidance": 10,
  "megapixels": "1",
  "num_outputs": 1,
  "control_image": "https://replicate.delivery/pbxt/M0mJ4lphqO0HOGDb7jwYb4nMjmn0fh3joS0PxeQ90TPN0Skb/IMG_2270.jpg",
  "output_format": "webp",
  "output_quality": 80,
  "num_inference_steps": 28
}
Input Parameters
seed Type: integer
Random seed. Set for reproducible generation
prompt (required) Type: string
Prompt for generated image
guidance Type: numberDefault: 10Range: 0 - 100
Guidance for generated image
megapixels Default: 1
Approximate number of megapixels for generated image. Use match_input to match the size of the input (with an upper limit of 1440x1440 pixels)
num_outputs Type: integerDefault: 1Range: 1 - 4
Number of outputs to generate
control_image (required) Type: string
Image used to control the generation. The depth map will be automatically generated.
output_format Default: webp
Format of the output images
output_quality Type: integerDefault: 80Range: 0 - 100
Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs
num_inference_steps Type: integerDefault: 28Range: 1 - 50
Number of denoising steps. Recommended range is 28-50, and lower number of steps produce lower quality outputs, faster.
disable_safety_checker Type: booleanDefault: false
Disable safety checker for generated images.
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
running bf16 model, fp8 disabled
Using seed: 58064
0it [00:00, ?it/s]
1it [00:00,  6.69it/s]
2it [00:00,  5.43it/s]
3it [00:00,  5.12it/s]
4it [00:00,  4.98it/s]
5it [00:00,  4.89it/s]
6it [00:01,  4.82it/s]
7it [00:01,  4.79it/s]
8it [00:01,  4.78it/s]
9it [00:01,  4.78it/s]
10it [00:02,  4.76it/s]
11it [00:02,  4.75it/s]
12it [00:02,  4.75it/s]
13it [00:02,  4.76it/s]
14it [00:02,  4.76it/s]
15it [00:03,  4.74it/s]
16it [00:03,  4.73it/s]
17it [00:03,  4.74it/s]
18it [00:03,  4.74it/s]
19it [00:03,  4.75it/s]
20it [00:04,  4.75it/s]
21it [00:04,  4.74it/s]
22it [00:04,  4.74it/s]
23it [00:04,  4.74it/s]
24it [00:04,  4.74it/s]
25it [00:05,  4.74it/s]
26it [00:05,  4.74it/s]
27it [00:05,  4.74it/s]
28it [00:05,  4.75it/s]
28it [00:05,  4.80it/s]
Total safe images: 1 out of 1
Version Details
Version ID
fc4f1401056237174d207056c49cd2afd44ede232ba286a3d40eb6376b726600
Version Created
March 14, 2025
Run on Replicate →