@seacloudai/seacloud-cli 0.0.9 → 0.0.11

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
@@ -28,6 +28,7 @@
28
28
  - **Authentication**: Sign in with the browser-based device flow and store credentials locally.
29
29
  - **Model discovery**: List available models and inspect full parameter specs in human-readable or JSON form.
30
30
  - **Task execution**: Submit multimodal generation tasks from the CLI with parameter validation and structured output options.
31
+ - **Image generation via proxy**: Call sync image-generation models through `folkos-proxy`, with optional asset URL output.
31
32
  - **Task tracking**: Poll task status and print result URLs or full JSON responses.
32
33
  - **SkillHub integration**: Search, install, and configure agent skills from SeaCloud SkillHub.
33
34
  - **Agent-friendly UX**: Supports `--dry-run`, JSON output, stable command shapes, and copy-pasteable examples.
@@ -92,16 +93,33 @@ seacloud auth status
92
93
  ```bash
93
94
  seacloud models list
94
95
  seacloud models list --type video
95
- seacloud models spec kirin_v2_6_i2v
96
- seacloud models spec kirin_v2_6_i2v --output json
96
+ seacloud models spec kling_v2_6_i2v
97
+ seacloud models spec seedance_2_0 --output json
97
98
  ```
98
99
 
99
100
  ### Run a task
100
101
 
101
102
  ```bash
102
- seacloud run kirin_v2_6_i2v --param image=https://example.com/cat.jpg
103
- seacloud run kirin_v2_6_i2v --param prompt="a cat running" --param duration=5
104
- seacloud run kirin_v2_6_i2v --param mode=pro --output url
103
+ seacloud run kling_v2_6_i2v --param image=https://example.com/cat.jpg
104
+ seacloud run seedance_2_0 --param prompt="a cat running" --param duration=5
105
+ seacloud run kling_v2_6_i2v --param mode=pro --output url
106
+ seacloud run gpt-image-2 --param prompt="a blue cat" --output url
107
+ ```
108
+
109
+ SeaCloud CLI accepts user-facing model IDs such as `kling_*`, `seedance_*`, and `seedream_*`.
110
+ They are resolved to the current backend IDs automatically before submission.
111
+
112
+ ### Generate an image through the proxy
113
+
114
+ ```bash
115
+ SEACLOUD_FOLKOS_PROXY_URL=http://127.0.0.1:8090 seacloud images generate \
116
+ --model gpt-image-2 \
117
+ --prompt "A flat vector poster of a blue cat wearing black sunglasses" \
118
+ --output json
119
+
120
+ SEACLOUD_FOLKOS_PROXY_URL=http://127.0.0.1:8090 seacloud images generate \
121
+ --prompt "A flat vector poster of a blue cat wearing black sunglasses" \
122
+ --output url
105
123
  ```
106
124
 
107
125
  ### Check task status
@@ -148,6 +166,7 @@ seacloud models spec <model_id> --output json
148
166
  seacloud run <model_id> --param key=value
149
167
  seacloud run <model_id> --param prompt="hello" --param duration=5
150
168
  seacloud run <model_id> --output json
169
+ seacloud run gpt-image-2 --param prompt="a blue cat" --output url
151
170
  ```
152
171
 
153
172
  Nested fields use dot notation:
@@ -173,6 +192,14 @@ seacloud skills add <slug>
173
192
  seacloud skills config --show
174
193
  ```
175
194
 
195
+ ### `seacloud images`
196
+
197
+ ```bash
198
+ seacloud images generate --prompt="a blue cat"
199
+ seacloud images generate --prompt="a blue cat" --output json
200
+ seacloud images generate --prompt="a blue cat" --output url
201
+ ```
202
+
176
203
  ### `seacloud version`
177
204
 
178
205
  ```bash
@@ -183,12 +210,13 @@ seacloud version
183
210
 
184
211
  - Use `--output json` where supported for machine-readable responses.
185
212
  - Use `--output url` on task commands to print only result URLs.
213
+ - Set `SEACLOUD_FOLKOS_PROXY_URL` to the root of your `folkos-proxy` service when using `seacloud images generate` or sync image models through `seacloud run`.
186
214
  - Use global `--dry-run` to inspect execution without sending requests.
187
215
 
188
216
  Example:
189
217
 
190
218
  ```bash
191
- seacloud --dry-run run kirin_v2_6_i2v --param prompt=test
219
+ seacloud --dry-run run seedance_2_0 --param prompt=test
192
220
  ```
193
221
 
194
222
  ## Release
package/README.zh.md CHANGED
@@ -28,6 +28,7 @@
28
28
  - **认证登录**:支持浏览器设备码登录,并将凭证安全保存在本地。
29
29
  - **模型发现**:列出可用模型,并以可读文本或 JSON 查看完整参数规格。
30
30
  - **任务执行**:通过 CLI 提交多模态生成任务,支持参数校验和结构化输出。
31
+ - **代理生图**:通过 `folkos-proxy` 调用同步生图模型,并可选择输出资产 URL。
31
32
  - **任务追踪**:轮询任务状态,输出结果 URL 或完整 JSON。
32
33
  - **SkillHub 集成**:搜索、安装和配置 SeaCloud SkillHub 技能。
33
34
  - **Agent 友好**:支持 `--dry-run`、JSON 输出、稳定命令结构和可直接复制的示例。
@@ -92,16 +93,33 @@ seacloud auth status
92
93
  ```bash
93
94
  seacloud models list
94
95
  seacloud models list --type video
