@optima-chat/optima-agent 0.8.96 → 0.8.97

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.
@@ -256,14 +256,17 @@ Storyboard 确认后自动推导。用户通常不改。
256
256
 
257
257
  | 特征 | 策略 | 默认 provider |
258
258
  |---|---|---|
259
- | 1 镜头,无参考 | single-shot | 默认 |
260
- | 多镜头,无参考 | multi-shot-concat | 默认 |
261
- | 有参考,大致复刻 | clone-loose | 默认 |
262
- | 有参考,高度还原 | clone-strict | 默认 |
263
- | PDP 多卖点 | pdp-feature-concat | 默认 |
259
+ | 1 镜头,无参考 | single-shot | DashScope(默认) |
260
+ | 多镜头,无参考 | multi-shot-concat | DashScope(默认) |
261
+ | **有参考,大致复刻** | **clone-loose** | **`piapi`(Kling 3.0)** |
262
+ | **有参考,高度还原** | **clone-strict** | **`piapi`(Kling 3.0)** |
263
+ | PDP 多卖点 | pdp-feature-concat | DashScope(默认) |
264
264
  | 人物讲话 + 严格对口型 | talking-head | `piapi`(Kling 3.0) |
265
+ | 用户明确要求"便宜版" / "省 credits" | 任一 | DashScope |
265
266
  | 用户明确要 premium 质量 | 任一 + premium | `piapi` |
266
267
 
268
+ **规则**:**凡是有参考视频的复刻场景,默认走 Kling 3.0**。理由:复刻任务对主体一致性和视觉保真度要求高,Kling 3.0 质量明显优于 DashScope,省的 credits 不值得牺牲质量。只有当用户明确说"便宜版"或"省 credits"时才降级到 DashScope。纯生成(无参考)继续用 DashScope 默认,性价比最好。
269
+
267
270
  2. 写 `videos/{id}/production-plan.md`:
268
271
 
269
272
  ```markdown
@@ -325,14 +328,14 @@ Storyboard 确认后自动推导。用户通常不改。
325
328
  **工具调用**:
326
329
 
327
330
  ```bash
328
- # I2V(图生视频)— 默认走 DashScope Wan 2.6,便宜快
331
+ # 纯生成(无参考视频)— DashScope Wan 2.6,便宜快(默认)
329
332
  gen video <input_image> \
330
333
  --prompt "<from prompts/seg-N.txt>" \
331
334
  --duration <5|10> \
332
335
  --resolution <720P|1080P> \
333
336
  -o clips/seg-<N>.mp4
334
337
 
335
- # I2V 需要精确口型/人物动作(talking head)— Kling 3.0
338
+ # 复刻(有参考视频)/ 对口型 / premium 质量 — Kling 3.0(默认)
336
339
  gen video <input_image> \
337
340
  --prompt "<from prompts/seg-N.txt>" \
338
341
  --duration <5|10> \
@@ -356,8 +359,11 @@ gen task retry <task_id>
356
359
 
357
360
  | 场景 | Provider | 理由 |
358
361
  |---|---|---|
359
- | 默认(产品展示 / 生活场景 / 大部分复刻) | 默认(DashScope) | 便宜(~10x 差距),质量足够 |
360
- | 人物讲话 + 严格对口型 | `--provider piapi`(Kling 3.0) | Kling 3.0 口型精度更高 |
362
+ | **所有复刻场景(有参考视频)** | **`--provider piapi`(Kling 3.0)** | **默认。主体一致性、保真度明显更高** |
363
+ | 人物讲话 + 严格对口型 | `--provider piapi` | Kling 3.0 口型精度更高 |
364
+ | 用户明确要 premium 质量 | `--provider piapi` | — |
365
+ | 纯生成(无参考,社媒短视频 / PDP 展示) | 默认(DashScope) | 无参考时质量差异较小,便宜 ~10x |
366
+ | 用户明确说"便宜版"/"省 credits" | 默认(DashScope) | 用户主动降级 |
361
367
  | 高质量严格复刻(用户明确要求 premium) | `--provider piapi` | Kling 3.0 保真度更高 |
362
368
 
363
369
  **时长限制**:`gen video --duration` 仅支持 5 或 10 秒。多段视频用多次 `gen video` + `ffmpeg concat` 拼接。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optima-chat/optima-agent",
3
- "version": "0.8.96",
3
+ "version": "0.8.97",
4
4
  "description": "基于 Claude Agent SDK 的电商运营 AI 助手",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",