10x-chat 0.11.2 → 0.11.3

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-zh.md CHANGED
@@ -85,11 +85,12 @@ npx 10x-chat@latest chat -p "長時間任務" --timeout 600000 --headed # 10
85
85
  ```bash
86
86
  # Google Flow / Veo(預設)——使用你的 Google 登入(與 Gemini 共用)
87
87
  npx 10x-chat@latest video -p "日出時飛越雪山的空拍鏡頭" --provider flow
88
- npx 10x-chat@latest video -p "霓虹城市街道,下雨" --provider flow --model "Veo 3.1 - Quality" --orientation portrait
88
+ npx 10x-chat@latest video -p "霓虹城市街道,下雨" --provider flow --model "Omni Flash" --duration 10 --orientation portrait
89
+ npx 10x-chat@latest video -p "電影感黃金時段縮時攝影" --provider flow --model "Veo 3.1 - Quality" --duration 8
89
90
 
90
91
  # Dreamina / Seedance(CapCut)
91
92
  npx 10x-chat@latest login dreamina # 一次性 CapCut 登入
92
- npx 10x-chat@latest video -p "雨水溝中的紙船,微距" --provider dreamina --aspect 9:16 --duration 4
93
+ npx 10x-chat@latest video -p "雨水溝中的紙船,微距" --provider dreamina --aspect 9:16 --dreamina-duration 4
93
94
  npx 10x-chat@latest video -p "發光的球體脈動並向上飄浮" --provider dreamina --image ref.png --ref-mode omni
94
95
  ```
95
96
 
@@ -104,13 +105,14 @@ npx 10x-chat@latest video -p "發光的球體脈動並向上飄浮" --provider d
104
105
  | `--timeout <ms>` | 生成逾時(預設:600000 / 10 分鐘) |
105
106
  | `--save-dir <dir>` | 儲存生成影片的目錄 |
106
107
 
107
- **Flow(Veo)** — 模型:`Veo 3.1 - Fast`(預設)、`Veo 3.1 - Fast [Lower Priority]`、`Veo 3.1 - Quality`、`Veo 2 - Fast`、`Veo 2 - Quality`。
108
+ **Flow(Veo)** — 模型:`Omni Flash`(預設)、`Veo 3.1 - Lite`、`Veo 3.1 - Fast`、`Veo 3.1 - Quality`。
108
109
 
109
110
  | 參數 | 說明 |
110
111
  |------|------|
111
112
  | `--mode <mode>` | `ingredients`(預設)或 `frames` |
112
113
  | `--orientation <dir>` | `landscape`(預設)或 `portrait` |
113
114
  | `--count <n>` | 同時生成數量(1-4) |
115
+ | `--duration <secs>` | 影片長度(秒):`4`、`6`、`8`、`10` |
114
116
  | `--start-frame <path>` / `--end-frame <path>` | 關鍵影格圖片(frames 模式) |
115
117
 
116
118
  **Dreamina(Seedance)** — 需要 `login dreamina`(CapCut 帳號)。模型:`Seedance 2.0 Fast`(預設,最便宜)、`Seedance 2.0`;`Seedance 1.5 Pro` / `1.0` / `1.0 Fast` 可能依方案/地區而鎖定。
@@ -119,7 +121,7 @@ npx 10x-chat@latest video -p "發光的球體脈動並向上飄浮" --provider d
119
121
  |------|------|
120
122
  | `--aspect <ratio>` | `21:9`、`16:9`、`4:3`、`1:1`、`3:4`、`9:16` |
121
123
  | `--resolution <res>` | `720P`(預設)或 `1080P`(依模型而定) |
122
- | `--duration <secs>` | 影片長度(秒,4-15) |
124
+ | `--dreamina-duration <secs>` | 影片長度(秒,4-15) |
123
125
  | `--ref-mode <mode>` | 輸入圖片模式:`omni`(預設)、`frames`、`multiframes` |
124
126
  | `--image <path>` | 圖生影片的參考/輸入圖片(可重複,最多 12 張) |
125
127
 
@@ -244,7 +246,7 @@ npx 10x-chat@latest skill install
244
246
  | Grok | ✅ 對話 + 圖片 | — | grok.com |
245
247
  | Perplexity | ✅ | — | perplexity.ai |
246
248
  | NotebookLM | ✅ | — | notebooklm.google.com |
