Black Forest Labs · Image

OpenClaw x Flux

The Flux API exposes a image model from Black Forest Labs, accessible through RunAPI with a single API key and per-call billing. Developers call Flux the same way they call any other model in the RunAPI catalog — set the model parameter, submit a request, and receive structured JSON. The model skill packages docs, typed schemas, pricing notes, and setup steps so your coding agent has the right context before you write integration code. Billing is unified across all providers, failed generations are never charged, and results are retrievable by task ID.

Public versions and endpoints

Model IDVersionEndpointsStarting priceCatalog
flux-2-kleinFastest FLUX.2 model for rapid iteration and low-latency applications
/api/v1/flux/text_to_image
$0.030Model detail
flux-devEfficient, guidance-distilled image generation for iterative workflows
/api/v1/flux/text_to_image
/api/v1/flux/remix_image
$0.060Model detail
flux-proHigh-quality text-to-image with strong prompt adherence and visual detail
/api/v1/flux/text_to_image
/api/v1/flux/remix_image
$0.070Model detail

Configuration

Guide endpoint: <endpoint>

Select <model-id> to generate a request with the endpoint's public input contract.

Verify

Select <model-id> to generate verification commands.

How it works

  1. 1. Choose a model ID

    Select a public catalog model ID and review its endpoint and current starting price.

  2. 2. Configure RunAPI

    Set RUNAPI_API_KEY before making the endpoint request.

  3. 3. Verify the result

    For asynchronous endpoints, poll the same endpoint until the Task reaches a terminal status.

FAQ

Which model ID should I use?

Choose a public model ID from the version table. Each ID exposes the endpoints shown for that version.

Does this guide configure a chat model?

No. This Model Line uses the endpoint workflow shown here and is not presented as an agent chat model.