Hyperspace sports carExample 01flux-pro
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.
Hyperspace sports carExample 01
Consciousness and subconsciousnessExample 02
Women riding a pandaExample 03
Mystical blueberry landscapeExample 04Prompt 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.
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.
Per-action, in quota
Usage is metered in quota by model, action, and output settings.
Headers and submit parameters
Use the endpoint below with your TTAPI key and the request fields shown.
/bfl/v1/flux-proSubmit a flux-pro image task.
Official reference/flux/fetchRetrieve the generated image task result.
Official referenceHeaders
TT-API-KEYstringrequiredYour TTAPI API key.
Content-TypestringrequiredUse application/json.
Body
promptstringrequiredText description of the target image.
input_imagestringoptionalReference image URL or base64 value.
input_image_2stringoptionalSecond reference image for supported Flux.2 models.
input_image_3stringoptionalThird reference image for supported Flux.2 models.
input_image_4stringoptionalFourth reference image for supported Flux.2 models.
widthstringoptionalRequested output width.
heightstringoptionalRequested output height.
seedstringoptionalSeed for reproducible output.
output_formatenumoptionaljpeg or png, subject to model support.
safety_tolerancestringoptionalSupported safety tolerance value.
webhook_urlstringoptionalCallback URL for asynchronous completion.
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"}'