Official

black-forest-labs / flux-canny-pro

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

  • Public
  • 158.7K runs
  • $0.05 per image
  • Commercial use
  • License

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: 30

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

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.05 / image
or
20 images / $1

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

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

Readme

FLUX.1 Canny [pro]

Edge-guided image generation that preserves structure and composition. Perfect for retexturing images or turning sketches into detailed art.

FLUX.1 Canny [pro] leads the field in structural conditioning. It uses Canny edge detection to maintain precise control during image transformations. Feed it an edge map and text prompt to generate images that follow exact structural guidance while adding rich detail.

Particularly effective for: - Converting sketches to finished art - Retexturing while preserving composition - Controlled style transfer - Architectural visualization

License

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