Black Forest Labs API.
Black Forest Labs builds state-of-the-art generative AI models.Our FLUX models offer state-of-the-art performance in media generation with top-of-the-line prompt following, visual quality, details and output diversity.Our latest model, FLUX.1 Kontext, combines text-to-image generation with advanced image editing capabilities. Test it in our playground or read our editing guide.
Please apply for an API Key on the Black Forest Labs Dashboard.
The Black Forest Labs tool could be found at the Plugin Marketplace, please install it first.
On the Dify navigation page, click Tools > Black Forest Labs > Authorize to fill in the API Key.

You can use the Black Forest Labs tool in the following application types.

Both Chatflow and Workflow applications support adding Black Forest Labs tool nodes.

Edit or create an image with Flux Kontext Pro.
Edit or create an image with Flux Kontext Max.
Submits an image generation task with the FLUX 1.1 [pro].
Submits an image generation task with the FLUX.1 [pro].
Submits an image generation task with FLUX.1 [dev].
Generate an image with FLUX 1.1 [pro] with ultra mode and optional raw mode..
Generate an image with FLUX.1 Fill [pro] using an input image and mask.
Expand an image by adding pixels on any side.
Generate an image with FLUX.1 Canny [pro] using a control image.
Generate an image with FLUX.1 Depth [pro] using a control image.