Porcelain warriorExample 01flux-kontext-pro
flux-kontext-pro is available through TTAPI. State-of-the-art prompt adherence, photoreal detail, and in-context image editing.
Porcelain warriorExample 01
Batak lakesideExample 02
Terracotta crater canyonExample 03
Floral kitten embraceExample 04Prompt to image, in context
Super detailed high quality 32K resolution. A reimagined Mandalorian warrior standing proudly, adorned with a unique porcelain-inspired suit of armor. The armor retains the iconic Mandalorian silhouette, featuring sleek and angular plates, but is redefined with intricate blue floral patterns reminiscent of traditional Chinese or Delft pottery, seamlessly integrated across the glossy white surface of the armor. The helmet, instantly recognizable with its iconic T-shaped visor, is enhanced with golden accents tracing its edges, adding a regal and ceremonial touch. Golden embellishments continue along the chest plate, shoulder guards, and gauntlets, blending futuristic functionality with timeless artistry. The armor combines Mandalorian practicality with an elegant, almost royal aesthetic. The background features a grand hall with ornate golden arches and subtle lighting, casting warm reflections off the armor's polished surface and highlighting the intricate floral designs. The soft, glowing light creates a dramatic contrast, emphasizing the combination of Mandalorian strength and traditional artistic beauty. A fusion of Star Wars legacy with classical artistic refinement, showcasing the Mandalorian in a completely new and breathtaking style. Created by Sasan.
Serene volcanic lakeside scene, traditional Batak wooden houses with curved steep roofs, tall coconut palms, calm turquoise lake, distant misty volcano, golden hour warm sunlight, soft morning fog, tropical foliage framing shot, documentary travel photography, ultra realistic texture --ar 16:9
Massive layered red rock crater canyon, cloudless deep blue sky, sharp shadow texture on rock strata, tiny observation deck on cliff edge, grand vast natural landscape, wide-angle shot, vivid earthy terracotta color, sharp photorealistic, Ansel Adams landscape style --ar 9:16
What you can build with flux-kontext-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-kontext-proSubmit a flux-kontext-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-kontext-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"}'