95
- seacloud models spec kirin_v2_6_i2v
96
- seacloud models spec kirin_v2_6_i2v --output json
96
+ seacloud models spec kling_v2_6_i2v
97
+ seacloud models spec seedance_2_0 --output json
97
98
  ```
98
99
 
99
100
  ### 执行任务
100
101
 
101
102
  ```bash
102
- seacloud run kirin_v2_6_i2v --param image=https://example.com/cat.jpg
103
- seacloud run kirin_v2_6_i2v --param prompt="a cat running" --param duration=5
104
- seacloud run kirin_v2_6_i2v --param mode=pro --output url
103
+ seacloud run kling_v2_6_i2v --param image=https://example.com/cat.jpg
104
+ seacloud run seedance_2_0 --param prompt="a cat running" --param duration=5
105
+ seacloud run kling_v2_6_i2v --param mode=pro --output url
106
+ seacloud run gpt-image-2 --param prompt="一只蓝色猫" --output url
107
+ ```
108
+
109
+ SeaCloud CLI 现在支持直接使用 `kling_*`、`seedance_*`、`seedream_*` 这类对外模型 ID,
110
+ 提交前会自动映射到当前后端使用的原始模型 ID。
111
+
112
+ ### 通过代理生图
113
+
114
+ ```bash
115
+ SEACLOUD_FOLKOS_PROXY_URL=http://127.0.0.1:8090 seacloud images generate \
116
+ --model gpt-image-2 \
117
+ --prompt "A flat vector poster of a blue cat wearing black sunglasses" \
118
+ --output json
119
+
120
+ SEACLOUD_FOLKOS_PROXY_URL=http://127.0.0.1:8090 seacloud images generate \
121
+ --prompt "A flat vector poster of a blue cat wearing black sunglasses" \
122
+ --output url
105
123
  ```
106
124
 
107
125
  ### 查询任务状态
@@ -148,6 +166,7 @@ seacloud models spec <model_id> --output json
148
166
  seacloud run <model_id> --param key=value
149
167
  seacloud run <model_id> --param prompt="hello" --param duration=5
150
168
  seacloud run <model_id> --output json
169
+ seacloud run gpt-image-2 --param prompt="一只蓝色猫" --output url
151
170
  ```
152
171
 
153
172
  嵌套字段支持 dot notation:
@@ -173,6 +192,14 @@ seacloud skills add <slug>
173
192
  seacloud skills config --show
174
193
  ```
175
194
 
195
+ ### `seacloud images`
196
+
197
+ ```bash
198
+ seacloud images generate --prompt="一只蓝色猫"
199
+ seacloud images generate --prompt="一只蓝色猫" --output json
200
+ seacloud images generate --prompt="一只蓝色猫" --output url
201
+ ```
202
+
176
203
  ### `seacloud version`
177
204
 
178
205
  ```bash
@@ -183,12 +210,13 @@ seacloud version
183
210
 
184
211
  - 在支持的命令上使用 `--output json` 获取机器可读输出。
185
212
  - 在任务命令上使用 `--output url` 只打印结果 URL。
213
+ - 使用 `seacloud images generate` 或通过 `seacloud run` 调用同步生图模型时,请把 `SEACLOUD_FOLKOS_PROXY_URL` 设置为 `folkos-proxy` 服务根地址。
186
214
  - 使用全局 `--dry-run` 在不发请求的前提下检查执行内容。
187
215
 
188
216
  示例:
189
217
 
190
218
  ```bash
191
- seacloud --dry-run run kirin_v2_6_i2v --param prompt=test
219
+ seacloud --dry-run run seedance_2_0 --param prompt=test
192
220
  ```
193
221
 
194
222
  ## 发布说明
@@ -1,5 +1,5 @@
1
- 198f18eb05b08b1474e8d4ee3a27229ad9d831dce7d8576cf8cc6ebda295500c seacloud_0.0.9_darwin_amd64.tar.gz
2
- 1d26dc477513086afc13b49542325aa473efab91905d138a6a0a7398b8533198 seacloud_0.0.9_darwin_arm64.tar.gz
3
- d883e69a63c8a0ac6e0c7de6a178b37afc727ac46b0f3ae29e367a06a2bcd340 seacloud_0.0.9_linux_amd64.tar.gz
4
- 9ff1c5f9fe0547ee95d930dde8ca3c07eadc7f092c4013b1433536640a2f5042 seacloud_0.0.9_linux_arm64.tar.gz
5
- bad39e30b8e33183c47d1fbdebf574a47784a7cbb5b54a510122c257ebefb1eb seacloud_0.0.9_windows_amd64.zip
1
+ 3a5c642635a7acd5e597b20080c37dad88883c0ca31c2da11dafa069077329f7 seacloud_0.0.11_darwin_amd64.tar.gz
2
+ 0d1990645e3af0465dada237256398677b64cfe894cd58246caba599fdec98c6 seacloud_0.0.11_darwin_arm64.tar.gz
3
+ 5e9c64e24b43ea0fad6265a48aeb744dab8bae8b398d2bc59ea4b257d0879d5d seacloud_0.0.11_linux_amd64.tar.gz
4
+ c9236b1b4e0bf07c4c6258d4278c844f457d35b2ebad8d4d755169eddc345d06 seacloud_0.0.11_linux_arm64.tar.gz
5
+ 56077615a83f5dcfd7adfde6cf2a5f86d364b6358b54c84860137a15cb37be83 seacloud_0.0.11_windows_amd64.zip
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seacloudai/seacloud-cli",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "description": "npm installer wrapper for the SeaCloud CLI binary",
5
5
  "license": "MIT",
6
6
  "publishConfig": {