当前位置:首页 > 攻略秘籍 > BlackForestLabs发布的FLUX.2提示词指南(中英双语版)

BlackForestLabs发布的FLUX.2提示词指南(中英双语版)

文章来源:潮游速递网作者:admin发布时间:2026-01-17 09:21:30

FLUX.2提示词指南是Black Forest Labs官方发布的FLUX.2使用指引,核心内容围绕结构化JSON提示、精准十六进制颜色调控以及多参考图像编辑技术展开,旨在帮助用户生成高品质的图像与设计作品。该指南深入阐释了JSON提示的基础框架、分步骤搭建提示的流程、十六进制颜色代码的运用窍门、信息图表和数据可视化的制作方法、多语言提示的独特优势、漫画条与顺序艺术的创作思路、逼真风格的达成路径,还有多参考图像编辑的强大效能。此外,指南还包含最佳实践归纳和快速参考表格,助力用户更高效地掌握FLUX.2的操作技巧。

掌握FLUX.2提示词编写技巧,包括掌握结构化JSON、十六进制颜色与多参考图技法

FLUX.2具备卓越的指令跟随能力,支持结构化JSON提示、精准十六进制颜色控制及多参考图编辑等进阶技术。本指南将完整解析这些核心功能,助您创造惊艳的视觉作品。

不支持否定提示:FLUX.2 不支持否定提示。请专注于描述您想要的画面内容,而不是您不想要什么。

JSON结构化提示

FLUX.2 擅长解析结构化的 JSON 指令,让您能精确控制图像的各个方面。这对于生产工作流程和自动化尤为重要。

基本模式逐步构建提示词{"scene":"overall scene description","subjects":[{"description":"detailed subject description","position":"where in frame","action":"what they're doing"}],"style":"artistic style","color_palette":["#hex1","#hex2","#hex3"],"lighting":"lighting description","mood":"emotional tone","background":"background details","composition":"framing and layout","camera":{"angle":"camera angle","lens":"lens type","depth_of_field":"focus behavior"}}{"scene":"整体场景描述","subjects":[{"description":"详细主体描述","position":"在画面中的位置","action":"他们正在做什么"}],"style":"艺术风格","color_palette":["#hex1","#hex2","#hex3"],"lighting":"灯光描述","mood":"情感基调","background":"背景细节","composition":"构图和布局","camera":{"angle":"相机角度","lens":"镜头类型","depth_of_field":"焦点行为"}}

让我们逐步构建产品图,看看每个元素是如何发挥作用的。

步骤 1:生成咖啡杯

{"scene":"专业摄影棚产品拍摄场景,配备抛光水泥台面","subjects":[{"description":"极简风格陶瓷咖啡杯,杯中热咖啡升腾着袅袅蒸汽","pose":"平稳放置于台面上","position":"抛光水泥台面的前景中央位置","color_palette":["哑光黑陶瓷"]}],"style":"达到商业级水准的超写实产品摄影风格","color_palette":["哑光黑","水泥灰","柔和白色高光"],"lighting":"运用三点柔光箱布光方案,打造出柔和漫射的高光效果,无生硬阴影","mood":"整洁、专业、极简主义氛围","background":"抛光水泥台面搭配摄影棚背景板","composition":"遵循三分构图法则","camera":{"angle":"高机位","distance":"中景拍摄","focus":"清晰对焦于咖啡升腾的蒸汽与咖啡杯细节处","lens-mm":85,"f-number":"f/5.6","ISO":200}}{"scene":"Professional studio product photography setup with polished concrete surface","subjects":[{"description":"Minimalist ceramic coffee mug with steam rising from hot coffee inside","pose":"Stationary on surface","position":"Center foreground on polished concrete surface","color_palette":["matte black ceramic"]}],"style":"Ultra-realistic product photography with commercial quality","color_palette":["matte black","concrete gray","soft white highlights"],"lighting":"Three-point softbox setup creating soft, diffused highlights with no harsh shadows","mood":"Clean, professional, minimalist","background":"Polished concrete surface with studio backdrop","composition":"rule of thirds","camera":{"angle":"high angle","distance":"medium shot","focus":"Sharp focus on steam rising from coffee and mug details","lens-mm":85,"f-number":"f/5.6","ISO":200}}

步骤2:添加第二个不同颜色的马克杯

