...
https://docs.bfl.ai/guides/prompting_guide_flux2
| Hex Colors | Brand work, precise matching | color #FF5733 or hex #FF5733 |
| Camera References | Photorealism | shot on [camera], [lens], [settings] |
| Style Eras | Period-specific looks | 80s vintage, 2000s digicam |
| Multi-Reference | Composite images | [pro]: 8, [flex]: 10, [dev]: ~6 |
| Seed | Reproducible results | seed: 42 |
| Guidance [flex] | Prompt adherence | guidance: 4.5 (1.5-10) |
| Steps [flex] | Quality vs speed | steps: 50 (16-50) |
| Aspect Ratios | Use case optimization | 1:1, 16:9, 9:16, 4:3, 21:9 |
| Code Block |
|---|
prompt = "Realistic macro photograph of a hermit crab using a soda can as its shell, partially emerging from the can, captured with sharp detail and natural colors, on a sunlit beach with soft shadows and a shallow depth of field, with blurred ocean waves in the background. The can has the text `BFL Diffusers` on it and it has a color gradient that start with #FF5733 at the top and transitions to #33FF57 at the bottom."
image = pipe(
prompt_embeds=remote_text_encoder(prompt),
#image=load_image("https://huggingface.co/spaces/zerogpu-aoti/FLUX.1-Kontext-Dev-fp8-dynamic/resolve/main/cat.png") #optional image input
generator=torch.Generator(device=device).manual_seed(42),
num_inference_steps=50, #28 steps can be a good trade-off
guidance_scale=4,
).images[0] |
...
Time: 23m 18.46s | total 1414.43 pipeline 1392.03 gc 9.53 callback 7.91 decode 2.23 post 1.45 init 1.35 vae 0.94 prepare 0.44 | GPU 111078 MB 88% | RAM 108.82 GB 88%
| 4 | 8 | 16 | 32 | 50 | |
|---|---|---|---|---|---|
| CFG1 | |||||
| CFG2 | |||||
| CFG3 | |||||
| CFG4 | |||||
| CFG5 | |||||
| CFG6 | |||||
| CFG8 |
Test 2 - Face and hand
...
seed 1 | seed 2 | seed 3 | seed 4 | seed 5 |
seed 6 | seed 7 | seed 8 | seed 9 | seed 10 |
seed 21 | seed 38 | seed 42 |
sweed 68 | seed 2025 |
Test 6 - Other Models cover
+ random seed
Test 7 - Art Prompts
System info
| Code Block |
|---|
Mon Dec 8 14:39:24 2025 app: sdnext.git updated: 2025-12-06 hash: 764443213 url: https://github.com/liutyi/sdnext/tree/pytorch arch: x86_64 cpu: x86_64 system: Linux release: 6.17.0-7-generic python: 3.12.3 Torch: 2.9.1+xpu device: Intel(R) Arc(TM) Graphics (1) ram: free:118.76 used:4.31 total:123.07 xformers: diffusers: 0.36.0.dev0 transformers: 4.57.1 active: xpu dtype: torch.bfloat16 vae: torch.bfloat16 unet: torch.bfloat16 base: Diffusers/black-forest-labs/FLUX.2-dev [6aab690f83] refiner: none vae: none te: none unet: none Backend: ipex Pipeline: native Cross-attention: Scaled-Dot-Product |
...