SpaceSkills AI Filmmaking

Case Study: Window Light Portrait Prompts (Parametric Template)

v0.1.0 · Updated 2026-08-26

Machine-translated from the Chinese original; the Chinese version is authoritative. 中文原文

Case Study: Window Light Portrait Prompts (Parametric Template) preview

Footage © YouMind-OpenLab · View original post

The clip was published publicly by its creator and is re-hosted here; rights holders may request removal.

One-liner: This breaks down a well-crafted window-light portrait prompt, focusing on how it uses slot syntax to upgrade a one-off prompt into a reusable template, and how it handles the light chain and material callbacks. Suitable for those who already know how to write basic portrait prompts and want to start building their own template library.

Field Table

FieldValue
modelGeneral image model. Rationale: the original prompt contains no model-specific syntax or parameters; the source library is broadly oriented toward Nano Banana Pro, but the prompt text is cross-model usable
durationNot applicable (single-frame still image)
aspect1:1
seed and reproducibilityNot recorded; unverified — the author has published the final image, but this library has not re-run it
final image linkEmbedded preview on the page; see card above and original post
estimated costTo be estimated (per official pricing, using the cost calculator)
author and original linkYouMind-OpenLab · https://github.com/YouMind-OpenLab/awesome-nano-banana-pro-prompts

License and attribution: This prompt comes from YouMind-OpenLab’s open-source prompt library. The repository README states CC BY 4.0 (GitHub API returns NOASSERTION). This library retains the author and original link per attribution requirements; the actual license is governed by the repository’s LICENSE file.

prompt_zh

Original text reproduced (attribution + original link complete, see field table):

一张逼真的特写肖像,主角为一名 {argument name=“subject” default=“年轻东亚女性”},20 岁出头,留着浅棕色齐肩长发,配有柔和的刘海和修饰脸型的微卷。她佩戴着 {argument name=“accessory” default=“超大黑色长方形太阳镜”},镜片带有深色渐变效果,配有厚实的黑色镜框。妆容自然精致:眉形柔和清晰,腮红淡雅,珊瑚蜜桃色唇釉。她戴着小巧的银色双环耳饰。身穿一件黑色修身罗纹针织挂脖上衣,高圆领设计,露出双肩和上胸部。姿势为柔和的自拍视角:身体微微侧转,一只手轻搭在对侧肩膀附近,回眸看向镜头,表情沉稳自信。背景为一面 {argument name=“background” default=“简约浅米色墙壁”},柔和的自然窗光在墙面和她的脸上投射出清晰的几何窗影。柔和的定向阳光在她的头发、皮肤和罗纹上衣的纹理上形成了细腻的高光。高细节写实摄影风格,自然的皮肤质感,柔和的背景虚化,优雅现代的美学,高分辨率。

Breakdown

The 5 Things It Gets Right

1. It uses Raycast fragment syntax to explicitly mark the replaceable parts. A construct like {argument name="subject" default="年轻东亚女性"} isn’t meant for the model — it’s for humans and editors: a fill-in box pops up on paste, and if left blank, the default is used. What’s truly worth learning is the judgment behind choosing the slots — subject, accessory, and background map exactly to the three most frequently changed dimensions (swap person, swap object, swap scene), while everything else stays fixed. A prompt thus transforms from a “one-off sentence” into “a template that can run twenty times,” and it doesn’t depend on any model capability — swapping in {{subject}}, [主体], or any other placeholder syntax works just as well.

2. The lighting is written as a three-part chain — “source → landing point → result” — rather than just an adjective. The source is “柔和的自然窗光” (soft natural window light), the landing point is “在墙面和她的脸上投射出清晰的几何窗影” (casting clear geometric window shadows on the wall and her face), and the result is “在她的头发、皮肤和罗纹上衣的纹理上形成了细腻的高光” (forming delicate highlights on her hair, skin, and the texture of the ribbed top). Most people stop after the first part, and models have a very broad interpretation of a word like “window light.” By adding the landing point (where the window shadow falls, and in what shape) and the result (which surfaces the highlights land on), what becomes controllable shifts from “overall light-and-dark mood” to “specific elements that can be identified in the frame.” Note the term “几何窗影” (geometric window shadow) — it simultaneously conveys hardness (crisp edges), direction (directional), and pattern (grid-like); one word does three jobs. Cross-reference this library’s “Describing Light and Atmosphere.”

