Flux.2 Pro

by Black Forest LabsImage

State-of-the-art prompt adherence, photoreal detail, and in-context image editing.

InputPrompttext
Models8available
FlowAsyncresult URL
Price0.6 quotaper image
Editorial portrait in soft window light — crop 1Editorial portraitCrop 1
Editorial portrait in soft window light — crop 2Editorial portraitCrop 2
Editorial portrait in soft window light — crop 3Editorial portraitCrop 3
Editorial portrait in soft window light — crop 4Editorial portraitCrop 4
Examples

Prompt to image, in context

Example inputflux-2-max
Prompt

editorial portrait in soft window light

Aspect
1:1
Format
png
Example resultExample output

Editorial portrait

Soft window light, fine fabric detail, and natural skin tones in a restrained editorial composition.

Capabilities

What you can build with Flux.2 Pro

Prompt driven generation

Submit a concise prompt and get production-ready image output through one TTAPI job.

Core controls only

Keep integration simple with prompt, model, output settings, and callback handling.

Async result flow

Use polling or webhook callbacks so long-running generations do not block your UI.

Ready for product UI

Return Flux.2 Pro results that can be displayed, stored, or passed into downstream workflows.

Pricing

Per-action, in quota

Usage is metered in quota by model, action, and output settings.

Image generationOfficial pricing
Model or channelTTAPI priceUnit
FLUX.2 family40% off officialper request
FLUX Kontext Max5 quota/ image
FLUX Kontext Pro3 quota/ image
FLUX Pro2 quota/ image
FLUX Dev1.5 quota/ image
FLUX Schnell0.6 quota/ image
API request

Headers and submit parameters

Use the endpoint below with your TTAPI key and the request fields shown.

POSThttps://api.ttapi.io/bfl/v1/flux-2-pro

Headers

TT-API-KEYstringrequired

Your TTAPI API key.

Content-Typestringrequired

Use application/json.

Body

promptstringrequired

Text description of the target image.

input_imagestringoptional

Reference image URL or base64 value.

input_image_2stringoptional

Second reference image for supported Flux.2 models.

input_image_3stringoptional

Third reference image for supported Flux.2 models.

input_image_4stringoptional

Fourth reference image for supported Flux.2 models.

widthstringoptional

Requested output width.

heightstringoptional

Requested output height.

seedstringoptional

Seed for reproducible output.

output_formatenumoptional

jpeg or png, subject to model support.

safety_tolerancestringoptional

Supported safety tolerance value.

webhook_urlstringoptional

Callback URL for asynchronous completion.

Open the official TTAPI documentation
Integrate

From key to first result

Copy the resolved endpoint, authentication headers, and request body for this model.

curl --request POST \
  --url https://api.ttapi.io/bfl/v1/flux-2-pro \
  --header 'TT-API-KEY: $TTAPI_KEY' \
  --header 'Content-Type: application/json' \
  --data '{"prompt":"editorial portrait in soft window light","output_format":"jpeg","webhook_url":"https://example.com/webhooks/flux"}'