Clockwork orchard stormExample 01flux-schnell
Flux Schnell is a Black Forest Labs image generation API on TTAPI. Submit a prompt and aspect ratio to a fixed-price async endpoint for stills.
Clockwork orchard stormExample 01
Salt cathedral interiorExample 02
Salt-flat balloon caravanExample 03
Floating island waterfallsExample 04Prompt to image, in context
black forest gateau cake spelling out the words "FLUX SCHNELL", tasty, food photography, dynamic shot
womens street skateboarding final in Paris Olympics 2024
A surreal caravan of ornate hot-air balloons parked across a vast mirror-like salt flat at sunrise, each balloon shaped with distinct craftsmanship: one like a giant porcelain vase with cobalt patterns, one woven from rattan and patchwork fabric, one adorned with brass weather vanes and hanging pennants. Tiny crews unload trunks, folding ladders, painted instruments, and crates of citrus. The ground reflects the entire scene with glassy clarity, creating layered symmetry. In the far distance, thin mountains shimmer in haze, while flocks of white birds arc through a pale apricot sky. Highly detailed textures, crisp edges, rich color separation, whimsical realism, cinematic wide composition, atmospheric depth, soft golden light, clean focus, visually coherent scene.
a tiny astronaut hatching from an egg on the moon
Three magical wizards standing on a yellow table, each holding a sign. On the left, a wizard in black robes holds a sign that says ‘AI’; in the middle, a witch in red robes holds a sign that says ‘is’; and on the right, a wizard in blue robes holds a sign that says ‘cool’
Cute boy with a hat, exploring nature, holding a telescope, backpack, surrounded by flowers, cartoon style, vibrant colors.
a cat holding a sign that says hello world
A vast orchard of brass and copper fruit trees stretching across rolling hills, every branch built from gears, springs, and filigreed metal leaves, heavy pear-shaped glass fruits glowing softly from within. In the distance, a massive stormfront approaches, with spiraling charcoal clouds and shafts of pale sunlight breaking through. Farmers in weathered canvas coats guide tiny wind-up harvest carts along muddy paths, while flocks of mechanical birds scatter into the air. Puddles reflect the sky, scattered fallen fruit reveals intricate clockwork interiors, and a distant hilltop mill turns with oversized cog blades. Cinematic wide composition, dynamic atmosphere, exceptional texture detail, layered perspective, realistic lighting, dramatic scale, imaginative yet believable worldbuilding, crisp focus.
A vast ceremonial hall carved entirely from rose, ivory, and pale amber salt, towering ribbed arches shaped by centuries of wind erosion, crystalline floors with delicate reflective sheen, suspended mineral chandeliers formed from jagged salt clusters, long woven banners in faded saffron and slate, a procession of tiny human figures for scale crossing a geometric inlaid pathway, fine dust drifting through warm angled sunlight from high openings, distant carved alcoves holding weathered stone instruments, ultra-detailed textures, grand architectural fantasy, grounded realism, cinematic composition, rich material contrast, sharp focus, atmospheric depth
What you can build with flux-schnell
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.
/flux/generateSubmit a Flux Schnell 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.
modelstringrequiredFlux model identifier.
aspect_ratioenumoptionalRequested output aspect ratio.
input_imagestringconditionalReference image URL for edit-capable models.
output_formatenumoptionalpng, jpeg, or webp.
seedintegeroptionalSeed for reproducible output.
hookUrlstringoptionalCallback 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/flux/generate \
--header 'TT-API-KEY: $TTAPI_KEY' \
--header 'Content-Type: application/json' \
--data '{"prompt":"editorial portrait in soft window light","model":"flux-schnell","aspect_ratio":"1:1","output_format":"jpeg","hookUrl":"https://example.com/webhooks/flux"}'