flux-2-max

by Black Forest LabsImage

flux-2-max is available through TTAPI. State-of-the-art prompt adherence, photoreal detail, and in-context image editing.

InputPrompttext
Models8available
FlowAsyncresult URL
Price40% offofficial
Baby tiger sheltered beneath a wet banana leaf in a rainforestRainforest tiger cubExample 01
Futuristic female mercenary rendered in charcoal and watercolorCharcoal mercenaryExample 02
Fantasy gondola with luminous butterfly-wing sails on sapphire wavesButterfly-wing gondolaExample 03
Male lion standing on an African savanna at sunriseSavanna sunriseExample 04
Examples

Prompt to image, in context

01 · Rainforest tiger cubflux-2-max
Prompt

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

02 · Charcoal mercenaryflux-2-max
Prompt

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

03 · Butterfly-wing gondolaflux-2-max
Prompt

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

Capabilities

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.

Pricing

Per-action, in quota

Usage is metered in quota by model, action, and output settings.

Image generation and editingOfficial pricing
ModelTTAPI billingUnit
flux-2-max40% off official pricing/ 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-2-max

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-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"}'