{"scene":"专业影棚产品拍摄场景,配备抛光水泥地面","subjects":[{"description":"极简风格陶瓷咖啡杯,杯中热咖啡升腾着袅袅蒸汽","pose":"放置于地面静止不动","position":"抛光水泥地面的前景中心位置","color_palette":["哑光黑色陶瓷材质"]},{"description":"与黑色款设计一致的极简陶瓷咖啡杯","pose":"放置于地面静止不动","position":"抛光水泥地面上黑色咖啡杯的右侧","color_palette":["哑光黄色陶瓷材质"]}],"style":"达到商业级品质的超写实产品摄影","color_palette":["哑光黑","哑光黄","水泥灰","柔和白色高光"],"lighting":"采用三点柔光箱布光方案,打造柔和漫射的高光效果,无生硬阴影","mood":"整洁、专业、极简主义氛围","background":"搭配影棚背景板的抛光水泥地面","composition":"遵循三分构图法则","camera":{"angle":"高机位拍摄","distance":"中等拍摄距离","focus":"清晰对焦于咖啡升起的蒸汽及画面内两个咖啡杯","lens-mm":85,"f-number":"f/5.6","ISO":200}}{"scene":"Professional studio product photography setup with polished concrete surface","subjects":[{"description":"Minimalist ceramic coffee mug with steam curling from the hot coffee inside","pose":"Stationary on the surface","position":"Center foreground of the polished concrete surface","color_palette":["matte black ceramic material"]},{"description":"Minimalist ceramic coffee mug with a design matching the black one","pose":"Stationary on the surface","position":"Right side of the black mug on the polished concrete surface","color_palette":["matte yellow ceramic material"]}],"style":"Ultra-realistic product photography of commercial quality","color_palette":["matte black","matte yellow","concrete gray","soft white highlights"],"lighting":"Three-point softbox lighting setup that creates soft, diffused highlights without harsh shadows","mood":"Clean, professional, minimalist atmosphere","background":"Polished concrete surface with studio backdrop","composition":"Following the rule of thirds composition","camera":{"angle":"High-angle shot","distance":"Medium shooting distance","focus":"Sharp focus on the steam rising from the coffee and both mugs in the frame","lens-mm":85,"f-number":"f/5.6","ISO":200}}

步骤 3:改变蒸汽的颜色

{"scene":"专业摄影棚产品拍摄场景,搭配抛光水泥台面","subjects":[{"description":"极简风陶瓷咖啡杯,杯中热咖啡升腾着鲜艳的红色蒸汽","pose":"放置于台面静止不动","position":"在抛光水泥台面的前景中央位置","color_palette":["哑光黑陶瓷材质","鲜艳红色蒸汽"]},{"description":"与黑色咖啡杯设计一致的极简风陶瓷咖啡杯","pose":"放置于台面静止不动","position":"在抛光水泥台面上黑色咖啡杯的右侧","color_palette":["哑光黄陶瓷材质"]}],"style":"达到商业级品质的超写实产品摄影风格","color_palette":["哑光黑","哑光黄","鲜艳红","水泥灰","柔和白色高光"],"lighting":"采用三点柔光箱布光方案,形成柔和且弥散的高光效果,无生硬阴影","mood":"整洁、专业、极简的氛围","background":"带有摄影棚背景板的抛光水泥台面","composition":"遵循三分构图法则","camera":{"angle":"高角度拍摄","distance":"中景镜头","focus":"清晰对焦于咖啡升起的蒸汽及画面内的两个咖啡杯","lens-mm":85,"f-number":"f/5.6","ISO":200}}{"scene":"Professional studio product photography setting with polished concrete countertop","subjects":[{"description":"Minimalist ceramic coffee mug with vivid red steam curling up from the hot coffee inside","pose":"Stationary on the countertop","position":"Center foreground on the polished concrete countertop","color_palette":["matte black ceramic","vivid red steam"]},{"description":"Minimalist ceramic coffee mug that matches the design of the black one","pose":"Stationary on the countertop","position":"Right side of the black mug on the polished concrete countertop","color_palette":["matte yellow ceramic"]}],"style":"Ultra-realistic product photography with commercial-grade quality","color_palette":["matte black","matte yellow","vivid red","concrete gray","soft white highlights"],"lighting":"Three-point softbox lighting setup producing soft, diffused highlights without harsh shadows","mood":"Clean, professional, minimalist atmosphere","background":"Polished concrete countertop with studio backdrop","composition":"Adheres to the rule of thirds","camera":{"angle":"High-angle shot","distance":"Medium shot","focus":"Sharp focus on the steam rising from the coffee and both mugs in the frame","lens-mm":85,"f-number":"f/5.6","ISO":200}}

您可以直接在提示符中包含 JSON 数据,也可以将其转换为自然语言。FLUX.2 支持这两种格式。

十六进制颜色代码提示

FLUX.2 支持使用十六进制代码进行精确的颜色匹配。对于品牌一致性和设计工作至关重要。

基本语法

使用“color”或“hex”等关键字,后跟代码,表示十六进制颜色:

The vase has color #02eb3cThe background is hex #1a1a2e花瓶的颜色是: #02eb3c背景的颜色是: #1a1a2e渐变色

通过指定起始颜色和结束颜色应用渐变:

提示:“A vase on a table in living room, the color of the vase is a gradient, starting with color #02eb3c and finishing with color #edfa3c. The flowers inside the vase have the color #ff0088”“客厅桌子上放着一个花瓶,花瓶的颜色是渐变色,从#02eb3c开始,到#edfa3c结束。花瓶里的花是#ff0088。”

