black-forest-labs/flux-canny-dev 🔢📝❓🖼️✓ → 🖼️
About
Open-weight edge-guided image generation. Control structure and composition using Canny edge detection.

Example Output
Prompt:
"A red vintage convertible driving through an old town"
Output

Performance Metrics
6.61s
Prediction Time
6.62s
Total Time
1
Images
All Input Parameters
{ "prompt": "A red vintage convertible driving through an old town", "guidance": 30, "megapixels": "1", "num_outputs": 1, "control_image": "https://replicate.delivery/pbxt/M0mUcvKOwNSS4axvv7LAngBAR5Iuv2GsIcnSKdpQRJA62f8G/Screenshot%202024-11-21%20at%2016.08.20.png", "output_format": "webp", "output_quality": 80, "num_inference_steps": 28 }
Input Parameters
- seed
- Random seed. Set for reproducible generation
- prompt (required)
- Prompt for generated image
- guidance
- Guidance for generated image
- megapixels
- 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
- Number of outputs to generate
- control_image (required)
- Image used to control the generation. The canny edge detection will be automatically generated.
- output_format
- Format of the output images
- output_quality
- 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
- Number of denoising steps. Recommended range is 28-50, and lower number of steps produce lower quality outputs, faster.
- disable_safety_checker
- Disable safety checker for generated images.
Output Schema
Output
Example Execution Logs
running bf16 model, fp8 disabled Using seed: 25823 0it [00:00, ?it/s] 1it [00:00, 8.11it/s] 2it [00:00, 5.66it/s] 3it [00:00, 5.15it/s] 4it [00:00, 4.94it/s] 5it [00:00, 4.74it/s] 6it [00:01, 4.69it/s] 7it [00:01, 4.66it/s] 8it [00:01, 4.65it/s] 9it [00:01, 4.64it/s] 10it [00:02, 4.61it/s] 11it [00:02, 4.61it/s] 12it [00:02, 4.61it/s] 13it [00:02, 4.61it/s] 14it [00:02, 4.59it/s] 15it [00:03, 4.59it/s] 16it [00:03, 4.59it/s] 17it [00:03, 4.60it/s] 18it [00:03, 4.60it/s] 19it [00:04, 4.58it/s] 20it [00:04, 4.58it/s] 21it [00:04, 4.59it/s] 22it [00:04, 4.60it/s] 23it [00:04, 4.61it/s] 24it [00:05, 4.59it/s] 25it [00:05, 4.59it/s] 26it [00:05, 4.59it/s] 27it [00:05, 4.60it/s] 28it [00:06, 4.59it/s] 28it [00:06, 4.67it/s] Total safe images: 1 out of 1
Version Details
- Version ID
aeb2a8dbfe2580e25d41d8881cc1df1a0b1e52c87de99c1a65fc587ac3918179
- Version Created
- March 14, 2025