
class CreatorToyBoxDiorama: def __init__(self, CREATOR): s = infer(CREATOR) # 人物、盒子、逃逸者、物件、礼物 self.s = s def render(self): return collectible_render( figure=vinyl_figure(self.s.figure, at=self.s.station, pose=WORKING), # B₁ box=retail_box(title=self.s.title, art=depicts(self.s.figure)), # B₂ escapees=[ burst_from(e, origin=self. s. box. art, into=SPACE, dynamic=True) for e in self.s.escapees ], # B₃ artifacts=suspended(self.s.artifacts, ground_contact=NONE), # B₄ studio=neutral_bg(soft_light=True, title_legible=True) ) # B₅ def verify(self, img): assert figure_at_craft(img) and toy_material(img.figure), "B₁: 写实/闲置" assert box_present(img) and design_equal(img. box. art.figure, img.figure), "B₂: 不匹配" assert len(img.escapees) >= 2 and all(origin_on(e, img .box. art) and body_outside(e, img. box) for e in img.escapees), "B₃: 静止在盒上" assert all(no_ground_contact(a) for a in img.artifacts), "B₄: 道具落地" assert neutral_bg(img) and legible(img . box.title) and collectible_quality(img), "B₅" CreatorToyBoxDiorama(CREATOR).render()
本图由 Google 的 Nano Banana 2.1 生成,页面上的提示词就是生成它的原始文本。
示例由 Nano Banana 2.1 生成,参数:1199:675 · Digital Art · Product Photography · 3D Render。沿用这些参数可获得最接近的效果。
先原样复制提示词,只替换主体、保留风格/光影/构图关键词,多生成几次——每次输出都会有差异。
当然可以。提示词最适合作为起点——调整描述词、宽高比或风格标签,做出属于你自己的作品。