Official

black-forest-labs / flux-canny-dev

Open-weight edge-guided image generation. Control structure and composition using Canny edge detection.

  • Public
  • 102K runs
  • $0.025 per image
  • Commercial use
  • Weights
  • License
Iterate in playground

Input

control_image
*string
Shift + Return to add a new line

Prompt for generated image

*file

Image used to control the generation. The canny edge detection 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: 30

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

Model pricing for black-forest-labs/flux-canny-dev. Can’t find what you're looking for? Reach out to support.

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

$0.025
per output image

or around 40 images for $1

This model is priced per output image.

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

Readme

FLUX.1 Canny [dev]

FLUX.1 Canny [dev] gives developers the same edge-guided generation that powers Canny [pro]. Feed it a sketch or edge map plus a description, and it creates images that follow your structural guidance while adding rich detail and style.

Perfect for building creative tools that need precise control over image composition.

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.