3. Makeup is described with anchor points — only three spots get attention. “眉形柔和清晰,腮红淡雅,珊瑚蜜桃色唇釉” — one phrase each for brows, cheeks, and lips, then done. This is restraint: the more makeup details you write, the less likely the model is to render them one by one, and they’ll crowd out weight from other parts. The choice of these three spots is also defensible — they’re the largest areas in a close-up portrait and the ones that most affect overall color tone. Only the lip gloss gets a specific color (coral peach), while the other two get only degree words — effectively spending the “precision control” budget on the single most valuable spot.

4. Pose is written as relationships between body parts, not adjectives. “身体微微侧转,一只手轻搭在对侧肩膀附近,回眸看向镜头” — three clauses lock down torso orientation, arm position, and head/neck with gaze, respectively. Compare this to the common “优雅自信的姿势” (elegant, confident pose), which carries almost no information. Particularly noteworthy is the phrasing “对侧肩膀” (opposite shoulder): it uses a relative relationship rather than absolute left/right, which both establishes the composition of the arm crossing the body and avoids fighting over a left-right distinction the model can’t reliably make anyway. The earlier phrase “柔和的自拍视角” (soft selfie angle) also simultaneously conveys camera height and distance, incidentally explaining why this pose works.

5. Material words are reused twice, creating a cross-constraint. “黑色修身罗纹针织挂脖上衣” (black fitted ribbed knit halter top) appears once in the clothing section, then gets picked up again in the lighting section as “罗纹上衣的纹理上的高光” (highlights on the texture of the ribbed top). When the same object is mentioned in two different positions in a prompt, the model finds it harder to ignore; moreover, the second mention describes it from the perspective of light, effectively requiring that the “ribbed” structure actually appear in a lit form rather than as a generic black top. This arrangement — “declare the object first, then call it back in the lighting section” — is one of the few structural techniques in long prompts that genuinely improves the rate of detail delivery.

Where It Could Be Improved

1. The slots are only half-parameterized — swap the subject and the template becomes self-contradictory. The subject slot can be filled with anyone, but what follows it — “20 岁出头,留着浅棕色齐肩长发” (early 20s, light brown shoulder-length hair) and “妆容自然精致…珊瑚蜜桃色唇釉” (natural refined makeup… coral peach lip gloss) — is hardcoded. Change the subject to “中年男性” (middle-aged man) and all those descriptions remain, sending the model a set of conflicting instructions. When writing your own version, slot boundaries should be drawn across semantically complete chunks — either make the subject slot cover the entire appearance description from age to makeup, or split hair and makeup into their own slots; don’t let downstream sentences depend on a slot’s default value.

2. No aspect ratio or composition declaration. The entire text only hints at shot size with “特写肖像” (close-up portrait); aspect ratio is never mentioned. The 1:1 on the preview card is a property of the final image, not something the prompt specified. Across 1:1, 3:4, and 2:3, the proportion of “露出双肩和上胸部” (exposing shoulders and upper chest) plus “几何窗影” (geometric window shadows) that fits in the frame differs completely — the window shadow could even be cropped out by half. Prepending a single sentence on aspect ratio and framing scope (e.g., “square format, chest-up shot, subject slightly left of center”) costs almost nothing. See “Declaring Aspect Ratio / Frame Rate / Duration Up Front.”

3. No negative list. The common failure modes for this type of prompt are predictable: the photographer’s reflection appearing in the sunglass lenses, the halter top being rendered as a spaghetti-strap top or tube top, window shadows turning into unnaturally neat, texture-like fake grids, and incorrect finger counts. All of these belong in an AVOID section — they’re highly targeted and won’t accidentally suppress the subject description. See “Writing the Negative List (AVOID Section).”

4. The closing quality words are pure filler. Of the five phrases — “高细节写实摄影风格,自然的皮肤质感,柔和的背景虚化,优雅现代的美学,高分辨率” (high-detail realistic photography style, natural skin texture, soft background bokeh, elegant modern aesthetic, high resolution) — only “柔和的背景虚化” (soft background bokeh) carries actionable information (it’s really talking about aperture); the other four are largely ineffective with modern models — “高分辨率” (high resolution) won’t change output dimensions, and “优雅现代的美学” (elegant modern aesthetic) has no decidable referent. The end of a prompt is a high-weight position, and giving it to these words is wasteful. The same length spent on focal length and camera position (e.g., “85mm medium telephoto, at eye level, slight downward angle”) carries far more information density. Cross-reference “The Visual Language of Focal Lengths” and “The Three Elements of Depth of Field.”

All judgments above are based on the prompt text itself, without re-running generation; marked unverified.

Further Reading