compshare-cli 0.4.4__tar.gz → 0.5.0__tar.gz
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.
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/CHANGELOG.md +8 -0
- {compshare_cli-0.4.4/src/compshare_cli.egg-info → compshare_cli-0.5.0}/PKG-INFO +20 -8
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/README.md +15 -3
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/RELEASING.md +1 -1
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/connector/compshare/connector-meta.json +4 -4
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/connector/compshare/mcp.json +1 -1
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/connector/compshare/skills/compshare/SKILL.md +14 -11
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/connector/compshare/token-schema.json +2 -2
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/pyproject.toml +4 -4
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/skills/compshare-cli/SKILL.md +40 -3
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/__init__.py +1 -1
- compshare_cli-0.5.0/src/compshare_cli/commands/minimax.py +1133 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/i18n.py +146 -14
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/mcp_server.py +26 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0/src/compshare_cli.egg-info}/PKG-INFO +20 -8
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli.egg-info/SOURCES.txt +1 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/tests/test_actions.py +1 -1
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/tests/test_mcp_server.py +6 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/tests/test_minimax.py +51 -2
- compshare_cli-0.5.0/tests/test_minimax_media.py +279 -0
- compshare_cli-0.4.4/src/compshare_cli/commands/minimax.py +0 -428
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/LICENSE +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/MANIFEST.in +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/connector/compshare/icon.svg +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/setup.cfg +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/skills/compshare-cli/agents/openai.yaml +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/__main__.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/actions.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/api.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/cli.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/commands/__init__.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/commands/bandwidth.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/commands/common.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/commands/doctor.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/commands/feedback.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/commands/image.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/commands/instance.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/commands/storage.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/commands/team.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/config.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/errors.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/insights.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/instance_templates.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/location.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/output.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/parsing.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/remote_jobs.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/runtime.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/sdk.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/ssh.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli/ssh_cache.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli.egg-info/dependency_links.txt +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli.egg-info/entry_points.txt +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli.egg-info/requires.txt +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/src/compshare_cli.egg-info/top_level.txt +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/tests/test_api.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/tests/test_bandwidth.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/tests/test_cli.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/tests/test_config.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/tests/test_feedback.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/tests/test_instance_templates.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/tests/test_location.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/tests/test_output.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/tests/test_parsing.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/tests/test_release_version.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/tests/test_remote_jobs.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/tests/test_sdk.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/tests/test_ssh.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/tests/test_ssh_cache.py +0 -0
- {compshare_cli-0.4.4 → compshare_cli-0.5.0}/tests/test_workbuddy_connector.py +0 -0
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.5.0
|
|
6
|
+
|
|
7
|
+
- 对齐 MiniMax H3 视频 API:支持 480P、4K、最长 30 秒、Skill、静音、水印和模型筛选,
|
|
8
|
+
并允许只传尾帧或仅用素材生成。
|
|
9
|
+
- 新增 Qwen-Image 图片任务与 IndexTTS 2.5 语音任务命令,支持创建、查询、取消、删除、
|
|
10
|
+
参考素材上传与登记,以及图片价格、语音价格和音色管理。
|
|
11
|
+
- 新增视频 Skill 查询、创建、更新和删除命令,并开放对应 MCP 读写分类。
|
|
12
|
+
|
|
5
13
|
## 0.4.4
|
|
6
14
|
|
|
7
15
|
- 新增 WorkBuddy `MCP + Skill` Token 连接器,通过本地 stdio MCP 安全注入 API 公钥/私钥,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: compshare-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.0
|
|
4
4
|
Summary: Command-line client for CompShare GPU compute and MiniMax H3
|
|
5
5
|
Author: CompShare
|
|
6
6
|
License-Expression: Apache-2.0
|
|
7
|
-
Project-URL: Homepage, https://github.com/
|
|
8
|
-
Project-URL: Repository, https://github.com/
|
|
9
|
-
Project-URL: Changelog, https://github.com/
|
|
10
|
-
Project-URL: Issues, https://github.com/
|
|
7
|
+
Project-URL: Homepage, https://github.com/compshare-cn/compshare-cli
|
|
8
|
+
Project-URL: Repository, https://github.com/compshare-cn/compshare-cli
|
|
9
|
+
Project-URL: Changelog, https://github.com/compshare-cn/compshare-cli/blob/master/CHANGELOG.md
|
|
10
|
+
Project-URL: Issues, https://github.com/compshare-cn/compshare-cli/issues
|
|
11
11
|
Requires-Python: >=3.9
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
13
|
License-File: LICENSE
|
|
@@ -27,14 +27,14 @@ Dynamic: license-file
|
|
|
27
27
|
|
|
28
28
|
# CompShare CLI
|
|
29
29
|
|
|
30
|
-
在终端管理优云智算 GPU 实例、镜像、云盘、US3 挂载、独享带宽、团队资源和 MiniMax H3
|
|
30
|
+
在终端管理优云智算 GPU 实例、镜像、云盘、US3 挂载、独享带宽、团队资源和 MiniMax H3 视频、图片、语音任务。
|
|
31
31
|
|
|
32
32
|
- 交互式创建实例,实时查询规格、库存和价格
|
|
33
33
|
- 支持批量生命周期操作、等待状态和跨地域查询
|
|
34
34
|
- 支持可断线恢复的远程任务、状态查询和增量日志读取
|
|
35
35
|
- 支持社区/自定义镜像、云盘、团队额度与账单
|
|
36
36
|
- 支持独享带宽询价、购买、改配、退款预估及实例 EIP 切换
|
|
37
|
-
-
|
|
37
|
+
- 支持 MiniMax H3 视频、Qwen-Image 图片和 IndexTTS 2.5 语音任务,以及素材上传、视频 Skill 和积分查询
|
|
38
38
|
- 默认中文帮助,可切换英文;所有命令支持 JSON 输出
|
|
39
39
|
- 可通过 `compshare feedback` 反馈 CLI 问题和建议
|
|
40
40
|
|
|
@@ -88,6 +88,18 @@ compshare --json minimax create '一只猫在海边奔跑' --dry-run
|
|
|
88
88
|
compshare --json minimax create '一只猫在海边奔跑' --yes
|
|
89
89
|
compshare --json minimax points
|
|
90
90
|
|
|
91
|
+
# 图片:查看价格、创建任务、查询结果
|
|
92
|
+
compshare --json minimax image config
|
|
93
|
+
compshare --json minimax image create '一只戴着宇航头盔的猫' --resolution 1K --dry-run
|
|
94
|
+
compshare --json minimax image create '一只戴着宇航头盔的猫' --resolution 1K --yes
|
|
95
|
+
compshare --json minimax image show TASK_ID
|
|
96
|
+
|
|
97
|
+
# 语音:先查询可用音色,再创建任务
|
|
98
|
+
compshare --json minimax audio pricing
|
|
99
|
+
compshare --json minimax audio voices
|
|
100
|
+
compshare --json minimax audio create '你好,欢迎使用优云智算。' --voice-id VOICE_ID --dry-run
|
|
101
|
+
compshare --json minimax audio create '你好,欢迎使用优云智算。' --voice-id VOICE_ID --yes
|
|
102
|
+
|
|
91
103
|
# 查看帮助
|
|
92
104
|
compshare -h
|
|
93
105
|
compshare instance -h
|
|
@@ -103,7 +115,7 @@ compshare instance GPU 实例、规格、库存、价格和生命周期
|
|
|
103
115
|
compshare image 平台、自定义、社区及共享镜像
|
|
104
116
|
compshare storage 云盘和 US3 挂载
|
|
105
117
|
compshare bandwidth 独享带宽和实例 EIP 带宽归属
|
|
106
|
-
compshare minimax MiniMax H3
|
|
118
|
+
compshare minimax MiniMax H3 视频、图片、语音、Skill 和积分
|
|
107
119
|
compshare team 团队、邀请、成员额度、账单和审计
|
|
108
120
|
```
|
|
109
121
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# CompShare CLI
|
|
2
2
|
|
|
3
|
-
在终端管理优云智算 GPU 实例、镜像、云盘、US3 挂载、独享带宽、团队资源和 MiniMax H3
|
|
3
|
+
在终端管理优云智算 GPU 实例、镜像、云盘、US3 挂载、独享带宽、团队资源和 MiniMax H3 视频、图片、语音任务。
|
|
4
4
|
|
|
5
5
|
- 交互式创建实例,实时查询规格、库存和价格
|
|
6
6
|
- 支持批量生命周期操作、等待状态和跨地域查询
|
|
7
7
|
- 支持可断线恢复的远程任务、状态查询和增量日志读取
|
|
8
8
|
- 支持社区/自定义镜像、云盘、团队额度与账单
|
|
9
9
|
- 支持独享带宽询价、购买、改配、退款预估及实例 EIP 切换
|
|
10
|
-
-
|
|
10
|
+
- 支持 MiniMax H3 视频、Qwen-Image 图片和 IndexTTS 2.5 语音任务,以及素材上传、视频 Skill 和积分查询
|
|
11
11
|
- 默认中文帮助,可切换英文;所有命令支持 JSON 输出
|
|
12
12
|
- 可通过 `compshare feedback` 反馈 CLI 问题和建议
|
|
13
13
|
|
|
@@ -61,6 +61,18 @@ compshare --json minimax create '一只猫在海边奔跑' --dry-run
|
|
|
61
61
|
compshare --json minimax create '一只猫在海边奔跑' --yes
|
|
62
62
|
compshare --json minimax points
|
|
63
63
|
|
|
64
|
+
# 图片:查看价格、创建任务、查询结果
|
|
65
|
+
compshare --json minimax image config
|
|
66
|
+
compshare --json minimax image create '一只戴着宇航头盔的猫' --resolution 1K --dry-run
|
|
67
|
+
compshare --json minimax image create '一只戴着宇航头盔的猫' --resolution 1K --yes
|
|
68
|
+
compshare --json minimax image show TASK_ID
|
|
69
|
+
|
|
70
|
+
# 语音:先查询可用音色,再创建任务
|
|
71
|
+
compshare --json minimax audio pricing
|
|
72
|
+
compshare --json minimax audio voices
|
|
73
|
+
compshare --json minimax audio create '你好,欢迎使用优云智算。' --voice-id VOICE_ID --dry-run
|
|
74
|
+
compshare --json minimax audio create '你好,欢迎使用优云智算。' --voice-id VOICE_ID --yes
|
|
75
|
+
|
|
64
76
|
# 查看帮助
|
|
65
77
|
compshare -h
|
|
66
78
|
compshare instance -h
|
|
@@ -76,7 +88,7 @@ compshare instance GPU 实例、规格、库存、价格和生命周期
|
|
|
76
88
|
compshare image 平台、自定义、社区及共享镜像
|
|
77
89
|
compshare storage 云盘和 US3 挂载
|
|
78
90
|
compshare bandwidth 独享带宽和实例 EIP 带宽归属
|
|
79
|
-
compshare minimax MiniMax H3
|
|
91
|
+
compshare minimax MiniMax H3 视频、图片、语音、Skill 和积分
|
|
80
92
|
compshare team 团队、邀请、成员额度、账单和审计
|
|
81
93
|
```
|
|
82
94
|
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"name": "CompShare",
|
|
3
3
|
"name_zh": "优云智算",
|
|
4
4
|
"name_en": "CompShare",
|
|
5
|
-
"description": "Manage CompShare GPU instances, images, storage, networking, teams, and MiniMax H3 tasks.",
|
|
6
|
-
"description_zh": "连接优云智算账户,查询和管理 GPU 实例、镜像、存储、网络、团队及 MiniMax H3
|
|
7
|
-
"description_en": "Manage CompShare GPU instances, images, storage, networking, teams, and MiniMax H3 tasks.",
|
|
5
|
+
"description": "Manage CompShare GPU instances, images, storage, networking, teams, and MiniMax H3 media tasks.",
|
|
6
|
+
"description_zh": "连接优云智算账户,查询和管理 GPU 实例、镜像、存储、网络、团队及 MiniMax H3 视频、图片和语音任务。",
|
|
7
|
+
"description_en": "Manage CompShare GPU instances, images, storage, networking, teams, and MiniMax H3 media tasks.",
|
|
8
8
|
"source": "compshare",
|
|
9
9
|
"type": "mcp",
|
|
10
10
|
"auth_mode": "token",
|
|
11
|
-
"version": "0.
|
|
11
|
+
"version": "0.5.0",
|
|
12
12
|
"minWorkbuddyVersion": "5.0.0",
|
|
13
13
|
"examples_zh": [
|
|
14
14
|
"查询上海可用的 RTX 4090 GPU 规格、库存和价格",
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: compshare
|
|
3
|
-
description: Manage CompShare GPU cloud resources and MiniMax H3 tasks through the controlled CompShare MCP bridge.
|
|
4
|
-
description_zh: 通过受控 CompShare MCP 桥接查询和管理优云智算 GPU 云资源及 MiniMax H3
|
|
5
|
-
description_en: Manage CompShare GPU cloud resources and MiniMax H3 tasks through the controlled CompShare MCP bridge.
|
|
6
|
-
version: "0.
|
|
3
|
+
description: Manage CompShare GPU cloud resources and MiniMax H3 media tasks through the controlled CompShare MCP bridge.
|
|
4
|
+
description_zh: 通过受控 CompShare MCP 桥接查询和管理优云智算 GPU 云资源及 MiniMax H3 视频、图片和语音任务。
|
|
5
|
+
description_en: Manage CompShare GPU cloud resources and MiniMax H3 media tasks through the controlled CompShare MCP bridge.
|
|
6
|
+
version: "0.5.0"
|
|
7
7
|
author: "CompShare"
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# CompShare 优云智算
|
|
11
11
|
|
|
12
12
|
通过本 Connector 提供的 MCP 工具查询和管理 GPU 实例、镜像、云盘、US3、独享带宽、
|
|
13
|
-
团队资源与 MiniMax H3
|
|
13
|
+
团队资源与 MiniMax H3 视频、图片和语音任务。凭证由 WorkBuddy Token 表单注入;不要要求用户在对话中
|
|
14
14
|
发送公钥、私钥或模型 API Key。
|
|
15
15
|
|
|
16
16
|
本 Connector 不提供产品知识库问答。用户询问产品文档或政策时,不要猜测,也不要尝试调用
|
|
@@ -37,7 +37,7 @@ author: "CompShare"
|
|
|
37
37
|
### `compshare_status`
|
|
38
38
|
|
|
39
39
|
检查 WorkBuddy 是否注入 GPU API 公钥/私钥、当前 CLI 版本和 API 连通性。`minimaxApiKey`
|
|
40
|
-
为 `false` 只影响 MiniMax H3
|
|
40
|
+
为 `false` 只影响 MiniMax H3 媒体任务,不影响 GPU 资源。认证失败时,让用户在 Connector 设置中更新
|
|
41
41
|
凭证;不要改用 `compshare config`,也不要索取聊天中的明文密钥。
|
|
42
42
|
|
|
43
43
|
```json
|
|
@@ -161,12 +161,15 @@ JSON 创建至少提供 GPU、每实例 GPU 数、CPU、内存、镜像、Region
|
|
|
161
161
|
MiniMax 使用 Token 表单中的独立 `COMPSHARE_MINIMAX_API_KEY`。缺失时让用户编辑 Connector
|
|
162
162
|
凭证,不要把 GPU API 私钥当作模型 Key。
|
|
163
163
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
164
|
+
视频创建前先读取积分、套餐、已有任务,再通过只读工具调用 `minimax create --dry-run`。
|
|
165
|
+
图片先读取 `minimax image config`,语音先读取 `minimax audio pricing` 和
|
|
166
|
+
`minimax audio voices`;再用相应的 `create --dry-run` 预演。展示分辨率、时长、比例、
|
|
167
|
+
素材及费用影响后确认,使用相同幂等键调用写工具正式创建。重试不确定请求时必须复用
|
|
168
|
+
原幂等键。取消、删除任务和上传参考素材也属于写操作。
|
|
167
169
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
+
视频素材支持公开 URL 或 Data URL;图片和语音参考素材通过 `image upload`、
|
|
171
|
+
`audio upload` 登记后使用资产 ID。生成结果 URL 默认脱敏;不要为了显示它而绕过连接器
|
|
172
|
+
的敏感输出限制。
|
|
170
173
|
|
|
171
174
|
## 故障恢复
|
|
172
175
|
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"required": false,
|
|
38
38
|
"placeholder": "模型 API 服务 → API KEY(sk-ml-...)",
|
|
39
39
|
"placeholder_en": "Model API Service -> API KEY (sk-ml-...)",
|
|
40
|
-
"description": "仅在通过连接器创建或管理 MiniMax H3
|
|
41
|
-
"description_en": "Required only for creating or managing MiniMax H3 video tasks through this connector."
|
|
40
|
+
"description": "仅在通过连接器创建或管理 MiniMax H3 视频、图片或语音任务时需要。",
|
|
41
|
+
"description_en": "Required only for creating or managing MiniMax H3 video, image, or speech tasks through this connector."
|
|
42
42
|
}
|
|
43
43
|
]
|
|
44
44
|
}
|
|
@@ -23,10 +23,10 @@ dependencies = [
|
|
|
23
23
|
]
|
|
24
24
|
|
|
25
25
|
[project.urls]
|
|
26
|
-
Homepage = "https://github.com/
|
|
27
|
-
Repository = "https://github.com/
|
|
28
|
-
Changelog = "https://github.com/
|
|
29
|
-
Issues = "https://github.com/
|
|
26
|
+
Homepage = "https://github.com/compshare-cn/compshare-cli"
|
|
27
|
+
Repository = "https://github.com/compshare-cn/compshare-cli"
|
|
28
|
+
Changelog = "https://github.com/compshare-cn/compshare-cli/blob/master/CHANGELOG.md"
|
|
29
|
+
Issues = "https://github.com/compshare-cn/compshare-cli/issues"
|
|
30
30
|
|
|
31
31
|
[project.optional-dependencies]
|
|
32
32
|
dev = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: compshare-cli
|
|
3
|
-
description: Manage CompShare GPU cloud resources and MiniMax H3 video tasks through the compshare CLI. Use when Codex needs to install or configure compshare-cli, search GPU specifications and inventory, inspect pricing, create or manage instances, connect over SSH, transfer files, run durable remote jobs, manage images, disks, US3, teams or billing, create or inspect MiniMax H3
|
|
3
|
+
description: Manage CompShare GPU cloud resources and MiniMax H3 video, image, and speech tasks through the compshare CLI. Use when Codex needs to install or configure compshare-cli, search GPU specifications and inventory, inspect pricing, create or manage instances, connect over SSH, transfer files, run durable remote jobs, manage images, disks, US3, teams or billing, create or inspect MiniMax H3 media, or diagnose CLI problems.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# CompShare CLI
|
|
@@ -281,7 +281,7 @@ team invite/member/quota/billing
|
|
|
281
281
|
|
|
282
282
|
Treat image deletion, disk deletion, disk detach/resize, quota changes and team mutations as state-changing operations. Read the current resource and request confirmation before adding `--yes` where supported.
|
|
283
283
|
|
|
284
|
-
## MiniMax H3
|
|
284
|
+
## MiniMax H3 media tasks
|
|
285
285
|
|
|
286
286
|
Inspect points and existing work before creating a task:
|
|
287
287
|
|
|
@@ -306,7 +306,9 @@ compshare --json minimax create 'A sailboat crossing a golden sea' \
|
|
|
306
306
|
|
|
307
307
|
Use `--first-frame` and `--last-frame` for frame-driven video, or repeat
|
|
308
308
|
`--reference-image`, `--reference-video` and `--reference-audio` for reference-driven video.
|
|
309
|
-
|
|
309
|
+
Video supports 480P, 768P, 1080P, 2K and 4K and durations from 4 to 30 seconds. Use
|
|
310
|
+
`minimax skill list` to find a Skill, then pass both `--context-ir` and `--skill-id`.
|
|
311
|
+
Video inputs may use publicly accessible URLs or Data URLs. For callbacks, pass `--callback-url` and set
|
|
310
312
|
`COMPSHARE_MINIMAX_CALLBACK_TOKEN` if the receiver validates a token.
|
|
311
313
|
Generated video URLs stay redacted unless the user explicitly needs them and `--show-sensitive`
|
|
312
314
|
is added as a root option.
|
|
@@ -317,6 +319,41 @@ Cancellation reads the current task before submitting the request:
|
|
|
317
319
|
compshare --json minimax cancel TASK_ID --yes
|
|
318
320
|
```
|
|
319
321
|
|
|
322
|
+
For images, inspect current pricing before creating a task. Each request creates one image:
|
|
323
|
+
|
|
324
|
+
```bash
|
|
325
|
+
compshare --json minimax image config
|
|
326
|
+
compshare --json minimax image list --status queued
|
|
327
|
+
compshare --json minimax image create 'A cat on the moon' --resolution 1K \
|
|
328
|
+
--idempotency-key IMAGE_REQUEST_ID --dry-run
|
|
329
|
+
compshare --json minimax image create 'A cat on the moon' --resolution 1K \
|
|
330
|
+
--idempotency-key IMAGE_REQUEST_ID --yes
|
|
331
|
+
compshare --json minimax image show TASK_ID
|
|
332
|
+
```
|
|
333
|
+
|
|
334
|
+
For reference images, `minimax image upload FILE --width PIXELS --height PIXELS --yes`
|
|
335
|
+
returns an asset ID; repeat `--reference-asset ASSET_ID` when creating an image. Check the
|
|
336
|
+
actual dimensions before upload because the API validates them.
|
|
337
|
+
|
|
338
|
+
For speech, inspect pricing and voices before creating a task:
|
|
339
|
+
|
|
340
|
+
```bash
|
|
341
|
+
compshare --json minimax audio pricing
|
|
342
|
+
compshare --json minimax audio voices --kind preset
|
|
343
|
+
compshare --json minimax audio create 'Hello from CompShare.' --voice-id VOICE_ID \
|
|
344
|
+
--idempotency-key SPEECH_REQUEST_ID --dry-run
|
|
345
|
+
compshare --json minimax audio create 'Hello from CompShare.' --voice-id VOICE_ID \
|
|
346
|
+
--idempotency-key SPEECH_REQUEST_ID --yes
|
|
347
|
+
compshare --json minimax audio show TASK_ID
|
|
348
|
+
```
|
|
349
|
+
|
|
350
|
+
For an authorized reference recording, `minimax audio upload FILE --duration-ms MS --yes`
|
|
351
|
+
returns an asset ID. Use `--voice-source asset --asset-id ASSET_ID`, or save it with
|
|
352
|
+
`minimax audio voice-create ASSET_ID NAME --yes` and then use `--voice-source custom --voice-id VOICE_ID`.
|
|
353
|
+
Generated image and speech URLs stay redacted unless the user explicitly needs them and
|
|
354
|
+
`--show-sensitive` is added as a root option. Download speech output promptly; the API retains
|
|
355
|
+
it for seven days. Deleting a finished task also removes its output.
|
|
356
|
+
|
|
320
357
|
## Diagnostics and feedback
|
|
321
358
|
|
|
322
359
|
```bash
|