教程 / 提示词

写出光线:描述它的作用,而不是设备

在电影片场,书本灯、中国球灯和八角柔光箱都是不入镜的工具。但在提示词中,模型会把它们画进画面里。以下是实际生成中这些工具变成了什么,修正问题的措辞,以及可以安全使用的光线描述词。

  • 10 分钟阅读

本文由英文自动翻译。阅读原文

绘制的设备描述光线无灯具安全的名称

按顺序列出你制作的内容。点按任一项即可跳到对应步骤。

想要获得理想的光效,请描述光线的作用,而不是产生光线的设备。在电影拍摄现场,书本灯或中国球灯是工具,不会出现在画面中。但图像模型会把名称当作要绘制的物体,并将其画出来。

下面的每张图片都是在 NOLGIA 上关闭 Aura 功能后的真实生成结果。大多数图片使用同一个简单场景:一个男人在厨房桌旁读信,只改变了光线描述这一行。

这样写,而不是那样写

不要写应该写在我们的测试中
使用书本灯照明。非常柔和的包裹式光线从画面左侧射入;光源在画面外。命名:桌上的阅读灯。写出效果:2 次测试中 2 次都没有出现灯。
使用中国球灯照明。约 2700 K 的柔和暖光从他的前方略偏画面左侧射入;光源在画面外。画面中没有任何灯具或灯泡。命名:灯泡或纸灯笼。写出效果:2 次测试中 2 次都没有出现灯。
画面左侧一个 1.5 m 八角柔光箱画面外一个大型柔和主光,位于画面左侧 45 度角命名:画面中出现了八角柔光箱,2 次测试中 2 次都出现。写出效果:2 次测试中 2 次都没有出现。
画面左侧一个黑色 4x4 遮光板作为负补光房间左侧很暗,没有光线反射回来命名:画面中有一块黑色面板,2/2。未命名:无,2/2。
电影感布光一盏灯:它的方向、柔和度、颜色、照射对象有方向的光会产生受光面和阴影面。

错误 1:命名设备

下面的每张图都是同一个提示词,只是在括号里加了一句话。这句话命名了一个灯光或相机设备,模型就把它画出来了。

场景,在括号里加了一句话
Unretouched photograph of a 35-year-old man reading a letter at a kitchen table, an ordinary face, a grey sweater, medium shot at eye level. [one sentence] Natural colour, low saturation.
一个男人在厨房桌旁读信,桌上有一盏白色台灯照亮信件。
“用书本灯照明。” Seedream 5.0 Pro 在桌上画了一盏台灯。
一个男人在木质厨房桌旁读信,旁边夹着一盏黑色阅读灯。
“用书本灯照明。” Nano Banana Pro 也画了一盏阅读灯。
一个男人在厨房桌旁读信,头顶悬挂着一个裸露的圆形灯泡。
“用中国球灯照明。” Seedream 5.0 Pro 在他头顶挂了一个裸露的圆形灯泡。
一个男人在厨房桌旁读信,头顶悬挂着一个大的白色纸灯笼。
“用中国球灯照明。” Nano Banana Pro 挂了一个纸灯笼。
一个男人在厨房桌旁阅读,旁边的台灯灯罩是一个鸡蛋盒。
“主光用了蛋格。” Nano Banana Pro 用鸡蛋盒做了灯罩。
一个男人坐在木箱上,在小厨房桌旁读信。
“从苹果箱高度拍摄。” Seedream 5.0 Pro 让他坐在箱子上。相机没有放得更低。

修正 1:描述光的作用

描述设备能产生的光线效果:光从哪里来,多大,多柔和,照在什么上,以及光源在画面外。没有剩下需要画的东西了。

提及设备
Unretouched photograph of a 35-year-old man reading a letter at a kitchen table, an ordinary face, a grey sweater, medium shot at eye level. Lit with a book light. Natural colour, low saturation.
描述光线,完全按发送内容
Unretouched photograph of a 35-year-old man reading a letter at a kitchen table, an ordinary face, a grey sweater, medium shot at eye level. A very soft, wrapping light comes from camera left; the source is out of frame. It falls across his face and the letter and leaves only a faint, soft-edged shadow on the right side of his face. Natural colour, low saturation.

