Flux文生图中采样器的选择指南

211 阅读1分钟

采样器的作用

采样器是Flux文生图中用于从模型中生成图像的算法。不同的采样器会影响图像的生成速度、细节丰富度和随机性。选择合适的采样器可以帮助你在速度和质量之间找到最佳平衡。

2. 常见采样器及其特点

  • Euler:生成速度快,适用于快速生成图像,但细节可能不够精细。
  • DPM2:生成速度适中,能够提供较好的图像质量。
  • HeunPP2:生成细节丰富的图像,但速度较慢。
  • Uni_PC:平衡速度和质量,是大多数情况下的推荐选择。
  • DEIS:能够很好地把握光影明暗,适合需要高对比度的场景。
  • 等等

3. 采样器与调度器的组合测试

以如下提示词为例子

soft_style,The image depicts a young woman standing prominently in the foreground with a bright,clear blue sky above her. She wears a vibrant yellow outfit which matches the similarly colored sports car partially visible behind her. The viewpoint is from a low angle,emphasizing her confident stance and the dynamic outlines of the car. Her expression is calm and composed,portraying a sense of cool confidence. The lighting is bright,indicating a sunny day,which casts sharp shadows and enhances the vividness of the scene's colors. This composition seems to celebrate boldness and style,utilizing color coordination and perspective to create a striking visual impact.,

测试图如下,部分组合差距较为不明显,注意观察。

0XYZ_0013.jpg

0XYZ_0014.jpg

0XYZ_0015.jpg

0XYZ_0016.jpg

0XYZ_0017.jpg

0XYZ_0018.jpg

0XYZ_0019.jpg

0XYZ_0020.jpg

0XYZ_0021.jpg

0XYZ_0022.jpg

0XYZ_0023.jpg

0XYZ_0024.jpg

0XYZ_0025.jpg

0XYZ_0026.jpg

0XYZ_0027.jpg

0XYZ_0028.jpg

0XYZ_0029.jpg

0XYZ_0030.jpg

0XYZ_0031.jpg

0XYZ_0032.jpg

0XYZ_0033.jpg

0XYZ_0034.jpg

0XYZ_0035.jpg

0XYZ_0036.jpg

0XYZ_0037.jpg

0XYZ_0038.jpg

0XYZ_0039.jpg

0XYZ_0040.jpg

0XYZ_0041.jpg

0XYZ_0042.jpg

结论

效果好的搭配如下

  • uni_pc + beta
  • deis + beta
  • deis + simple
  • ipndm + beta