flux-2-max

由 Black Forest Labs 提供图像

Flux 2 Max 支持通过提示词生成或编辑图像,官方渠道最多接收四张参考图。

更新于:
输入提示词文本
模型8款可用
返回方式异步结果链接
价格优惠 40%官方价
Empty wooden boat floating on a nebula-colored cosmic sea beneath a spiral galaxyCosmic sea voyage示例 01
Woman in layered white silk and matte fabrics with white-framed sunglasses in a high-key studioWhite studio editorial示例 02
Golden-hour drone view of a cedar-and-stone Japanese coastal villa with a Zen courtyardCoastal Japanese villa示例 03
Silhouetted man in a hoodie and low cap lit by CRT static behind himCRT hoodie portrait示例 04
生成示例

从提示词到成图

An Airbus A350 at the very front, seen by a wide airport gate window, a row of seats, connected by the jetway, at the airport, at night, phone wallpaper, soft gradient

a woman stands in a richly textured environment bathed in warm golden light, the background composed of subtle gradients and soft reflective surfaces that amplify the glow, her outfit elegant and fluid with gold accents integrated into fine fabrics, the materials catching light in a soft, luxurious way, her pose relaxed yet elevated, one arm gently crossing her body, creating a natural flow of lines, the lighting warm and directional, wrapping around her figure and creating soft highlights and deep but gentle shadows, the sunglasses feature metallic details that reflect the golden tones, the lenses slightly warm in tint, blending seamlessly into the overall palette, her expression confident and serene, the composition layered but harmonious, every element contributing to a sense of richness without excess, the textures of fabric, light, and surface working together to create depth, the overall image refined, elegant, and aspirational, high fashion editorial photography style, warm lighting, soft highlights, controlled shadows, rich textures, balanced composition, luxury aesthetic

A cinematic, high-contrast portrait of a young man sitting in the dark, wearing a black hoodie and a baseball cap with the brim pulled low to obscure his eyes. He is sitting on a simple crate in a pitch-black room. The only light comes from a faint, cool-blue glow behind him, resembling a CRT TV screen playing static. The lighting creates a sharp silhouette, highlighting the texture of the hoodie but leaving the face in mystery. Moody, emotional, 8k resolution, photorealistic, solitary atmosphere.

Use the reference image ONLY for background color, shadow softness and position, exposure level, and gold band color. Do NOT copy stones, ring shape, design details, or decorative elements from the reference image. High-end luxury jewelry product photography of the uploaded ring, preserve the exact ring design, stones, and proportions of the uploaded image. Ring made from identical warm 18k yellow gold, rich buttery yellow tone, neutral warmth, medium-high polish with soft natural reflections. Ring resting naturally on a flat surface with full contact, not floating. Single soft diffused studio light, one soft contact shadow directly beneath the ring, no additional shadows. Background must be perfectly flat, uniform, one solid warm off-white color (#F5F2EC), no texture, no paper effect, no gradient, no variation. Dont change colour of the pearls. Camera settings: macro lens look, 85mm focal length, aperture f/11, entire ring in sharp focus with identical depth of field to the reference image, photorealistic luxury e-commerce catalog style, perfect exposure, ultra sharp.

A formidable Drider, (half-darkelf and bottom half-spider), in a dimly lit cave, its eight elongated limbs poised gracefully, yet ready for action. The rugged mountain terrain sprawls behind, illuminated by shafts of vibrant, ethereal light streaming through cracks in the cave ceiling. Lush green moss clings to the rocky surface, contrasting with the warm tones of the Drider's exoskeleton, which shimmers in hues of iridescent blue and deep crimson. Shadows dance across the cave walls, creating an atmosphere thick with mystery and tension, while distant stalactites glisten like jewels. This scene is richly colored and presented in cinematic lighting, inviting an air of enchantment and foreboding as the Drider surveys its domain. in a fantasy DnD artstyle

a woman stands in a high fashion studio environment entirely defined by soft white tones, the space minimal yet deeply textured through subtle variations of light and shadow, her outfit composed of flowing white fabrics with delicate structure, layers of silk and matte textiles creating contrast without breaking the monochrome palette, her posture relaxed but intentional, one shoulder slightly forward, her body aligned in a way that feels both natural and composed, the lighting soft yet directional, sculpting her face with gentle gradients, eliminating harsh shadows while maintaining depth, the background seamless, blending into the floor with no visible edges, creating a sense of infinite space, the sunglasses become the central contrast element, a clean white frame with slightly tinted lenses, reflecting minimal highlights from the environment, the reflections controlled and soft, never distracting, her expression calm, neutral, almost introspective, as if existing in a space beyond distraction, every detail in the image carefully reduced to essentials, no visual noise, only form, light, and presence, the composition balanced with negative space, allowing the subject to breathe within the frame, the overall feeling one of clarity, refinement, and quiet confidence, high fashion editorial photography style, soft diffused lighting, high key exposure, minimal composition, clean aesthetic, ultra sharp subject with soft background falloff

the environment cools into deep blue tones, the space now sleek and minimal with reflective surfaces that echo subtle gradients of light, her outfit becomes structured and modern in navy and metallic accents, her movement slower, more calculated, as if every gesture is intentional, she holds a pair of sunglasses with a polished dark frame, the lenses reflecting cold light with a clean precision, as she raises them toward her face the reflections sharpen, creating a sense of clarity and control, her expression calm, almost detached, the blue tones emphasizing composure and focus, the environment feels stable and controlled, every element aligned, the sunglasses reinforcing this precision, adding a layer of authority to her presence, modern luxury cinematic style, cool lighting, reflective surfaces, minimal motion, controlled atmosphere

A cinematic, photorealistic image of a quiet creative workspace at night. A worn but elegant wooden desk with fabric samples in leather, silk, and cotton draped organically across the surface. An open notebook shows abstract statement tee concepts and pattern sketches. Warm ambient lighting from a single lamp creates deep shadows and a moody, contemplative feel. The scene conveys intentional craftsmanship, cultural depth, and creative focus. No people, no text, no logos. Ultra-realistic, editorial photography, shallow focus, rich textures.

modern potrait, dramatic portrait of enigmatic young arabic man (sultan) with radiant eyes, looking into camera, dramatic light, dark background

模型能力

flux-2-max 能做什么

根据提示词生成

提交简洁提示词,通过一个 TTAPI 任务获取图像结果。

常用参数

设置提示词、模型、输出参数和回调即可接入。

异步查询

通过轮询或 Webhook 接收结果,避免耗时生成阻塞界面。

接入产品

Flux 2 Pro 的输出可以展示、保存或交给后续流程处理。

计费

按操作计费,单位为 quota

按模型、操作和输出设置扣除 quota。

图像生成与编辑官方定价
模型TTAPI 计费计费单位
flux-2-max比官方价低 40%/ 次请求
API 请求

请求头与提交参数

使用 TTAPI 密钥,按下方字段向接口发送请求。

POSThttps://api.ttapi.io/bfl/v1/flux-2-max

请求头

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。

查看 TTAPI 接入文档
接入示例

发送请求并获取结果

复制当前模型的请求地址、鉴权请求头和请求体。

curl --request POST \
  --url https://api.ttapi.io/bfl/v1/flux-2-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"}'