flux-schnell

by Black Forest LabsImage

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.

InputPrompttext
Models8available
FlowAsyncresult URL
Price0.6 quota/ image
Brass and copper fruit orchard under an approaching stormfrontClockwork orchard stormExample 01
Vast ceremonial hall carved from rose and amber saltSalt cathedral interiorExample 02
Ornate hot-air balloons parked on a mirror-like salt flat at sunriseSalt-flat balloon caravanExample 03
Magical floating island with waterfalls cascading into the cloudsFloating island waterfallsExample 04
Examples

Prompt 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

Capabilities

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.

Pricing

Per-action, in quota

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

Image generation and editingOfficial pricing
ModelPriceUnit
flux-schnell0.6 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/flux/generate

Headers

TT-API-KEYstringrequired

Your TTAPI API key.

Content-Typestringrequired

Use application/json.

Body

promptstringrequired

Text description of the target image.

modelstringrequired

Flux model identifier.

aspect_ratioenumoptional

Requested output aspect ratio.

input_imagestringconditional

Reference image URL for edit-capable models.

output_formatenumoptional

png, jpeg, or webp.

seedintegeroptional

Seed for reproducible output.

hookUrlstringoptional

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