
非洲村落紀錄照
A programmatic prompt structure for generating a documentary-style photograph of a young African woman stirring a pot over a fire in a lush rural village. It specifies the environment (mud huts, thatched roofs, tall trees) and technical details (50mm lens, natural sunlight, ultra-realistic fidelity).
觀看107
按讚2
留言1
分享0
書籤0
引用0
翻譯
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
# Initialize the generator
session = ImageGenerator()
print(session.generate_village_scene())
機器翻譯 — 實際產出作品的是原文 prompt。