“用阅读灯照明。”

一个男人在桌上有一盏白色台灯的旁边读信。

描述光线

同样的厨房场景,柔和的光线从左侧照在他的脸和信上,没有台灯。
使用 Seedream 5.0 Pro 制作,关闭 Aura。提及名称时,阅读灯变成了桌上的台灯。描述光线时,两次生成都没有台灯,柔和的光线照在他的脸和信上。

这在 Studio 中同样适用。下面的两个提示词仅在光线描述行上有所不同。

提及设备
Unretouched studio portrait photograph of a 38-year-old carpenter, not a model: an ordinary face with fine lines at the eyes, uneven skin with visible pores, short dark hair with some grey, a little stubble, a faded charcoal work shirt, no jewelry, no makeup. He sits on a wooden stool against a mid-grey seamless backdrop, half-length from the waist up, looking just past the lens. LOOK: mid-grey backdrop #7D7F82 about 55%, charcoal shirt #3A3B3D about 25%, skin about 20%; low saturation, soft contrast, true blacks. CAMERA: a full-frame camera with an 85 mm lens at f/4 from 1.8 m, eye level, vertical frame. LIGHT: one 1.5 m octabox at 5500 K camera left at 45 degrees, a little above eye level, two stops over the shadow side; no other light. FORBIDDEN: teal, coloured light, smoothed or plastic skin, glossy highlights on the face, readable text or logos.
描述光线,完全按发送内容
Unretouched studio portrait photograph of a 38-year-old carpenter, not a model: an ordinary face with fine lines at the eyes, uneven skin with visible pores, short dark hair with some grey, a little stubble, a faded charcoal work shirt, no jewelry, no makeup. He sits on a wooden stool against a mid-grey seamless backdrop, half-length from the waist up, looking just past the lens. LOOK: mid-grey backdrop #7D7F82 about 55%, charcoal shirt #3A3B3D about 25%, skin about 20%; low saturation, soft contrast, true blacks. CAMERA: a full-frame camera with an 85 mm lens at f/4 from 1.8 m, eye level, vertical frame. LIGHT: one large, soft key at 5500 K from out of frame, camera left at 45 degrees and a little above eye level; it wraps softly round the near side of his face and leaves a soft-edged shadow on the far cheek and a soft shadow on the backdrop behind him to camera right; the lit side two stops over the shadow side; the source is out of frame; no other light. FORBIDDEN: teal, coloured light, smoothed or plastic skin, glossy highlights on the face, readable text or logos.

“一个 1.5 米八角柔光箱”

一位木匠坐在凳子上,背景为灰色,画面左侧立着一个大型八角柔光箱。

描述光线

同一位木匠在灰色背景前,左侧有柔和的光线,他的影子投射在右侧背景上,画面中没有设备。
使用 Seedream 5.0 Pro 制作,Aura 关闭。如果提及名称,两次生成中八角柔光箱都出现在画面里。如果描述其作用,两次生成中它都消失了,但光线依然来自画面左侧,他的柔和影子投射在右侧背景上。

错误 2:在设备旁添加“画面外”

在设备名称仍然存在的情况下,说光线在画面外并没有帮助。模型依然会画出它。去掉名称,改为描述它的作用。

