flux-dev

by Black Forest LabsImage

Flux Dev is a Black Forest Labs image generation API on TTAPI. Submit a prompt through the official Flux channel for generation and supported image edits.

InputPrompttext
Models8available
FlowAsyncresult URL
Price1.5 quota/ image
Bearded man in a navy blazer and grey t-shirt smiling with arms crossed in a bright studioReal estate developer portraitExample 01
Woman in a black halter jumpsuit holding a gold-chain bag in a golden-hour parking lotGolden-hour parking lotExample 02
Ancient stone beacon tower rising through a thundercloud with a glowing lantern chamberCloud-borne beaconExample 03
Ivy-covered stone archway framing a sunlit forest path lined with wildflowersIvy forest archwayExample 04
Examples

Prompt to image, in context

silver ring demonic band, a teardrop obsidian gem in the middle, single white opal teardrop-shaped gems next to the onyx on each side, silver ring, slender band, a teardrop obsidian gem in the middle, single white opal marquise-shaped gems next to the obsidian on each side, t- pose, front, side, back view

A realistic male AI character, web developer and digital entrepreneur, specializing in websites and lead generation for real estate agents. He looks confident, empathetic, intelligent, and trustworthy. Medium height, fit but not muscular, healthy appearance, well-groomed beard or light stubble, expressive eyes, warm smile. Wearing modern casual-elegant clothing: fitted blazer or clean jacket, neutral t-shirt or shirt, stylish sneakers or loafers. Standing in a modern office or minimal studio with soft lighting, laptop and phone nearby, subtle tech and real estate elements in the background. Professional but approachable vibe — someone you would trust with your business and online presence. Cinematic lighting, shallow depth of field, ultra-realistic, high detail, 4K quality, natural skin texture, sharp focus, modern influencer aesthetic. Perfect for Instagram, TikTok, LinkedIn, and YouTube branding.

Create a softly lit, mellow early autumn scene set in a lush rural area. A rustic, charming dirt path, edged by ferns and grasses, winds gently through the landscape, bordered by tall, lushly overgrown hedges bursting with vines, blue morning glories, vibrant wildflowers, mushrooms and berries. Majestic trees with a spectrum of color-changing foliage—fiery reds, bright oranges, brilliant greens, deep maroons, and sunny yellows—contrast against the blue sky, where fluffy white clouds float lazily. Varied leaves of different sizes, colors and species flutter down in a gentle breeze, and migratory birds fly in the distance. A sparkling creek meanders nearby, reflecting the kaleidoscope of colors surrounding it, as rolling hills undulate in the background, bathed in warm golden sunlight. Consider a dreamy watercolor illustration style that captures the ethereal beauty and tranquility of this idyllic setting. Oils.

Abstract art in red and black tones depicting the proud expression of a short straight bob cut on the bias hair woman who vaguely looks like actress Evan Rachel Wood playing a xylophone, a mallet in each hand, vibrant tones, expressive brushstrokes.

Femeie, 45 ani, aspect românesc aspect natural, blând, îmbrăcată casual (de casă). Locație: O cameră de zi luminoasă sau o bucătărie curată.

Envision a glitch portrait of a steampunk woman, his goggles dissolving into digital noise and her form flickering between dimensions. The background is a chaotic mix of distorted pixels and fragmented clockwork mechanisms, creating a mesmerizing and unsettling effect, rendered in a hyper-detailed, psychedelic style reminiscent of Alex Grey and Ernst Haeckel, with vibrant colors and intricate textures, creating a mesmerizing and otherworldly atmosphere.

A amber heard look alike woman with shoulder length, blond hair, white skin, and a fit build. She's short black lululeamon pants and a white tube shirt with a toronto maple leafs logo in the middle. She is fit and attractive withe a nice smilem red lipstick. She wears a small toronto maple leafs necklace. Her vibe is laid-back and confident, with a natural, effortless charm.

A young woman standing outdoors in a parking lot during golden hour. She has smooth medium-brown skin, long wavy black hair with one shaved side, and soft glam makeup with winged eyeliner and natural lashes. She's wearing a stylish black halter-neck jumpsuit with a deep draped neckline. She holds a small black designer handbag with gold accents in her left hand and lightly lifts her right hand with a confident, playful pose. Her expression is warm and self-assured with a slight smile. She wears layered delicate gold necklaces, a bracelet, and bangles. The sunlight casts a warm glow on her face and outfit, creating soft highlights and shadows. Luxury cars surround her, and the background includes trees and a building structure.

masterpiece, 8k, HDR, best quality, photography, analog style, real life, extremely beautiful, (highly detailed, intricately detailed), (highly detailed skin), (alluring eyes), (full body), abstract style. The main objects are cut at intervals along a diagonal, and each interval features a different material: the first material is mosaics and the second is vines; the remaining materials are what the main object would have originally had.

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