bailian-cli 1.14.1 → 1.14.2
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 +71 -135
- package/README.zh.md +71 -136
- package/dist/bailian.mjs +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
16
|
-
_Chat with Qwen, generate images
|
|
17
|
-
|
|
16
|
+
_Chat with Qwen, generate and edit images and videos, understand images, synthesize_
|
|
17
|
+
_and recognize speech, call apps, manage memory, retrieve knowledge, search the web —_
|
|
18
|
+
_every AI capability, one command away._
|
|
18
19
|
|
|
19
20
|
_Built for AI Agents. Every command works as a structured tool call._
|
|
20
21
|
|
|
@@ -22,28 +23,16 @@ _Built for AI Agents. Every command works as a structured tool call._
|
|
|
22
23
|
|
|
23
24
|
## Features
|
|
24
25
|
|
|
25
|
-
|
|
26
|
+
- **Model generation** — Full-modality generation across text, image, video, and speech, with editing and reference-based generation
|
|
27
|
+
- **Asset understanding** — Parse and ask questions about images, documents, audio, and long videos
|
|
28
|
+
- **App orchestration** — Call Managed Agents, agents, and workflows published on Aliyun Model Studio, wired to knowledge bases, memory, web search, and MCP tools
|
|
29
|
+
- **Training & deployment** — Validate and upload datasets, fine-tune models, deploy dedicated models as endpoints
|
|
30
|
+
- **Account operations** — Login, UI-based configuration, model marketplace, usage and quota, rate-limit increases, team seat management
|
|
31
|
+
- **Plan onboarding** — Connect subscription plans such as Token Plan to the CLI and common coding agents in one step
|
|
26
32
|
|
|
27
|
-
|
|
28
|
-
- **Multimodal (Omni)** — Full omni-modal support across text + image + audio + video
|
|
29
|
-
- **Image generation & editing** — Qwen-Image 3.0: pro text rendering, photorealism, strong semantic adherence, multi-image composition
|
|
30
|
-
- **Video generation & editing** — happyhorse-1.1 series: text-/image-/reference-to-video and natural-language video editing (up to 9-image reference)
|
|
31
|
-
- **Speech synthesis & recognition** — CosyVoice streaming TTS, voice cloning from 5–20s samples; FunAudio-ASR covers 30 languages including 7 Chinese dialects and 20+ Mandarin accents
|
|
32
|
-
- **Image & video understanding** — Qwen-VL: long-form video analysis, chart/document parsing, visual reasoning, multilingual OCR
|
|
33
|
-
- **Coding agent setup** — Configure Claude Code, Qwen Code, OpenCode, OpenClaw, Hermes Agent, or Codex to use DashScope with `bl config agent`
|
|
33
|
+
> **Note:** App orchestration, training & deployment, account operations, and plan onboarding are currently available only to China site (aliyun.com) account holders and are not yet supported for international / global site accounts.
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
- **Knowledge base & memory** — Multimodal RAG retrieval and cross-session memory for personalized, coherent dialogue
|
|
38
|
-
- **App calls** — Invoke agents and workflows already published on Aliyun Model Studio
|
|
39
|
-
- **MCP integration** — Orchestrate Bailian MCP servers: list services, inspect tools, and invoke any tool directly from the terminal
|
|
40
|
-
- **Web search** — Real-time internet retrieval for up-to-date, accurate answers
|
|
41
|
-
- **Model recommendation** — Describe your scenario and get best-fit model suggestions; supports scoped search, model comparison, and alternative discovery
|
|
42
|
-
- **Fine-tuning & deployment** — Upload datasets, create text/audio/image fine-tune jobs (`finetune text|audio|image create`; text covers SFT/LoRA/DPO/CPT), probe job status non-blockingly (`finetune watch`), query per-model training capability (`finetune capability`), and deploy trained models as endpoints (`deploy text|audio|image create`)
|
|
43
|
-
- **Console capabilities** — Browse the model marketplace (`model list`) and Bailian apps (`app list`), review a unified usage view (`usage summary`), 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`)
|
|
44
|
-
- **Local file auto-upload** — Every URL parameter accepts a local path; uploaded to free temp storage with 48-hour validity
|
|
45
|
-
|
|
46
|
-
## Showcase: One-Sentence Cinematic Video
|
|
35
|
+
## Showcase 1: A Cinematic Short Film from One Sentence
|
|
47
36
|
|
|
48
37
|
<p align="center">
|
|
49
38
|
<a href="https://cloud.video.taobao.com/vod/dS2F4huqbw5Nfe5L3wwb3grz2q2DNYD3retq8dU-iHo.mp4">
|
|
@@ -56,129 +45,77 @@ Equip your AI Agent out-of-the-box with these capabilities, composable across co
|
|
|
56
45
|
A complete **2-minute, 16:9 cinematic short film** — produced end-to-end from a single natural-language sentence, with **zero manual editing**. This showcase demonstrates how an AI Agent can compose a multi-step creative pipeline by orchestrating three primitives:
|
|
57
46
|
|
|
58
47
|
- **[Qwen Code](https://github.com/QwenLM/qwen-code)** — the agentic coding model that interprets the user's intent and drives the workflow
|
|
59
|
-
- **[Aliyun Model Studio CLI](https://
|
|
48
|
+
- **[Aliyun Model Studio CLI](https://github.com/modelstudioai/cli/)** — invokes **HappyHorse 1.1**, Aliyun Model Studio's text-/image-/reference-to-video generation model
|
|
60
49
|
- **[spark-video Skill](https://github.com/JohnKeating1997/spark-video)** — handles scene decomposition, storyboarding, shot continuity, and final stitching
|
|
61
50
|
|
|
62
51
|
### The single prompt
|
|
63
52
|
|
|
64
53
|
> _"Generate a roughly 2-minute video in Japanese cinematic style — a sweet, innocent first-love story about a high-school girl. The plot should be heart-fluttering enough to make viewers want to fall in love. Aspect ratio: 16:9."_
|
|
65
|
-
>
|
|
66
|
-
> _(Original: "帮我生成一段日系影视风格,高中女生的青涩初恋故事,剧情高甜,让人看了想谈恋爱,2分钟左右的视频,尺寸是16:9")_
|
|
67
|
-
|
|
68
|
-
### How it works
|
|
69
|
-
|
|
70
|
-
1. **Qwen Code** parses the request, plans the narrative beats, and decides which tools to call.
|
|
71
|
-
2. The **spark-video Skill** breaks the story into shots, writes per-shot prompts, and enforces visual continuity (characters, lighting, palette, lens language).
|
|
72
|
-
3. **`bl video generate`** dispatches each shot to **HappyHorse 1.1** in parallel.
|
|
73
|
-
4. The skill stitches all clips back together into a single 16:9 / ~2-min deliverable.
|
|
74
|
-
|
|
75
|
-
No timeline scrubbing. No frame-by-frame editing. Just one sentence → one video.
|
|
76
|
-
|
|
77
|
-
## Installation
|
|
78
54
|
|
|
79
|
-
|
|
80
|
-
# Recommended — no Node required
|
|
81
|
-
curl -fsSL https://bailian.aliyun.com/cli/install.sh | bash
|
|
55
|
+
## Showcase 2: A Short-Film Director Managed Agent from One Sentence
|
|
82
56
|
|
|
83
|
-
|
|
84
|
-
|
|
57
|
+
<p align="center">
|
|
58
|
+
<a href="https://cloud.video.taobao.com/vod/2v0GYLbJSQb2saj4iopTJDW3iRIHsintYlK-wTKbhqE.mp4">
|
|
59
|
+
<img src="https://img.alicdn.com/imgextra/i4/6000000001674/O1CN01xhzixhxltbH3LxWu_!!6000000001674-0-tbvideo.jpg" alt="Click to play the demo video" width="720" />
|
|
60
|
+
</a>
|
|
61
|
+
</p>
|
|
85
62
|
|
|
86
|
-
|
|
87
|
-
npm install -g bailian-cli
|
|
63
|
+
<p align="center"><i>👆 Click the cover to play the full demo</i></p>
|
|
88
64
|
|
|
89
|
-
|
|
90
|
-
npx skills add modelstudioai/cli --all -g
|
|
91
|
-
```
|
|
65
|
+
One sentence builds a reusable cloud-side short-film director for storyboarding, storyboard image generation, and video creation:
|
|
92
66
|
|
|
93
|
-
|
|
67
|
+
- **[Qwen Code](https://github.com/QwenLM/qwen-code)** — understands the requirement and generates the agent configuration
|
|
68
|
+
- **[Aliyun Model Studio CLI](https://github.com/modelstudioai/cli/)** — validates the configuration, previews the changes, and completes the deployment
|
|
69
|
+
- **[Managed Agent](https://bailian.console.aliyun.com/cn-beijing/?tab=managed-agents#/managed-agents/quick-start)** — runs the director role along with its skills and tools in the cloud
|
|
94
70
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
```bash
|
|
98
|
-
# Authenticate, recommended
|
|
99
|
-
bl auth login --console
|
|
71
|
+
### The single prompt
|
|
100
72
|
|
|
101
|
-
|
|
102
|
-
bl auth login --api-key sk-xxxxx
|
|
73
|
+
> _"Build me a Managed Agent app that can produce short films — a director expert that generates videos and can also design the matching storyboards."_
|
|
103
74
|
|
|
104
|
-
|
|
105
|
-
bl auth login --config token-plan --api-key sk-sp-xxxxx
|
|
75
|
+
## Installation
|
|
106
76
|
|
|
107
|
-
|
|
108
|
-
bl config agent --agent codex --base-url https://dashscope.aliyuncs.com/compatible-mode/v1 --api-key sk-xxxxx --model qwen3-coder-plus
|
|
77
|
+
**Agent install (recommended)**
|
|
109
78
|
|
|
110
|
-
|
|
111
|
-
bl text chat --message "What is DashScope?"
|
|
79
|
+
Send the following to your Agent — it will detect your environment, then install and verify the CLI for you:
|
|
112
80
|
|
|
113
|
-
|
|
114
|
-
|
|
81
|
+
```text
|
|
82
|
+
Please read https://bailian.aliyun.com/cli/install.md and install the Aliyun Model Studio CLI for me
|
|
83
|
+
```
|
|
115
84
|
|
|
116
|
-
|
|
117
|
-
bl image generate --prompt "A cat in a spacesuit" --out-dir ./images/
|
|
85
|
+
**Manual install (npm)**
|
|
118
86
|
|
|
119
|
-
|
|
120
|
-
|
|
87
|
+
```bash
|
|
88
|
+
npm install -g bailian-cli
|
|
89
|
+
npx skills add modelstudioai/cli --all -g
|
|
90
|
+
```
|
|
121
91
|
|
|
122
|
-
|
|
123
|
-
bl advisor recommend --message "I need a visual-understanding chatbot"
|
|
92
|
+
> Requires Node.js >= 18.17.
|
|
124
93
|
|
|
125
|
-
|
|
126
|
-
bl advisor recommend --message "qwen-max vs deepseek-v3 for code generation"
|
|
94
|
+
## Quick Start
|
|
127
95
|
|
|
128
|
-
|
|
129
|
-
bl auth login --console
|
|
96
|
+
Once installed, just describe your task to your AI Agent — no need to assemble commands by hand.
|
|
130
97
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
# Browse models / apps / free-tier quota / usage statistics / workspaces
|
|
139
|
-
bl model list # Browse model families and pricing
|
|
140
|
-
bl app list
|
|
141
|
-
bl usage summary # Unified view: free-tier quota + recent usage overview
|
|
142
|
-
bl usage free # Free-tier quota across models (add --model/--expiring/--sort)
|
|
143
|
-
bl usage stats --workspace-id <id> # Model usage statistics (add --model for per-model)
|
|
144
|
-
bl workspace list # List all workspaces
|
|
145
|
-
|
|
146
|
-
# Rate limit management (list / check / request / history)
|
|
147
|
-
bl quota list # View RPM/TPM limits (add --model to filter)
|
|
148
|
-
bl quota check # Current usage vs rate limits (add --model/--period)
|
|
149
|
-
bl quota request --model qwen3.6-plus --tpm 6000000 # Request a temporary TPM increase
|
|
150
|
-
bl quota history # View quota-change history
|
|
151
|
-
|
|
152
|
-
# Token Plan team management (requires AK/SK, see auth below)
|
|
153
|
-
bl token-plan list-seats # View subscription seat details
|
|
154
|
-
bl token-plan add-member --account-name dev --org-id org_xxx
|
|
155
|
-
bl token-plan assign-seats --workspace-id ws_xxx --seat-type standard --account-id acc_xxx
|
|
156
|
-
bl token-plan create-key --account-id acc_xxx --workspace-id ws_xxx
|
|
157
|
-
```
|
|
98
|
+
| Scenario | What to say to your Agent |
|
|
99
|
+
| ------------------------ | --------------------------------------------------------------------------------- |
|
|
100
|
+
| Managed Agent | "Create a Managed Agent that can generate short-film storyboards and videos." |
|
|
101
|
+
| Image & video generation | "Generate an image of a cat in a spacesuit on Mars, then turn it into a video." |
|
|
102
|
+
| Usage & quota | "Show my recent model usage, free-tier quota, and rate limits." |
|
|
103
|
+
| Model selection | "Recommend a model for image understanding and customer support." |
|
|
104
|
+
| About Bailian CLI | "Tell me what Bailian CLI can do for me, and suggest how to use it for my needs." |
|
|
158
105
|
|
|
159
106
|
> More examples and scenarios: [Aliyun Model Studio CLI Site](https://bailian.console.aliyun.com/cli?source_channel=cli_github&)
|
|
160
107
|
|
|
161
108
|
## Authentication
|
|
162
109
|
|
|
163
|
-
###
|
|
110
|
+
### API Key
|
|
164
111
|
|
|
165
112
|
Required for most commands. Get your key from the [DashScope Console](https://bailian.console.aliyun.com/cn-beijing/?source_channel=key_github&tab=app#/api-key).
|
|
166
113
|
|
|
167
114
|
```bash
|
|
168
|
-
# Option 1: Environment variable
|
|
169
|
-
export DASHSCOPE_API_KEY=sk-xxxxx
|
|
170
|
-
|
|
171
|
-
# Option 2: Login command (persisted to ~/.bailian/config.json)
|
|
172
115
|
bl auth login --api-key sk-xxxxx
|
|
173
|
-
|
|
174
|
-
# Option 3: Per-command flag
|
|
175
|
-
bl text chat --api-key sk-xxxxx --message "Hello"
|
|
176
116
|
```
|
|
177
117
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
Get or copy the API key from the [Token Plan subscription overview](https://bailian.console.aliyun.com/cn-beijing?tab=plan#/efm/subscription/overview).
|
|
181
|
-
The CLI has the default Token Plan Base URL built in. Login tests the key first, then saves and activates the `token-plan` config only when validation succeeds.
|
|
118
|
+
Get or copy your Token Plan API key from the [Token Plan subscription overview](https://bailian.console.aliyun.com/cn-beijing?tab=plan#/efm/subscription/overview).
|
|
182
119
|
|
|
183
120
|
```bash
|
|
184
121
|
bl auth login --config token-plan --api-key sk-sp-xxxxx
|
|
@@ -186,26 +123,20 @@ bl auth login --config token-plan --api-key sk-sp-xxxxx
|
|
|
186
123
|
|
|
187
124
|
### Console Login (OAuth)
|
|
188
125
|
|
|
189
|
-
Required for console capability commands (
|
|
126
|
+
Required for console capability commands (model list, app list, MCP list, workspace, usage queries, rate-limit increases, direct console calls). Opens the Bailian console in your browser to sign in.
|
|
190
127
|
|
|
191
128
|
```bash
|
|
192
129
|
bl auth login --console
|
|
193
130
|
```
|
|
194
131
|
|
|
195
|
-
### Alibaba Cloud OpenAPI AK/SK
|
|
132
|
+
### Alibaba Cloud OpenAPI AK/SK
|
|
196
133
|
|
|
197
|
-
|
|
134
|
+
Token Plan seat and member management requires an Alibaba Cloud AccessKey. Get yours from the [RAM Console](https://ram.console.aliyun.com/manage/ak).
|
|
198
135
|
|
|
199
136
|
> Recommended: create a RAM sub-account with minimum privileges instead of using the root account's AK/SK.
|
|
200
137
|
|
|
201
138
|
```bash
|
|
202
|
-
# Option 1: Login command (persisted to ~/.bailian/config.json)
|
|
203
139
|
bl auth login --open-api --access-key-id LTAI5t... --access-key-secret ...
|
|
204
|
-
|
|
205
|
-
# Option 2: Environment variables
|
|
206
|
-
export ALIBABA_CLOUD_ACCESS_KEY_ID=LTAI5t...
|
|
207
|
-
export ALIBABA_CLOUD_ACCESS_KEY_SECRET=...
|
|
208
|
-
export BAILIAN_WORKSPACE_ID=ws-...
|
|
209
140
|
```
|
|
210
141
|
|
|
211
142
|
## Configuration
|
|
@@ -214,18 +145,31 @@ export BAILIAN_WORKSPACE_ID=ws-...
|
|
|
214
145
|
# View current config
|
|
215
146
|
bl config show
|
|
216
147
|
|
|
217
|
-
#
|
|
218
|
-
bl config
|
|
219
|
-
bl config set --key default_text_model --value qwen-turbo
|
|
220
|
-
bl config set --key timeout --value 600
|
|
148
|
+
# List all config profiles
|
|
149
|
+
bl config list
|
|
221
150
|
|
|
222
|
-
#
|
|
223
|
-
bl
|
|
224
|
-
bl update --to 0.1.14
|
|
151
|
+
# Switch config profile
|
|
152
|
+
bl config use --name token-plan
|
|
225
153
|
```
|
|
226
154
|
|
|
227
155
|
Config file location: `~/.bailian/config.json`
|
|
228
156
|
|
|
157
|
+
## Update
|
|
158
|
+
|
|
159
|
+
```bash
|
|
160
|
+
bl update
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
Upgrades the CLI to the latest version and refreshes the installed Agent Skills. Release notes for every version live in [CHANGELOG.md](https://github.com/modelstudioai/cli/blob/main/CHANGELOG.md).
|
|
164
|
+
|
|
165
|
+
## Contributing
|
|
166
|
+
|
|
167
|
+
Bug reports, feature requests, and PRs are welcome. See [CONTRIBUTING.md](https://github.com/modelstudioai/cli/blob/main/CONTRIBUTING.md) for developer setup, repo layout, and the workflow for adding or changing commands.
|
|
168
|
+
|
|
169
|
+
Scan the QR code to join the Aliyun Model Studio CLI DingTalk user group for usage help, troubleshooting, bug reports, and tips from other users.
|
|
170
|
+
|
|
171
|
+
<img src="https://img.alicdn.com/imgextra/i3/O1CN015uuhYGb6j0L12xJZ_!!6000000006304-2-tps-516-485.png" alt="Aliyun Model Studio CLI DingTalk user group" width="240" />
|
|
172
|
+
|
|
229
173
|
## Links
|
|
230
174
|
|
|
231
175
|
| Resource | URL |
|
|
@@ -237,11 +181,3 @@ Config file location: `~/.bailian/config.json`
|
|
|
237
181
|
| Get API Key | https://bailian.console.aliyun.com/cn-beijing/?source_channel=key_github&tab=app#/api-key |
|
|
238
182
|
| Get Token Plan API Key | https://bailian.console.aliyun.com/cn-beijing?tab=plan#/efm/subscription/overview |
|
|
239
183
|
| Get AccessKey | https://ram.console.aliyun.com/manage/ak |
|
|
240
|
-
|
|
241
|
-
## Changelog
|
|
242
|
-
|
|
243
|
-
Release notes for every version live in [CHANGELOG.md](https://github.com/modelstudioai/cli/blob/main/CHANGELOG.md).
|
|
244
|
-
|
|
245
|
-
## Contributing
|
|
246
|
-
|
|
247
|
-
Bug reports, feature requests, and PRs are welcome. See [CONTRIBUTING.md](https://github.com/modelstudioai/cli/blob/main/CONTRIBUTING.md) for developer setup, repo layout, and the workflow for adding or changing commands.
|
package/README.zh.md
CHANGED
|
@@ -22,28 +22,16 @@ _专为 AI Agent 打造,每个命令均可作为结构化工具调用。_
|
|
|
22
22
|
|
|
23
23
|
## 功能特性
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
- **模型生成** — 文本、图像、视频、语音全模态生成,支持编辑与参考生成
|
|
26
|
+
- **素材理解** — 图像、文档、音频、长视频的解析与问答
|
|
27
|
+
- **应用编排** — 调用百炼已发布的 Managed Agent、智能体和工作流,接入知识库、记忆库、联网搜索与 MCP 工具
|
|
28
|
+
- **模型训推** — 数据集校验上传、模型精调、专属模型部署上线
|
|
29
|
+
- **账号运维** — 授权登录、界面化配置、模型市场、用量与额度、限流提额、团队席位管理
|
|
30
|
+
- **套餐接入** — 支持 Token Plan 等订阅计划一键接到 CLI 和常见 Coding Agent
|
|
26
31
|
|
|
27
|
-
|
|
28
|
-
- **全模态对话** — 文本 + 图像 + 音频 + 视频全模态支持
|
|
29
|
-
- **图像生成与编辑** — Qwen-Image 3.0:专业文字渲染、真实质感、强语义遵循、多图合成
|
|
30
|
-
- **视频生成与编辑** — happyhorse-1.1 系列,支持文生 / 图生 / 参考生(最多 9 张图参考)/ 自然语言视频编辑
|
|
31
|
-
- **语音合成与识别** — CosyVoice 实时流式合成,5-20s 样本即可克隆;FunAudio-ASR 覆盖 30 种语种,含汉语七大方言与 20+ 口音官话
|
|
32
|
-
- **图像与视频理解** — Qwen-VL:长视频解析、复杂图表与文档识别、视觉推理、多语种 OCR
|
|
33
|
-
- **Coding Agent 配置** — 使用 `bl config agent` 将 Claude Code、Qwen Code、OpenCode、OpenClaw、Hermes Agent 或 Codex 配置为使用 DashScope
|
|
32
|
+
> **注意:** 应用编排、模型训推、账号运维和套餐接入目前仅支持中国站(aliyun.com)账号,暂不支持国际站 / 全球站账号。
|
|
34
33
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
- **知识库与记忆库** — 多模态 RAG 检索 + 跨会话记忆,提供个性化连贯对话体验
|
|
38
|
-
- **应用调用** — 调用已发布在阿里云百炼平台上的智能体与工作流应用
|
|
39
|
-
- **MCP 集成** — 统一调度百炼 MCP 服务:列出服务、查看工具、直接在终端调用任意工具
|
|
40
|
-
- **联网搜索** — 实时互联网信息检索,提升回答准确性及时效性
|
|
41
|
-
- **模型推荐** — 描述你的场景,智能推荐最适合的模型;支持限定范围搜索、模型对比和替代发现
|
|
42
|
-
- **微调与部署** — 上传数据集、创建文本/音频/图像调优任务(`finetune text|audio|image create`;文本涵盖 SFT/LoRA/DPO/CPT)、非阻塞探测任务状态(`finetune watch`)、按模型查训练能力(`finetune capability`),并把训练好的模型部署为推理服务(`deploy text|audio|image create`)
|
|
43
|
-
- **控制台能力** — 浏览模型市场(`model list`)和百炼应用(`app list`),查看统一用量视图(`usage summary`),查询模型免费额度(`usage free`),查看模型用量统计(`usage stats`),管理业务空间(`workspace list`),管理限流与提额(`quota list/request/check/history`)
|
|
44
|
-
- **本地文件自动上传** — 所有 URL 参数同时支持本地路径,免费临时存储 48 小时
|
|
45
|
-
|
|
46
|
-
## 示例:一句话生成一部电影短片
|
|
34
|
+
## 示例 1:一句话生成一部电影短片
|
|
47
35
|
|
|
48
36
|
<p align="center">
|
|
49
37
|
<a href="https://cloud.video.taobao.com/vod/dS2F4huqbw5Nfe5L3wwb3grz2q2DNYD3retq8dU-iHo.mp4">
|
|
@@ -53,130 +41,80 @@ _专为 AI Agent 打造,每个命令均可作为结构化工具调用。_
|
|
|
53
41
|
|
|
54
42
|
<p align="center"><i>👆 点击封面播放完整 2 分钟演示</i></p>
|
|
55
43
|
|
|
56
|
-
一部完整的 **2 分钟、16:9 电影感短片** ——
|
|
44
|
+
一部完整的 **2 分钟、16:9 电影感短片** —— 由一句自然语言端到端生成,**全程零手动剪辑**。这个示例展示了 AI Agent 如何把三个基础能力编排成一条多步创作流水线:
|
|
57
45
|
|
|
58
|
-
- **[Qwen Code](https://github.com/QwenLM/qwen-code)** —— Agentic coding
|
|
59
|
-
- **[阿里云百炼 CLI](https://github.com/modelstudioai/cli/)** —— 调用 **HappyHorse 1.1
|
|
46
|
+
- **[Qwen Code](https://github.com/QwenLM/qwen-code)** —— Agentic coding 模型,解析用户意图、驱动整个工作流
|
|
47
|
+
- **[阿里云百炼 CLI](https://github.com/modelstudioai/cli/)** —— 调用 **HappyHorse 1.1**,百炼的文生/图生/参考生视频模型
|
|
60
48
|
- **[spark-video Skill](https://github.com/JohnKeating1997/spark-video)** —— 负责场景拆分、分镜设计、镜头连贯性和最终拼接
|
|
61
49
|
|
|
62
50
|
### 唯一的提示词
|
|
63
51
|
|
|
64
|
-
> _
|
|
65
|
-
|
|
66
|
-
### 工作流程
|
|
67
|
-
|
|
68
|
-
1. **Qwen Code** 解析需求、规划叙事节奏,决定要调用哪些工具。
|
|
69
|
-
2. **spark-video Skill** 把故事拆成镜头、为每个镜头写提示词,并保证视觉连贯性(角色、光线、色调、镜头语言)。
|
|
70
|
-
3. **`bl video generate`** 把每个镜头并行下发给 **HappyHorse 1.1**。
|
|
71
|
-
4. Skill 把所有片段拼成最终的 16:9 / 约 2 分钟成片。
|
|
72
|
-
|
|
73
|
-
没有时间线拖拽,没有逐帧剪辑。一句话 → 一部短片。
|
|
74
|
-
|
|
75
|
-
## 安装
|
|
52
|
+
> _“帮我生成一段日系影视风格,高中女生的青涩初恋故事,剧情高甜,让人看了想谈恋爱,2 分钟左右的视频,尺寸是 16:9。”_
|
|
76
53
|
|
|
77
|
-
|
|
78
|
-
# 推荐 — 无需本机 Node.js
|
|
79
|
-
curl -fsSL https://bailian.aliyun.com/cli/install.sh | bash
|
|
54
|
+
## 示例 2:一句话构建短片导演 Managed Agent
|
|
80
55
|
|
|
81
|
-
|
|
82
|
-
|
|
56
|
+
<p align="center">
|
|
57
|
+
<a href="https://cloud.video.taobao.com/vod/2v0GYLbJSQb2saj4iopTJDW3iRIHsintYlK-wTKbhqE.mp4">
|
|
58
|
+
<img src="https://img.alicdn.com/imgextra/i4/6000000001674/O1CN01xhzixhxltbH3LxWu_!!6000000001674-0-tbvideo.jpg" alt="点击播放演示视频" width="720" />
|
|
59
|
+
</a>
|
|
60
|
+
</p>
|
|
83
61
|
|
|
84
|
-
|
|
85
|
-
npm install -g bailian-cli
|
|
62
|
+
<p align="center"><i>👆 点击封面播放完整演示</i></p>
|
|
86
63
|
|
|
87
|
-
|
|
88
|
-
npx skills add modelstudioai/cli --all -g
|
|
89
|
-
```
|
|
64
|
+
一句话构建一个可复用的云端短片导演,用于分镜设计、分镜图生成和视频创作:
|
|
90
65
|
|
|
91
|
-
|
|
66
|
+
- **[Qwen Code](https://github.com/QwenLM/qwen-code)** —— 理解需求并生成 Agent 配置
|
|
67
|
+
- **[阿里云百炼 CLI](https://github.com/modelstudioai/cli/)** —— 校验配置、预览变更并完成部署
|
|
68
|
+
- **[Managed Agent](https://bailian.console.aliyun.com/cn-beijing/?tab=managed-agents#/managed-agents/quick-start)** —— 在云端运行导演角色及其 Skill 和工具
|
|
92
69
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
```bash
|
|
96
|
-
# 认证(推荐浏览器登录)
|
|
97
|
-
bl auth login --console
|
|
70
|
+
### 唯一的提示词
|
|
98
71
|
|
|
99
|
-
|
|
100
|
-
bl auth login --api-key sk-xxxxx
|
|
72
|
+
> _“帮我构建一个 managedagent 应用,能够实现短片拍摄,导演专家生成视频,然后也能进行设计对应的分镜图。”_
|
|
101
73
|
|
|
102
|
-
|
|
103
|
-
bl auth login --config token-plan --api-key sk-sp-xxxxx
|
|
74
|
+
## 安装
|
|
104
75
|
|
|
105
|
-
|
|
106
|
-
bl config agent --agent codex --base-url https://dashscope.aliyuncs.com/compatible-mode/v1 --api-key sk-xxxxx --model qwen3-coder-plus
|
|
76
|
+
**Agent 安装(推荐)**
|
|
107
77
|
|
|
108
|
-
|
|
109
|
-
bl text chat --message "你好,介绍一下阿里云百炼平台"
|
|
78
|
+
把下面这句话发给你的 Agent,它会自行判断环境并完成安装与校验:
|
|
110
79
|
|
|
111
|
-
|
|
112
|
-
|
|
80
|
+
```text
|
|
81
|
+
请阅读:https://bailian.aliyun.com/cli/install.md 并按照说明为我安装阿里云百炼 CLI
|
|
82
|
+
```
|
|
113
83
|
|
|
114
|
-
|
|
115
|
-
bl image generate --prompt "一只穿太空服的猫在火星上" --out-dir ./images/
|
|
84
|
+
**手动安装(npm)**
|
|
116
85
|
|
|
117
|
-
|
|
118
|
-
|
|
86
|
+
```bash
|
|
87
|
+
npm install -g bailian-cli
|
|
88
|
+
npx skills add modelstudioai/cli --all -g
|
|
89
|
+
```
|
|
119
90
|
|
|
120
|
-
|
|
121
|
-
bl advisor recommend --message "我要做一个能理解图片的客服机器人"
|
|
91
|
+
> 需要预先安装 Node.js >= 18.17。
|
|
122
92
|
|
|
123
|
-
|
|
124
|
-
bl advisor recommend --message "qwen-max 和 deepseek-v3 哪个更适合做代码生成"
|
|
93
|
+
## 快速开始
|
|
125
94
|
|
|
126
|
-
|
|
127
|
-
bl auth login --console
|
|
95
|
+
安装完成后,直接在 AI Agent 中描述你的任务,无需手动拼接命令。
|
|
128
96
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
# 浏览模型 / 应用 / 免费额度 / 用量统计 / 业务空间
|
|
137
|
-
bl model list # 浏览模型系列与价格信息
|
|
138
|
-
bl app list
|
|
139
|
-
bl usage summary # 统一视图:免费额度 + 近期用量概览
|
|
140
|
-
bl usage free # 各模型免费额度(可加 --model/--expiring/--sort)
|
|
141
|
-
bl usage stats --workspace-id <id> # 模型用量统计(加 --model 查单模型)
|
|
142
|
-
bl workspace list # 列出所有业务空间
|
|
143
|
-
|
|
144
|
-
# 限流管理与提额(list / check / request / history)
|
|
145
|
-
bl quota list # 查看 RPM/TPM 限额(加 --model 过滤)
|
|
146
|
-
bl quota check # 当前用量 vs 限流阈值(加 --model/--period)
|
|
147
|
-
bl quota request --model qwen3.6-plus --tpm 6000000 # 申请临时 TPM 提额
|
|
148
|
-
bl quota history # 查看提额历史记录
|
|
149
|
-
|
|
150
|
-
# Token Plan 团队版管理(需 AK/SK,见下方认证说明)
|
|
151
|
-
bl token-plan list-seats # 查看订阅席位明细
|
|
152
|
-
bl token-plan add-member --account-name dev --org-id org_xxx
|
|
153
|
-
bl token-plan assign-seats --workspace-id ws_xxx --seat-type standard --account-id acc_xxx
|
|
154
|
-
bl token-plan create-key --account-id acc_xxx --workspace-id ws_xxx
|
|
155
|
-
```
|
|
97
|
+
| 场景 | 可以这样对 Agent 说 |
|
|
98
|
+
| ---------------- | ----------------------------------------------------------------------- |
|
|
99
|
+
| Managed Agent | “帮我创建一个能够生成短片分镜和视频的 Managed Agent。” |
|
|
100
|
+
| 图片和视频生成 | “生成一张穿着太空服的猫站在火星上的图片,再把它制作成一段视频。” |
|
|
101
|
+
| 用量与额度 | “查看最近的模型用量、免费额度和限流情况。” |
|
|
102
|
+
| 模型选型 | “推荐一个适合图片理解和智能客服的模型。” |
|
|
103
|
+
| 了解 Bailian CLI | “介绍一下 Bailian CLI 能帮我完成哪些任务,并根据我的需求推荐使用方式。” |
|
|
156
104
|
|
|
157
105
|
> 更多案例与使用场景:[阿里云百炼 CLI 官方主页](https://bailian.console.aliyun.com/cli?source_channel=cli_github&)
|
|
158
106
|
|
|
159
107
|
## 认证方式
|
|
160
108
|
|
|
161
|
-
###
|
|
109
|
+
### API Key
|
|
162
110
|
|
|
163
111
|
大部分命令均需要 API Key。前往 [DashScope 控制台](https://bailian.console.aliyun.com/cn-beijing/?source_channel=key_github&tab=app#/api-key) 获取。
|
|
164
112
|
|
|
165
113
|
```bash
|
|
166
|
-
# 方式一:环境变量
|
|
167
|
-
export DASHSCOPE_API_KEY=sk-xxxxx
|
|
168
|
-
|
|
169
|
-
# 方式二:登录命令(持久化到 ~/.bailian/config.json)
|
|
170
114
|
bl auth login --api-key sk-xxxxx
|
|
171
|
-
|
|
172
|
-
# 方式三:命令行参数
|
|
173
|
-
bl text chat --api-key sk-xxxxx --message "你好"
|
|
174
115
|
```
|
|
175
116
|
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
前往 [Token Plan 订阅详情](https://bailian.console.aliyun.com/cn-beijing?tab=plan#/efm/subscription/overview) 获取或复制 API Key。
|
|
179
|
-
CLI 已内置 Token Plan 的默认 Base URL;登录命令会先测试 Key,通过后才保存并激活 `token-plan` 配置。
|
|
117
|
+
Token Plan 的 API Key 前往 [Token Plan 订阅详情](https://bailian.console.aliyun.com/cn-beijing?tab=plan#/efm/subscription/overview) 获取或复制。
|
|
180
118
|
|
|
181
119
|
```bash
|
|
182
120
|
bl auth login --config token-plan --api-key sk-sp-xxxxx
|
|
@@ -184,26 +122,20 @@ bl auth login --config token-plan --api-key sk-sp-xxxxx
|
|
|
184
122
|
|
|
185
123
|
### 控制台登录(OAuth)
|
|
186
124
|
|
|
187
|
-
|
|
125
|
+
控制台能力命令(模型列表、应用列表、MCP 列表、工作空间、用量查询、限流提额、控制台直调)需要使用此登录方式。打开浏览器跳转百炼控制台完成登录。
|
|
188
126
|
|
|
189
127
|
```bash
|
|
190
128
|
bl auth login --console
|
|
191
129
|
```
|
|
192
130
|
|
|
193
|
-
### 阿里云 OpenAPI AK/SK
|
|
131
|
+
### 阿里云 OpenAPI AK/SK
|
|
194
132
|
|
|
195
|
-
|
|
133
|
+
Token Plan 的席位与成员管理需要阿里云 AccessKey。前往 [RAM 控制台](https://ram.console.aliyun.com/manage/ak) 获取。
|
|
196
134
|
|
|
197
135
|
> 建议:创建 RAM 子账号并授予最小权限,避免使用主账号 AK/SK。
|
|
198
136
|
|
|
199
137
|
```bash
|
|
200
|
-
# 方式一:登录命令(持久化到 ~/.bailian/config.json)
|
|
201
138
|
bl auth login --open-api --access-key-id LTAI5t... --access-key-secret ...
|
|
202
|
-
|
|
203
|
-
# 方式二:环境变量
|
|
204
|
-
export ALIBABA_CLOUD_ACCESS_KEY_ID=LTAI5t...
|
|
205
|
-
export ALIBABA_CLOUD_ACCESS_KEY_SECRET=...
|
|
206
|
-
export BAILIAN_WORKSPACE_ID=ws-...
|
|
207
139
|
```
|
|
208
140
|
|
|
209
141
|
## 配置
|
|
@@ -212,20 +144,31 @@ export BAILIAN_WORKSPACE_ID=ws-...
|
|
|
212
144
|
# 查看当前配置
|
|
213
145
|
bl config show
|
|
214
146
|
|
|
215
|
-
#
|
|
216
|
-
bl config
|
|
217
|
-
bl config set --key default_text_model --value qwen-turbo
|
|
218
|
-
bl config set --key timeout --value 600
|
|
147
|
+
# 查看全部配置档
|
|
148
|
+
bl config list
|
|
219
149
|
|
|
220
|
-
#
|
|
221
|
-
bl
|
|
222
|
-
|
|
223
|
-
# 安装指定版本
|
|
224
|
-
bl update --to 0.1.14
|
|
150
|
+
# 切换配置档
|
|
151
|
+
bl config use --name token-plan
|
|
225
152
|
```
|
|
226
153
|
|
|
227
154
|
配置文件位置:`~/.bailian/config.json`
|
|
228
155
|
|
|
156
|
+
## 更新
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
bl update
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
升级 CLI 至最新版本,并同步更新已安装的 Agent Skills。每个版本的变更详情记录在 [CHANGELOG.zh.md](https://github.com/modelstudioai/cli/blob/main/CHANGELOG.zh.md)。
|
|
163
|
+
|
|
164
|
+
## 参与贡献
|
|
165
|
+
|
|
166
|
+
欢迎提 Issue、Feature Request 和 PR。开发环境搭建、仓库结构、新增/修改命令的工作流请见 [CONTRIBUTING.zh.md](https://github.com/modelstudioai/cli/blob/main/CONTRIBUTING.zh.md)。
|
|
167
|
+
|
|
168
|
+
欢迎扫码加入阿里云百炼 CLI 钉钉用户交流群,获取使用答疑、问题排查、Bug 反馈和使用经验交流支持。
|
|
169
|
+
|
|
170
|
+
<img src="https://img.alicdn.com/imgextra/i3/O1CN015uuhYGb6j0L12xJZ_!!6000000006304-2-tps-516-485.png" alt="阿里云百炼 CLI 钉钉用户交流群" width="240" />
|
|
171
|
+
|
|
229
172
|
## 相关链接
|
|
230
173
|
|
|
231
174
|
| 资源 | 地址 |
|
|
@@ -237,11 +180,3 @@ bl update --to 0.1.14
|
|
|
237
180
|
| 获取 API Key | https://bailian.console.aliyun.com/cn-beijing/?source_channel=key_github&tab=app#/api-key |
|
|
238
181
|
| 获取 Token Plan API Key | https://bailian.console.aliyun.com/cn-beijing?tab=plan#/efm/subscription/overview |
|
|
239
182
|
| 获取 AccessKey | https://ram.console.aliyun.com/manage/ak |
|
|
240
|
-
|
|
241
|
-
## 更新日志
|
|
242
|
-
|
|
243
|
-
每个版本的变更详情记录在 [CHANGELOG.zh.md](https://github.com/modelstudioai/cli/blob/main/CHANGELOG.zh.md)。
|
|
244
|
-
|
|
245
|
-
## 参与贡献
|
|
246
|
-
|
|
247
|
-
欢迎提 Issue、Feature Request 和 PR。开发环境搭建、仓库结构、新增/修改命令的工作流请见 [CONTRIBUTING.zh.md](https://github.com/modelstudioai/cli/blob/main/CONTRIBUTING.zh.md)。
|
package/dist/bailian.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import{createCli as e}from"bailian-cli-runtime";import{advisorRecommend as t,appCall as n,appList as r,authGenerateAccessToken as i,authLogin as a,authLogout as o,authStatus as s,configAgent as c,configList as l,configSet as u,configShow as d,configUi as f,configUse as p,consoleCall as m,datasetDelete as h,datasetGet as g,datasetList as _,datasetUpload as v,datasetValidate as y,deployAudioCreate as b,deployDelete as x,deployGet as S,deployImageCreate as C,deployList as w,deployModels as T,deployScale as E,deployTextCreate as D,deployUpdate as O,fileUpload as k,finetuneAudioCreate as A,finetuneCancel as j,finetuneCapability as M,finetuneCheckpoints as N,finetuneDelete as P,finetuneExport as F,finetuneGet as I,finetuneImageCreate as L,finetuneList as R,finetuneLogs as z,finetuneTextCreate as B,finetuneWatch as V,imageEdit as H,imageGenerate as U,knowledgeChat as W,knowledgeRetrieve as G,knowledgeSearch as K,managedAgentApply as q,managedAgentDestroy as J,managedAgentInit as Y,managedAgentPlan as X,managedAgentSessionCreate as Z,managedAgentSessionDelete as Q,managedAgentSessionEvents as $,managedAgentSessionGet as ee,managedAgentSessionList as te,managedAgentSessionRun as ne,managedAgentSessionSend as re,managedAgentSkillList as ie,managedAgentStateImport as ae,managedAgentStateList as oe,managedAgentStateRm as se,managedAgentStateShow as ce,managedAgentValidate as le,mcpCall as ue,mcpList as de,mcpTools as fe,memoryAdd as pe,memoryDelete as me,memoryList as he,memoryProfileCreate as ge,memoryProfileGet as _e,memorySearch as ve,memoryUpdate as ye,modelList as be,pipelineRun as xe,pipelineValidate as Se,pluginInstall as Ce,pluginLink as we,pluginList as Te,pluginRemove as Ee,quotaCheck as De,quotaHistory as Oe,quotaList as ke,quotaRequest as Ae,searchWeb as je,skillAdd as Me,
|
|
3
|
+
import{createCli as e}from"bailian-cli-runtime";import{advisorRecommend as t,appCall as n,appList as r,authGenerateAccessToken as i,authLogin as a,authLogout as o,authStatus as s,configAgent as c,configList as l,configSet as u,configShow as d,configUi as f,configUse as p,consoleCall as m,datasetDelete as h,datasetGet as g,datasetList as _,datasetUpload as v,datasetValidate as y,deployAudioCreate as b,deployDelete as x,deployGet as S,deployImageCreate as C,deployList as w,deployModels as T,deployScale as E,deployTextCreate as D,deployUpdate as O,fileUpload as k,finetuneAudioCreate as A,finetuneCancel as j,finetuneCapability as M,finetuneCheckpoints as N,finetuneDelete as P,finetuneExport as F,finetuneGet as I,finetuneImageCreate as L,finetuneList as R,finetuneLogs as z,finetuneTextCreate as B,finetuneWatch as V,imageEdit as H,imageGenerate as U,knowledgeChat as W,knowledgeRetrieve as G,knowledgeSearch as K,managedAgentApply as q,managedAgentDestroy as J,managedAgentInit as Y,managedAgentPlan as X,managedAgentSessionCreate as Z,managedAgentSessionDelete as Q,managedAgentSessionEvents as $,managedAgentSessionGet as ee,managedAgentSessionList as te,managedAgentSessionRun as ne,managedAgentSessionSend as re,managedAgentSkillList as ie,managedAgentStateImport as ae,managedAgentStateList as oe,managedAgentStateRm as se,managedAgentStateShow as ce,managedAgentValidate as le,mcpCall as ue,mcpList as de,mcpTools as fe,memoryAdd as pe,memoryDelete as me,memoryList as he,memoryProfileCreate as ge,memoryProfileGet as _e,memorySearch as ve,memoryUpdate as ye,modelList as be,pipelineRun as xe,pipelineValidate as Se,pluginInstall as Ce,pluginLink as we,pluginList as Te,pluginRemove as Ee,quotaCheck as De,quotaHistory as Oe,quotaList as ke,quotaRequest as Ae,searchWeb as je,skillAdd as Me,skillInit as Ne,skillList as Pe,skillRemove as Fe,skillUpdate as Ie,speechRecognize as Le,speechSynthesize as Re,textChat as ze,textOmni as Be,tokenPlanAddMember as Ve,tokenPlanAssignSeats as He,tokenPlanCreateKey as Ue,tokenPlanListSeats as We,update as Ge,usageFree as Ke,usageFreetier as qe,usageStats as Je,usageSummary as Ye,videoDownload as Xe,videoEdit as Ze,videoGenerate as Qe,videoRef as $e,videoTaskGet as et,visionDescribe as tt,workspaceInit as nt,workspaceList as rt}from"bailian-cli-commands";e({"auth login":a,"auth status":s,"auth logout":o,"auth generate-access-token":i,"text chat":ze,omni:Be,"image generate":U,"image edit":H,"video generate":Qe,"video edit":Ze,"video ref":$e,"video task get":et,"video download":Xe,"vision describe":tt,"config show":d,"config set":u,"config list":l,"config use":p,"config ui":f,"config agent":c,update:Ge,"app call":n,"app list":r,"memory add":pe,"memory search":ve,"memory list":he,"memory update":ye,"memory delete":me,"memory profile create":ge,"memory profile get":_e,"knowledge retrieve":G,"knowledge search":K,"knowledge chat":W,"mcp call":ue,"mcp list":de,"mcp tools":fe,"search web":je,"speech synthesize":Re,"speech recognize":Le,"file upload":k,"console call":m,"usage free":Ke,"usage freetier":qe,"usage stats":Je,"usage summary":Ye,"pipeline run":xe,"pipeline validate":Se,"advisor recommend":t,"model list":be,"workspace list":rt,"quota list":ke,"quota request":Ae,"quota history":Oe,"quota check":De,"dataset upload":v,"dataset list":_,"dataset get":g,"dataset delete":h,"dataset validate":y,"finetune text create":B,"finetune audio create":A,"finetune image create":L,"finetune list":R,"finetune get":I,"finetune cancel":j,"finetune delete":P,"finetune logs":z,"finetune checkpoints":N,"finetune export":F,"finetune watch":V,"finetune capability":M,"deploy text create":D,"deploy audio create":b,"deploy image create":C,"deploy list":w,"deploy get":S,"deploy models":T,"deploy scale":E,"deploy update":O,"deploy delete":x,"token-plan list-seats":We,"token-plan create-key":Ue,"token-plan assign-seats":He,"token-plan add-member":Ve,"workspace init":nt,"plugin install":Ce,"plugin link":we,"plugin list":Te,"plugin remove":Ee,"skill add":Me,"skill update":Ie,"skill remove":Fe,"skill list":Pe,"skill init":Ne,"managed-agent init":Y,"managed-agent validate":le,"managed-agent plan":X,"managed-agent apply":q,"managed-agent destroy":J,"managed-agent state list":oe,"managed-agent state show":ce,"managed-agent state rm":se,"managed-agent state import":ae,"managed-agent session create":Z,"managed-agent session list":te,"managed-agent session get":ee,"managed-agent session delete":Q,"managed-agent session run":ne,"managed-agent session send":re,"managed-agent session events":$,"managed-agent skill-list":ie},{binName:`bl`,version:`1.14.2`,clientName:`bailian-cli`,npmPackage:`bailian-cli`,quickStartTasks:[`Help me generate a set of Amazon e-commerce main images for baseball caps (white background + lifestyle shots + model wear shots)`,`Help me generate a 3-minute humorous crosstalk audio clip`,`Help me generate a Little Red Riding Hood picture-book PDF (with illustrations)`,`Help me analyze this video and write a Xiaohongshu-style post`],commandPacks:{supported:{"@ali/bailian-plugin-agent":{commandPrefixes:[`agent`],credentialAccess:[`apiKey`]},"@ali/bailian-plugin-inner-console-call":{commandPrefixes:[`inner-console`]}}}}).run();export{};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bailian-cli",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.2",
|
|
4
4
|
"description": "CLI for Aliyun Model Studio (DashScope) AI Platform.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"tar-stream": "^3.2.0",
|
|
41
|
-
"bailian-cli-commands": "1.14.
|
|
42
|
-
"bailian-cli-
|
|
43
|
-
"bailian-cli-
|
|
41
|
+
"bailian-cli-commands": "1.14.2",
|
|
42
|
+
"bailian-cli-runtime": "1.14.2",
|
|
43
|
+
"bailian-cli-core": "1.14.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@clack/prompts": "^0.7.0",
|