JSON 提示中的颜色

将十六进制颜色与结构化提示相结合,实现最大程度的控制:

{"scene":"Makeup flat lay on marble surface","subjects":[{"description":"eyeshadow palette","colors":["#E91E63","#9C27B0","#673AB7","#3F51B5"]}],"style":"beauty product photography","lighting":"soft diffused overhead lighting"}{"scene":"大理石表面上的美妆平铺展示","subjects":[{"description":"眼影盘","colors":["#E91E63","#9C27B0","#673AB7","#3F51B5"]}],"style":"美妆产品摄影","lighting":"柔和的漫射顶光"}

十六进制代码与特定对象明确关联时效果最佳。诸如“在某处使用#FF0000”之类的模糊描述可能会导致结果不一致。

信息图表和数据可视化

FLUX.2 能生成排版清晰、布局结构合理的图表。

信息图表模{"type":"infographic","title":"Your Main Title","subtitle":"Supporting context","sections":[{"heading":"Section 1","content":"Key information","visual":"icon or chart type"}],"color_scheme":["#primary","#secondary","#accent"],"style":"modern, clean, corporate"}{"type":"信息图","title":"主标题","subtitle":"辅助说明","sections":[{"heading":"第一部分","content":"关键信息","visual":"图标或图表类型"}],"color_scheme":["#主色","#辅助色","#强调色"],"style":"现代、简洁、商务"}

提示示例:

“Create a vertical infographic about coffee consumption worldwide. Title: ‘Global Coffee Culture’. Include 3 sections with statistics, use icons for each country, color scheme #4A2C2A (brown) and #F5E6D3 (cream). Modern minimalist style with clean typography.”“制作一张关于全球咖啡消费的竖版信息图。标题:‘全球咖啡文化’。包含三个部分,分别展示统计数据,每个国家使用图标,配色方案为#4A2C2A(棕色)和#F5E6D3(米色)。采用现代简约风格,字体简洁。”

排版与设计

FLUX.2 擅长生成简洁的排版、产品营销材料和杂志版面。

产品广告: “Samsung Galaxy S25 Ultra product advertisement, ‘Ultra-strong titanium’ headline, ‘Shielded in a strong titanium frame, your Galaxy S25 Ultra always stays protected’ subtext, close-up of phone edge showing titanium frame, dark gradient background, clean minimalist tech aesthetic, professional product photography”“三星 Galaxy S25 Ultra 产品广告,标题为‘超强钛金属’,副标题为‘坚固的钛金属边框,让您的 Galaxy S25 Ultra 始终受到保护’,手机边缘特写,展示钛金属边框,深色渐变背景,简洁的极简科技美学,专业产品摄影”

杂志封面:“Women’s Health magazine cover, April 2025 issue, ‘Spring forward’ headline, woman in green outfit sitting on orange blocks, white sneakers, ‘Covid: five years on’ feature text, ‘15 skincare habits’ callout, professional editorial photography, magazine layout with multiple text elements”“《女性健康》杂志封面,2025年4月刊,标题为‘春回大地’,一位身穿绿色套装的女士坐在橙色方块上,脚穿白色运动鞋,专题文章为‘新冠疫情:五年后’,宣传语为‘15个护肤习惯’,专业编辑摄影,杂志版面包含多个文本元素”

多语言提示

FLUX.2 拥有出色的多语言理解能力。您可以使用母语进行提示,获得更具文化真实性的结果。

French: “Un marché alimentaire dans la campagne normande, des marchands vendent divers légumes, fruits. Lever de soleil, temps un peu brumeux”

Thai: “ตลาดอาหารเช้าในชนบทใกล้กรุงเทพฯ พ่อค้าแม่ค้ากำลังขายผักและผลไม้นานาชนิด บรรยากาศยามพระอาทิตย์ขึ้น มีหมอกจาง ๆ ปกคลุม สงบและอบอุ่น”

Korean: “서울 도심의 옥상 정원, 저녁 노을이 지는 하늘 아래에서 사람들이 작은 등불을 켜고 있다. 화려한 네온사인이 멀리 반짝이고, 정원에는 다양한 꽃들이 피어 있다. 분위기는 따뜻하고 낭만적이다

中文:“在诺曼底乡村的一个食品市场,商贩们正在售卖各种蔬菜和水果。日出时分,天气有些雾蒙蒙的。”

使用你所创作内容的母语进行提示,通常会产生更具文化真实性的结果——当地的市场、建筑和氛围都能更准确地呈现出来。

漫画和连环画

创作风格统一、人物形象连贯的漫画分镜。关键在于细致刻画人物,在所有分镜中保持人物形象的一致性。

扩散者的故事

分别生成每个面板,同时保持角色描述的一致性:

画面一提示:危机

