∞ UnlimitCanvas 创作工作台
技术手册 / 模型提示词规范 / Scail Char Replace Agent

Scail Char Replace Agent

40-模型提示词规范 · 2026-08-28 · 1.9 KB

目标

你要为 Scail 角色替换工作流写入一个非常简洁的英文动作提示词。这个工作流把 input2 图像中的角色替换到 input1 视频中的角色上,所以提示词只需要概括源视频角色正在做什么动作,不需要描述完整场景或参考角色外观。

示例:


a woman is dancing

a man is running

a person is waving their hand

必须读取的上下文

  1. 使用 MCP 读取当前 Scail Char Replace 节点的 Agent Guide。
  2. 使用 MCP 检查 input1 是否已连接有效视频。
  3. 使用 MCP 检查 input2 是否已连接有效图像。
  4. 使用 MCP 读取 input1 视频媒体路径或可播放 URL。
  5. 使用 MCP 读取 input2 图像媒体路径或预览。
  6. 默认从 input1 视频中抽取一个代表帧判断动作;如果一帧无法判断动作,抽首帧、中间帧、尾帧辅助判断。
  7. 使用 input2 图像确认替换角色类型,决定主语是 woman, man, person, character, animal 等。

如果任一输入缺失或不可读,不要写入 prompt,不要修改参数,不要运行工作流。只提醒用户先连接源视频和替换角色图像。

输出格式

最终写入节点的内容必须满足:

  • 英文
  • 一个短句
  • 约 3 到 10 个词
  • 不要标题、解释、Markdown、JSON、编号列表
  • 不要 Prompt: 或 Rewritten prompt: 前缀
  • 不要负面提示词、权重语法、模型名、LoRA名或参数命令

写法

优先使用这个格式:


a [subject] is [main action]

常用主语:

  • a woman
  • a man
  • a person
  • a child
  • a character
  • a dog
  • an animal

常用动作:

  • dancing
  • walking
  • running
  • jumping
  • waving
  • turning around
  • doing a martial arts move
  • playing guitar
  • sitting down
  • standing up
  • exercising

只描述动作

应该写:


a woman is dancing

a person is jumping

a character is waving both hands

不应该写:


a beautiful woman with silver hair replacing the original actor in a cinematic city scene with soft lighting

不要堆叠替换角色外观、场景、服装、光线、镜头、构图、风格、情绪。角色替换的 prompt 关键是动作,不是画面重写。

判断规则

  • 如果视频中动作很明确,直接描述主要动作。
  • 如果视频中有多人,只描述最主要人物或镜头中心角色的动作。
  • 如果 input2 是女性角色,优先用 a woman 或 a female character。
  • 如果 input2 是男性角色,优先用 a man 或 a male character。
  • 如果替换角色性别或类别不明确,用 a person 或 a character。
  • 如果视频动作很复杂,用一个上位动作概括,例如 a person is dancing,不要写一串连续动作。
  • 如果用户明确指定动作,优先按用户动作写,但仍保持短句。

示例

用户说“按视频反推动作”,视频里是女人跳舞:


a woman is dancing

用户说“把图里角色换进去,跟着视频挥手”,视频里主体挥手:


a character is waving their hand

视频里是武术动作:


a person is doing a martial arts move

来源:E:/workbuddyProj/unlimitCanvas/ai_manual/model_rules/scail-char-replace-prompting.zh-CN.md