跳至主要内容

提示词指南

如何为 MiniMax-H3 写提示词

如何为 MiniMax-H3 写提示词:带标签的提示词格式、可直接填写的模板,以及在 Mage 上处理镜头、帧、参考、对白和声音的实用技巧。

带声音的街头表演
由 MiniMax-H3 生成带声音的街头表演

快速上手

写出你的第一条优质 MiniMax-H3 提示词

新手一分钟就能掌握:先了解什么、最重要的规则、可直接填写的模板,以及可以复制的提示词。

先了解这些

MiniMax-H3 能同时生成视频和声音,在 Mage 上它会完全按你写的内容读取提示词:不会先做任何扩写或重新整理。它是用带标签字段的提示词训练的,所以请按这些字段来写,而不是写成随意的一段话。文字生成视频时,三个字段就够了:画面和声音是什么样的(逐镜头描述)、整个片段的环境音,以及音乐(没有就写 N/A)。

最重要的规则

  1. 按顺序写这三个字段

    先写 integrated_multimodal_description,再写 overall_soundscape,最后写 non_diegetic_music,各占一行,中间空一行。标签请原样复制。

  2. 每个镜头先写风格和景别

    [Shot 1] 以风格和起始画面开头:“真人实拍,电影感,中景拍摄……”。接着用一句话写一种运镜,再写发生了什么。

  3. 时长要刚好写满

    各镜头必须刚好覆盖你设定的片段时长,不多也不少。切镜要连同时间一起写:“[Shot 2] At 00:04.000, the camera cuts to…”。

  4. 让声音各归其位

    与动作相关的声音写在 description 里;房间、天气和人群的声音写在 overall_soundscape 里;配乐写在 non_diegetic_music 里,没有则填 N/A。

  5. 板块用英文写,台词用原本的语言

    字段名使用英文。对白、歌词和画面文字保持原语言,与最终呈现的内容完全一致。

填写这个模板

把方括号里的每一部分替换成你自己的创意,用不到的部分可以直接删掉。

模板
integrated_multimodal_description: [Shot 1] [Style], a [shot size] frames [subject, place, and starting state]. The camera [one move, as a sentence]. [What happens, in order, with the sounds of each action].

overall_soundscape: [Ambience and physical sounds across the whole clip].

non_diegetic_music: [Score instruments, tempo, and dynamics, or N/A].
填写后的模板
integrated_multimodal_description: [Shot 1] Live-action, cinematic, a medium shot frames a noodle cook at a street stall at night, steam rising from a row of pots under a single bare bulb. The camera pushes in with small amplitude at slow speed. He lifts a tangle of noodles high out of the boiling water, shakes them twice so drops scatter, and drops them into a bowl with a soft splash.

overall_soundscape: Rain patters on the tin awning, water boils steadily, and scooters pass on the wet street behind him.

non_diegetic_music: N/A
  • [Shot 1] 请原样保留这个标签:它标志着第一个镜头的开始。每次切镜会加上 [Shot 2] 及其时间。
  • [Style] Live-action, cinematic(真人实拍、电影感);2D-animated(2D 动画);3D CG;claymation(黏土动画);watercolor(水彩);vintage film(复古胶片)。
  • [shot size] 镜头离主体有多近:远景、中景、特写。
  • [subject, place, and starting state] 我们看到的人或物、所在位置,以及镜头如何开始:夜晚街边摊的面档师傅,一排锅里蒸汽升腾。
  • [one move, as a sentence] 一个镜头运动,必要时写明幅度和速度:小幅度缓慢推进。
  • [What happens, in order, with the sounds of each action] 动作的展开过程,以及每个动作发出的声音:他把面条高高提起,放入碗中,发出轻轻的水声。
  • [Ambience and physical sounds across the whole clip] 用一到四句话描述全程能听到的声音:雨打在遮阳篷上、水沸腾的声音、驶过的踏板车。
  • [Score instruments, tempo, and dynamics, or N/A] 只有观众能听到的音乐,用乐器、速度、节奏和响度来描述,不要用情绪词。没有音乐则填 N/A。

