flux-pro

by Black Forest LabsImage

Flux Pro is a Black Forest Labs image generation API on TTAPI. Submit a prompt through the official Flux channel for generation and supported image edits.

InputPrompttext
Models8available
FlowAsyncresult URL
Price2 quota/ image
Futuristic sports car racing through a neon hyperspace tunnelHyperspace sports carExample 01
Artistic interpretation of human consciousness and subconsciousnessConsciousness and subconsciousnessExample 02
Renaissance sci-fi painting of women riding a panda in a flower fieldWomen riding a pandaExample 03
Mystical landscape with blueberries and the text FLUX 1.1 ProMystical blueberry landscapeExample 04
Examples

Prompt to image, in context

Write this poem with cursive text on a background that fits the words: Roses are red Violets are blue, Sugar is sweet And so are you.

A dark-haired woman in her early thirties playing the piano accordion in the middle of an octagonal wooden dance floor with a wooden roof in the swedish forest, surrounded by dancers dancing in pairs

Surreal futuristic abstract portrait style of a woman with vibrant, liquid chrome textures and neon colors blending across her face.

A tense diplomatic negotiation in a grand hall, featuring representatives from 20 different countries, each wearing traditional attire. The scene should include interpreters, aides whispering to their leaders, and visible emotional reactions ranging from frustration to hope.

Elevated view of a quaint 18th-century German village in the Black Forest, captured with a fisheye lens. The scene shows a group of cheerful villagers in period attire gathered in the town square, enjoying slices of Black Forest cake and mugs of beer. The distorted wide-angle view encompasses thatched-roof houses, surrounding forest, and perhaps a church spire, giving a sense of the village nestled in the broader landscape.

Futuristic sports car racing through a neon-lit hyperspace tunnel with glowing light trails and vibrant colors. High-speed motion blur, retro synthwave aesthetic, cosmic background.

The world's largest black forest cake, the size of a building, surrounded by trees of the black forest

Dark surreal creature with a vintage TV for a head, displaying a foggy cityscape on the screen. Twisted, organic black roots form its body, creating a melancholic, monochromatic atmosphere.

Magazine photography of high-fashion model wearing an avant-garde dessert-inspired outfit resembling chocolate and cream with cherry accents. Modeling on a runway.

Capabilities

What you can build with flux-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 generation and editingOfficial pricing
ModelTTAPI billingUnit
flux-pro2 quota/ request
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-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-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"}'