class IlluminatedTimelinePoster:
分享链接 · https://openimages.ajiang.me/p/2101718530769162629/


color_palette · earthycolor_palette · warm-tonescomposition · centeredlighting · natural-daylightquality_flags · typography-heavysubject_type · diagram-document
提示词(原文,逐字保留)
class IlluminatedTimelinePoster:
def __init__(self, TOPIC):
s = infer(TOPIC) # stations, margins, emblem, title, palette, path
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 increasing = order)
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₁: broken/unordered path"
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()
中文译文
class IlluminatedTimelinePoster:
def __init__(self, TOPIC):
s = infer(TOPIC) # stations, margins, emblem, title, palette, path
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 increasing = order)
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₁: broken/unordered path"
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()
来源与署名
原文由 @Gdgtify 发布在 X:查看原推文。 本页逐字保留原文并提供机器翻译的中文解读;版权归原作者所有。
同工具的更多提示词
- 一个双香氛广告需要同一瓶身逻辑与两种不同的现实。 🍊 在两个面板中重复相同的瓶身贴近面颊的构图,匹配的玻璃几何形态、取景框与克制的文字排布 在颜色透露信息之前…@ou_zhen599
- 超写实 IMAX 级 Netflix 风格电影感情侣肖像,9:16 竖版。以上传的图片作为主要视觉参考,完整保留两位主体确切的面部身份、比例与标志性特征。营造…@imGopalTiwari
- 创作一张竖版 9:16 的手持智能手机自拍,主体是一位明确成年的年轻女性(18 岁以上),站在被阳光照射的豪华别墅无边际泳池露台上,背景是黄金时分的海景。裁切…@MrDasCreates
- 超写实的抓拍照片,画面中是[CHARACTERS,例如:一对二十多岁的年轻情侣],[ACTION/SCENE,例如:一起坐在机场登机口,手里端着咖啡杯,靠在一…@denygen9
- 基于上传的参考图像,创作一张 4:5 竖版当代编辑风格人物插画。将原人物转化为一个独特、精致且风格化的人物角色,同时保持其清晰可辨。 身份保留:保留参考中人物…@Goodmanprotocol
- 4 张图片,4:5 比例,令人难以置信的难题、数学、科学、逻辑、谜题问题,能让 IQ 150 的人落泪。INPUT: $ TOPIC # 在该主题上构建一个难…@Gdgtify