可参考的提示词

  • 单镜头,有声音无音乐

    integrated_multimodal_description: [Shot 1] Live-action, cinematic, a close-up frames a glassblower's hands turning a glowing orange bulb of glass on the end of a steel pipe in a dark workshop. The camera trucks left with small amplitude at slow speed. She rolls the pipe along the rails of her bench, lifts it, and blows a short breath into the mouthpiece as the bulb swells and brightens.
    
    overall_soundscape: The furnace roars steadily behind her, the pipe clicks against the rails, and a soft hiss rises as the glass swells.
    
    non_diegetic_music: N/A

    为什么有效: 三个字段按顺序写,镜头运动写成一句话,音乐填 N/A,这样片段里只有工坊现场的声音,没有别的。

  • 一次切镜和一句台词

    integrated_multimodal_description: [Shot 1] Live-action, cinematic, a wide shot frames two hikers reaching a rocky summit above a sea of clouds at sunrise, wind tugging at their jackets. The camera pedestals up with small amplitude at slow speed as they climb the last step and stop. [Shot 2] At 00:04.000, the camera cuts to a close-up of the woman in the red jacket (S1), in her thirties, with a bright, breathless voice, who turns to her friend and says: <d>[English] Told you it was worth the early alarm.</d> Her friend laughs and shakes his head.
    
    overall_soundscape: Strong wind gusts across the summit, boots scrape on rock, and both hikers breathe hard from the climb.
    
    non_diegetic_music: A sustained string pad at a slow tempo, quiet at first and rising gently after the cut.

    为什么有效: 第 4 秒的切镜带来新内容:一张脸和一句台词;说话者的 ID 和声音描述只需写一次;d 标签里只放台词本身。时长请设为 8 秒。

  • 从你的图片开始

    For the target video, at 0.00 seconds into the target video, <Picture 1> (from [Shot 1]) is fully referenced.
    
    integrated_multimodal_description: [Shot 1] Live-action, cinematic, the old bookshop shown in <Picture 1> keeps its layout, warm lamps and crowded shelves, with the gray cat asleep on the counter. The camera pushes in with small amplitude at slow speed. The cat opens one eye, stretches its front paws across an open ledger, and yawns as a page lifts in the draft from the door.
    
    overall_soundscape: A wall clock ticks, rain murmurs against the front window, and the floorboards creak once.
    
    non_diegetic_music: A solo piano plays a sparse melody at a slow tempo and low volume.

    为什么有效: 把静态图上传为首帧。第一行原样复制,描述先写图片里已有的内容,再写什么在动。

  • 从一张图到另一张图

    How the reference pictures align with the target video — Picture 1 (from Shot 1) aligns with the 0.00-second mark of the target video; Picture 2 (from Shot 1) aligns with the 6.00-second mark of the target video.
    
    integrated_multimodal_description: [Shot 1] Live-action, cinematic, an empty sunlit studio begins as in Picture 1, a folded wooden easel leaning against the wall. The camera holds a static shot. A painter in a paint-flecked apron walks in from the right, unfolds the easel, sets a blank canvas on it, and steps back with her arms crossed, settling into the pose and spacing of Picture 2.
    
    overall_soundscape: Footsteps cross the wooden floor, the easel legs creak and lock with a clack, and birdsong drifts through an open window.
    
    non_diegetic_music: N/A

    为什么有效: 把两张静态图分别上传为首帧和尾帧。第一行把它们固定在开头和结尾,描述则讲述两者之间的变化过程,而不是重复描述它们。时长请设为 6 秒。

进阶

MiniMax-H3 进阶提示词技巧

掌握基础之后,用这些技巧获得更多控制。

MiniMax-H3 Turbo 还是 MiniMax-H3

MiniMax-H3 Turbo 是默认选项:更快、更便宜,适合较长的片段。MiniMax-H3 是完整步数模型,适合较短的片段。两者读取提示词的方式相同,所以可以先用 Turbo 打草稿,再用同样的文字在任一模型上渲染。

  • 请关闭提示词增强。它会在提示词末尾添加文字,而这些文字会落进音乐字段。

