分镜提示词创作指南
分镜提示词使用
精通分镜提示词技巧,轻松实现绘本插图设计、排版设计、精准控色及剧情还原等功能。
提示词结构
使用以下公式可获得稳定效果:主体 + 动作 + 风格 + 背景
● 主体:核心焦点(人物、物体、角色)
● 动作:主体的行为或姿态
● 风格:艺术表现手法、媒介或美学风格
● 背景:场景、光线、时间、氛围或环境条件
示例 1
英文 Prompt:"Black dog hiding behind a watermelon slice, professional studio shot, bright red and turquoise background with summer mystery vibe"
拆解:
● 主体:黑狗
● 动作:躲在西瓜片后
● 风格:专业棚拍
● 背景:亮红色与青绿色背景,夏日神秘氛围
示例 2
英文 Prompt:"Dog wrapped in white towel after bath, photographed with direct flash and high exposure, fur wet details sharply visible, editorial raw portrait, cinematic harsh flash lighting, intimate humorous documentary style"
拆解:
● 主体:狗
● 动作:洗完澡后裹着白色毛巾
● 风格:纪实风格原始肖像、电影感硬光
● 背景:直射闪光灯高曝光拍摄、毛发湿润细节清晰可见、亲切幽默的纪录片风格
语序至关重要------模型会更关注靠前的内容。将最重要的元素置于开头:
优先级顺序:核心主体 → 关键动作 → 核心风格 → 必要背景 → 次要细节
提示词长度建议:
● 简短(10-30 词):快速概念呈现与风格探索
● 中等(30-80 词):大多数项目的理想长度
● 冗长(80 词以上):需详细描述的复杂场景
写实风格
FLUX.2 可通过简洁自然的语言提示词生成写实图像。参考特定时代、相机型号和拍摄技巧,可打造独特视觉效果。
风格参考指南
| 风格 | 核心描述词(英文) |
|---|---|
| 现代数字风 | "shot on Sony A7IV, clean sharp, high dynamic range" |
| 2000 年代数码相机风 | "early digital camera, slight noise, flash photography, candid, 2000s digicam style" |
| 80 年代复古风 | "film grain, warm color cast, soft focus, 80s vintage photo" |
| 模拟胶片风 | "shot on Kodak Portra 400, natural grain, organic colors" |
示例(英文 Prompt 保留原文)
● 现代写实风:"Soaking wet tiger cub taking shelter under a banana leaf in the rainy jungle, close up photo"
● 2000 年代数码相机风:"Sloth out drinking in Bangkok at night in a street full of party folks, 2000s digicam style, people in the background fading"
● 80 年代复古风:"A group of baby penguins in a trampoline park, having the time of their lives, 80s vintage photo"
相机与镜头模拟
明确相机参数设置,可获得更真实的效果:
英文 Prompt 示例 1:Shot on Hasselblad X2D, 80mm lens, f/2.8, natural lighting
英文 Prompt 示例 2:Canon 5D Mark IV, 24-70mm at 35mm, golden hour, shallow depth of field
若追求写实效果,请明确指定相机型号、镜头类型和胶片型号。相较于简单描述"专业照片","Shot on Fujifilm X-T5, 35mm f/1.4"能产出更真实的效果。
排版与设计
FLUX.2 可生成清晰排版、产品营销素材和杂志版式。
产品广告示例(英文 Prompt 保留原文)
英文 Prompt:"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"
杂志封面示例(英文 Prompt 保留原文)
英文 Prompt:"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"
文本渲染技巧
只要描述清晰,FLUX.2 可生成可读文本:
● 使用引号标注:明确文本内容
● 明确位置:文本相对于其他元素的摆放位置
● 描述风格:字体类型(如衬线、粗体、手写体)
● 指定字号:标题、正文、副标题大小
● 颜色设置:品牌文本可使用十六进制颜色码
示例提示词(英文 Prompt 保留原文)
- "The text 'OPEN' appears in red neon letters above the door"
- "Add the text 'By Black Forest Labs' below the main text in the middle of the book"
- "Add the text 'Black Forest Labs' in vibrant coral/orange, positioned center, ultra-bold decorative serif font, slight vintage poster feel"
十六进制颜色码提示词
FLUX.2 支持通过十六进制颜色码实现精准配色,适用于品牌一致性维护和设计工作。
基础语法(英文 Prompt 保留原文)
使用"color"或"hex"等关键词搭配颜色码:
The vase has color #02eb3c
The background is hex #1a1a2e
渐变色(英文 Prompt 保留原文)
通过指定起始色和结束色实现渐变效果:
英文 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"
JSON 提示词中的颜色设置(JSON 结构保留原文)
结合结构化提示词与十六进制颜色码,实现极致控色:
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"
}
注意:十六进制颜色码需明确关联具体物体。模糊表述如"use #FF0000 somewhere"可能导致效果不一致。
信息图表与数据可视化
FLUX.2 可生成排版清晰、布局规整的信息图表。
信息图表模板(JSON 结构保留原文)
json
{
"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"
}
示例提示词(英文 Prompt 保留原文)
英文 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."
多语言提示词
FLUX.2 支持多种语言,使用母语创作提示词可获得更具文化真实性的结果。
示例(保留原文 Prompt)
● 法语:"Un marché alimentaire dans la campagne normande, des marchands vendent divers légumes, fruits. Lever de soleil, temps un peu brumeux"
● 泰语:"ตลาดอาหารเช้าในชนบทใกล้กรุงเทพฯ พ่อค้าแม่ค้ากำลังขายผักและผลไม้นานาชนิด บรรยากาศยามพระอาทิตย์ขึ้น มีหมอกจาง ๆ ปกคลุม สงบและอบอุ่น"
● 韩语:"서울 도심의 옥상 정원, 저녁 노을이 지는 하늘 아래에서 사람들이 작은 등불을 켜고 있다. 화려한 네온사인이 멀리 반짝이고, 정원에는 다양한 꽃들이 피어 있다. 분위기는 따뜻하고 낭만적이다"
小贴士:创作特定文化相关内容时,使用对应母语编写提示词,可让当地市场场景、建筑风格和氛围呈现更精准。
漫画与连续叙事艺术
生成角色连贯的漫画分镜,关键在于详细定义角色特征,并在各分镜中保持描述一致。
扩散侠故事(英文 Prompt 保留原文)
单独生成每个分镜,同时保持角色描述一致性:
分镜 1:危机降临
英文 Prompt:"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"
分镜 2:变身时刻
英文 Prompt:"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"
分镜 3:战斗场面
英文 Prompt:"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"
分镜 4:胜利时刻
英文 Prompt:"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"
角色一致性要点:注意扩散侠的描述在各分镜中保持详细且一致------棕色皮肤、黑色短发自然渐变发型、紫蓝粉渐变紧身衣、神经网络标志、紫色半面罩。每个分镜提示词中均需重复这些关键细节。
JSON 结构化提示词
对于复杂场景和生产流程,FLUX.2 可解析结构化 JSON 提示词,让你对图像各方面实现精准控制。
何时使用 JSON:
● 需保持结构一致性的生产流程
● 自动化与程序化生成
● 包含多个主体及关联关系的复杂场景
● 需独立迭代特定元素时
何时更适合自然语言:
● 快速迭代与探索
● 简单单一主体场景
● 无需限制提示词长度时
● 需灵活创作的流程
FLUX.2 对两种格式的解析效果相同------根据工作流程需求选择即可。
基础架构(JSON 结构保留原文)
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"
}
}
精准颜色控制示例(JSON 结构保留原文)
将产品拆解为多个部件,为每个部件分配精确十六进制颜色码,确保品牌一致性:
json
{
"scene": "A front-facing, studio product shot of an adidas sweatshirt, isolated on a clean white background",
"subjects": [
{
"type": "Main Torso",
"description": "The central chest and stomach panel of the sweatshirt, strictly in color #FFFFFF white",
"position": "center body",
"color_match": "exact"
},
{
"type": "Shoulder Panels",
"description": "The panels on the top of the shoulders (raglan style), strictly in color #000000 black",
"position": "shoulders",
"color_match": "exact"
},
{
"type": "Sleeves",
"description": "The long sleeves extending from the shoulder panels, strictly in color #86E04A lime green",
"position": "arms",
"color_match": "exact"
},
{
"type": "Middle Sleeve Patch",
"description": "Geometric rectangular patch on the middle sleeves, strictly in color #615E5E gray",
"position": "middle sleeves",
"color_match": "exact"
},
{
"type": "Brand Logo",
"description": "The Adidas Trefoil logo embroidered on the upper center chest, strictly in color #000000 black",
"position": "upper chest center",
"detail_preservation": "high"
},
{
"type": "Trims and Stripes",
"description": "The three-stripes on the sleeves, the ribbed neck collar, and the wrist cuffs, strictly in color #000000 black",
"position": "trims",
"color_match": "exact"
},
{
"type": "Background",
"description": "A flat, seamless white studio background, identical to the source",
"position": "background",
"color_match": "exact"
}
],
"color_palette": [
"#FFFFFF",
"#86E04A",
"#615E5E",
"#000000"
]
}
每个主体均包含type(类型)、description(含明确颜色说明的描述)、position(位置)和color_match: "exact"(精确颜色匹配),实现精准控色。
逐步构建提示词
通过增量方式构建产品拍摄提示词,观察各元素的作用:
第一步:生成咖啡杯(JSON 结构保留原文)
json
{
"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
}
}
效果:单个黑色咖啡杯(带蒸汽)的专业产品照
第二步:添加另一个不同颜色的杯子(JSON 结构保留原文)
json
{
"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
}
}
效果:构图中新增黄色杯子
第三步:更改蒸汽颜色(JSON 结构保留原文)
json
{
"scene": "Professional studio product photography setup with polished concrete surface",
"subjects": [
{
"description": "Minimalist ceramic coffee mug with bright red steam rising from hot coffee inside",
"pose": "Stationary on surface",
"position": "Center foreground on polished concrete surface",
"color_palette": ["matte black ceramic", "bright red steam"]
},
{
"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", "bright red", "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
}
}
效果:蒸汽颜色改为亮红色
你可直接在提示词中使用 JSON 格式,也可将其转换为自然语言。FLUX.2 对两种格式均能完美解析。
多参考图编辑
●[专业版] API 对输入+输出总像素限制为 900 万。输出 100 万像素时最多可使用 8 张参考图,输出 200 万像素时最多可使用 7 张,以此类推。
多参考图功能适用于:
● 时尚拍摄:将服装单品组合为造型穿搭
● 室内设计:在房间中放置家具与装饰
● 产品合成:在场景中组合多个产品
● 角色一致性:在不同变体中保持角色特征
时尚社论示例(8 个参考图)(英文 Prompt 保留原文)
英文 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."
效果:8 张输入参考图(服装、配饰、风格元素)→ 合成输出图
使用多参考图编辑时,请明确描述每张输入图的用途。模型会根据提示词将服装单品、配饰和风格参考融合为连贯场景。
提示词增强
FLUX.2 包含prompt_upsampling参数,可自动优化提示词。适用于:
● 无需精心编写详细提示词的快速迭代
● 创意变体探索
● 有基础概念但希望获得更丰富输出时
提示词增强功能会自动为提示词添加细节与背景,在保留原始意图的同时,扩展视觉元素。
宽高比与分辨率
根据使用场景选择合适的宽高比:
| 宽高比 | 适用场景 | 示例尺寸 |
|---|---|---|
| 1:1(正方形) | 社交媒体、产品照片 | 1024×1024、1536×1536 |
| 16:9(宽屏) | 风景照、电影感镜头 | 1920×1080、1536×864 |
| 9:16(竖屏) | 移动端内容、肖像照 | 1080×1920、864×1536 |
| 4:3(经典) | 杂志版式、演示文稿 | 1536×1152、1024×768 |
| 21:9(超宽屏) | 全景图、宽幅场景 | 2048×864 |
分辨率限制:最小 64×64,最大 400 万像素(如 2048×2048)。输出尺寸必须为 16 的倍数。大多数场景建议使用不超过 200 万像素。
最佳实践总结
结构化控场
需精准控制多个元素时,使用 JSON 结构化提示词。从简单入手,逐步增加复杂度。
颜色描述精准化
始终将十六进制颜色码与具体物体关联。"The car is #FF0000" 比 "use red #FF0000 in the image" 效果更佳。
正向描述需求
FLUX.2 不支持负面提示词。避免使用"no blur",改为"sharp focus throughout";避免使用"no people",改为"empty scene"。
明确相机与风格参数
追求写实效果时,指定相机型号、镜头类型和胶片型号。"Shot on Fujifilm X-T5, 35mm f/1.4" 比"professional photo"更能产出真实效果。
巧用母语创作
根据所需文化背景选择提示词语言。如拍摄巴黎场景用法语,创作动漫风格用日语。
谨慎使用多参考图
使用多张输入图时,明确描述每张图的作用:图 1 提供主体,图 2 提供风格,图 3 提供背景。
快速参考
| 技巧 | 适用场景 | 核心语法(英文) |
|---|---|---|
| JSON 提示词 | 复杂场景、自动化 | {"scene": "...", "style": "..."} |
| 十六进制颜色 | 品牌工作、精准配色 | color #FF5733 or hex #FF5733 |
| 相机参数参考 | 写实风格 | shot on [camera], [lens], [settings] |
| 风格时代参考 | 特定年代风格 | 80s vintage, 2000s digicam |
| 多参考图 | 图像合成 | [pro]: 8, [flex]: 10, [dev]: ~6 |
| 种子值 | 可重复结果 | seed: 42 |
| 引导值 [灵活版] | 提示词遵循度 | guidance: 4.5 (1.5-10) |
| 步数 [灵活版] | 平衡质量与速度 | steps: 50 (max 50) |
| 宽高比 | 场景优化 | 1:1, 16:9, 9:16, 4:3, 21:9 |
REF
https://docs.bfl.ai/guides/prompting_guide_flux2#prompt-structure