@ninkch/dsh-infinite-canvas 0.20.4 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -67,7 +67,7 @@ Help & feedback:
67
67
 
68
68
  Every canvas (one episode) carries a host-enforced **production stage** — `brief → bible → assets → script → storyboard → shots_ready → generating → qc → post → delivered` — with six code gates (bible-first, storyboard quality, one video per storyboard, no per-shot nodes, destructive-op confirmation, stage order). Gates refuse with the exact missing items and always accept an explicit-user override (audited). `canvas_production_status` is the only basis for claiming "done".
69
69
 
70
- With the **Auto creation (experimental)** switch on (Settings → 自动创作), the agent runs a writers room from one sentence — research → two independent pitches → cross-critique → producer decision → bible → script → per-scene storyboards (quality-gated) → **budget sheet** — with zero paid calls; approve once and it generates videos per storyboard and builds a final-cut node. The transcript lands on the canvas as a 编剧室会议 node; questions are forbidden in this mode.
70
+ With the **Auto creation (experimental)** switch on (Settings → 自动创作), the agent runs a writers room from one sentence — research → two independent pitches → cross-critique → producer decision → bible → script → per-scene storyboards (quality-gated) → **budget sheet** — with zero paid calls; approve once and it generates videos per storyboard and builds a final-cut node. The transcript lands on the canvas as a 编剧室会议 node; questions are forbidden in this mode. Settings only keeps the switch: the brief input, live phase/budget sheet, per-scene selection and approve/generate/abort controls live in the **Production console** (left icon rail), and the video unit price is set in chat ("set video price to X yuan/second" → `canvas_production_set_price`).
71
71
 
72
72
  ## Image models via `dsh-image-gen`
73
73
 