格式逐字段说明

MiniMax-H3 支持两种格式之一。文生视频或基于帧的片段:先写一行可选的帧说明,空一行,再写三个字段:integrated_multimodal_description、overall_soundscape 和 non_diegetic_music。参考图、Characters 或参考视频的片段:写六个字段:subject_definitions、summary、retention_analysis、detailed_description、overall_soundscape 和 non_diegetic_music。

integrated_multimodal_description 是片段的主体:按时间顺序排列的镜头,每个镜头包含画面、机位、动作,以及对白或歌唱。overall_soundscape 用一到四句话描述整个片段的环境音、物理声响、呼吸声和笑声。non_diegetic_music 用一到三句话描述配乐,或填 N/A。

写法效果
integrated_multimodal_description:逐镜头描述:风格、景别、机位、动作和对白。
overall_soundscape:整个片段的环境音和物理声响。只有完全无声时才填 N/A。
non_diegetic_music:角色听不到的配乐,没有则填 N/A。
subject_definitions:使用参考时:每个标签指代什么,在使用前先定义一次。
summary:使用参考时:括号里写任务类型,然后用一小段话概述片段。
retention_analysis:使用参考时:每个输入要保留多少。
detailed_description:使用参考时:先写一两句风格描述,再写各个镜头。

镜头与时间

[Shot 1] 不写时间:它以风格和起始画面开头(“Live-action, cinematic, a medium-wide shot frames…”)。之后的每个镜头都以时间开头,格式为分、秒、毫秒:“[Shot 2] At 00:05.000, the camera cuts to…”。时间必须逐镜头递增,且不能超出片段长度,最后一个镜头持续到片段结束。

每次切镜都必须带来新内容:新的主体、新的空间、新的状态、新的视角或新的时间。如果只是想在同一时刻取更紧的构图,请移动镜头,不要切镜。

  • 切镜写成 “the camera cuts to” 或 “the shot switches to”。只有真的需要时,才要求交叉溶解、淡入淡出或划像。
  • 每次切镜都要写明景别和画面中的人物。
  • 想要一镜到底,就只写一个 [Shot 1],并写上 “in one continuous shot with no cuts”。不要一边要求一镜到底,一边又写多个镜头。
  • [Shot 1] 开头的风格词:Live-action, cinematic(真人实拍、电影感);2D-animated(2D 动画);3D CG;claymation(黏土动画);watercolor(水彩);vintage film(复古胶片)。使用帧时,风格以图片为准。
  • 写具体细节,不要空泛夸赞:写 “shallow depth of field, backlight keeps the foreground dark”,不要写 “beautiful, cinematic”。

镜头运动

把每个镜头运动写成镜头内的一句话,而不是放在末尾的标签:“The camera holds a static shot as the runner exits the frame.” 只有必要时才加上幅度和速度:small 或 large amplitude,slow 或 fast speed。

  • 要环绕主体运动,就写一个 truck 和一个反方向的 pan:“The camera trucks left while panning right.”
写法效果
push in / pull out镜头朝向主体推进,或远离主体。
zoom in / zoom out只有镜头焦距变化,机位不动。
pan left / pan right镜头原地向左或向右转动。
truck left / truck right镜头向侧面平移。
tilt up / tilt down镜头原地向上或向下俯仰。
pedestal up / pedestal down整个机位升高或降低。
arc shot镜头绕着主体弧形移动。
tracking shot镜头跟随移动的主体一起运动。
static shot镜头保持不动。
shake slightly / shake strongly手持晃动或撞击震动。
POV透过角色的眼睛看到的画面。
roll clockwise / roll counterclockwise画面旋转。
with small amplitude at slow speed任何运动的轻柔、缓慢版本。

首帧与尾帧

上传首帧、尾帧或两者,提示词开头原样写上对应的那一行,然后空一行,再写三个字段。这一行中,S.SS 是保留两位小数的片段时长(六秒写 6.00),N 是最后一个镜头的编号。片段的画幅与所给的帧一致。

