museav-cli 3.0.0 → 3.0.1

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/AGENTS.md CHANGED
@@ -6,6 +6,24 @@ This CLI is designed to be used directly by coding agents (Claude Code, Codex, e
6
6
 
7
7
  A command-line client for the "studio" image-generation platform (`https://manager.museav.top`). It generates images from a prompt, reverse-engineers a prompt from an existing image, and lists your own generation history. All output is designed for machine consumption: **stdout carries only the final result** (a URL, a prompt string, or JSON); progress and human-readable info goes to stderr.
8
8
 
9
+ ## Scope: this tool makes *assets*, not finished videos
10
+
11
+ Know the boundary before you pick a tool:
12
+
13
+ | You need | Use |
14
+ |---|---|
15
+ | An image, or a raw video clip from a model | `museav gen` (add `--video`) |
16
+ | Cut out a background / upscale / de-watermark / compress | `museav remove-bg` / `upscale` / `remove-watermark` / `compress` |
17
+ | **A finished vertical short video** (images + per-shot captions + BGM/voiceover, templated) | **[reel-kit](https://github.com/webkubor/reel-kit)** — `reel make` |
18
+
19
+ `museav gen --video` gives you a **silent, caption-less clip** — that's raw material, not
20
+ something you post. Assembling material into a publishable short is reel-kit's job: its
21
+ layouts are HTML/CSS templates, it does voiceover, and **shot length follows the narration**.
22
+
23
+ > `museav slideshow` existed in 2.9–2.10 and was **retired in 3.0.0** — it duplicated
24
+ > reel-kit. The command still exists as a stub that prints migration instructions.
25
+ > Don't try to bring it back; use reel-kit.
26
+
9
27
  ## Auth: pick one identity, not both
10
28
 
11
29
  - **You're acting as an individual user** (a person's own account): `museav login` — opens a device-authorization flow (prints a code + URL, polls until the user approves in a browser). Token cached in `~/.museav.json`, valid 7 days.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.0.1 (2026-08-28)
4
+
5
+ ### 把 reel-kit 的推荐位做实
6
+
7
+ 3.0.0 只是下线了 slideshow,但没告诉人「那该用什么」——README 里只有一句藏在引用块里的
8
+ 说明,agent 读的 AGENTS.md 里一个字都没提。补三处:
9
+
10
+ - **README** 加独立小节「🎬 要出成品视频?用 reel-kit」,带命令示例与分工对照表
11
+ - **AGENTS.md** 加 "Scope: this tool makes *assets*, not finished videos" ——
12
+ agent 被要求「做个视频」时,第一眼就能看到该去哪
13
+ - **`gen --video` 出片后提示一行**:模型出的是无声无字幕素材,不是成品。
14
+ 这不是广告,是防止两种误解——以为「出完了」,或以为 museav 该管配音烧字幕
15
+
16
+ 典型链路写清楚了:`museav gen` 出图 → `museav remove-bg` 抠图 → `reel make` 出片。
17
+
3
18
  ## 3.0.0 (2026-08-28)
4
19
 
5
20
  ### 破坏性变更:`slideshow` / `slideshow-layouts` 下线,出片改用 reel-kit
package/README.md CHANGED
@@ -108,12 +108,38 @@
108
108
 
109
109
  > 本地工具(`compress` / `remove-bg` / `upscale` / `remove-watermark`)**不用登录、不花一分钱**,装了就能用;其余命令需要一个凭证(个人 `login` 或租户 apiKey)。
110
110
  >
111
- > **出成品视频不在这里** —— 图集转竖版短视频、配音、烧字幕走 [reel-kit](https://github.com/webkubor/reel-kit)(`reel` 命令)。
112
- > museav 管的是**素材**(抠图/超分/去水印/AI 生成),reel-kit 管**成品合成**。曾经有过 `museav slideshow`,3.0.0 已下线,见 CHANGELOG。
113
- >
114
111
  > 语音(`speak` / `transcribe`)是第三种情况:**不走中台身份**,直连小米 MiMo,只认 `MIMO_API_KEY` 环境变量。
115
112
  > 中台的出音链路还没接完,这批能力目前内部用,没有那把 key 的人(包括租户)用不了。
116
113
 
114
+ ### 🎬 要出成品视频?用 [reel-kit](https://github.com/webkubor/reel-kit)
115
+
116
+ museav 出的是**素材**:`gen --video` 给你的是一段**无声、无字幕的片子**,
117
+ 那是原料,不是能直接发的成品。把素材装配成能发的竖版短片是
118
+ **[reel-kit](https://github.com/webkubor/reel-kit)** 的活:
119
+
120
+ ```bash
121
+ reel make --template sticker-promo \
122
+ --assets ./图片目录 --caps 文案.txt \
123
+ --title "标题" --bgm 儿童轻快 --out 成片.mp4
124
+ ```
125
+
126
+ - 版式是 `templates/*.html`,**改 CSS 就是改版式**,丢一个 HTML 进去就是一个新模板
127
+ - 支持配音,且**镜头时长跟着念白走**(念快的不干等,念慢的不被切)
128
+ - 配音默认走本地 TTS,批量出片不花钱
129
+
130
+ 两边的分工是明确的,reel-kit 也在它的 README 里写了同一条边界:
131
+
132
+ | 你要的 | 用谁 |
133
+ |---|---|
134
+ | 一张图 / 一段模型出的原始片子 | `museav gen`(加 `--video`) |
135
+ | 抠图 / 超分 / 去水印 / 压缩 | `museav remove-bg` / `upscale` / `remove-watermark` / `compress` |
136
+ | **一支能直接发的竖版短片** | **`reel make`** |
137
+
138
+ 典型链路:`museav gen` 出图 → `museav remove-bg` 抠图 → `reel make` 出片。
139
+
140
+ > `museav slideshow` 在 2.9~2.10 存在过,**3.0.0 已下线** —— 它和 reel-kit 重复了。
141
+ > 命令还在但只会打印迁移说明。详见 [CHANGELOG](./CHANGELOG.md)。
142
+
117
143
  ---
118
144
 
119
145
  ## 快速开始
@@ -443,27 +469,16 @@ museav remove-watermark photo.jpg --mask mask.png # 复杂画面手工掩
443
469
  - 依赖红线:本地**绝不自动拉起开源大模型**——这些工具是轻量 CNN/传统算法,用完即释放内存。reverse 的本地路已翻回显式 `--local`(需自备 Ollama),默认走中台 API。
444
470
  - 二进制与模型缓存:`~/.museav-bin/upscayl`(引擎)、`~/.museav-models/`(模型),Windows 对应 `%USERPROFILE%` 下同名目录;删除即彻底清理。
445
471
 
446
- ### 出成品视频请用 reel-kit(不在本 CLI)
472
+ ### 出成品视频:走 reel-kit
447
473
 
448
- 图集转竖版短视频、配音、烧字幕这些**成品合成**能力在
449
- [reel-kit](https://github.com/webkubor/reel-kit)(`reel` 命令),不在 museav:
474
+ 不在本 CLI,见上面 [🎬 要出成品视频](#-要出成品视频用-reel-kit)。常用三条:
450
475
 
451
476
  ```bash
452
- reel make --template sticker-promo \
453
- --assets ./图片目录 --caps 文案.txt \
454
- --title "标题" --bgm 儿童轻快 --out 成片.mp4
455
-
456
- reel templates # 看版式(模板是 templates/*.html,丢一个进去就是新版式)
457
- reel bgm # 看配乐库(带授权信息)
477
+ reel make --template sticker-promo --assets ./图 --caps 文案.txt --out 成片.mp4
478
+ reel templates # 看版式
479
+ reel bgm # 看配乐库(带授权)
458
480
  ```
459
481
 
460
- 2.9.0 曾在 museav 做过一个 `slideshow`,当天就发现 reel-kit 早已做了同一件事而且更好
461
- (HTML/CSS 排版能换行、支持配音且镜头时长由念白决定、本地 TTS 零成本),
462
- **3.0.0 已下线**,命令留了存根打印迁移说明。
463
-
464
- 职责边界:**museav 管素材**(`remove-bg` 抠图、`upscale` 超分、`gen` 出图出视频素材),
465
- **reel-kit 管成品合成**。同一件事没必要两套实现。
466
-
467
482
 
468
483
  ### 项目(工作区)与项目素材库 `projects`
469
484
 
@@ -88,6 +88,12 @@ export async function gen(client, opts) {
88
88
  throw new Error(`视频生成失败: ${result.error || '未知原因'}`);
89
89
  }
90
90
  process.stderr.write(`✅ 视频完成\n`);
91
+ // 模型出的是**无声、无字幕的素材**,不是能直接发的成品。这一行是为了让人在拿到
92
+ // URL 的那一刻就知道下一步去哪 —— 而不是以为「出完了」,或者反过来以为
93
+ // museav 该管配音烧字幕(那是 reel-kit 的活,两边边界见 AGENTS.md)。
94
+ // 只在视频模式提示,且走 stderr 不污染 stdout。
95
+ process.stderr.write(` 这是无声无字幕的素材。要装配成能发的成品(配文案/配乐/配音):\n` +
96
+ ` reel make --assets <图目录> --caps 文案.txt → github.com/webkubor/reel-kit\n`);
91
97
  console.log(result.cdn_url);
92
98
  return;
93
99
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "museav-cli",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "MUSE AV 出图中台官方 CLI —— 命令行调中台 API 出图、出视频、读图逆向、图生模板",
5
5
  "type": "module",
6
6
  "bin": {
@@ -109,6 +109,14 @@ export async function gen(client: StudioClient, opts: {
109
109
  throw new Error(`视频生成失败: ${result.error || '未知原因'}`)
110
110
  }
111
111
  process.stderr.write(`✅ 视频完成\n`)
112
+ // 模型出的是**无声、无字幕的素材**,不是能直接发的成品。这一行是为了让人在拿到
113
+ // URL 的那一刻就知道下一步去哪 —— 而不是以为「出完了」,或者反过来以为
114
+ // museav 该管配音烧字幕(那是 reel-kit 的活,两边边界见 AGENTS.md)。
115
+ // 只在视频模式提示,且走 stderr 不污染 stdout。
116
+ process.stderr.write(
117
+ ` 这是无声无字幕的素材。要装配成能发的成品(配文案/配乐/配音):\n` +
118
+ ` reel make --assets <图目录> --caps 文案.txt → github.com/webkubor/reel-kit\n`,
119
+ )
112
120
  console.log(result.cdn_url)
113
121
  return
114
122
  }