Skip to content
Maua.Culturewire

Black Forest Labs (FLUX)

Image and video generation and editing with FLUX models

AI and machine learningCatalog1 tool · 0 triggers

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

    1. Create an account at dashboard.bfl.ai: a default organization and project are created.
    2. Under “Billing” add credits (prepaid; 1 credit = 0.01 USD).
    3. In the project, open “API Keys”, create a key and copy it. Choose the EU region here if images must be processed in Europe.

    Get credentials (opens in a new tab)

Tools (1)

  • Black Forest Labs (FLUX) API requestBLACKFORESTLABS_SEND_REQUEST

    Authenticated 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
    NameTypeDescription
    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.