非洲村庄场景的纪实照片
一个程序化的提示结构,用于生成一张纪录片风格的照片,内容是一位年轻的非洲女性在郁郁葱葱的乡村中,围着火堆搅拌锅里的食物。它详细说明了环境(泥屋、茅草屋顶、高大的树木)和技术细节(50 毫米镜头、自然阳光、超现实的保真度)。
nano-banana-pro · 摄影 · 社交媒体帖子 · 角色 · 风景 / 自然
中文提示词
```python class ImageGenerator: def __init__(self): self.base_style = "Documentary Photography" self.lens_profile = "50mm prime lens" def generate_village_scene(self): prompt_config = { "subject": { "actor": "年轻的非洲女性", "attire": "花纹裹身裙和头巾", "action": "用木勺搅拌三石灶上的锅" }, "environment": { "location": "郁郁葱葱的非洲乡村", "elements": ["泥屋", "茅草屋顶", "高大的绿树"], "background": "孩子们在快乐地玩耍", "atmosphere": "干净的自然环境" }, "technical_specs": { "lighting": "自然阳光", "fidelity": "超现实、高细节", "style": self.base_style, "optics": self.lens_profile } } return prompt_config # 初始化生成器 session = ImageGenerator() print(session.generate_village_scene()) ```
原始提示词
class ImageGenerator: def __init__(self): self.base_style = "Documentary Photography" self.lens_profile = "50mm prime lens" def generate_village_scene(self): prompt_config = { "subject": { "actor": "Young African woman", "attire": "patterned wrapper and headscarf", "action": "stirring a pot with a wooden spoon over a three-stone fire" }, "environment": { "location": "Lush rural African village", "elements": ["mud huts", "thatched roofs", "tall green trees"], "background": "children playing happily", "atmosphere": "clean natural environment" }, "technical_specs": { "lighting": "Natural sunlight", "fidelity": "Ultra-realistic, high detail", "style": self.base_style, "optics": self.lens_profile } } return prompt_config # Initialize the generator session = ImageGenerator() print(session.generate_village_scene())