Editorial portraitCrop 1Flux.2 Pro
State-of-the-art prompt adherence, photoreal detail, and in-context image editing.
Editorial portraitCrop 1
Editorial portraitCrop 2
Editorial portraitCrop 3
Editorial portraitCrop 4Prompt to image, in context
editorial portrait in soft window light
- Aspect
- 1:1
- Format
- png
Editorial portrait
Soft window light, fine fabric detail, and natural skin tones in a restrained editorial composition.
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.
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.
Headers
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-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"}'