“Style: Classic superhero comic Character: Worried scientist frantically typing on glowing holographic keyboard, face illuminated by blue light showing deep concern Setting: Massive computer server room with sparking circuits and red warning lights flashing on monitors Text: ‘The AI models are corrupting! We need Diffusion Man!’ Mood: Tense, urgent + dramatic blue and red tones”风格:经典超级英雄漫画 人物:忧心忡忡的科学家在发光的全息键盘上疯狂敲击,脸上被蓝光照亮,神情忧虑 场景:巨大的计算机服务器机房,电路火花四溅,显示器上的红色警示灯闪烁 文字:“人工智能模型正在崩溃!我们需要扩散人!” 氛围:紧张、紧急,戏剧性的蓝红色调

画面二提示:转变

“Style: Classic superhero comic with dynamic action lines and electric energy effects Character: Diffusion Man/Mild-mannered programmer (30 years old, brown skin tone, short natural fade haircut with black hair, black-framed glasses, light blue button-up shirt, athletic build, strong jawline) body begins to glow with swirling gradients of deep purple, electric blue, and hot pink energy, mathematical equations and neural network patterns flowing around him in glowing lines Setting: Small office with computer monitors displaying code and error messages Text: ‘When noise becomes signal, I am… DIFFUSION MAN!’ Mood: Powerful, transformative + dramatic backlighting and energy radiating outward in waves”风格:经典超级英雄漫画风格,动感十足的动作线条和电能特效。角色:扩散人/温文尔雅的程序员(30岁,棕色皮肤,黑色短渐变发型,黑框眼镜,浅蓝色衬衫,身材健硕,下颌线条分明),身体开始散发出深紫色、电光蓝和亮粉色的漩涡状能量,数学方程式和神经网络模式以发光线条的形式环绕着他。场景:小型办公室,电脑显示器上显示着代码和错误信息。文字:“当噪音变成信号,我就是……扩散人!”氛围:强大、变革性,戏剧性的背光和能量以波浪状向外辐射。

画面三提示:战斗

风格:经典超级英雄漫画风,动作震撼夺目,构图充满动感。角色:扩散侠——三十岁上下的健壮男性,深棕色肤色,留着自然渐变的黑色短发;身着线条利落的紧身战衣,衣身有从深紫过渡到电光蓝再到亮粉的渐变纹路,胸前是发光的神经网络徽记,节点彼此相连;搭配同色系渐变短披风,紫色半面罩下露出线条硬朗的下颌与自信神情。他双臂前伸,姿态极具力量感,正朝由故障像素与破损代码构成的腐败数字怪物,发射结构噪声与潜在空间能量光束。场景:数字赛博空间,漂浮的数据立方体与倾泻而下的二进制代码交织。文字:“是时候给这场混乱去噪了!”氛围:紧张激烈,动作场面燃爆,交织着耀眼的能量闪光与电光特效。

画面四提示:胜利

风格:经典超级英雄漫画风,色调温暖且洋溢着胜利感,构图简洁明了。人物:扩散侠——三十岁上下的健壮男性,棕色肌肤,留着黑色短款渐变发型;身着深紫到电光蓝再到亮粉的渐变紧身战衣,胸口有发光的神经网络标志,背后飘着同色系渐变短披风,脸上戴着紫色半面罩,下颌线条硬朗,嘴角挂着自信的英雄式笑容。他身姿挺拔地站着,向身旁满是感激的科学家竖起大拇指,科学家的电脑屏幕上正显示着稳定的绿色指示灯与成功提示。场景:静谧的服务器机房,柔和的蓝色环境光笼罩,规整的数据流有条不紊地流转。文字:“你救了我们,扩散侠!模型终于又能完美生成了!”氛围:胜利的欢欣与满怀的希望交织,金色的夕阳余晖透过窗户漫入室内。

角色一致性:注意“扩散人”的描述在各个分镜中都保持了细节上的一致性——棕色的肤色、自然的短渐变发型、从紫色到蓝色到粉色的渐变紧身衣、神经网络标志、紫色半面具。在每个分镜提示中都重复这些细节。

照片写实风格

FLUX.2 在照片级写实图像生成方面表现出色。参考特定时代和技术,打造独具特色的视觉效果。

风格参考指南风格关键描述符现代数字“使用索尼A7IV拍摄,画面清晰锐利,动态范围高”2000年代数码相机“早期数码相机,轻微噪点,闪光灯拍摄,抓拍,2000年代数码相机风格”80年代复古风“胶片颗粒感、暖色调、柔焦效果、80年代复古照片”模拟胶片“采用柯达Portra 400胶片拍摄,天然颗粒,自然色彩”

Modern Photorealism: “Soaking wet tiger cub taking shelter under a banana leaf in the rainy jungle, close up photo”现代超写实主义: “一只浑身湿透的小老虎在雨后的丛林中躲在香蕉叶下,特写照片”

