Skip to content

About

flux-2 API (flux2 / flux 2): 1MP $0.024; 2MP $0.036; 3MP $0.048. Model id, prompts settings, curl and Python examples over an OpenAI-compatible gateway, $1 minimum top-up.

Topics

Resources

Stars

92 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

FLUX.2 Pro API (flux-2 / flux2) — prompts guide with published pricing

1MP $0.024; 2MP $0.036; 3MP $0.048 — flat per-unit billing through the OpenAI-compatible APIMart gateway, $1 minimum top-up.

Live pricing · Get an API key

Everything here refers to flux-2 — also written flux2 or flux 2.

Pricing (observed, snapshot 2026-09-24)

Tier Price
1MP $0.024
2MP $0.036
3MP $0.048
4MP $0.06

Cost at scale

Volume Cost
100 $2.4
1,000 $24

How to call it

curl --request POST --url https://api.apimart.ai/v1/images/generations \
  --header "Authorization: Bearer $APIMART_API_KEY" --header 'Content-Type: application/json' \
  --data '{"model":"flux-2-pro","prompt":"a modern cliffside villa at dusk","size":"16:9","n":1}'

Submit, keep the task_id, poll GET /v1/tasks/{id} until completed; the response carries the URL and the exact amount charged.

Disclosure

Documents access through APIMart, a third-party API gateway; not affiliated with the model vendor.

About

flux-2 API (flux2 / flux 2): 1MP $0.024; 2MP $0.036; 3MP $0.048. Model id, prompts settings, curl and Python examples over an OpenAI-compatible gateway, $1 minimum top-up.

Topics

Resources

Stars

92 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages