OptionalbaseUrl: stringProtectedcreateHelper method to create an error result with proper timing
ProtectedcreateHelper method to create a successful result with proper timing
Create variations of an existing image. Uses image-to-image generation with the original as a reference.
Edit an existing image using FLUX Fill model. BFL offers FLUX.1 Fill [pro] for inpainting/outpainting operations.
Generate image(s) from a text prompt using FLUX models.
Get available FLUX models.
Get supported methods for this provider.
ProtectednormalizeHelper method to convert image input (Buffer, base64, or URL) to the format required by the specific provider. Subclasses can override as needed.
Image as Buffer, base64 string, or URL
Normalized image data
Configure polling behavior for async task completion
Black Forest Labs FLUX Image Generator implementation. Supports FLUX.2 Pro, FLUX 1.1 Pro, and other FLUX models via the BFL API.
BFL uses an async task-based API: