Cosmic sea voyageExample 01flux-2-max
Flux 2 Max is a Black Forest Labs image generation API on TTAPI. Generate or edit images with prompt input and up to four official reference images.
Cosmic sea voyageExample 01
White studio editorialExample 02
Coastal Japanese villaExample 03
CRT hoodie portraitExample 04Prompt to image, in context
An Airbus A350 at the very front, seen by a wide airport gate window, a row of seats, connected by the jetway, at the airport, at night, phone wallpaper, soft gradient
a woman stands in a richly textured environment bathed in warm golden light, the background composed of subtle gradients and soft reflective surfaces that amplify the glow, her outfit elegant and fluid with gold accents integrated into fine fabrics, the materials catching light in a soft, luxurious way, her pose relaxed yet elevated, one arm gently crossing her body, creating a natural flow of lines, the lighting warm and directional, wrapping around her figure and creating soft highlights and deep but gentle shadows, the sunglasses feature metallic details that reflect the golden tones, the lenses slightly warm in tint, blending seamlessly into the overall palette, her expression confident and serene, the composition layered but harmonious, every element contributing to a sense of richness without excess, the textures of fabric, light, and surface working together to create depth, the overall image refined, elegant, and aspirational, high fashion editorial photography style, warm lighting, soft highlights, controlled shadows, rich textures, balanced composition, luxury aesthetic
A cinematic, high-contrast portrait of a young man sitting in the dark, wearing a black hoodie and a baseball cap with the brim pulled low to obscure his eyes. He is sitting on a simple crate in a pitch-black room. The only light comes from a faint, cool-blue glow behind him, resembling a CRT TV screen playing static. The lighting creates a sharp silhouette, highlighting the texture of the hoodie but leaving the face in mystery. Moody, emotional, 8k resolution, photorealistic, solitary atmosphere.
Use the reference image ONLY for background color, shadow softness and position, exposure level, and gold band color. Do NOT copy stones, ring shape, design details, or decorative elements from the reference image. High-end luxury jewelry product photography of the uploaded ring, preserve the exact ring design, stones, and proportions of the uploaded image. Ring made from identical warm 18k yellow gold, rich buttery yellow tone, neutral warmth, medium-high polish with soft natural reflections. Ring resting naturally on a flat surface with full contact, not floating. Single soft diffused studio light, one soft contact shadow directly beneath the ring, no additional shadows. Background must be perfectly flat, uniform, one solid warm off-white color (#F5F2EC), no texture, no paper effect, no gradient, no variation. Dont change colour of the pearls. Camera settings: macro lens look, 85mm focal length, aperture f/11, entire ring in sharp focus with identical depth of field to the reference image, photorealistic luxury e-commerce catalog style, perfect exposure, ultra sharp.
A formidable Drider, (half-darkelf and bottom half-spider), in a dimly lit cave, its eight elongated limbs poised gracefully, yet ready for action. The rugged mountain terrain sprawls behind, illuminated by shafts of vibrant, ethereal light streaming through cracks in the cave ceiling. Lush green moss clings to the rocky surface, contrasting with the warm tones of the Drider's exoskeleton, which shimmers in hues of iridescent blue and deep crimson. Shadows dance across the cave walls, creating an atmosphere thick with mystery and tension, while distant stalactites glisten like jewels. This scene is richly colored and presented in cinematic lighting, inviting an air of enchantment and foreboding as the Drider surveys its domain. in a fantasy DnD artstyle
a woman stands in a high fashion studio environment entirely defined by soft white tones, the space minimal yet deeply textured through subtle variations of light and shadow, her outfit composed of flowing white fabrics with delicate structure, layers of silk and matte textiles creating contrast without breaking the monochrome palette, her posture relaxed but intentional, one shoulder slightly forward, her body aligned in a way that feels both natural and composed, the lighting soft yet directional, sculpting her face with gentle gradients, eliminating harsh shadows while maintaining depth, the background seamless, blending into the floor with no visible edges, creating a sense of infinite space, the sunglasses become the central contrast element, a clean white frame with slightly tinted lenses, reflecting minimal highlights from the environment, the reflections controlled and soft, never distracting, her expression calm, neutral, almost introspective, as if existing in a space beyond distraction, every detail in the image carefully reduced to essentials, no visual noise, only form, light, and presence, the composition balanced with negative space, allowing the subject to breathe within the frame, the overall feeling one of clarity, refinement, and quiet confidence, high fashion editorial photography style, soft diffused lighting, high key exposure, minimal composition, clean aesthetic, ultra sharp subject with soft background falloff
the environment cools into deep blue tones, the space now sleek and minimal with reflective surfaces that echo subtle gradients of light, her outfit becomes structured and modern in navy and metallic accents, her movement slower, more calculated, as if every gesture is intentional, she holds a pair of sunglasses with a polished dark frame, the lenses reflecting cold light with a clean precision, as she raises them toward her face the reflections sharpen, creating a sense of clarity and control, her expression calm, almost detached, the blue tones emphasizing composure and focus, the environment feels stable and controlled, every element aligned, the sunglasses reinforcing this precision, adding a layer of authority to her presence, modern luxury cinematic style, cool lighting, reflective surfaces, minimal motion, controlled atmosphere
A cinematic, photorealistic image of a quiet creative workspace at night. A worn but elegant wooden desk with fabric samples in leather, silk, and cotton draped organically across the surface. An open notebook shows abstract statement tee concepts and pattern sketches. Warm ambient lighting from a single lamp creates deep shadows and a moody, contemplative feel. The scene conveys intentional craftsmanship, cultural depth, and creative focus. No people, no text, no logos. Ultra-realistic, editorial photography, shallow focus, rich textures.
modern potrait, dramatic portrait of enigmatic young arabic man (sultan) with radiant eyes, looking into camera, dramatic light, dark background
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"}'