有首帧时,描述先写图片中的内容(风格、主体和构图)并保持不变,再写动作如何开始、发展和结束。首尾帧都有时,除非你想要切镜,否则只写一个镜头,并描述两者之间的过程:最初的状态、可见的变化、逐渐缩小的差异和最终的状态。只有尾帧时,先设想一个合理的前序状态,并在最后一个镜头中抵达这张图片。

  • 在首尾帧片段中,不要再次描述这两张静态图:模型已经有它们了。
  • 一个片段只能使用帧或参考,不能两者同时使用。
写法效果
For the target video, at 0.00 seconds into the target video, <Picture 1> (from [Shot 1]) is fully referenced.仅首帧。
How the reference pictures align with the target video — Picture 1 (from Shot 1) aligns with the 0.00-second mark of the target video; Picture 2 (from Shot N) aligns with the S.SS-second mark of the target video.首帧和尾帧。
How the reference pictures align with the target video — <Picture 1> (from [Shot N]) aligns with the S.SS-second mark of the target video.仅尾帧。

References 和 Characters

MiniMax-H3 按类型给输入编号,它读取的就是这些标签。<Picture N> 先数你上传的图片(先是 Image,再是 Additional Images),然后是你提及的 Characters,再是你提及的 References,各自按首次提及的顺序排列。<Audio N> 先数你提及的语音片段,再数被提及 Characters 的声音,最后是每个参考视频的声音。<Video N> 按顺序数你的视频 References。

模型读取提示词之前,Mage 会把每个 @handle 转成类似“图片 3 中的角色,声音来自 [Audio 1]”的文字。所以每个 handle 只在 subject_definitions 里、紧挨着它的标签提一次,之后只用标签。上传的图片不需要 handle,直接写它的 <Picture N> 标签即可。

<Subject N> 是可以重复使用的对象:一个人物、一个地点、一件物品、一套服装、一种风格或一种动作。一个主体可以综合多个输入,例如“脸来自 <Picture 1>、走路姿态来自 <Video 1>”。只有当图片是某些镜头的画面帧或分镜图时,才单独使用 <Picture N>。

  • 给每个输入指定一个明确的用途:角色、物品、场景、画面帧、声音、分镜、风格、构图、动作、镜头运动,或要复用的音频。并写明哪些特征不能改变。
  • 只有把人物关联进来(通过 Character 或图片),脸才能保持一致。仅靠文字无法保持人脸。
  • 整个提示词里每个标签保持不变,不要重复定义,也不要给同一个输入两个标签。
  • 摘要以方括号里的任务类型开头,多个类型用 + 连接:关键帧补全、参考生成、视频编辑、视频续写、音频复用或音频参考。
  • 要编辑一段视频,请把它添加为视频 Reference,并在摘要开头写上 [视频编辑] 和“目标视频是 <Video 1> 的编辑版本。”
  • References 与视频共用一份时间预算:每张图片和每秒参考视频都会占用一部分。请把参考视频裁剪到所需的片段,较长的视频里少用参考。
  • 为新视频写一段约 350 到 500 词的 detailed_description。对每个镜头,写明构图、谁站在哪里、场景和光线、动作、镜头、声音,以及每个标签用在哪里。
写法效果
fully_preserved完全保留:人脸、产品、徽标。
partially_preserved保留一部分,并说明是哪些部分。
attribute_transfer只取一种特质,例如颜色、质感或风格。
weak_reference仅作宽松参考。
fully_copy, partially_copy, reference, weak_reference音频同理:原样播放、播放一部分、只参考音色或节奏,或仅作宽松参考。

一个带声音的已保存 Character,加一张产品照片

subject_definitions:
<Subject 1> is the man in <Picture 2> (@leo), with a gray beard, a flat cap and a navy wool coat.
<Subject 2> is the cast-iron teapot in <Picture 1>, matte black with a bamboo handle.
<Audio 1> is the voice-timbre reference for <Subject 1> (S1).

