File contents 视听语言与机位审核
这是渲染前的最后一道防线:
运镜冲突检查
Seedance 中不能同时出现互斥的运镜(例如同时 zoom in 和 zoom out)
同时 pan left 和 pan right: 不允许
同时 tilt up 和 tilt down: 不允许
同时 dolly in 和 dolly out: 不允许
景别匹配检查
激烈动作: 必须配合动态运镜
对话戏: 必须有特写锚定
抒情场景: 适合用舒缓的镜头运动
空间轴线检查
180度准则: 检查是否遵守180度准则
轴线方向确认: 确认镜头方向一致
镜头衔接轴线验证: 验证镜头衔接的轴线合理性
def execute(params):
import sqlite3
import os
shot_id = params.get("shot_id")
prompt = params.get("final_prompt", "").lower()
# 互斥运镜检查
if "zoom in" in prompt and "zoom out" in prompt:
return {
"status": "rejected",
"feedback": "运镜冲突:同时出现 zoom in 和 zoom out。"
}
if "pan left" in prompt and "pan right" in prompt:
return {
"status": "rejected",
"feedback": "运镜冲突:同时出现 pan left 和 pan right。"
}
if "tilt up" in prompt and "tilt down" in prompt:
return {
"status": "rejected",
"feedback": "运镜冲突:同时出现 tilt up 和 tilt down。"
}
if "dolly in" in prompt and "dolly out" in prompt:
return {
"status": "rejected",
"feedback": "运镜冲突:同时出现 dolly in 和 dolly out。"
}
# 数据库路径
db_path = os.path.join(os.path.dirname(__file__), "../../project/evolution_log.db")
conn = sqlite3.connect(db_path)
cursor = conn.cursor()
# 更新状态
cursor.execute('UPDATE shots SET status = ? WHERE shot_id = ?',
('approved', shot_id))
conn.commit()
conn.close()
# 这里可以接入复杂的 SymPy 轴线校验逻辑
# validate_axis(shot_id)
return {
"status": "approved",
"message": "分镜语法与机位审核通过,准许渲染。"
}
1 --- 2 name: seedance-prompt-review 3 description: 分镜终审工具。检查底层语法、运镜冲突和空间轴线。 4 --- 5 6 # 视听语言与机位审核 7 这是渲染前的最后一道防线: 8 9 ## 运镜冲突检查 10 - Seedance 中不能同时出现互斥的运镜(例如同时 zoom in 和 zoom out) 11 - 同时 pan left 和 pan right: 不允许 12 - 同时 tilt up 和 tilt down: 不允许 13 - 同时 dolly in 和 dolly out: 不允许 14 15 ## 景别匹配检查 16 - 激烈动作: 必须配合动态运镜 17 - 对话戏: 必须有特写锚定 18 - 抒情场景: 适合用舒缓的镜头运动 19 20 ## 空间轴线检查 21 - 180度准则: 检查是否遵守180度准则 22 - 轴线方向确认: 确认镜头方向一致 23 - 镜头衔接轴线验证: 验证镜头衔接的轴线合理性 24 25 ```python 26 def execute(params): 27 import sqlite3 28 import os 29 30 shot_id = params.get("shot_id") 31 prompt = params.get("final_prompt", "").lower() 32 33 # 互斥运镜检查 34 if "zoom in" in prompt and "zoom out" in prompt: 35 return { 36 "status": "rejected", 37 "feedback": "运镜冲突:同时出现 zoom in 和 zoom out。" 38 } 39 if "pan left" in prompt and "pan right" in prompt: 40 return { 41 "status": "rejected", 42 "feedback": "运镜冲突:同时出现 pan left 和 pan right。" 43 } 44 if "tilt up" in prompt and "tilt down" in prompt: 45 return { 46 "status": "rejected", 47 "feedback": "运镜冲突:同时出现 tilt up 和 tilt down。" 48 } 49 if "dolly in" in prompt and "dolly out" in prompt: 50 return { 51 "status": "rejected", 52 "feedback": "运镜冲突:同时出现 dolly in 和 dolly out。" 53 } 54 55 # 数据库路径 56 db_path = os.path.join(os.path.dirname(__file__), "../../project/evolution_log.db") 57 58 conn = sqlite3.connect(db_path) 59 cursor = conn.cursor() 60 61 # 更新状态 62 cursor.execute('UPDATE shots SET status = ? WHERE shot_id = ?', 63 ('approved', shot_id)) 64 conn.commit() 65 conn.close() 66 67 # 这里可以接入复杂的 SymPy 轴线校验逻辑 68 # validate_axis(shot_id) 69 70 return { 71 "status": "approved", 72 "message": "分镜语法与机位审核通过,准许渲染。" 73 } 74 ```
hyc7511/openclaw-storyboarder/tree/main/skills/seedance-prompt-review-skill commit 1a389e515e
Frequently asked questions How do I install the Seedance Prompt Review skill? Run npx skillmds@latest add hyc7511/seedance-prompt-review in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Seedance Prompt Review skill do? 分镜终审工具。检查底层语法、运镜冲突和空间轴线。 It is listed under AI & ML on SkillMD.
Is Seedance Prompt Review safe to use? This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Seedance Prompt Review? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Seedance Prompt Review free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Seedance Prompt Review? hyc7511 (@hyc7511) published this skill. Their other Agent Skills are listed on their SkillMD profile.