247
- | Google Flow | ✅ 影片(Veo) | Veo 3.1 Fast/Quality、Veo 2 Fast/Quality | labs.google/fx/tools/flow |
249
+ | Google Flow | ✅ 影片(Veo) | **Omni Flash**(預設)、Veo 3.1 Lite/Fast/Quality | labs.google/fx/tools/flow |
248
250
  | Dreamina | ✅ 影片(Seedance) | Seedance 2.0 Fast/2.0(1.x 常因方案鎖定) | dreamina.capcut.com |
249
251
 
250
252
  ## 開發
package/README.md CHANGED
@@ -120,11 +120,12 @@ Generate video via browser automation — **Google Flow** (Veo) or **Dreamina**
120
120
  ```bash
121
121
  # Google Flow / Veo (default) — uses your Google login (shared with Gemini)
122
122
  npx 10x-chat@latest video -p "A drone shot over snowy mountains at sunrise" --provider flow
123
- npx 10x-chat@latest video -p "Neon city street, rain" --provider flow --model "Veo 3.1 - Quality" --orientation portrait
123
+ npx 10x-chat@latest video -p "Neon city street, rain" --provider flow --model "Omni Flash" --duration 10 --orientation portrait
124
+ npx 10x-chat@latest video -p "Cinematic timelapse, golden hour" --provider flow --model "Veo 3.1 - Quality" --duration 8
124
125
 
125
126
  # Dreamina / Seedance (CapCut)
126
127
  npx 10x-chat@latest login dreamina # one-time CapCut login
127
- npx 10x-chat@latest video -p "A paper boat in a rain gutter, macro" --provider dreamina --aspect 9:16 --duration 4
128
+ npx 10x-chat@latest video -p "A paper boat in a rain gutter, macro" --provider dreamina --aspect 9:16 --dreamina-duration 4
128
129
  npx 10x-chat@latest video -p "The glowing orb pulses and floats up" --provider dreamina --image ref.png --ref-mode omni
129
130
  ```
130
131
 
@@ -139,13 +140,14 @@ Shared flags:
139
140
  | `--timeout <ms>` | Generation timeout (default: 600000 / 10 min) |
140
141
  | `--save-dir <dir>` | Directory to save generated videos |
141
142
 
142
- **Flow (Veo)** — models: `Veo 3.1 - Fast` (default), `Veo 3.1 - Fast [Lower Priority]`, `Veo 3.1 - Quality`, `Veo 2 - Fast`, `Veo 2 - Quality`.
143
+ **Flow (Veo)** — models: `Omni Flash` (default), `Veo 3.1 - Lite`, `Veo 3.1 - Fast`, `Veo 3.1 - Quality`.
143
144
 
144
145
  | Flag | Description |
145
146
  |------|-------------|
146
147
  | `--mode <mode>` | `ingredients` (default) or `frames` |
147
148
  | `--orientation <dir>` | `landscape` (default) or `portrait` |
148
149
  | `--count <n>` | Simultaneous generations (1-4) |
150
+ | `--duration <secs>` | Clip length in seconds: `4`, `6`, `8`, `10` |
149
151
  | `--start-frame <path>` / `--end-frame <path>` | Keyframe images (frames mode) |
150
152
 
151
153
  **Dreamina (Seedance)** — requires `login dreamina` (CapCut account). Models: `Seedance 2.0 Fast` (default, cheapest), `Seedance 2.0`; `Seedance 1.5 Pro` / `1.0` / `1.0 Fast` may be locked depending on your plan/region.
@@ -154,7 +156,7 @@ Shared flags:
154
156
  |------|-------------|
155
157
  | `--aspect <ratio>` | `21:9`, `16:9`, `4:3`, `1:1`, `3:4`, `9:16` |
156
158
  | `--resolution <res>` | `720P` (default) or `1080P` (model-dependent) |
157
- | `--duration <secs>` | Clip length in seconds (4-15) |
159
+ | `--dreamina-duration <secs>` | Clip length in seconds (4-15) |
158
160
  | `--ref-mode <mode>` | Input-image mode: `omni` (default), `frames`, `multiframes` |
159
161
  | `--image <path>` | Reference/input image for image-to-video (repeatable, up to 12) |
160
162
 
@@ -292,7 +294,7 @@ This lets agents like Codex or Claude Code use 10x-chat to query other models fo
292
294
  | Grok | ✅ chat + image | — | grok.com |
293
295
  | Perplexity | ✅ | — | perplexity.ai |