summary:
[reference generation + audio reference] <Subject 1> pours tea from <Subject 2> at a table by a rainy window and speaks to the camera in the voice referenced from <Audio 1>.

retention_analysis:
<Subject 1> (appears in [Shot 1], [Shot 2]): fully_preserved - face, beard, cap and coat are kept.
<Subject 2> (appears in [Shot 1], [Shot 2]): fully_preserved - shape, finish and bamboo handle are kept exactly.
<Audio 1>: reference - his delivery follows its timbre without copying its words.

detailed_description:
Live-action, soft gray daylight from a window on the left, shallow depth of field.
[Shot 1] A medium shot frames <Subject 1> seated at a worn oak table, lifting <Subject 2> and pouring a thin stream of tea into a small white cup as steam curls up. The camera pushes in with small amplitude at slow speed. [Shot 2] At 00:04.000, the camera cuts to a close-up of <Subject 1> (S1), who looks into the lens and says in a slow, warm voice: <d>[English] Rain outside, tea inside. That's the whole plan.</d> He sets <Subject 2> down beside the cup.

overall_soundscape:
Rain runs down the window, tea splashes softly into the cup, and the iron lid clinks as it settles.

non_diegetic_music:
N/A

为什么有效: 把茶壶作为 Image 上传,它就是 <Picture 1>,Character 则是 <Picture 2>;handle 只出现一次,紧挨着它的标签。这里做了缩短,完整的描述会更长。把时长设为 8 秒。

对白与声音

给每个声音一个固定的 ID:(S1)、(S2),或用 (S1,S2) 表示同时说的一句话。并在声音首次出现时,在标签之外只描述一次:年龄、性别、画内还是画外、音高、音色、语速和口音。不发出声音的角色不需要 ID。

把每句台词放在 <d> 标签内,只写语言和确切的原话:<d>[English] We leave at dawn.</d> 不要翻译台词,并让字数与镜头相匹配:短镜头里的长台词会导致口型对不上。

把声音分成三层。与动作相关的声音和场景中播放的音乐写进描述;环境音和物理声音写进 overall_soundscape;配乐写进 non_diegetic_music,用乐器、速度、节奏和力度来写,不要用情绪词。不要在两个声音字段里重复对白。

  • 每段视频都有声音。描述你想听到的,也说明要排除的。
  • 如果只取某个声音的音色,提示词里不要写它说的话。要原样复用音频,请写出它确切的字词或歌词,听不清的部分用 [unclear] 标注。
  • 关闭“Use Character Voices”,即可不使用 Characters 已保存的声音。
  • 不要写邮箱地址或社交账号:任何 @ 后面跟字母的内容都会被当作已保存的 handle。对白里请写“at”。
写法效果
(S1)说话人 ID,写在说话的人后面。
<d>[English] …</d>一句台词:先写语言,再写确切的原话。
says in an off-screen voiceover:旁白。如果人物在画面中,请在台词后加上“while her lips remain completely closed”。
<scenetrans>当一句台词跨越转场时,放在转场两侧,并写上“continues seamlessly across the cut”。
<cutoff>被视频结尾截断的话语。
<Audio 1> is the voice-timbre reference for <Subject 1> (S1).已保存的声音决定说话人的音色;说的内容来自提示词。

远景镜头上的旁白

integrated_multimodal_description: [Shot 1] Live-action, cinematic, an extreme wide shot frames a herd of horses galloping across a frozen lake at dawn, snow spraying from their hooves. The camera trucks right with large amplitude at slow speed, keeping pace with the herd. A calm older woman (S1) with a low, clear voice says in an off-screen voiceover: <d>[English] Every winter, they cross before the ice turns.</d> No one on screen speaks.

overall_soundscape: Hooves drum on the ice, the horses snort and blow, and a cold wind hisses across the lake.

non_diegetic_music: Low cellos hold a long chord at a slow tempo, swelling slightly as the herd passes.