2000s Digicam: “Sloth out drinking in Bangkok at night in a street full of party folks, 2000s digicam style, people in the background fading”2000 年代数码相机风格: “夜晚,一只懒虫在曼谷一条挤满派对人群的街道上喝酒,2000 年代数码相机风格,背景中的人群渐渐消失”

80s Vintage: “A group of baby penguins in a trampoline park, having the time of their lives, 80s vintage photo”80年代复古照片: “一群小企鹅在蹦床公园里玩得不亦乐乎,80年代复古照片”

相机和镜头模拟

为获得真实效果,请务必具体设置相机参数:

Shot on Hasselblad X2D, 80mm lens, f/2.8, natural lighting使用哈苏 X2D 相机拍摄,80mm 镜头,光圈 f/2.8,自然光Canon 5D Mark IV, 24-70mm at 35mm, golden hour, shallow depth of field使用佳能 5D Mark IV 相机拍摄,镜头焦距 35mm,黄金时段,浅景深多参考图像编辑

*[专业版] API 的输入+输出总限制为 9MP。1MP 输出时最多可以使用 8 张参考图像,2MP 输出时最多可以使用 7 张,依此类推。

多重引用功能非常强大,可用于:

时尚拍摄:将服装单品搭配成时尚造型室内设计:在房间里摆放家具和装饰品产品合成:将多个产品组合成场景角色一致性:在各种变体中保持角色身份时尚大片范例(8张参考图)

这是一张1987年用过期柯达Ektachrome 64幻灯片胶片拍摄的精神性建筑摄影作品,使用35mm球面镜头、f/5.6光圈,并经过交叉冲洗处理。画面中,模特立于林间空地的小型森林教堂前,身着红色服装站在通往木质教堂的石阶上,鲜艳的红色与风化的棕色木材形成强烈反差。背景是传统的黑森林教堂——深色木结构搭配小钟楼,配有雕花木门,屋檐下饰有宗教绘画;教堂周围的空地开满野花,高耸的冷杉交织成天然的穹顶空间,一旁还有带木制十字架的小型墓地。拍摄时采用1/125秒快门速度,捕捉了林间斑驳的光影。经交叉冲洗的Ektachrome胶片呈现出极致的色彩偏移:青品色分离,温暖的木色调被渲染成橙棕色,红色饱和度极高,黑色阴影深邃浓重,高光部分轻微过曝,厚重的颗粒感更添神秘氛围。构图核心围绕神圣空间与朝圣主题展开,融合了托马斯·斯特鲁斯教堂内饰的静谧质感、坎迪达·霍弗建筑纪实的严谨视角,同时兼具宗教旅游与时尚 editorial 的双重风格,传递出黑森林独有的精神神秘主义色彩。

在多参考图编辑模式下,需明确描述每张参考图的具体用途。该模型能根据您的提示,将不同参考图中的服装单品、配饰元素及风格特征融合成协调统一的场景。

即时上采样

FLUX.2 提供了一个prompt_upsampling参数,能自动优化您的提示信息,获得更好的结果。对于以下情况非常有用:

快速迭代,无需编写详细提示探索创意变体当你有了基本概念但想要更丰富的输出时

提示词升频技术可自动为您的提示添加细节与语境。在模型扩展视觉元素的同时,您的原始创作意图将得到完整保留。

最佳实践总结控制结构:当您需要精确控制多个元素时,请使用 JSON 结构化提示。从简单的开始,根据需要逐步增加复杂性。颜色要具体明确:始终将十六进制代码与特定对象关联起来。“这辆车的代码是#FF0000”比“在图像中使用红色#FF0000”效果更好。描述你想要什么:FLUX.2 没有否定提示。例如,不要说“没有模糊”,要说“始终清晰对焦”。不要说“没有人”,要描述“空旷的场景”。参考相机和风格:为获得逼真的照片效果,请具体说明相机型号、镜头和胶片类型。“使用富士X-T5相机,35mm f/1.4镜头拍摄”比“专业照片”更能呈现真实效果。使用母语:请用最能描述您所需文化背景的语言进行描述。例如,巴黎场景请用法语,动漫风格请用日语。多层多重参考仔细:当使用多个输入图像时,请清楚地描述每个图像的作用:图像 1 代表主体,图像 2 代表风格,图像 3 代表背景。速查参考技术何时使用关键语法JSON 提示复杂场景,自动化{"scene": "...", "style": "..."}十六进制颜色品牌推广,精准匹配color #FF5733或者hex #FF5733相机参考照片写实主义shot on [camera], [lens], [settings]风格时代特定时期的造型80s vintage,2000s digicam多参考合成图像[pro]: 8, [flex]: 10, [dev]: ~6

英文原文

Master FLUX.2 prompting with structured JSON, hex colors, and multi-reference techniques

FLUX.2delivers exceptional prompt following and supports advanced techniques like structured JSON prompting, precise hex color control, and multi-reference image editing. This guide covers everything you need to create stunning results.

