Black Forest Labs (FLUX)
Image and video generation and editing with FLUX models
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- API keySecretRequired
- Processing regionOptionalIdentifier3 choices
Where to find them
- Create an account at dashboard.bfl.ai: a default organization and project are created.
- Under “Billing” add credits (prepaid; 1 credit = 0.01 USD).
- In the project, open “API Keys”, create a key and copy it. Choose the EU region here if images must be processed in Europe.
Tools (1)
Black Forest Labs (FLUX) API request
BLACKFORESTLABS_SEND_REQUESTAuthenticated call to the Black Forest Labs (FLUX) API (https://{server}/v1). Any endpoint of the API is allowed. Generations are asynchronous: the submission returns id and polling_url, which is polled with GET {polling_url} until status is Ready (the image or video is in result.sample, a URL that expires after 10 minutes).
Required scopes
No scopes required
Input
Black Forest Labs (FLUX) API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

