API & Playground
Pay as you go
The API and Playground share the same Credits and are billed per image or per second, with no monthly subscription. 1 Credit equals $0.01. FLUX 3.1 Image is billed per image by output size, with the same price for text-to-image and editing. In fast mode a 1K (about 1 MP) image is $0.015, 1.5K is $0.024, 2K is $0.04, 2.5K is $0.066, 3.5K is $0.089 and 4K is $0.11; in quality mode the same tiers are $0.03, $0.042, $0.06, $0.13, $0.203 and $0.28. FLUX 3 Image is $0.041 at 768×768, $0.048 at 1K, $0.07 at 1.5K, $0.10 at 2K and $0.607 at 4K; FLUX 3 Image Klein at those sizes is $0.008, $0.009, $0.011, $0.014 and $0.036. FLUX 3 Video is billed per second of output by resolution, and each clip is 5 to 20 seconds. Text-to-video or image-to-video in standard mode is $0.15/s in HD, $0.24/s in FHD, $0.28/s in QHD (2K) and $0.41/s in UHD (4K); video continuation (video-to-video) is $0.21, $0.27, $0.31 and $0.45 per second. HD Draft for text-to-video or image-to-video is $0.06/s. FLUX Video Edit [fast] is $0.03 per second of output. FLUX 3 Upscale [precise] is $0.035 per megapixel-second and [creative] is $0.05. FLUX.2 [max] is $0.07 for the first megapixel and $0.03 for each additional megapixel; [pro] is $0.03 and $0.015; [flex] is $0.05 per megapixel; [klein] 9B is $0.015 and $0.002; [klein] 4B is $0.014 and $0.001. FLUX VTO is $0.0375 for the first megapixel and $0.005 after that; Erase and Deblur are $0.03 then $0.004; Outpainting [high] is $0.10 per megapixel, [fast] is $0.045 then $0.006; FLUX.1 Fill [pro] is $0.05 per image.
Create an account at the BFL dashboard and confirm your email; a default organization and project are created for you. In the organization, open API → Credits, buy Credits through Stripe, then create an API key in the project. Send requests to https://api.bfl.ai, then poll the returned polling_url until the status is Ready and download the result. Image download links expire after one hour, so save the file promptly. You can also try the models in the Playground or Image Studio in the browser. 1 Credit equals $0.01, and the API and Playground use the same prices. Official pages do not currently list a signup grant of free Credits.