提及设备名称,并加上画面外说明
Unretouched photograph from a documentary interview series about people who keep old ferries running. A 52-year-old ferry mechanic, not a model: a broad weathered face, deep lines at the eyes and forehead, uneven sun-darkened skin with visible pores, grey stubble, short grey hair, a little oil on his fingers. He wears a faded navy work jacket over a grey T-shirt, no jewelry, no watch. He sits on a steel stool in his workshop, his head turned a few degrees toward camera right, mid-answer; an ordinary moment, not posed. Behind him, 3 m back: a workbench with tools and a vice, two bench lamps, a limewashed wall. LOOK: weathered walnut #5A3E2B about 35%, warm limewashed wall #CBB89A about 30%, charcoal shadow #2A2724 about 25%, faded navy #2F3B52 about 10%; low saturation, soft contrast, true blacks; skin stays skin coloured. CAMERA: a full-frame documentary camera, a 58 mm lens at T2, medium close-up from mid-chest at seated eye level from 1.6 m, locked off; a little sensor noise in the shadows. LIGHT: a soft key at 5600 K from camera right at 45 degrees, a little above eye level, on the short side of his face (the side turned away from the camera), so the cheek nearer the camera falls into soft shade; the key is 1.5 stops over the shadow side; a black 4x4 solid camera left as negative fill; the two bench lamps in the background at 2700 K, two stops under his face. Every light is off frame: no light stands, softboxes, cables or fixtures visible anywhere in the picture. FORBIDDEN: teal, cyan or green spill, coloured light on the walls, teal and orange, RGB accent lights, smoothed or plastic skin, readable text or logos.
描述光线,完全按发送内容
Unretouched photograph from a documentary interview series about people who keep old ferries running. A 52-year-old ferry mechanic, not a model: a broad weathered face, deep lines at the eyes and forehead, uneven sun-darkened skin with visible pores, grey stubble, short grey hair, a little oil on his fingers. He wears a faded navy work jacket over a grey T-shirt, no jewelry, no watch. He sits on a steel stool in his workshop, his head turned a few degrees toward camera right, mid-answer; an ordinary moment, not posed. Behind him, 3 m back: a workbench with tools and a vice, two bench lamps, a limewashed wall. LOOK: weathered walnut #5A3E2B about 35%, warm limewashed wall #CBB89A about 30%, charcoal shadow #2A2724 about 25%, faded navy #2F3B52 about 10%; low saturation, soft contrast, true blacks; skin stays skin coloured. CAMERA: a full-frame documentary camera, a 58 mm lens at T2, medium close-up from mid-chest at seated eye level from 1.6 m, locked off; a little sensor noise in the shadows. LIGHT: a soft key at 5600 K from out of frame, camera right at 45 degrees, a little above eye level, on the short side of his face (the side turned away from the camera), so the cheek nearer the camera falls into soft shade; the key is 1.5 stops over the shadow side; the camera-left side of the room is dark and nothing bounces light back, so the shadow side of his face stays deep; the two bench lamps in the background at 2700 K, two stops under his face. FORBIDDEN: teal, cyan or green spill, coloured light on the walls, teal and orange, RGB accent lights, smoothed or plastic skin, readable text or logos.

“一块 4x4 黑色遮光板” + 画面外

一位渡轮机械师在车间里,画面左边缘立着一块大型黑色遮光板。

描述光线

同一位机械师在他的车间里,房间左侧较暗,身后的台灯亮着,没有遮光板。
使用 Seedream 5.0 Pro 制作,关闭 Aura,16:9。当提示词中指定了面板名称,并写明所有灯光都在画面外时,两次生成结果中左侧边缘都出现了一个黑色面板。当改为描述面板的作用时,两次生成结果中都没有出现面板,房间左侧变暗了。他身后的台灯是特意保留在画面中的:提示词将它们放在了那里。

修正 2:当灯具仍然出现时

中国球灯是一种纸制球形灯,从上方发出柔和温暖的光线。我们原本就是这样写的,但两次生成结果中,天花板灯具都悄悄出现在画面顶部:厨房桌子上方发出的温暖光线被识别为天花板灯具。将光源移至前方后,两次生成中有一次消除了该问题。最后添加一行“画面中任何地方都没有灯具或灯泡”,两次生成都消除了该问题。

