Skip to content

Commit f32bd23

Browse files
committed
feat: asset-center init
1 parent c188441 commit f32bd23

28 files changed

Lines changed: 5036 additions & 104 deletions

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Equip your AI Agent out-of-the-box with these capabilities, composable across co
4040
- **Model recommendation** — Describe your scenario and get best-fit model suggestions; supports scoped search, model comparison, and alternative discovery
4141
- **Fine-tuning & deployment** — Upload datasets, create SFT/LoRA/DPO/CPT jobs (`finetune create`), probe job status non-blockingly (`finetune watch`), query per-model training capability (`finetune capability`), and deploy trained models as endpoints (`deploy create`)
4242
- **Console capabilities** — Browse Bailian apps (`app list`), check free-tier quota (`usage free`), view model usage statistics (`usage stats`), manage workspaces (`workspace list`), and manage rate limits (`quota list/request/check/history`)
43+
- **Asset center** — Browse and manage model-generated assets (`asset-center list/get/download`), favorites and recycle bin (`favorite`/`delete`), storage quota (`stats`/`storage`), OSS transfer (`oss slr/bind/show/update/unbind`), and transfer logs (`transfer list`)
4344
- **Local file auto-upload** — Every URL parameter accepts a local path; uploaded to free temp storage with 48-hour validity
4445

4546
## Showcase: One-Sentence Cinematic Video
@@ -131,6 +132,13 @@ bl quota check # Current usage vs rate li
131132
bl quota request --model qwen3.6-plus --tpm 6000000 # Request a temporary TPM increase
132133
bl quota history # View quota-change history
133134

135+
# Asset center — browse, download, and manage model-generated assets (requires console login)
136+
bl asset-center list --type IMAGE
137+
bl asset-center get <asset-id> --include-download-url
138+
bl asset-center download --id <asset-id> --out ./image.png
139+
bl asset-center stats
140+
bl asset-center storage
141+
134142
# Token Plan team management (requires AK/SK, see auth below)
135143
bl token-plan list-seats # View subscription seat details
136144
bl token-plan add-member --account-name dev --org-id org_xxx
@@ -159,7 +167,7 @@ bl text chat --api-key sk-xxxxx --message "Hello"
159167

160168
### Console Login (OAuth)
161169

162-
Required for console capability commands (`app list`, `usage free`, `usage stats`, `workspace list`, `quota list/request/check/history`). Opens the Bailian console in your browser to sign in.
170+
Required for console capability commands (`app list`, `usage free`, `usage stats`, `workspace list`, `quota list/request/check/history`, `asset-center *`). Opens the Bailian console in your browser to sign in.
163171

164172
```bash
165173
bl auth login --console

README.zh.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ _专为 AI Agent 打造,每个命令均可作为结构化工具调用。_
4040
- **模型推荐** — 描述你的场景,智能推荐最适合的模型;支持限定范围搜索、模型对比和替代发现
4141
- **微调与部署** — 上传数据集、创建 SFT/LoRA/DPO/CPT 调优任务(`finetune create`)、非阻塞探测任务状态(`finetune watch`)、按模型查训练能力(`finetune capability`),并把训练好的模型部署为推理服务(`deploy create`
4242
- **控制台能力** — 浏览百炼应用(`app list`),查询模型免费额度(`usage free`),查看模型用量统计(`usage stats`),管理业务空间(`workspace list`),管理限流与提额(`quota list/request/check/history`
43+
- **资产中心** — 管理模型生成资产(`asset-center list/get/download`)、收藏与回收站(`favorite`/`delete`)、容量统计(`stats`/`storage`)、OSS 转存(`oss slr/bind/show/update/unbind`)与转存日志(`transfer list`
4344
- **本地文件自动上传** — 所有 URL 参数同时支持本地路径,免费临时存储 48 小时
4445

4546
## 示例:一句话生成一部电影短片
@@ -129,6 +130,13 @@ bl quota check # 当前用量 vs 限流
129130
bl quota request --model qwen3.6-plus --tpm 6000000 # 申请临时 TPM 提额
130131
bl quota history # 查看提额历史记录
131132

133+
# 资产中心 — 浏览、下载与管理模型生成资产(需控制台登录)
134+
bl asset-center list --type IMAGE
135+
bl asset-center get <asset-id> --include-download-url
136+
bl asset-center download --id <asset-id> --out ./image.png
137+
bl asset-center stats
138+
bl asset-center storage
139+
132140
# Token Plan 团队版管理(需 AK/SK,见下方认证说明)
133141
bl token-plan list-seats # 查看订阅席位明细
134142
bl token-plan add-member --account-name dev --org-id org_xxx
@@ -157,7 +165,7 @@ bl text chat --api-key sk-xxxxx --message "你好"
157165

158166
### 控制台登录(OAuth)
159167

160-
控制台能力命令(`app list``usage free``usage stats``workspace list``quota list/request/check/history`)需要使用此登录方式。打开浏览器跳转百炼控制台完成登录。
168+
控制台能力命令(`app list``usage free``usage stats``workspace list``quota list/request/check/history``asset-center *`)需要使用此登录方式。打开浏览器跳转百炼控制台完成登录。
161169

162170
```bash
163171
bl auth login --console

0 commit comments

Comments
 (0)