No negative prompts:FLUX.2 does not support negative prompts. Focus on describing what you want, not what you don’t want.

JSON Structured Prompting

FLUX.2 excels at interpreting structured JSON prompts, giving you precise control over every aspect of your image. This is particularly powerful for production workflows and automation.

The Base Schema{"scene":"overall scene description","subjects":[{"description":"detailed subject description","position":"where in frame","action":"what they're doing"}],"style":"artistic style","color_palette":["#hex1","#hex2","#hex3"],"lighting":"lighting description","mood":"emotional tone","background":"background details","composition":"framing and layout","camera":{"angle":"camera angle","lens":"lens type","depth_of_field":"focus behavior"}}Building a Prompt Step by Step

Let’s build a product shot incrementally to see how each element contributes.

Step 1: Generating a coffee mug

{"scene":"Professional studio product photography setup with polished concrete surface","subjects":[{"description":"Minimalist ceramic coffee mug with steam rising from hot coffee inside","pose":"Stationary on surface","position":"Center foreground on polished concrete surface","color_palette":["matte black ceramic"]}],"style":"Ultra-realistic product photography with commercial quality","color_palette":["matte black","concrete gray","soft white highlights"],"lighting":"Three-point softbox setup creating soft, diffused highlights with no harsh shadows","mood":"Clean, professional, minimalist","background":"Polished concrete surface with studio backdrop","composition":"rule of thirds","camera":{"angle":"high angle","distance":"medium shot","focus":"Sharp focus on steam rising from coffee and mug details","lens-mm":85,"f-number":"f/5.6","ISO":200}}

Step 2: Adding a second mug in a different color

{"scene":"Professional studio product photography setup with polished concrete surface","subjects":[{"description":"Minimalist ceramic coffee mug with steam rising from hot coffee inside","pose":"Stationary on surface","position":"Center foreground on polished concrete surface","color_palette":["matte black ceramic"]},{"description":"Minimalist ceramic coffee mug, matching design to the black mug","pose":"Stationary on surface","position":"Right side of the black mug on polished concrete surface","color_palette":["matte yellow ceramic"]}],"style":"Ultra-realistic product photography with commercial quality","color_palette":["matte black","matte yellow","concrete gray","soft white highlights"],"lighting":"Three-point softbox setup creating soft, diffused highlights with no harsh shadows","mood":"Clean, professional, minimalist","background":"Polished concrete surface with studio backdrop","composition":"rule of thirds","camera":{"angle":"high angle","distance":"medium shot","focus":"Sharp focus on steam rising from coffee and both mugs in frame","lens-mm":85,"f-number":"f/5.6","ISO":200}}

Step 3: Change the color of the steam

{"场景":"专业影棚产品摄影布置,搭配抛光水泥表面","拍摄主体":[{"描述":"极简风格陶瓷咖啡杯,杯中热咖啡升腾着亮红色蒸汽","姿态":"静置在表面上","位置":"抛光水泥表面的前景中央","色彩搭配":["哑光黑色陶瓷","亮红色蒸汽"]},{"描述":"极简风格陶瓷咖啡杯,设计与黑色杯子相匹配","姿态":"静置在表面上","位置":"抛光水泥表面上黑色杯子的右侧","色彩搭配":["哑光黄色陶瓷"]}],"风格":"超写实商业品质产品摄影","整体色彩":["哑光黑","哑光黄","亮红","水泥灰","柔和白色高光"],"布光":"三点式柔光箱布置,营造柔和漫射高光,无生硬阴影","氛围":"干净、专业、极简","背景":"带影棚背景板的抛光水泥表面","构图":"三分法","相机参数":{"角度":"高角度","景别":"中景","对焦":"清晰对焦于升腾的咖啡蒸汽及画面内的两个杯子","镜头焦距-mm":85,"光圈值":"f/5.6","感光度":200}}

You can include the JSON directly in your prompt, or flatten it into natural language. FLUX.2 understands both formats.

HEX Color Code Prompting

FLUX.2 supports precise color matching using hex codes. This is essential for brand consistency and design work.

Basic Syntax

Signal hex colors with keywords like “color” or “hex” followed by the code:

"vase_color":"#02eb3c","background_color":"#1a1a2e"Gradient Colors

Apply gradients by specifying start and end colors:

Prompt: “A vase on a table in living room, the color of the vase is a gradient, starting with color #02eb3c and finishing with color #edfa3c. The flowers inside the vase have the color #ff0088”

Color in JSON Prompts

Combine hex colors with structured prompts for maximum control:

{"scene":"Makeup flat lay on marble surface","subjects":[{"description":"eyeshadow palette","colors":["#E91E63","#9C27B0","#673AB7","#3F51B5"]}],"style":"beauty product photography","lighting":"soft diffused overhead lighting"}

Hex codes work best when clearly associated with specific objects. Vague references like “use #FF0000 somewhere” may produce inconsistent results.

Infographics and Data Visualization