一名男子在温暖的光线下阅读信件,画面顶部边缘可见圆形天花板灯具的一部分。
来自上方的光线: “柔和的暖光,色温约 2700 K,从上方略偏前的位置照射在他身上;光源位于画面外,在图片顶边之上。光线均匀照亮他的脸部、肩膀和桌面,下巴下方和桌边投下柔和的阴影。” 在 2 次生成中有 2 次在顶部出现了灯边缘。
一名男子在暖光下阅读信件,身后画面中悬挂着一只裸露的灯泡。
来自前方的光线: “柔和的暖光,色温约 2700 K,从前方略偏相机左侧的位置照射过来,高度略高于他的头顶;光源位于画面外。光线包裹着他的脸部、肩膀和信件,投下柔和且边缘模糊的阴影。” 在 2 次生成中有 1 次清晰呈现。这次运行在他身后悬挂了一只裸露的灯泡。
提及设备
Unretouched photograph of a 35-year-old man reading a letter at a kitchen table, an ordinary face, a grey sweater, medium shot at eye level. Lit by a China ball. Natural colour, low saturation.
所描述的光线,外加一行文字,完全按发送内容显示
Unretouched photograph of a 35-year-old man reading a letter at a kitchen table, an ordinary face, a grey sweater, medium shot at eye level. Soft, warm light at about 2700 K comes from in front of him and a little to camera left, from just above his head height; the source is out of frame. It wraps round his face, his shoulders and the letter with gentle, soft-edged shadows. No lamps or bulbs anywhere in the picture. Natural colour, low saturation.

“由中国球灯照明。”

一名男子在画面中悬挂的圆形裸露灯泡下阅读信件。

仅描述光线,无灯具

一名男子在来自前方的柔和暖光下阅读信件,厨房画面中没有任何灯具或灯泡。
使用 Seedream 5.0 Pro 制作,Aura 关闭。来自前方的柔和暖光,两次生成中均无灯具或灯泡。

提示:一行文字,而非列表. 如果画面中反复出现灯具,请添加一句简短的说明:画面中不要出现任何灯具或灯泡。不要列出需要排除的设备清单。清单中的每个名称都会成为模型需要绘制的额外元素。

安全的光线描述词:布光方案、时间段和场景中的灯具

有些光线描述词是安全的,因为它们描述的是一种视觉效果,而不是具体物体:布光方案、闪光灯类型、时间段。如果你希望画面中出现灯具,这也是安全的:将其作为场景的一部分来描述。下面的每张图都是同一个厨房场景,括号内只添加了一行光线描述。

场景
Unretouched photograph of a 35-year-old man reading a letter at a kitchen table, an ordinary face, a grey sweater, medium shot at eye level. [light line] Natural colour, low saturation.
一名男子正在读信,光线从正上方高处照射,鼻子下方有淡淡的阴影。
“蝴蝶光。” 光线从正上方高处照射,鼻子下方有淡淡的阴影。画面中没有蝴蝶。
一名男子正在读信,光线从一侧高处照射,脸的另一侧处于阴影中。
“伦勃朗光。” 光线从一侧高处照射,形成阴影面,但眼睛下方没有明显的光斑三角形。
一名男子正在读信,光线从摄像机左侧高处照射,阴影侧脸颊眼睛下方有一个小三角形光斑。
“伦勃朗光:光源位于画面左侧高处,在画框之外,在远离光源的脸颊上、眼睛下方留下一个小三角形光斑。” 眼睛下方的三角形光斑出现了。
一名男子在正面闪光灯平光下读信,身后瓷砖上有硬阴影。
“正面直打闪光灯。” 来自正面的平光,身后瓷砖上有硬阴影。
一名男子侧身坐在窗边读信,低角度的阳光在桌面和手上投下一片暖光。
“傍晚低角度的阳光从画面左侧的窗户射入,窗户在画框之外,在桌面、信件和手上投下一片暖光。” 暖光出现了。窗户进入了画面边缘,他转向窗户。
一名男子在带布罩的小台灯旁读信,厨房其余部分处于黑暗中。
“唯一的光源是他身旁桌上的一盏带布罩的小台灯,灯已打开,色温约为 2700 K 的暖光。它照亮了他脸的一侧和信件;厨房其余部分陷入阴影。” 台灯有意出现在画面中,其光线正如描述所示。

