XML 标签式提示词 · Sora 2 实验
用 <video model="sora-2" duration="8s"> 这样的 XML 标签写提示词,look、style 各自成节点。结构化提示词的第三种形态(JSON/YAML 之外),收全格式样本。
PROMPT · 视频生成提示词开始AI创作
<video version="2.0" model="sora-2" duration="8s" fps="24" aspect_ratio="9:16" resolution="1080x1920" seed="auto">
<look style="电影感写实" color_grade="低饱和的绿色与灰色,奶油白,柔和的玫瑰肤色" grain="轻微"/>
<environment>
<location>后巷门前台阶,绿色油漆钢梯,裂纹路面,一小片草地与碎石</location>
<time>夜晚</time>
<weather>路面干燥,略带潮湿光泽</weather>
<lighting>
<key>手机闪光灯直打的效果</key>
<fill>来自镜头左侧的冷色路灯光溢散</fill>
<background>陷入阴影,白色翅膀的高光细节保留</background>
</lighting>
</environment>
<camera sensor="手机前置摄像头质感" lens="26-28mm 等效焦距" shutter="1/48s 电影感,轻微动态模糊"
aperture="f/2.2 浅景深,高光点带柔和光晕" stabilization="手持">
<movement type="单次推近" path="直线约0.5米" micro_tilt="极轻微,保持人脸居中" wobble_limit="手持微幅晃动 ≤ 画面高度的3%"/>
<rules>只使用一种主要运镜,无变焦,不加其他镜头动作,不剪辑</rules>
</camera>
<cast>
<human id="subject01" age="青年" hair="黑色长发,直刘海" makeup="苍白肤色,淡淡腮红"
pose="蜷坐在绿色金属台阶上,双手抓着鞋带,低头" mood="忧郁、纤细、空灵但不失踏实感,PG-13">
<wardrobe>黑色西装外套罩在轻薄连衣裙外,裙摆纱质堆积在地面,厚底棕色牛津鞋,一对巨大的白色羽毛道具翅膀</wardrobe>
<notes>无任何品牌标志;翅膀为实体道具,不涉及飞行</notes>
</human>
</cast>
<composition>
<framing>主体居中;翅膀形成对角线构图;台阶与路面增添粗粝质感</framing>
<depth_of_field>脸部与前方翅膀平面清晰对焦,背景柔和虚化</depth_of_field>
<atmospherics>轻微胶片颗粒感;高光周围有一层薄雾,呼应闪光灯的光晕</atmospherics>
<palette primary="工业绿、沥青灰、柔和象牙白" accents="玫瑰腮红色、棕色皮鞋"/>
</composition>
<audio>
<ambience>微弱的城市嗡鸣、远处若隐若现的车流声、夜虫鸣叫</ambience>
<foley>拉鞋带的声音、布料摩擦声、轻微的踩踏吱呀声</foley>
<dialogue>无</dialogue>
<music>无</music>
</audio>
<timeline>
<event t="0.0-2.5s">
<shot type="俯视3/4角度中景">主体蜷坐着,翅膀略微张开</shot>
<physics>散落的发丝微微晃动;羽毛因微风轻轻颤动</physics>
<camera_motion>开始缓慢的手持推近</camera_motion>
</event>
<event t="2.5-5.0s">
<action>她拉紧一根鞋带,呼出一口气;下巴微倾,视线低垂;翅膀保持静止</action>
<physics>纱裙随之落定,产生细微涟漪;布料在膝盖处压出褶皱</physics>
</event>
<event t="5.0-8.0s">
<shot type="近距离人像特写">镜头缓缓推近;她微微抬眼望向镜头,随后轻轻闭上双眼;画面停留在这份宁静中</shot>
<physics>手部有极轻微的颤动;羽毛与鞋面上的高光平稳流转</physics>
</event>
</timeline>
<constraints no_text_on_screen="true" no_watermarks="true" tone="PG-13 得体" vfx="无超自然元素,翅膀为实体道具"/>
<negative_prompt>卡通化的表演、卷帘快门抖动、羽毛或头发穿模、过曝、多余的镜头运动、变焦、剪辑</negative_prompt>
</video>
<video version="2.0" model="sora-2" duration="8s" fps="24" aspect_ratio="9:16" resolution="1080x1920" seed="auto">
<look style="電影感寫實" color_grade="低飽和的綠色與灰色,奶油白,柔和的玫瑰膚色" grain="輕微"/>
<environment>
<location>後巷門前台階,綠色油漆鋼梯,裂紋路面,一小片草地與碎石</location>
<time>夜晚</time>
<weather>路面乾燥,略帶潮濕光澤</weather>
<lighting>
<key>手機閃光燈直打的效果</key>
<fill>來自鏡頭左側的冷色路燈光溢散</fill>
<background>陷入陰影,白色翅膀的高光細節保留</background>
</lighting>
</environment>
<camera sensor="手機前鏡頭質感" lens="26-28mm 等效焦距" shutter="1/48s 電影感,輕微動態模糊"
aperture="f/2.2 淺景深,高光點帶柔和光暈" stabilization="手持">
<movement type="單次推近" path="直線約0.5公尺" micro_tilt="極輕微,保持臉部置中" wobble_limit="手持微幅晃動 ≤ 畫面高度的3%"/>
<rules>只使用一種主要運鏡,無變焦,不加其他鏡頭動作,不剪接</rules>
</camera>
<cast>
<human id="subject01" age="青年" hair="黑色長髮,直瀏海" makeup="蒼白膚色,淡淡腮紅"
pose="蜷坐在綠色金屬台階上,雙手抓著鞋帶,低頭" mood="憂鬱、纖細、空靈但不失踏實感,PG-13">
<wardrobe>黑色西裝外套罩在輕薄連身裙外,裙擺紗質堆積在地面,厚底棕色牛津鞋,一對巨大的白色羽毛道具翅膀</wardrobe>
<notes>無任何品牌標誌;翅膀為實體道具,不涉及飛行</notes>
</human>
</cast>
<composition>
<framing>主體置中;翅膀形成對角線構圖;台階與路面增添粗獷質感</framing>
<depth_of_field>臉部與前方翅膀平面清晰對焦,背景柔和虛化</depth_of_field>
<atmospherics>輕微底片顆粒感;高光周圍有一層薄霧,呼應閃光燈的光暈</atmospherics>
<palette primary="工業綠、瀝青灰、柔和象牙白" accents="玫瑰腮紅色、棕色皮鞋"/>
</composition>
<audio>
<ambience>微弱的城市嗡鳴、遠處若隱若現的車流聲、夜蟲鳴叫</ambience>
<foley>拉鞋帶的聲音、布料摩擦聲、輕微的踩踏吱呀聲</foley>
<dialogue>無</dialogue>
<music>無</music>
</audio>
<timeline>
<event t="0.0-2.5s">
<shot type="俯視3/4角度中景">主體蜷坐著,翅膀略微張開</shot>
<physics>散落的髮絲微微晃動;羽毛因微風輕輕顫動</physics>
<camera_motion>開始緩慢的手持推近</camera_motion>
</event>
<event t="2.5-5.0s">
<action>她拉緊一根鞋帶,呼出一口氣;下巴微傾,視線低垂;翅膀保持靜止</action>
<physics>紗裙隨之落定,產生細微漣漪;布料在膝蓋處壓出皺褶</physics>
</event>
<event t="5.0-8.0s">
<shot type="近距離人像特寫">鏡頭緩緩推近;她微微抬眼望向鏡頭,接著輕輕閉上雙眼;畫面停留在這份寧靜中</shot>
<physics>手部有極輕微的顫動;羽毛與鞋面上的高光平穩流轉</physics>
</event>
</timeline>
<constraints no_text_on_screen="true" no_watermarks="true" tone="PG-13 得體" vfx="無超自然元素,翅膀為實體道具"/>
<negative_prompt>卡通化的表演、捲簾快門抖動、羽毛或頭髮穿模、過曝、多餘的鏡頭運動、變焦、剪接</negative_prompt>
</video>
<video version="2.0" model="sora-2" duration="8s" fps="24" aspect_ratio="9:16" resolution="1080x1920" seed="auto">
<look style="cinematic realism" color_grade="muted greens and grays, creamy whites, gentle rose skin" grain="subtle"/>
<environment>
<location>Back-alley stoop with green-painted steel stairs, cracked pavement, small strip of grass and stones</location>
<time>Night</time>
<weather>Dry pavement with slight humidity sheen</weather>
<lighting>
<key>On-camera flash pop look</key>
<fill>Cool streetlamp spill from camera-left</fill>
<background>Falls to shadow, retain highlight detail on white wings</background>
</lighting>
</environment>
<camera sensor="smartphone-front feel" lens="26-28mm equiv" shutter="1/48s cinematic, mild motion blur"
aperture="f/2.2 shallow DOF with soft halation on speculars" stabilization="handheld">
<movement type="single push-in" path="straight ~0.5m" micro_tilt="minimal to keep face centered" wobble_limit="handheld micro-bob ≤ 3% frame height"/>
<rules>One primary motion only, no zooms, no extra moves, no cuts</rules>
</camera>
<cast>
<human id="subject01" age="young adult" hair="long black, straight fringe" makeup="pale with soft blush"
pose="seated curl on green metal steps, hands clasping shoe laces, looking down" mood="melancholic, delicate, ethereal but grounded, PG-13">
<wardrobe>Black blazer over light dress with tulle pooling on ground, chunky brown platform oxfords, large white feathered costume wings</wardrobe>
<notes>No logos; wings are practical costume, no flight</notes>
</human>
</cast>
<composition>
<framing>Subject centered; wings form diagonals; stairs and pavement add gritty texture</framing>
<depth_of_field>Face and front wing plane sharp, background softly falls off</depth_of_field>
<atmospherics>Subtle film grain; slight haze around highlights to echo flash bloom</atmospherics>
<palette primary="industrial green, asphalt gray, soft ivory" accents="rose blush, brown leather shoes"/>
</composition>
<audio>
<ambience>Faint urban hum, distant traffic hush, night insects</ambience>
<foley>Shoe lace tug, fabric rustle, slight step creak</foley>
<dialogue>None</dialogue>
<music>None</music>
</audio>
<timeline>
<event t="0.0-2.5s">
<shot type="medium from overhead 3/4 angle">Subject sits curled, wings slightly splayed</shot>
<physics>Loose hair shifts subtly; feathers quiver from faint breeze</physics>
<camera_motion>Begin slow handheld push-in</camera_motion>
</event>
<event t="2.5-5.0s">
<action>She tightens a lace, exhales; chin tilts, eyes glance down; wings remain still</action>
<physics>Tulle settles with micro ripples; cloth compresses at knees</physics>
</event>
<event t="5.0-8.0s">
<shot type="tight portrait">Camera eases in; she lifts gaze slightly toward lens then softly closes eyes; hold on quiet</shot>
<physics>Minimal hand tremor; stable specular roll on feathers and shoes</physics>
</event>
</timeline>
<constraints no_text_on_screen="true" no_watermarks="true" tone="PG-13 respectful" vfx="no supernatural, wings are practical"/>
<negative_prompt>cartoonish acting, rolling-shutter wobble, clipping on feathers or hair, overexposure, extra camera moves, zooms, cuts</negative_prompt>
</video>
<video version="2.0" model="sora-2" duration="8秒" fps="24" aspect_ratio="9:16" resolution="1080x1920" seed="auto">
<look style="シネマティックリアリズム" color_grade="くすんだ緑とグレー、クリーミーな白、優しいローズ系の肌色" grain="控えめ"/>
<environment>
<location>緑に塗られた鉄製の階段、ひび割れた舗装、小さな帯状の芝生と石がある裏路地の玄関先</location>
<time>夜</time>
<weather>わずかに湿気を帯びた乾いた舗装</weather>
<lighting>
<key>オンカメラフラッシュのポップな見た目</key>
<fill>カメラ左からの冷たい街灯の光</fill>
<background>影に落ち込むが、白い翼のハイライトのディテールは残す</background>
</lighting>
</environment>
<camera sensor="スマートフォンフロントカメラ風" lens="26-28mm相当" shutter="1/48秒、シネマティック、軽いモーションブラー"
aperture="f/2.2、スペキュラーに柔らかなハレーションを伴う浅い被写界深度" stabilization="ハンドヘルド">
<movement type="単一のプッシュイン" path="直線約0.5m" micro_tilt="顔を中央に保つための最小限のもの" wobble_limit="ハンドヘルドのマイクロボブ、フレーム高さの3%以下"/>
<rules>主要な動きは1つのみ、ズームなし、余計な動きなし、カットなし</rules>
</camera>
<cast>
<human id="subject01" age="若い成人" hair="長い黒髪、ストレートの前髪" makeup="ソフトなチークを伴う青白いメイク"
pose="緑の金属階段に丸まって座り、両手で靴紐を握りしめ、下を見ている" mood="憂鬱で、繊細で、幻想的だが地に足がついている、PG-13">
<wardrobe>地面にチュールが広がるライトドレスの上に黒いブレザー、ずんぐりとした茶色のプラットフォームオックスフォード、大きな白い羽根の衣装用翼</wardrobe>
<notes>ロゴなし。翼は実用的な衣装であり、飛行はしない</notes>
</human>
</cast>
<composition>
<framing>被写体は中央、翼が対角線を形作る。階段と舗装がざらついた質感を加える</framing>
<depth_of_field>顔と前面の翼の面はシャープ、背景は柔らかくぼやけていく</depth_of_field>
<atmospherics>控えめなフィルムグレイン。フラッシュのブルームを反映する、ハイライト周りのわずかな靄</atmospherics>
<palette primary="インダストリアルグリーン、アスファルトグレー、ソフトアイボリー" accents="ローズブラッシュ、茶色の革靴"/>
</composition>
<audio>
<ambience>かすかな都市のハム音、遠くの交通の静けさ、夜の虫の声</ambience>
<foley>靴紐を引く音、生地の擦れる音、わずかな足のきしみ</foley>
<dialogue>なし</dialogue>
<music>なし</music>
</audio>
<timeline>
<event t="0.0-2.5秒">
<shot type="俯瞰3/4アングルからのミディアムショット">被写体は丸まって座り、翼はわずかに広がっている</shot>
<physics>ほつれ髪がわずかに揺れる。羽根がかすかな風で震える</physics>
<camera_motion>ゆっくりとしたハンドヘルドのプッシュインを開始</camera_motion>
</event>
<event t="2.5-5.0秒">
<action>彼女は靴紐を締め直し、息を吐く。顎が傾き、目線が下を向く。翼は動かないまま</action>
<physics>チュールが微細な波紋とともに落ち着く。膝の部分で布が圧縮される</physics>
</event>
<event t="5.0-8.0秒">
<shot type="タイトなポートレート">カメラがゆっくりと寄る。彼女はわずかにレンズの方へ視線を上げ、その後静かに目を閉じる。静寂のまま保持</shot>
<physics>最小限の手の震え。羽根と靴の上に安定したスペキュラーの流れ</physics>
</event>
</timeline>
<constraints no_text_on_screen="true" no_watermarks="true" tone="PG-13、節度のある表現" vfx="超自然的要素なし、翼は実用的な衣装"/>
<negative_prompt>カートゥーン風の演技、ローリングシャッターのぐらつき、羽根や髪のクリッピング、露出過多、余計なカメラの動き、ズーム、カット</negative_prompt>
</video>
✍️ 编辑解析
用XML标签把镜头、光线、角色、时间轴一层层嵌套写清楚,这种写法在Sora 2的重度玩家里不算新鲜,本质是把自然语言提示词工程化,好处是每个参数都能单独调试,坏处是信息密度太高,模型未必会逐字执行,很多细分参数最后大概率被模型当成风格参考而不是精确指令。负面提示词那一栏写得挺全,卡通感、滚动快门抖动、镜头切换过多这些都是Sora 2实际生成里常见的翻车点,说明作者是踩过坑之后才总结出来的。天使少女蹲坐台阶这个画面本身氛围感不错,但整条提示词的复杂度已经超过了大部分场景真正需要的精细度。
׋
›



