flux-dev

by Black Forest LabsImage

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

InputPrompttext
Models8available
FlowAsyncresult URL
Price1.5 quota/ image
Tattooed modern warrior resting beside a massive weathered dragonDragon bondExample 01
French woman reading a letter in a warm Paris caféLetter in a Paris caféExample 02
Psychedelic triple-exposure portrait with rainbow thermal colorsThermal triple exposureExample 03
Traditional Batak houses beside a turquoise volcanic lakeBatak lakesideExample 04
Examples

Prompt to image, in context

01 · Dragon bondflux-dev
Prompt

A hyper-detailed, dynamic half-body portrait of a modern warrior standing side-by-side with a massive, majestic dragon, exuding power, resilience, and a deep bond of companionship. The warrior's muscular, tattooed torso is prominently displayed, his skin etched with intricate black tattoos featuring tribal patterns, animal motifs, and symbols of strength. His veins and muscles ripple with tension, reflecting his battle-hardened physique. The sunlight subtly highlights the contours of his body, enhancing the texture of his tattoos and scars. The warrior’s head is slightly bowed, resting against the dragon’s enormous, scaled face, creating a contrast between the warrior’s humanity and the dragon’s raw, primal presence. His expression is calm yet intense, his sharp jawline and faint battle scars narrating stories of countless fights. His short, undercut hairstyle with dark, slicked-back hair adds a modern, edgy feel to his look. A cross necklace dangles from his neck, glinting faintly in the soft light, symbolizing a sense of faith or inner strength amidst chaos. The dragon’s face is a masterpiece of texture and detail, with rugged, earthy brown scales and deep, intelligent eyes that exude wisdom and ferocity. The ridges of its face and horns are cracked and weathered, telling tales of ancient battles. The dragon’s breath creates a faint mist around its nostrils, blending into the humid, jungle-like background. The warrior is equipped with tactical gear, including a military-style harness and belt adorned with pouches and tools, adding a modern combat aesthetic. A high-tech weapon slung across his back hints at his readiness for battle, contrasting with the primal strength of his dragon companion. The background is a misty, jungle-like environment with muted greens and browns, shrouded in fog and mystery. Birds circle in the distance, adding a sense of movement and depth to the scene. The soft lighting filters through the mist, casting a warm glow that emphasizes the bond between the warrior and the dragon. The lighting is cinematic and atmospheric, casting soft highlights and deep shadows that add drama and intensity to the scene. Every detail—from the dragon’s textured scales to the warrior’s sweat-slicked skin—is rendered with stunning precision, creating a vivid and immersive portrayal of strength, unity, and untamed power. Created by Sasan.

02 · Letter in a Paris caféflux-dev
Prompt

30-year-old French woman reading letter inside Paris vintage café, snow falling outside floor-to-ceiling windows, warm table lamp light, latte coffee on wooden table, relaxed quiet expression, shot on Hasselblad X2D, 85mm f/1.8, natural skin pores, soft backlight, subtle film grain --ar 3:4

03 · Thermal triple exposureflux-dev
Prompt

An experimental, psychedelic portrait features a triple exposure of a woman's face, layered and shifted horizontally to create a disorienting, motion-blurred effect. The facial features overlap intricately, showing multiple sets of eyes, noses, and lips that blend into one another. A heavy, tactile film grain and low-fidelity print texture coat the entire image, giving it the raw, gritty look of a vintage underground punk zine or a distorted analog video still. The composition explodes with a saturated, rainbow-colored thermal prism effect. Neon shades of hot pink, electric blue, bright yellow, and acidic green bleed into the woman's face and straight blonde hair. The intense color channels misalign and blend unevenly across the shadows and highlights, enhancing the chaotic, hallucinatory, and dreamlike atmosphere of the artwork. <lora:Purple_Graphics_KR2:1.3>

Capabilities

What you can build with flux-dev

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-dev1.5 quota/ 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-dev

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