Bloodstained samurai示例 01flux-kontext-max
通过官方 Flux 渠道提交提示词和参考图,用 Flux Kontext Max 按上下文编辑。
更新于:
Bloodstained samurai示例 01
Floating 3D letters示例 02
STAR DUNE CINEMA示例 03
AETHER HALL museum示例 04从提示词到成图
Make the letters 3D, floating in space on a city street
Change the jacket and t-shirt to be viking warrior clothing
In the text "Choose joy", change 'joy' to 'Max', so it says "Choose Max"
Convert to a 90s cartoon
A lone warrior in bloodstained samurai armor stands before a pagoda engulfed in flames, cinematic dark fantasy realism
Put a donut next to the flour.
Using this style, a bunny, a dog and a cat are having a tea party seated around a small white table
Reimagine the reference image as a meticulously restored mid-century desert cinema at blue hour, viewed from the front in a wide cinematic composition. Keep the building layout and perspective from the reference, but transform the scene into a polished contemporary editorial photograph. The marquee displays sharp, perfectly legible premium typography reading: STAR DUNE CINEMA and beneath it TONIGHT: SILENT COMET. Warm incandescent bulbs glow around the sign, casting elegant highlights across smooth stucco and brushed metal trim. Add a few parked vintage-inspired cars, drifting sand ribbons across the asphalt, tall dry grasses at the edges, glowing ticket window, subtle neon accents in amber and turquoise, distant mesas silhouetted against a dramatic violet-to-copper sky. Highly detailed textures, realistic reflections, clean composition, strong local edits, precise signage, commercial-grade finish.
Transform the references into a high-end futuristic museum entrance interior, preserving the architectural layout from the first image while applying the visual identity cues from the second. Feature a sweeping feature wall with large, elegant typography reading AETHER HALL, directional signage, inset illuminated lettering, refined cobalt and ivory graphic bands, brushed aluminum accents, polished concrete, subtle reflections, sparse sculptural seating, and a premium cultural-institution aesthetic. Sharp text rendering, believable scale, clean composition, editorial architectural photography style, quiet sophisticated mood, highly detailed surfaces, no people.
flux-kontext-max 能做什么
根据提示词生成
提交简洁提示词,通过一个 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-kontext-max \
--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"}'