@@ -231,5 +231,5 @@ Maintain [身份/服装/地点/光向]. Avoid [与本镜真实风险匹配的失
231
231
  ## 七、诚实边界
232
232
 
233
233
  - 本套件的方法论是**通用手法**,不复制任何具体作品的镜头、台词、角色或情节。透镜名只作为内部选择标签,交付物里**绝不出现导演名**——一律翻译成可执行参数(焦段、光比、ASL、色板、负向词)。
234
- - **不承诺逐帧还原参考视频的动作**。具体武打招式要靠 3D 导演台骨骼动画或实拍参考,文字提示词硬凑招式必然出糊动作。详见 `moves/fight-rhythm.md` 的「生成时的明确边界」。
234
+ - **不承诺逐帧还原参考视频的动作时序**。但打斗**可以**用文字写出可演的发力链:打斗分镜必须写可见身体发力 + 对手回应 + 物理结果(禁招式名/概括词),动作词表见 `moves/fight-rhythm.md`;更高质感走发力关键帧图生视频或 3D 导演台首帧。
235
235
  - 题材卡的置信度标注的是「该卡的机制在本套件内被多处交叉印证的程度」,**不代表市场表现、测量结果或任何统计结论**。
@@ -8,6 +8,9 @@ kind: moves
8
8
 
9
9
  打斗不是"更快地打架",是**用镜头组织给观众建立重量感**。观众记住的从来不是招式,是某一下砸下去之后身体停住的那两帧。
10
10
 
11
+ 打斗分镜还有一条**因果硬规则**(与镜头组织同等重要):**出招 → 对手接招/防御/闪避/受击 → 反击或追击 → 攻守转换 → 位移/空间变化 → 下一轮**。每次主要攻击都必须引发对手可见的回应,禁止站桩接招;每次攻击必须指向具体对手(写明锁定部位与轨迹方向);接触必须写清受力与破坏;跨镜的攻势延续靠每镜 tail 里的「|战斗态:…」传递。**禁止招式名与概括词**("回风落雁式""释放技能""能量爆炸""华丽连招")——只写可见的身体发力链 + 对手回应 + 物理结果。
12
+
13
+
11
14
  ## 实测基线
12
15
 
13
16
  对一段 10 秒 / 300 帧的实拍打斗做了逐镜切分,读数如下——把这些数字当基准,不要凭感觉:
@@ -69,9 +72,11 @@ kind: moves
69
72
 
70
73
  **这一段必须读懂,它决定了成品质量。**
71
74
 
72
- 本卡只提供**镜头节奏与景别组织手法**,不承诺逐帧还原参考视频里的具体武打动作。
75
+ 本卡提供**镜头节奏与景别组织手法 + 攻防因果链**。动作要"真",靠的是把打斗拆成**可见的身体发力链**,而不是靠招式名词。
76
+
77
+ - **不写招式名**("回风落雁式""居合三段突")——模型不知道怎么演名字。**但必须写可见发力链**:起始姿态/重心 → 肢体顺序(腰胯先拧、后腿蹬地、手臂后送)→ 接触 → 受力反馈 → 收势。例如不写"一记凌厉的侧踢",写"重心压到左腿、右腿贴地横扫到髋高、@对手@ 双臂交叠上架仍被扫得后撤半步"。
78
+ - **动作词表直接取用**(源自 3D 导演台骨骼姿势的关节力学,可见且可演):侧身沉肩重心压后腿;腰胯先拧后腿蹬地发力;单臂斜上架掌面外翻上身侧倾卸力;髋部后坐上身后仰;前腿蹬直上身前压冲刺;深蹲转体贴地横扫;单膝下沉持械直下压;抬头挺胸双臂外展蓄力;上身后折双臂散开撤步卸力;全身放倒四肢摊开。打斗镜的 motion/timeBeats 从这些**可见身体状态**里取词,不再写"挥了一下"。
79
+ - **概括词禁令**:"释放技能/发动攻击/能量爆炸/高速连击"这类词模型只能演成糊动作或平移。写成画面事实:谁、哪个部位、朝哪个方向、把什么推向哪里、对方身体如何回应。
80
+ - **仍然诚实的一条**:本卡不承诺逐帧还原任何实拍片段的动作时序。要真实动作质感,两条升级路依然有效:① 打斗镜先出**发力关键帧设定图 → 图生视频(hard 首帧)**;② 3D 导演台骨骼动画摆出真实关节角度后截图作首帧/参考。但"文字写不出打斗"是旧口径,已废弃——**写足发力链 + 回应 + 物理结果,模型就能演出打斗**。
81
+ - 打斗分镜里,把文字用在**该写的地方**:景别、机位、时长、光向、服装色块、攻防因果(attack/reaction/impact/攻守归属)、打击后的身体状态("停在半跪,右手撑地,头抬起看向对方")。
73
82
 
74
- - 具体招式(怎么出拳、怎么格挡、身体重心怎么转移)**不能靠文字提示词硬凑**。用文字描述武打动作,模型只能给出"挥了一下"的糊动作,这是必然结果,不是参数没调好。
75
- - 要真实动作,走两条路:① **3D 导演台的骨骼动画**(有真实关节角度与时间曲线);② 拿实拍或动捕参考做视频参考输入。
76
- - 打斗分镜里,把文字用在**该写的地方**:景别、机位、时长、光向、服装色块、打击后的身体状态("停在半跪,右手撑地,头抬起看向对方")。这些都可执行。
77
- - 反过来,**不要写**:"一记凌厉的侧踢接转身肘击" 这种招式描述——模型会给你一段谁也没看懂的肢体运动。
@@ -34,6 +34,7 @@ brief → bible → assets → script → storyboard → shots_ready → generat
34
34
  - **逃生舱**:用户明确要求时传 `override: { by: 'user-explicit', quote: '用户原话' }` 放行(写入审计);
35
35
  绝不用 override 绕过用户没同意的事。
36
36
  - **显式推进/回退**:`canvas_production_advance`(必须带 reason);日常推进自动,不需要调它。
37
+ - **视频单价**:`canvas_production_set_price`(用户说"设置视频单价 X 元/秒"时调用);自动创作预算单与批量执行估算共用,0 = 清除。单价不进预算指纹——改价不影响已批准的预算单。
37
38
 
38
39
  ## 零、自动创作与引导式工作坊(先判后做)
39
40
 
@@ -177,3 +178,5 @@ brief → bible → assets → script → storyboard → shots_ready → generat
177
178
 
178
179
  `canvas_director_stage`:`action=help` 列姿态/道具/片段;`action=apply` + JSON 规格写入并落盘;
179
180
  `action=get` 读回。规格:`title/duration/env/characters[]/props[]/cameras[]/shots[]`(详见工具描述)。
181
+ `canvas_list_presets` / `canvas_apply_preset`:运镜/转场预设清单与施加(3D-BOX;转场会映射到基础机位运动)。
182
+ `canvas_import_asset` / `canvas_list_assets`:Agent 导入本地/URL 素材并挂到节点(assetId);列表用于 find-and-mount。