修复种草图生成:以三合一主图为参考 img2img 生成,按颜色分配(每色优先、超出随机补足);新增 BR/CA/DE/ES/IT/PL/SA 七国配置与提示词;删除验证用测试脚本
This commit is contained in:
@@ -135,8 +135,12 @@ class MockBackend:
|
||||
related += history[:6]
|
||||
related += trending[4:8]
|
||||
|
||||
max_seeds = int(context.get("max_seeds") or 0)
|
||||
max_style = int(context.get("max_style_seeds", 10) or 10)
|
||||
max_related = int(context.get("max_related_seeds", 10) or 10)
|
||||
if max_seeds > 0:
|
||||
# 不再按类型分:总量均分到 style/related
|
||||
max_style = max_related = (max_seeds + 1) // 2
|
||||
return {
|
||||
"style_seeds": _dedup_limit(style, max_style),
|
||||
"related_seeds": _dedup_limit(related, max_related),
|
||||
|
||||
Reference in New Issue
Block a user