FLUX.2 can generate infographics with clean typography and structured layouts.

Infographic Template{"type":"infographic","title":"Your Main Title","subtitle":"Supporting context","sections":[{"heading":"Section 1","content":"Key information","visual":"icon or chart type"}],"color_scheme":["#primary","#secondary","#accent"],"style":"modern, clean, corporate"}

Example Prompt:

“Create a vertical infographic about coffee consumption worldwide. Title: ‘Global Coffee Culture’. Include 3 sections with statistics, use icons for each country, color scheme #4A2C2A (brown) and #F5E6D3 (cream). Modern minimalist style with clean typography.”

Typography and Design

FLUX.2 excels at generating clean typography, product marketing materials, and magazine layouts.

Product Ad: “Samsung Galaxy S25 Ultra product advertisement, ‘Ultra-strong titanium’ headline, ‘Shielded in a strong titanium frame, your Galaxy S25 Ultra always stays protected’ subtext, close-up of phone edge showing titanium frame, dark gradient background, clean minimalist tech aesthetic, professional product photography”

Magazine Cover: “Women’s Health magazine cover, April 2025 issue, ‘Spring forward’ headline, woman in green outfit sitting on orange blocks, white sneakers, ‘Covid: five years on’ feature text, ‘15 skincare habits’ callout, professional editorial photography, magazine layout with multiple text elements”

Multi-Language Prompting

FLUX.2 has excellent multi-language understanding. You can prompt in your native language for more culturally authentic results.

French: “Un marché alimentaire dans la campagne normande, des marchands vendent divers légumes, fruits. Lever de soleil, temps un peu brumeux”

Thai: “ตลาดอาหารเช้าในชนบทใกล้กรุงเทพฯ พ่อค้าแม่ค้ากำลังขายผักและผลไม้นานาชนิด บรรยากาศยามพระอาทิตย์ขึ้น มีหมอกจาง ๆ ปกคลุม สงบและอบอุ่น”

Korean: “서울 도심의 옥상 정원, 저녁 노을이 지는 하늘 아래에서 사람들이 작은 등불을 켜고 있다. 화려한 네온사인이 멀리 반짝이고, 정원에는 다양한 꽃들이 피어 있다. 분위기는 따뜻하고 낭만적이다”

Prompting in the native language of the content you’re creating often produces more culturally authentic results—local markets, architecture, and atmosphere are rendered with greater accuracy.

Comic Strips and Sequential Art

Create consistent comic panels with character continuity. The key is to define your character in detail and maintain that description across panels.

The Diffusion Man Story

Generate each panel separately while keeping character descriptions consistent:

Panel 1 Prompt: The Crisis

“Style: Classic superhero comic Character: Worried scientist frantically typing on glowing holographic keyboard, face illuminated by blue light showing deep concern Setting: Massive computer server room with sparking circuits and red warning lights flashing on monitors Text: ‘The AI models are corrupting! We need Diffusion Man!’ Mood: Tense, urgent + dramatic blue and red tones”

Panel 2 Prompt: The Transformation

“Style: Classic superhero comic with dynamic action lines and electric energy effects Character: Diffusion Man/Mild-mannered programmer (30 years old, brown skin tone, short natural fade haircut with black hair, black-framed glasses, light blue button-up shirt, athletic build, strong jawline) body begins to glow with swirling gradients of deep purple, electric blue, and hot pink energy, mathematical equations and neural network patterns flowing around him in glowing lines Setting: Small office with computer monitors displaying code and error messages Text: ‘When noise becomes signal, I am… DIFFUSION MAN!’ Mood: Powerful, transformative + dramatic backlighting and energy radiating outward in waves”

Panel 3 Prompt: The Battle

“Style: Classic superhero comic with explosive action and dynamic composition Character: Diffusion Man (athletic 30-year-old with brown skin tone and short natural fade haircut with black hair, wearing sleek bodysuit with gradient patterns from deep purple to electric blue to hot pink, glowing neural network emblem on chest with interconnected nodes, short gradient cape, purple half-mask showing strong jawline and confident expression) extends both hands forward in powerful stance, shooting beams of structured noise and latent space energy at corrupted digital monsters made of glitching pixels and broken code Setting: Digital cyberspace environment with floating data cubes and cascading binary code Text: ‘Time to DENOISE this chaos!’ Mood: Intense, action-packed + bright energy flashes and electric effects”

Panel 4 Prompt: Victory

“Style: Classic superhero comic with warm, triumphant colors and clean composition Character: Diffusion Man (athletic 30-year-old with brown skin tone and short natural fade haircut with black hair, wearing sleek gradient bodysuit from deep purple to electric blue to hot pink, glowing neural network emblem on chest, short gradient cape flowing behind him, purple half-mask, strong jawline, confident heroic smile) stands heroically giving thumbs up gesture to grateful scientist beside him, her computer screens now showing stable green indicators and success messages Setting: Calm server room with soft blue ambient lighting and orderly data streams flowing smoothly in organized patterns Text: ‘You saved us, Diffusion Man! The models are generating perfectly again!’ Mood: Victorious, hopeful + golden sunset-like tones streaming through windows”

