New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Translates AI video prompts between model styles by looking up 110 cross-model benchmark pairs, not rewriting by feel.

GitHub stars
467
last updated
Jun 1, 2026
View on GitHub

What it does

  • Covers 10 scenes (product, dialogue, physical motion, image-to-video, meetings, horror, timelapse, abstract, wuxia, pets) across 11 video models
  • Includes a lookup table of matched prompts in prompts/data/cross-model-matrix.json used for few-shot in-context conversion
  • Enforces each target model's required label structure, such as Kling's Scene:/Camera: layers or Sora's Actions: beats
  • Designed for migrating prompts after a model is retired, or for A/B testing one prompt across several video generators

Install

$ npx -y skills add cclank/lanshu-awesome-ai-video-kit --skill prompt-translator -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

prompt-translator

跨模型提示词转换器。关键差异:不是凭 AI 直觉重写,而是查 110 条对照基准做 in-context learning。

何时不用此 skill

  • 用户从零开始写一条新提示词(不是转换) → 用 seedance-prompter / kling-prompter / happyhorse-prompter 或 model-selector
  • 用户问"用哪个模型好" → 用 model-selector
  • 已有提示词出问题但不换模型 → 用 seedance-debugger

核心数据资产

prompts/data/cross-model-matrix.json — 这就是 translator 的"训练数据":

  • 10 个核心场景:产品广告 / 情感重逢 / 滑板动作 / 图生视频 / 多人会议 / 恐怖悬疑 / 自然延时 / 抽象艺术 / 武侠决斗 / 萌宠爆款
  • 每个场景 × 11 模型 = 110 条对照 prompt,每条严格遵循对应模型的官方公式
  • 这构成"同一场景在 11 模型上的最佳写法对照",就是 translator 的查找表

工作流程

步骤 1:接收输入

最少需要:

  • 源模型 (如 Sora 2 / Kling 3.0 / Wan 2.7)
  • 源 prompt (用户的现有提示词)
  • 目标模型 (用户想转到哪个)

可选:

  • 转换偏好(更简洁 / 更详细 / 保留中文)

步骤 2:分析源 prompt 的语义内容

提取核心场景元素(与具体写法风格无关的):

  • 主体(subject):是谁/什么
  • 场景(scene):在哪/什么环境
  • 动作(motion):发生了什么时序事件
  • 情绪(mood):整体氛围
  • 镜头(camera):怎么拍
  • 音频(audio):需要什么声音
  • 对白(dialogue):有无台词
  • 风格(style):视觉锚点

这一步是剥离风格,提取语义。把 Sora 的 Style: → Cinematography: → Actions: 分层结构里的实际内容,抽象成"核心场景描述"。

步骤 3:查 110 条基准对照表找最相似场景

Details

Repository
github.com/cclank/lanshu-awesome-ai-video-kit
Category
AI & Agent Building
License
MIT
First seen
Jun 11, 2026

More from cclank/lanshu-awesome-ai-video-kit

All 7

Similar to Prompt Translator

More AI & Agent Building