@seacloudai/seacloud-cli 0.0.9 → 0.0.10
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 +25 -0
- package/README.zh.md +25 -0
- package/npm-bundles/SHA256SUMS +5 -5
- package/npm-bundles/seacloud_0.0.10_darwin_amd64.tar.gz +0 -0
- package/npm-bundles/seacloud_0.0.10_darwin_arm64.tar.gz +0 -0
- package/npm-bundles/seacloud_0.0.10_linux_amd64.tar.gz +0 -0
- package/npm-bundles/seacloud_0.0.10_linux_arm64.tar.gz +0 -0
- package/npm-bundles/seacloud_0.0.10_windows_amd64.zip +0 -0
- package/package.json +1 -1
- package/npm-bundles/seacloud_0.0.9_darwin_amd64.tar.gz +0 -0
- package/npm-bundles/seacloud_0.0.9_darwin_arm64.tar.gz +0 -0
- package/npm-bundles/seacloud_0.0.9_linux_amd64.tar.gz +0 -0
- package/npm-bundles/seacloud_0.0.9_linux_arm64.tar.gz +0 -0
- package/npm-bundles/seacloud_0.0.9_windows_amd64.zip +0 -0
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.
|
|
@@ -102,6 +103,20 @@ seacloud models spec kirin_v2_6_i2v --output json
|
|
|
102
103
|
seacloud run kirin_v2_6_i2v --param image=https://example.com/cat.jpg
|
|
103
104
|
seacloud run kirin_v2_6_i2v --param prompt="a cat running" --param duration=5
|
|
104
105
|
seacloud run kirin_v2_6_i2v --param mode=pro --output url
|
|
106
|
+
seacloud run gpt-image-2 --param prompt="a blue cat" --output url
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### Generate an image through the proxy
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
SEACLOUD_FOLKOS_PROXY_URL=http://127.0.0.1:8090 seacloud images generate \
|
|
113
|
+
--model gpt-image-2 \
|
|
114
|
+
--prompt "A flat vector poster of a blue cat wearing black sunglasses" \
|
|
115
|
+
--output json
|
|
116
|
+
|
|
117
|
+
SEACLOUD_FOLKOS_PROXY_URL=http://127.0.0.1:8090 seacloud images generate \
|
|
118
|
+
--prompt "A flat vector poster of a blue cat wearing black sunglasses" \
|
|
119
|
+
--output url
|
|
105
120
|
```
|
|
106
121
|
|
|
107
122
|
### Check task status
|
|
@@ -148,6 +163,7 @@ seacloud models spec <model_id> --output json
|
|
|
148
163
|
seacloud run <model_id> --param key=value
|
|
149
164
|
seacloud run <model_id> --param prompt="hello" --param duration=5
|
|
150
165
|
seacloud run <model_id> --output json
|
|
166
|
+
seacloud run gpt-image-2 --param prompt="a blue cat" --output url
|
|
151
167
|
```
|
|
152
168
|
|
|
153
169
|
Nested fields use dot notation:
|
|
@@ -173,6 +189,14 @@ seacloud skills add <slug>
|
|
|
173
189
|
seacloud skills config --show
|
|
174
190
|
```
|
|
175
191
|
|
|
192
|
+
### `seacloud images`
|
|
193
|
+
|
|
194
|
+
```bash
|
|
195
|
+
seacloud images generate --prompt="a blue cat"
|
|
196
|
+
seacloud images generate --prompt="a blue cat" --output json
|
|
197
|
+
seacloud images generate --prompt="a blue cat" --output url
|
|
198
|
+
```
|
|
199
|
+
|
|
176
200
|
### `seacloud version`
|
|
177
201
|
|
|
178
202
|
```bash
|
|
@@ -183,6 +207,7 @@ seacloud version
|
|
|
183
207
|
|
|
184
208
|
- Use `--output json` where supported for machine-readable responses.
|
|
185
209
|
- Use `--output url` on task commands to print only result URLs.
|
|
210
|
+
- 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
211
|
- Use global `--dry-run` to inspect execution without sending requests.
|
|
187
212
|
|
|
188
213
|
Example:
|
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 输出、稳定命令结构和可直接复制的示例。
|
|
@@ -102,6 +103,20 @@ seacloud models spec kirin_v2_6_i2v --output json
|
|
|
102
103
|
seacloud run kirin_v2_6_i2v --param image=https://example.com/cat.jpg
|
|
103
104
|
seacloud run kirin_v2_6_i2v --param prompt="a cat running" --param duration=5
|
|
104
105
|
seacloud run kirin_v2_6_i2v --param mode=pro --output url
|
|
106
|
+
seacloud run gpt-image-2 --param prompt="一只蓝色猫" --output url
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### 通过代理生图
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
SEACLOUD_FOLKOS_PROXY_URL=http://127.0.0.1:8090 seacloud images generate \
|
|
113
|
+
--model gpt-image-2 \
|
|
114
|
+
--prompt "A flat vector poster of a blue cat wearing black sunglasses" \
|
|
115
|
+
--output json
|
|
116
|
+
|
|
117
|
+
SEACLOUD_FOLKOS_PROXY_URL=http://127.0.0.1:8090 seacloud images generate \
|
|
118
|
+
--prompt "A flat vector poster of a blue cat wearing black sunglasses" \
|
|
119
|
+
--output url
|
|
105
120
|
```
|
|
106
121
|
|
|
107
122
|
### 查询任务状态
|
|
@@ -148,6 +163,7 @@ seacloud models spec <model_id> --output json
|
|
|
148
163
|
seacloud run <model_id> --param key=value
|
|
149
164
|
seacloud run <model_id> --param prompt="hello" --param duration=5
|
|
150
165
|
seacloud run <model_id> --output json
|
|
166
|
+
seacloud run gpt-image-2 --param prompt="一只蓝色猫" --output url
|
|
151
167
|
```
|
|
152
168
|
|
|
153
169
|
嵌套字段支持 dot notation:
|
|
@@ -173,6 +189,14 @@ seacloud skills add <slug>
|
|
|
173
189
|
seacloud skills config --show
|
|
174
190
|
```
|
|
175
191
|
|
|
192
|
+
### `seacloud images`
|
|
193
|
+
|
|
194
|
+
```bash
|
|
195
|
+
seacloud images generate --prompt="一只蓝色猫"
|
|
196
|
+
seacloud images generate --prompt="一只蓝色猫" --output json
|
|
197
|
+
seacloud images generate --prompt="一只蓝色猫" --output url
|
|
198
|
+
```
|
|
199
|
+
|
|
176
200
|
### `seacloud version`
|
|
177
201
|
|
|
178
202
|
```bash
|
|
@@ -183,6 +207,7 @@ seacloud version
|
|
|
183
207
|
|
|
184
208
|
- 在支持的命令上使用 `--output json` 获取机器可读输出。
|
|
185
209
|
- 在任务命令上使用 `--output url` 只打印结果 URL。
|
|
210
|
+
- 使用 `seacloud images generate` 或通过 `seacloud run` 调用同步生图模型时,请把 `SEACLOUD_FOLKOS_PROXY_URL` 设置为 `folkos-proxy` 服务根地址。
|
|
186
211
|
- 使用全局 `--dry-run` 在不发请求的前提下检查执行内容。
|
|
187
212
|
|
|
188
213
|
示例:
|
package/npm-bundles/SHA256SUMS
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
a7373c0e23c3521630dc4a047d2fe1083fd22181287cd74d1d008e41e75d317a seacloud_0.0.10_darwin_amd64.tar.gz
|
|
2
|
+
2b3e8d9bb1aaac7c6717e5d88f5808b82ef2af09a6065189688704a5d6a78d8e seacloud_0.0.10_darwin_arm64.tar.gz
|
|
3
|
+
a63818d4b554dbf64497bac34dea02aa658f5a7cb8d4baca639356e7a99b1345 seacloud_0.0.10_linux_amd64.tar.gz
|
|
4
|
+
f5edc40d5afc11d393b520143c20942b4aeef221216cb480d01ed34865558ebd seacloud_0.0.10_linux_arm64.tar.gz
|
|
5
|
+
46fe425f77bbb170e2c33f992bf608307e005b085113bf40c6c0ea4293623fe5 seacloud_0.0.10_windows_amd64.zip
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|