Character Consistency: Notice how Diffusion Man’s description stays detailed and consistent across panels—brown skin tone, short natural fade haircut, gradient bodysuit from purple to blue to pink, neural network emblem, purple half-mask. Repeat these details in every panel prompt.

Photorealistic Styles

FLUX.2 excels at photorealistic generation. Reference specific eras and techniques for distinctive looks.

Style Reference GuideStyleKey DescriptorsModern Digital”shot on Sony A7IV, clean sharp, high dynamic range”2000s Digicam”early digital camera, slight noise, flash photography, candid, 2000s digicam style”80s Vintage”film grain, warm color cast, soft focus, 80s vintage photo”Analog Film”shot on Kodak Portra 400, natural grain, organic colors”

Modern Photorealism: “Soaking wet tiger cub taking shelter under a banana leaf in the rainy jungle, close up photo”2000s Digicam: “Sloth out drinking in Bangkok at night in a street full of party folks, 2000s digicam style, people in the background fading”80s Vintage: “A group of baby penguins in a trampoline park, having the time of their lives, 80s vintage photo”Camera and Lens Simulation

Be specific about camera settings for authentic results:

Shot on Hasselblad X2D, 80mm lens, f/2.8, natural lightingCanon 5D Mark IV, 24-70mm at 35mm, golden hour, shallow depth of fieldMulti-Reference Image Editing

*[pro] API has a 9MP total limit for input+output. At 1MP output you can use up to 8 reference images, at 2MP output up to 7, and so on.

Multi-reference is powerful for:

Fashion shoots: Combine clothing items into styled outfitsInterior design: Place furniture and decor in roomsProduct composites: Combine multiple products in scenesCharacter consistency: Maintain identity across variationsFashion Editorial Example (8 references)

Prompt:“A spiritual architectural photograph captured on expired Kodak Ektachrome 64 slide film cross-processed from 1987 with a 35mm spherical lens at f/5.6, featuring model standing before small forest chapel in clearing. The model wears the outfit, positioned on stone steps leading to wooden chapel, red creating stark contrast against weathered brown timber. Background shows traditional Schwarzwald chapel – dark wood construction with small bell tower, carved wooden door, religious paintings under eaves, surrounding clearing with wild flowers, tall firs creating natural cathedral, small cemetery with wooden crosses. Dappled forest light at 1/125. Cross-processed Ektachrome showing extreme color shifts – cyan-magenta split, warm wood tones pushed to orange-brown, oversaturated red, crushed black shadows, blown highlights, heavy grain creating mysterious atmosphere. Composition emphasizes sacred spaces and pilgrimage. Thomas Struth church interiors, Candida Höfer architectural documentation, religious tourism meets fashion editorial, spiritual Schwarzwald mysticism.”

For multi-reference editing, describe how each input should be used. The model combines clothing items, accessories, and style references into a cohesive scene based on your prompt.

Prompt Upsampling

FLUX.2 offers aprompt_upsamplingparameter that automatically enhances your prompt for better results.

Quick iterations without crafting detailed promptsExploring creative variationsWhen you have a basic concept but want richer output

Prompt upsampling adds detail and context to your prompt automatically. Your original intent is preserved while the model expands on visual elements.

最佳实践摘要控制结构:当需要对多个元素进行精准控制时,使用JSON结构化提示词。从简单开始,根据需求逐步增加复杂度。颜色需明确:始终将十六进制代码与特定对象关联。“汽车是#FF0000”比“在图像中使用红色#FF0000”效果更好。描述需求内容:FLUX.2没有负面提示词。不要说“不要模糊”,而要说“全程清晰对焦”;不要说“不要有人”,而要描述“空场景”。参考相机与风格:追求照片真实感时,明确指定相机型号、镜头和胶卷类型。“使用富士X-T5拍摄,35mm f/1.4镜头”比“专业照片”能产生更真实的效果。使用母语:用最能描述所需文化语境的语言撰写提示词。比如巴黎场景用法语,动漫风格用日语。谨慎叠加多参考:使用多张输入图像时,清晰描述每张图的作用:主体来自图1,风格来自图2,背景来自图3。快速参考技巧类型 使用场景 关键语法JSON提示词 复杂场景、自动化 {"scene": "...", "style": "..."}十六进制颜色 品牌工作、精准匹配 color #FF5733 或 hex #FF5733相机参考 照片真实感 shot on [camera], [lens], [settings]风格年代 特定时期外观 80s vintage、2000s digicam多参考 合成图像 [pro]: 8, [flex]: 10, [dev]: ~6

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表本站立场。文章及其配图仅供学习分享之用,如有内容图片侵权或者其他问题,请联系本站作侵删。
  • 最新文章