Clockwork orchard storm示例 01flux-schnell
Flux Schnell 按固定价格提交文生图异步任务,可指定宽高比。
更新于:
Clockwork orchard storm示例 01
Salt cathedral interior示例 02
Salt-flat balloon caravan示例 03
Floating island waterfalls示例 04从提示词到成图
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
flux-schnell 能做什么
根据提示词生成
提交简洁提示词,通过一个 TTAPI 任务获取图像结果。
常用参数
设置提示词、模型、输出参数和回调即可接入。
异步查询
通过轮询或 Webhook 接收结果,避免耗时生成阻塞界面。
接入产品
Flux 2 Pro 的输出可以展示、保存或交给后续流程处理。
按操作计费,单位为 quota
按模型、操作和输出设置扣除 quota。
请求头与提交参数
使用 TTAPI 密钥,按下方字段向接口发送请求。
请求头
TT-API-KEYstring必填填写 TTAPI API 密钥。
Content-Typestring必填使用 application/json。
请求体
promptstring必填描述目标图像。
modelstring必填Flux 模型 ID。
aspect_ratioenum选填所需输出宽高比。
input_imagestring按条件填写用于支持编辑的模型的参考图 URL。
output_formatenum选填可选 png、jpeg 或 webp。
seedinteger选填用于复现生成结果的随机种子。
hookUrlstring选填异步任务完成时通知的回调 URL。
发送请求并获取结果
复制当前模型的请求地址、鉴权请求头和请求体。
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"}'