294
296
  | NotebookLM | ✅ | — | notebooklm.google.com |
295
- | Google Flow | ✅ video (Veo) | Veo 3.1 Fast/Quality, Veo 2 Fast/Quality | labs.google/fx/tools/flow |
297
+ | Google Flow | ✅ video (Veo) | **Omni Flash** (default), Veo 3.1 Lite/Fast/Quality | labs.google/fx/tools/flow |
296
298
  | Dreamina | ✅ video (Seedance) | Seedance 2.0 Fast/2.0 (1.x often plan-locked) | dreamina.capcut.com |
297
299
 
298
300
  ## Development
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "10x-chat",
3
- "version": "0.11.2",
3
+ "version": "0.11.3",
4
4
  "description": "CLI to chat with web AI agents (ChatGPT, Gemini, Claude, Grok, Perplexity, NotebookLM) and generate video (Flow/Veo, Dreamina/Seedance) via browser automation",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -47,7 +47,7 @@ Use `npx` (not `bunx` — symlink conflicts in parallel).
47
47
  | grok | ✅ | ✅ | ❌ | ❌ | — | UI changes often, use `@latest` |
48
48
  | perplexity | ✅ | ❌ | ✅ | ❌ | — | Best for research with citations |
49
49
  | notebooklm | ✅ | ❌ | ❌ | ❌ | — | Add sources first, then chat |
50
- | flow | ❌ | ❌ | ❌ | ✅ (Veo) | Veo 3.1 Fast/Quality, Veo 2 Fast/Quality | Google login (shared with Gemini) |
50
+ | flow | ❌ | ❌ | ❌ | ✅ (Veo) | **Omni Flash** (default), Veo 3.1 Lite/Fast/Quality | Google login (shared with Gemini) |
51
51
  | dreamina | ❌ | ❌ | ❌ | ✅ (Seedance) | Seedance 2.0 Fast (default)/2.0; 1.x often plan-locked | `login dreamina` (CapCut); text + image-to-video |
52
52
 
53
53
  ## Commands
@@ -78,9 +78,10 @@ npx 10x-chat@latest research -p "Market analysis of EVs" --provider chatgpt --ti
78
78
 
79
79
  # Video generation (Flow / Veo default, or Dreamina / Seedance)
80
80
  npx 10x-chat@latest video -p "Drone shot over snowy peaks at sunrise" --provider flow
81
- npx 10x-chat@latest video -p "Neon street, rain" --provider flow --model "Veo 3.1 - Quality" --orientation portrait
81
+ npx 10x-chat@latest video -p "Neon street, rain" --provider flow --model "Omni Flash" --duration 10 --orientation portrait
82
+ npx 10x-chat@latest video -p "Neon street, rain" --provider flow --model "Veo 3.1 - Quality" --duration 8
82
83
  npx 10x-chat@latest login dreamina # one-time CapCut login for Dreamina
83
- npx 10x-chat@latest video -p "A paper boat in a rain gutter, macro" --provider dreamina --aspect 9:16 --duration 4
84
+ npx 10x-chat@latest video -p "A paper boat in a rain gutter, macro" --provider dreamina --aspect 9:16 --dreamina-duration 4
84
85
  npx 10x-chat@latest video -p "The glowing orb floats up" --provider dreamina --image ref.png --ref-mode omni
85
86
 
86
87
  # Dry run / clipboard
@@ -161,6 +162,8 @@ kill $(cat ~/.10x-chat/browser-daemon.json | python3 -c "import sys,json; print(
161
162
  - **Research needs longer timeouts**: `--timeout 600000` for 10-min research jobs
162
163
  - **Image gen can take 1-2 min**: use `--timeout 120000` when needed
163
164
  - **Video gen can take 1-5 min**: Dreamina queues generations; keep the default 10-min timeout. For image-to-video, pass `--image` (Dreamina) or `--start-frame`/`--end-frame` with `--mode frames` (Flow)
165
+ - **Flow duration**: `--duration 4|6|8|10` sets clip length in seconds (default is whatever Flow's UI defaults to, currently 8s)
166
+ - **Dreamina duration**: use `--dreamina-duration` (not `--duration`) to avoid conflict with Flow's flag
164
167
  - **Dreamina models are plan-gated**: `Seedance 2.0 Fast` (cheapest) and `2.0` are generally available; the CLI errors clearly if a requested model is locked
165
168
  - **Use `--dry-run`** to preview what will be sent
166
169