图像 提示词
巧克力可丽饼商业渲染提示词(Python 类风格)

一个高度技术化且结构化的提示,以 Python 类定义的形式编写,详细说明了巧克力可丽饼 8K 超逼真商业渲染的设置。它指定了材料、灯光(黄金时段)、动态元素(如慢动作巧克力淋酱)和摄像机运动(微距摇摄/倾斜)。
提示词
```python
class ChocolateCrepeAd:
def __init__(self):
self.resolution = "8K_ULTRA_HD"
self.frame_ratio = "9:16" # 针对社交媒体优化
self.styling = "超现实 / 专业造型"
def setup_scene(self):
# 背景与环境
self.surface = cr.Surface(material="乡村木板", texture="有纹理的")
self.background = Bokeh(source="翠绿植物", blur_intensity=0.8)
self.lighting = NaturalLight(time="温暖黄金时段", mood="柔和电影感")
# 主体:美味可丽饼
self.subject = cr.FoodItem(
type="超薄金黄可丽饼",
form="紧致圆筒状",
quantity="随意堆叠",
attributes={
"edges": "微焦 / 酥脆",
"topping": "优雅的黑巧克力螺旋条纹",
"filling": "浓郁光泽的巧克力榛子酱"
}
)
def apply_motion_effects(self):
# 动态元素
FluidDynamics.add_drizzle(
substance="融化巧克力",
speed="慢动作",
behavior="滴落 / 覆盖"
)
SteamParticles.emit(source=self.subject, opacity=0.3)
# 摄像机运动
self.camera = CameraMovement(mode="微距")
self.camera.path = ["慢速平移", "倾斜", "轻微旋转"]
self.camera.focus = "粘稠的边缘和奶油般的质地"
def render_commercial(self):
return self.setup_scene().apply_motion_effects().execute(fps=60)
```

