Titanium phone advertisement示例 01flux-2-flex
Flux 2 Flex 支持通过提示词生成或编辑图像,官方渠道最多接收四张参考图。
更新于:
Titanium phone advertisement示例 01
Renaissance nobleman portrait示例 02
Mountain line sketch示例 03
Fluffy monster donut示例 04从提示词到成图
Samsung Galaxy S25 Ultra product advertisement, 'Ultra-strong titanium' headline, close-up of phone edge showing titanium frame, dark gradient background, clean minimalist tech aesthetic
A high-quality 3D render of a cute fluffy monster eating a giant donut; the fur simulation is incredibly detailed, the donut glaze is sticky and reflective, bright daylight lighting, shallow depth of field.
Fluffy cotton candy sculpted into voluminous 3D letters spelling "Flex" in swirls of bubblegum pink, baby blue, and soft lavender, held on a wooden stick in front of a vintage pastel cotton candy cart with hand-painted signage reading "Run FLUX.2 [flex] on Replicate!" on a sunny carnival boardwalk. Shot on Kodak Portra 160 with a Mamiya RZ67, bright midday summer sunlight, the spun sugar texture catching light with wispy translucent edges and denser pillowy centers, visible sticky strands, a vintage pastel Ferris wheel and striped circus tents in the soft-focus background, weathered wooden boardwalk planks beneath.
A detailed oil painting portrait of a Renaissance nobleman with intricate lace collar
Change colors of the vase. In a cozy living room setting, visualize a gradient vase placed on a table, flowing from rich #6a0dad to soft #ff69b4. Add an artistic carving text with a big font on vase says "FLEX" in the middle.
Photorealistic infographic showing the complete Berlin TV Tower (Fernsehturm) from ground base to antenna tip, full vertical view with entire structure visible including concrete shaft, metallic sphere, and antenna spire. Slight upward perspective angle looking up toward the iconic sphere, perfectly centered on clean white background. Left side labels with thin horizontal connector lines: the text '368m' in extra large bold dark grey numerals (#2D3748) positioned at exactly the antenna tip with 'TOTAL HEIGHT' in small caps below. The text '207m' in extra large bold with 'TELECAFÉ' in small caps below, with connector line touching the sphere precisely at the window level. Right side label with horizontal connector line touching the sphere's equator: the text '32m' in extra large bold dark grey numerals with 'SPHERE DIAMETER' in small caps below. Bottom section arranged in three balanced columns: Left - Large text '986' in extra bold dark grey with 'STEPS' in caps below. Center - 'BERLIN TV TOWER' in bold caps with 'FERNSEHTURM' in lighter weight below. Right - 'INAUGURATED' in bold caps with 'OCTOBER 3, 1969' below. At the very bottom center, below the columns, add small italicized text 'Run Flux.2 on Replicate' in medium grey (#A0AEC0). All typography in modern sans-serif font (such as Inter or Helvetica), color #2D3748 unless specified, clean minimal technical diagram style. Horizontal connector lines are thin, precise, and clearly visible, touching the tower structure at exact corresponding measurement points. Professional architectural elevation drawing aesthetic with dynamic low angle perspective creating sense of height and grandeur, poster-ready infographic design with perfect visual hierarchy.
A simple line sketch of a mountain landscape
Create a richly detailed airborne regatta above a vast salt flat at golden sunrise, using the reference images to preserve the marionette captain, quilted sail materials, and cloud barge design. Show multiple puppet-crewed vessels drifting in layered formation through bright apricot and pale cyan sky, long reflections shimmering below. The main vessel dominates the foreground with crisp readable painted lettering on the sail: "SKY HARBOR CUP". Include smaller banners with clean simple text such as "HEAT 3" and "NORTH WIND". Emphasize precise composition, stable geometry, handcrafted textures, taut ropes, stitched cloth, varnished wood, tiny brass fittings, and playful theatrical charm. Cinematic wide shot, storybook realism, airy scale, high detail, elegant color harmony, gentle atmosphere, no modern city elements.
Create a whimsical late-afternoon glasshouse scene centered on an elegant brass automaton florist arranging rare blooms on a long wooden counter. Use the reference images to keep the machine design, greenhouse structure, and plant palette consistent. The composition should feel airy and meticulously organized, with hanging ferns, fogged glass panes, tiled flooring, labeled drawers, bundles of stems, and polished tools. Include a small hand-painted shop sign with clear readable text: "VERDANT CLOCKWORK BLOOMS". Refined cinematic realism, intricate materials, stable geometry, balanced depth, warm sunlight diffused through glass, crisp focus on the central display, charming invention and quiet wonder.
flux-2-flex 能做什么
根据提示词生成
提交简洁提示词,通过一个 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-flex \
--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"}'