본문으로 건너뛰기
FlowAPI

모델 / 이미지 / FLUX.2 Pro

FLUX.2 Pro API

최저 · 장당
$0.038
1MP
$0.038

FLUX.2 Pro costs $0.038 per image on FlowAPI (1MP); you call it with model id black-forest-labs/flux-2-pro through one REST endpoint or the MCP server, and failed jobs are refunded in full.

모델 IDblack-forest-labs/flux-2-proBlack Forest Labs이미지실시간
FLUX.2 Pro 가격, USD (실시간 가격표 기준)
스펙가격 (USD)단위$0.5 체험
1MP$0.038장당가능

Parameters

Parameter Values Default Note
resolution 1MP 1MP Selects the price row.
n 1–4 1 Images per request; price × n.

Input modes (input.type): text, image. See image generation for references and roles.

Code

cURL

bash
curl https://useflowapi.com/v1/generations \
  -H "Authorization: Bearer $FLOWAPI_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: flux-2-pro-1" \
  -d '{"model":"black-forest-labs/flux-2-pro","input":{"type":"text","prompt":"A red bicycle leaning on a brick wall"},"parameters":{"resolution":"1MP","n":1}}'

TypeScript (fetch, Node 18+)

ts
const res = await fetch('https://useflowapi.com/v1/generations', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.FLOWAPI_KEY}`,
    'Content-Type': 'application/json',
    'Idempotency-Key': 'flux-2-pro-1',
  },
  body: JSON.stringify({
    "model": "black-forest-labs/flux-2-pro",
    "input": {
      "type": "text",
      "prompt": "A red bicycle leaning on a brick wall"
    },
    "parameters": {
      "resolution": "1MP",
      "n": 1
    }
  }),
});
const job = await res.json();
console.log(job.id, job.status, job.price.amount);

Python (requests)

python
import os, requests

res = requests.post(
    "https://useflowapi.com/v1/generations",
    headers={
        "Authorization": f"Bearer {os.environ['FLOWAPI_KEY']}",
        "Idempotency-Key": "flux-2-pro-1",
    },
    json={
      "model": "black-forest-labs/flux-2-pro",
      "input": {
        "type": "text",
        "prompt": "A red bicycle leaning on a brick wall"
      },
      "parameters": {
        "resolution": "1MP",
        "n": 1
      }
    },
)
job = res.json()
print(job["id"], job["status"], job["price"]["amount"])

Check the price first with POST /v1/quotes (same body, never charges). Then poll GET /v1/jobs/{id} (async jobs).

Use it from an AI agent

Add the FlowAPI MCP server to Claude, Cursor or any MCP client and ask for a image with black-forest-labs/flux-2-pro.

About this page

FLUX.2 Pro is made by Black Forest Labs. FlowAPI is an independent API service and is not affiliated with or endorsed by Black Forest Labs. Prices on this page are read from FlowAPI's live price table.

FAQ

How much does the FLUX.2 Pro API cost?
FLUX.2 Pro costs $0.038 per image at 1MP on FlowAPI.
Is FlowAPI the official FLUX.2 Pro API?
No. FlowAPI is an independent API service, not affiliated with Black Forest Labs, that runs FLUX.2 Pro for you at a flat price.
Are failed FLUX.2 Pro jobs refunded?
Yes. A failed, timed-out or cancelled job is refunded in full automatically.
How many FLUX.2 Pro images can one request make?
One request makes 1 to 4 images (parameters.n), priced at $0.038 each at 1MP.