Rainforest tiger cubExample 01flux-2-max
flux-2-max is available through TTAPI. State-of-the-art prompt adherence, photoreal detail, and in-context image editing.
Rainforest tiger cubExample 01
Charcoal mercenaryExample 02
Butterfly-wing gondolaExample 03
Savanna sunriseExample 04Prompt to image, in context
Baby tiger hiding under giant wet banana leaf in tropical rainforest, light rain dripping down leaf, clear reflective tiger eyes, lush blurred green jungle background, macro wildlife shot, soft diffused natural light, shot on Nikon Z9 --ar 16:9
A mesmerizing digital artwork by ُ Sasan, drawing inspiration from Louis Jover's style, captures the essence of a futuristic and alluring female mercenary. Adorned in a striking ensemble, the character's outfit seamlessly merges the elegance of high-resolution charcoal drawing with the vibrancy of charcoal and watercolor painting. The attire is further accentuated by the application of textured oil paints with a palette knife, creating a one-of-a-kind and visually captivating effect. The mercenary's enticing presence is set against a backdrop of stark contrasts and intricate details, embodying the true spirit of cyberpunk aesthetics. Created by Sasan
A dreamlike fantasy scene of a graceful young woman standing inside a slender black gondola drifting across a surreal ocean of flowing sapphire blue waves. The boat is powered by two enormous luminous blue butterfly wings that serve as elegant sails, their delicate veins glowing with iridescent cyan light. Countless smaller blue butterflies flutter through the air, surrounding the vessel in graceful motion. Towering branches laden with abundant white blossoms arch over the scene from both sides, forming a lush floral canopy with petals gently falling into the water. The waves resemble flowing silk with intricate painterly textures and luminous highlights, creating a magical sense of movement. Soft diffused daylight filters through the blossoms, bathing the scene in cool blue tones contrasted by warm ivory flowers. Ultra detailed fantasy realism, cinematic composition, volumetric lighting, rich sapphire and turquoise palette, ethereal atmosphere, painterly masterpiece, award winning digital art. mythp0rt, Anime art
What you can build with flux-2-max
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-2-maxSubmit a flux-2-max 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-2-max \
--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"}'