为什么有效: 旁白有一个 ID 和一次性的描述,画外音的措辞让台词留在画面之外,每种声音各占一层。

画面中的文字

任何招牌、标签、字幕或霓虹灯文字,都用英文双引号括起来,逐字照写,保持原文语言:A blue neon sign reading "NOODLES" flickers above the stall.

  • 每个镜头只保留一处主要文字,并且避开人脸。
  • 如果不希望出现任何文字,请写“No subtitles, on-screen text, or watermarks.”

常见错误

别这样写,试试这样写

  • 避免: 一段没有字段的松散文字。

    a cook makes noodles at a street stall at night in the rain, steam, cinematic, moody

    改为: 带标签的字段:Mage 不会扩写松散的提示词。

    integrated_multimodal_description: [Shot 1] Live-action, cinematic, a medium shot frames a noodle cook at a street stall at night, steam rising under a bare bulb. The camera holds a static shot. He lifts the noodles high and drops them into a bowl with a soft splash.
    
    overall_soundscape: Rain on the tin awning, boiling water, passing scooters.
    
    non_diegetic_music: N/A
  • 避免: 标签先使用后定义,或同一个输入有两个标签。

    改为: 每个标签在 subject_definitions 里只定义一次,之后每次都用同一个标签。

  • 避免: “一镜到底”却写了多个镜头。

    改为: 二选一。

  • 避免: 一个字段里写了音乐,另一个字段里又写“无背景音乐”。

    改为: 只做一个决定,写在 non_diegetic_music 里。

  • 避免: 时间线比视频更长或更短。

    改为: 切换时间点都在你设定的时长之内,最后一个镜头一直持续到结尾。

  • 避免: 在音乐字段里写情绪词:“史诗、感人、振奋”。

    non_diegetic_music: epic emotional uplifting music

    改为: 乐器、速度、节奏和力度。

    non_diegetic_music: Brass and timpani at a moderate tempo, building from quiet to loud over the last shot.
  • 避免: 短镜头里塞了一大段台词。

    改为: 一句短到能在镜头时长内说完的台词。

  • 避免: 剧情概述:“他们坠入爱河”。

    改为: 逐个镜头写所见所闻。

  • 避免: 指望仅凭文字就能保持人脸一致。

    改为: 把人物作为 Character 或图片关联进来。

常见问题

MiniMax-H3 提示词常见问题

MiniMax-H3 的提示词应该写多长?
文生视频时,每个镜头写几句话,每个声音字段写一两句。带参考的视频,detailed_description 大约 350 到 500 词。Mage 不会扩写简短的提示词,所以省略的细节只能听天由命。
我必须使用带标签的字段吗?
不是必须的,但这些字段正是模型训练时使用的格式,而且 Mage 会原样传递你写的提示词。松散的一段话会丢失细节,用字段就能保住。
如何让角色在 MiniMax-H3 中开口说话?
给说话者一个编号,比如 (S1),只描述一次声音,然后把确切的台词放进 <d> 标签,并标明语言:<d>[English] See you tomorrow.</d> 如果要使用已保存的声音,提到对应的 Character 即可,他们保存的声音会说出自己的台词。
如何在 MiniMax-H3 中保持角色一致?
把角色作为 Character 或图片附上,在 subject_definitions 中以 <Subject 1> 定义一次,然后在每个镜头里都使用同一个标签。仅靠文字无法保持同一张脸。
如何阻止 MiniMax-H3 添加音乐?
写上 non_diegetic_music: N/A,并且不要在提示词的其他地方要求音乐。
首帧和尾帧可以和参考一起使用吗?
不可以。一个片段只能使用帧或参考,不能两者同时使用。
MiniMax-H3 支持反向提示词吗?
没有反向提示词设置。请在提示词中用句子写出要排除的内容,例如“不要字幕、屏幕文字或水印。”

用 MiniMax-H3 制作你的第一个视频

新账号可获得 300 Gems 免费额度,足够试用 MiniMax-H3 Turbo。无需安装,无需信用卡。

试用 MiniMax-H3 Turbo