StoryDiffusion icon indicating copy to clipboard operation
StoryDiffusion copied to clipboard

多个角色如何设置参数?

Open xiehuiqi220 opened this issue 1 year ago • 7 comments

目前我按照文档测试单个图片引用的角色生成了一致的多个画面,但是如果我是多个角色(多个参考图),应该如何设置参数和prompt?我看到官网有介绍多角色一致的图文,但是不知道如何实现。

xiehuiqi220 avatar Jul 19 '24 07:07 xiehuiqi220

按顺序每个角色单独改变模型注意力即可,所有角色跑一遍后,即可开始推理多个角色同框的图

CanvaChen avatar Jul 22 '24 08:07 CanvaChen

按顺序每个角色单独添加模型连接即可,所有角色跑一遍后,即可开始推理多个角色同框的图

没太听明白,大佬能解释一下吗?

xiehuiqi220 avatar Jul 29 '24 08:07 xiehuiqi220

可调整的参数如id_length, 多角色prompt格式如下:

"[Bob] A man, wearing a black suit\n[Alice]a woman, wearing a white shirt",
[
    "[Bob] at home, read new paper",
    "[Bob] on the road, near the forest",
    "[Alice] is make a call at home",
    "[NC]A tiger appeared in the forest, at night ",
    "[NC] The car on the road, near the forest",
    "[Bob] very frightened, open mouth, in the forest, at night",
    "[Alice] very frightened, open mouth, in the forest, at night",
    "[Bob]  and [Alice] running very fast, in the forest, at night",
    "[NC] A house in the forest, at night",
    "[Bob]  and [Alice]  in the house filled with  treasure, laughing, at night",
]

CanvaChen avatar Jul 29 '24 11:07 CanvaChen

您好,预计本周会更新代码,包括效果更好的多角色的实现方式。

Z-YuPeng avatar Jul 29 '24 11:07 Z-YuPeng

您好,预计本周将更新代码,包括效果更好的多角色的实现方式。

你好可以对这部分内容详细说明一下吗

YLongJin avatar Aug 06 '24 01:08 YLongJin

您好,预计本周会更新代码,包括效果更好的多角色的实现方式。

期待。

JimWang151 avatar Sep 01 '24 08:09 JimWang151

您好,预计本周会更新代码,包括效果更好的多角色的实现方式。

是否已经更新?

JoshonSmith avatar Sep 24 '24 06:09 JoshonSmith