Moonlit kitsune garden示例 01flux-2-pro
Flux 2 Pro 支持通过提示词生成或编辑图像,官方渠道最多接收四张参考图。
更新于:
Moonlit kitsune garden示例 01
Honest studio portrait示例 02
Cliffside library dusk示例 03
Midnight salt-flat train示例 04从提示词到成图
A neon samurai, his body adorned with holographic armor that shifts in color with every step, walks through the neon-drenched streets of a cybernetic Tokyo. His katana, humming with digitized energy, slices through the rain, leaving a trail of flickering blue data in its wake. His helmet bears no visor, only an ever-changing LED mask that reflects the emotions of a warrior who has forgotten his own face. , pinkpixelicious, aidmamj6.1,
A futuristic eco-city covered in massive vertical gardens,where skyscrapers intertwine with lush greenery. A boy wearing a futuristic outfit adorned with nature-inspired patterns sits on a rooftop platform,overlooking aerial walkways and flowing water features surrounded by vegetation. The golden hues of sunset cast dynamic shadows,creating a harmonious yet mysterious atmosphere.,kcyberpunk,
The image is a digital illustration in a detailed, vibrant, high contrast, semi-realistic art style with 90s retro futuristic anime elements without noise or comic halftone effect. The subject is a woman with dark shoulder length hair and green eyes. Her face showing a serious expression. The theme of her body is a vivid red. Her body is slender and athletic. Her body is cyborg with mechanical parts integrated into it. Her arms and chest are fully mechanical. she is wearing a red futuristic, cybernetic, high-tech suit with a vivid red color, reminiscent of military or space gear. the background features a greenish, (dark), abandined, industrial setting with metallic pipes and machinery, creating a sense of a dystopian or sci-fi environment. The compostition and the poses are dynamic. The composition is dominated by cool tones, with a muted, slightly gritty texture that enhances the gritty, futuristic atmosphere.
Commercial product photography for a premium unbranded wristwatch: brushed titanium case, deep forest-green sunburst dial, domed sapphire crystal, and charcoal suede strap, standing upright on a split block of dark slate. Three-quarter macro view at 85 mm, precise knurling and believable micro-scratches, controlled softbox highlights tracing the crystal and bezel, crisp contact shadow, faint cool rim light, black-to-graphite seamless studio background, restrained luxury mood, photorealistic e-commerce campaign finish. No logo, no text, no watermark, no floating parts.
Design a sophisticated square botanical exhibition poster printed on slightly fibrous off-white paper. Central midnight-blue iris rendered as a crisp screen print, with a vermilion circle and thin black stems. Exact typography must be perfectly legible and spelled exactly: large headline "NIGHT BLOOM"; smaller line "BOTANICAL EXHIBITION"; date line "SEPTEMBER 12–28". Swiss-modernist grid, generous negative space, deep navy, vermilion and warm ivory palette, photographed straight-on with subtle paper texture. Include no other words, no logos, no watermark, no misspellings, no warped letters.
A mischievous spider in a pirate hat atop a vibrant yellow flower appears to move its legs and gaze around curiously, the camera zooming in for a close-up view of its detailed features and the dramatic contrast between the arachnid and the delicate bloom. cinematic_1940s
Bright commercial food photograph of a single yuzu tart with glossy pale-yellow curd, toasted meringue peaks and a paper-thin candied citrus wheel, on a small white porcelain plate. Macro three-quarter angle, crisp afternoon sunlight casting leaf shadows across a sky-blue tabletop, realistic crumb, tiny caramelized tips and translucent citrus pulp, fresh lemon, cream and blue palette, clean modern bakery campaign. No text, no logo, no watermark, no extra desserts.
intensely focused Viking woman warrior with curly hair hurling a burning meteorite from her hand towards the viewer, the glowing sphere leaves the woman's body getting closer to the viewer leaving a trail of smoke and sparks, intense battlegrounds in snowy conditions, army banners, swords and shields on the ground <lora:Dever_Flux_Enhancer:0.5>
Architectural photograph of a compact desert house built from rammed earth and dark timber, centered around a shaded courtyard with one old olive tree and a narrow reflecting pool. Eye-level 24 mm tilt-shift lens, late-afternoon sun revealing layered earth texture, precise straight verticals, restrained sand, charcoal and sage palette, minimal linen furniture visible through open sliding panels, realistic construction joints and drainage, calm contemporary residential design. No people, no text, no watermark, no impossible cantilevers.
flux-2-pro 能做什么
根据提示词生成
提交简洁提示词,通过一个 TTAPI 任务获取图像结果。
常用参数
设置提示词、模型、输出参数和回调即可接入。
异步查询
通过轮询或 Webhook 接收结果,避免耗时生成阻塞界面。
接入产品
Flux 2 Pro 的输出可以展示、保存或交给后续流程处理。
按操作计费,单位为 quota
按模型、操作和输出设置扣除 quota。
请求头与提交参数
使用 TTAPI 密钥,按下方字段向接口发送请求。
请求头
TT-API-KEYstring必填填写 TTAPI API 密钥。
Content-Typestring必填使用 application/json。
请求体
promptstring必填描述目标图像。
input_imagestring选填参考图 URL 或 Base64 内容。
input_image_2string选填第二张参考图,仅适用于支持该参数的 Flux.2 模型。
input_image_3string选填第三张参考图,仅适用于支持该参数的 Flux.2 模型。
input_image_4string选填第四张参考图,仅适用于支持该参数的 Flux.2 模型。
widthstring选填所需输出宽度。
heightstring选填所需输出高度。
seedstring选填用于复现生成结果的随机种子。
output_formatenum选填可选 jpeg 或 png,取决于模型支持。
safety_tolerancestring选填模型支持的内容安全容忍度。
webhook_urlstring选填异步任务完成时通知的回调 URL。
发送请求并获取结果
复制当前模型的请求地址、鉴权请求头和请求体。
curl --request POST \
--url https://api.ttapi.io/bfl/v1/flux-2-pro \
--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"}'