发光时间线海报生成器
来自 Wikiprompt,自由的提示词百科全书
发光时间线海报生成器 一个结构化的提示词,用于生成任何主题的发光时间线海报信息图,并内置对路径、站点、边距、徽标和木刻风格的验证检查。
相关媒体
提示词内容收藏
🌐
class IlluminatedTimelinePoster:
def __init__(self, TOPIC):
s = infer(TOPIC) # 站点、边距、徽章、标题、调色板、路径
self.s = s
def render(self):
path = continuous_curve(self.s.path, top_to_bottom=True) # M₁
stations = [ station(at=t_i, label=e.label, vignette=e.vignette) # M₂ (t_i 递增 = 顺序)
for t_i, e in zip(arc_lengths(len(self.s.stations)), self.s.stations) ]
return aged_print( compose(path, stations,
margins=related_vignettes(self.s.margins), # M₃
emblem=radiant(self.s.emblem), title=serif(self.s.title) ), # M₄
medium=WOODCUT_HAND_COLORED, palette=self.s.palette ) # M₅
def verify(self, img):
assert connected(img.path) and chronology == path_order(img), "M₁:路径断裂或无序"
assert all(labelled(s) and enacted(s) for s in img.stations) and 6 <= len <= 8, "M₂"
assert margins_related(img, TOPIC) and path_not_obscured(img), "M₃"
assert emblem(img) and serif_title(img, TOPIC), "M₄"
assert woodcut(img) and palette(img) == self.s.palette and aged_paper(img), "M₅"
IlluminatedTimelinePoster(TOPIC).render()
用法
此提示词专为 creative 设计。复制上方内容并粘贴到你常用的 AI 工具中。
为获得最佳效果,可将占位符(方括号或大写字母标示)替换为你的具体需求。
讨论
0 条评论