提示:写出名称及其作用. 设置名称不会画出你不想要的东西,如果旁边写明其效果,它的作用会更好,正如两张伦勃朗光图片所示。

光线描述行,作为模板

复制它并填写括号中的内容
[Where the light comes from: camera left, camera right, behind, or above the camera], [how big and soft it is: a large soft light, a small hard light], at about [color temperature: 2700 K for a warm household bulb, 5600 K for daylight] or [a time of day]. It [falls on what] and leaves [where the shadow goes]. The source is out of frame.
  • 你想看到的灯: 将其作为场景的一部分来写。“他旁边桌上有一盏带布艺灯罩的小台灯,亮着。”
  • 你不想看到的灯: 在末尾加一行。“画面中任何地方都没有灯或灯泡。”
  • 设置名称: 先写名称,再写它的作用。“伦勃朗光:光线从相机左侧高处射入,位于画框外,在远离光源的脸颊上、眼睛下方留下一小块三角形光斑。”

它的成本

这里的每张图片都是按默认尺寸生成一次。光线描述行不产生额外费用:它是提示词的一部分。在你花费任何积分之前,“生成”按钮会显示价格。

  • Seedream 5.0 ProEvery plan

    Per image

    1K 5 积分 · 2K 9 积分

  • Nano Banana ProEvery plan

    Per image

    Native 8 积分 · 2K 8 积分 · 4K 14 积分

页面加载时从目录实时读取。 所有价格都会在生成前显示。 查看所有费率.

按下“生成”前的检查清单

  • 提示词中未提及任何照明或摄影器材:没有阅读灯、中国球灯、柔光箱、八角柔光箱、遮光旗、格栅或苹果箱。
  • 单一光源:它的方位、大小和柔和度、颜色或时间,以及它照射在什么物体上。
  • 光源在画框外,用文字描述。
  • 你想看到的灯被写为场景的一部分。
  • 如果灯仍然出现:写一行说明,画面中不要有任何灯或灯泡。
  • 可以使用布光名称。在旁边写下它们的作用。

常见问题

我可以提及灯光设备名称吗?
可以,当你希望它出现在画面中时:例如幕后花絮、摄影棚或创作者的环形灯。将其作为场景的一部分来描述,就像其他物体一样。
为什么“画外”不能解决问题?
模型仍然会将设备名称视为需要绘制的内容。在我们的测试中,即使有一行说明所有灯光都在画外,命名的黑旗在 2 次运行中有 2 次仍出现在画面中。去掉名称,描述光线的作用。
这些安全的名称适用于所有模型吗?
蝴蝶光、伦勃朗光和直打机顶闪光灯在 Seedream 5.0 Pro 上没有产生任何多余内容,直打闪光灯在我们早期的测试中也在 Nano Banana Pro 上有效。在生成其余图片之前,请先检查你使用的模型生成的第一张图片。
这适用于视频吗?
我们在图片上测试了这些词汇。对于视频,习惯是一样的:说明光线的来源和作用。我们的指南《让 AI 视频看起来真实》展示了在两个视频模型上通过光源和方向来描述光线的方法。
Aura 呢?
当你的提示词描述人物时,Aura 默认开启,它会添加真实的皮肤质感和来自场景的自然光线。这里的每张图片都是在关闭 Aura 的情况下生成的,因此你可以看到仅靠光线描述能产生什么效果。如果你自己编写光线描述,可以关闭 Aura。

在下一个提示词中编写光线描述

打开创建图像

提示词

让 AI 视频更真实:光线、动作与镜头

三句话就能让片段看起来像实拍:一个明确的光源、有重量的行走、有人手持的镜头。每个技巧都在 Kling v3 上进行了前后对比测试。

· 9 分钟阅读

提示词

七个视频提示词错误及修正方法

视频提示词出错的七种方式,每种都在 Kling v3 上渲染两次:先是模糊的提示词,然后是应用了一个修正后的相同提示词。复制这些修正方法,并了解种子值不能做什么。

· 12 分钟阅读