anime.php 752 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * 动漫生成相关配置
  4. */
  5. return [
  6. /*
  7. |--------------------------------------------------------------------------
  8. | act_show_content 插入画风提示词开关
  9. |--------------------------------------------------------------------------
  10. | 开启后,confirmActs、regenerateSegmentScript 生成 act_show_content 时,
  11. | 会按动漫的 art_style_type 取 mp_art_styles.prompt,
  12. | 插入到每个「画面:[…]」的第一个闭合 ] 之前。
  13. | 只影响 act_show_content 字段,不修改 act_content。
  14. |
  15. | 默认关闭;线上开启方式:.env 中配置 ACT_SHOW_ART_STYLE_ENABLED=true
  16. */
  17. 'act_show_art_style_enabled' => (bool)env('ACT_SHOW_ART_STYLE_ENABLED', false),
  18. ];