Muertos dancerExample 01flux-schnell
flux-schnell is available through TTAPI. State-of-the-art prompt adherence, photoreal detail, and in-context image editing.
Muertos dancerExample 01
Paradise sunriseExample 02
Neon gift roomExample 03
Dragon bondExample 04Prompt to image, in context
Mexican Dia de los Muertos male dancer mid-jump, colorful sugar skull face paint, embroidered black mariachi suit, floating gold confetti, neon bar sign background, dramatic flash lighting, dynamic motion shot, cinematic high contrast, sharp texture details --ar 16:9
Paradise by sunrise, reflection, one Beautiful shadowed woman with long hair from behind is sitting at the beachside, amazing dress, shadow Palms, glowing, soft pastell colors, masterpiece, best quality, double exposure, realistic, whimsical, fantastic, splash art, intricate detailed, hyperdetailed, maximalist style, photorealistic, concept art, sharp focus, harmony, serenity, tranquility, mysterious glow, soft colors, ambient occlusion, halation, cozy ambient lighting, dynamic lighting, a masterpiece, award winning, DB4RZ, DB4RZ style painting, NeoPigma, in the style of cksc, anime, cyberpunk
Black man in oversized light pink puffer jacket standing in neon pink checkered tile room, floating colorful gift boxes around him, pink-blue neon wall lights, dreamy surreal atmosphere, smooth digital painting, soft lens flare, subtle vintage film grain --ar 1:1
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"}'