Skip to content

Commit b896c3f

Browse files
committed
chore(release): 1.1.1
Documentation-only patch release. - Add INSTALL.md for AI-Agent-driven installation - Sync root and packages/cli READMEs (EN + CN) - Drop unpkg links in favor of canonical sources - release.mjs: assert README sync before publishing
1 parent aab9efa commit b896c3f

9 files changed

Lines changed: 118 additions & 19 deletions

File tree

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,20 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
66

77
[中文版](CHANGELOG_CN.md) · [README](README.md) · [Contributing](CONTRIBUTING.md)
88

9+
## [1.1.1] - 2026-05-29
10+
11+
Documentation-only release. No CLI or SDK behavior changes.
12+
13+
### Added
14+
15+
- `INSTALL.md` with AI-Agent-driven installation instructions.
16+
17+
### Changed
18+
19+
- README cross-links between root and `packages/cli` are now in sync; CN README aligned with EN.
20+
- Removed unpkg links from README in favor of canonical sources.
21+
- `tools/release.mjs` now asserts root and `packages/cli` READMEs stay in sync before publishing.
22+
923
## [1.1.0] - 2026-05-28
1024

1125
Initial public release on GitHub. The CLI was previously developed internally; this is the first version published as open source under Apache-2.0.

CHANGELOG_CN.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,20 @@
66

77
[English](CHANGELOG.md) · [README](README_CN.md) · [参与贡献](CONTRIBUTING_CN.md)
88

9+
## [1.1.1] - 2026-05-29
10+
11+
仅文档更新,CLI 与 SDK 行为无变化。
12+
13+
### 新增
14+
15+
- 新增 `INSTALL.md`,提供面向 AI Agent 的安装指引。
16+
17+
### 变更
18+
19+
- 同步根目录与 `packages/cli` 的 README 互链;中文 README 与英文版对齐。
20+
- 移除 README 中的 unpkg 链接,改用官方来源。
21+
- `tools/release.mjs` 在发布前会校验根目录与 `packages/cli` 的 README 保持同步。
22+
923
## [1.1.0] - 2026-05-28
1024

1125
GitHub 上的首次公开发布。本项目此前在内部开发,这是首个以 Apache-2.0 协议开源的版本。

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[![TypeScript](https://img.shields.io/badge/TypeScript-strict-3178c6)](https://www.typescriptlang.org)
1111
[![License](https://img.shields.io/badge/license-Apache%202.0-blue)](LICENSE)
1212

13-
[Aliyun Model Studio CLI Site](https://bailian.console.aliyun.com/cli?source_channel=cli_github&) · [中文文档](README_CN.md) · [API Documentation](https://help.aliyun.com/zh/model-studio/) · [Get API Key](https://bailian.console.aliyun.com/cli?source_channel=key_github&)
13+
[Aliyun Model Studio CLI Site](https://bailian.console.aliyun.com/cli?source_channel=cli_github&) · [中文文档](https://github.com/modelstudioai/cli/blob/main/README_CN.md) · [API Documentation](https://help.aliyun.com/zh/model-studio/) · [Get API Key](https://bailian.console.aliyun.com/cli?source_channel=key_github&)
1414

1515
---
1616

@@ -173,8 +173,8 @@ Config file location: `~/.bailian/config.json`
173173

174174
## Changelog
175175

176-
Release notes for every version live in [CHANGELOG.md](CHANGELOG.md).
176+
Release notes for every version live in [CHANGELOG.md](https://github.com/modelstudioai/cli/blob/main/CHANGELOG.md).
177177

178178
## Contributing
179179

180-
Bug reports, feature requests, and PRs are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md) for developer setup, repo layout, and the workflow for adding or changing commands.
180+
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.

README_CN.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[![TypeScript](https://img.shields.io/badge/TypeScript-strict-3178c6)](https://www.typescriptlang.org)
1111
[![License](https://img.shields.io/badge/license-Apache%202.0-blue)](LICENSE)
1212

13-
[阿里云百炼 CLI 官方主页](https://bailian.console.aliyun.com/cli) · [English](README.md) · [API 文档](https://help.aliyun.com/zh/model-studio/) · [获取 API Key](https://bailian.console.aliyun.com/cn-beijing/?tab=app#/api-key)
13+
[阿里云百炼 CLI 官方主页](https://bailian.console.aliyun.com/cli) · [English](https://github.com/modelstudioai/cli/blob/main/README.md) · [API 文档](https://help.aliyun.com/zh/model-studio/) · [获取 API Key](https://bailian.console.aliyun.com/cn-beijing/?tab=app#/api-key)
1414

1515
---
1616

@@ -171,8 +171,8 @@ bl update
171171

172172
## 更新日志
173173

174-
每个版本的变更详情记录在 [CHANGELOG_CN.md](CHANGELOG_CN.md)
174+
每个版本的变更详情记录在 [CHANGELOG_CN.md](https://github.com/modelstudioai/cli/blob/main/CHANGELOG_CN.md)
175175

176176
## 参与贡献
177177

178-
欢迎提 Issue、Feature Request 和 PR。开发环境搭建、仓库结构、新增/修改命令的工作流请见 [CONTRIBUTING_CN.md](CONTRIBUTING_CN.md)
178+
欢迎提 Issue、Feature Request 和 PR。开发环境搭建、仓库结构、新增/修改命令的工作流请见 [CONTRIBUTING_CN.md](https://github.com/modelstudioai/cli/blob/main/CONTRIBUTING_CN.md)

packages/cli/README.md

Lines changed: 35 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<div align="center">
22

3-
<img src="https://img.alicdn.com/imgextra/i1/O1CN01RSQFUD1jN5IBzHORt_!!6000000004535-2-tps-2440-521.png" alt="Aliyun Model Studio CLI" width="420" />
3+
<img src="https://img.alicdn.com/imgextra/i1/O1CN01kGgO3z1N30OINgUoG_!!6000000001513-2-tps-1915-821.png" alt="Aliyun Model Studio CLI" />
44

5-
# >\_ Aliyun Model Studio CLI
65

76
**The official command-line interface for Aliyun Model Studio (DashScope) AI Platform**
87

@@ -11,7 +10,7 @@
1110
[![TypeScript](https://img.shields.io/badge/TypeScript-strict-3178c6)](https://www.typescriptlang.org)
1211
[![License](https://img.shields.io/badge/license-Apache%202.0-blue)](LICENSE)
1312

14-
[Aliyun Model Studio CLI Site](https://bailian.console.aliyun.com/cli) · [中文文档](https://github.com/modelstudioai/cli/blob/main/README_CN.md) · [API Documentation](https://help.aliyun.com/zh/model-studio/) · [Get API Key](https://bailian.console.aliyun.com/cn-beijing/?tab=app#/api-key)
13+
[Aliyun Model Studio CLI Site](https://bailian.console.aliyun.com/cli?source_channel=cli_github&) · [中文文档](https://github.com/modelstudioai/cli/blob/main/README_CN.md) · [API Documentation](https://help.aliyun.com/zh/model-studio/) · [Get API Key](https://bailian.console.aliyun.com/cli?source_channel=key_github&)
1514

1615
---
1716

@@ -38,10 +37,38 @@ Equip your AI Agent out-of-the-box with these capabilities, composable across co
3837
- **Console capabilities** — Browse Bailian apps (`app list`) and check free-tier quota (`usage free`)
3938
- **Local file auto-upload** — Every URL parameter accepts a local path; uploaded to free temp storage with 48-hour validity
4039

40+
## Showcase: One-Sentence Cinematic Video
41+
4142
<p align="center">
42-
<img src="https://img.alicdn.com/imgextra/i1/O1CN01Df2LiL1IcCkXJROYz_!!6000000000913-2-tps-759-426.png" alt="bl --help" width="720" />
43+
<a href="https://cloud.video.taobao.com/vod/dS2F4huqbw5Nfe5L3wwb3grz2q2DNYD3retq8dU-iHo.mp4">
44+
<img src="https://img.alicdn.com/imgextra/i1/O1CN01Q5052k232Hd36NodG_!!6000000007197-0-tps-2940-1656.jpg" alt="Click to play the demo video" width="720" />
45+
</a>
4346
</p>
4447

48+
<p align="center"><i>👆 Click the cover to play the full 2-minute demo</i></p>
49+
50+
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:
51+
52+
- **[Qwen Code](https://github.com/QwenLM/qwen-code)** — the agentic coding model that interprets the user's intent and drives the workflow
53+
- **[Aliyun Model Studio CLI](https://bailian.console.aliyun.com/cli?source_channel=cli_github&)** — invokes **HappyHorse 1.0**, Aliyun Model Studio's text-/image-/reference-to-video generation model
54+
- **[spark-video Skill](https://github.com/JohnKeating1997/spark-video)** — handles scene decomposition, storyboarding, shot continuity, and final stitching
55+
56+
### The single prompt
57+
58+
> *"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."*
59+
>
60+
> *(Original: "帮我生成一段日系影视风格,高中女生的青涩初恋故事,剧情高甜,让人看了想谈恋爱,2分钟左右的视频,尺寸是16:9")*
61+
62+
### How it works
63+
64+
1. **Qwen Code** parses the request, plans the narrative beats, and decides which tools to call.
65+
2. The **spark-video Skill** breaks the story into shots, writes per-shot prompts, and enforces visual continuity (characters, lighting, palette, lens language).
66+
3. **`bl video generate`** dispatches each shot to **HappyHorse 1.0** in parallel.
67+
4. The skill stitches all clips back together into a single 16:9 / ~2-min deliverable.
68+
69+
No timeline scrubbing. No frame-by-frame editing. Just one sentence → one video.
70+
71+
4572
## Installation
4673

4774
```bash
@@ -77,13 +104,13 @@ bl app list
77104
bl usage free --model qwen3-max
78105
```
79106

80-
> More examples and scenarios: [Aliyun Model Studio CLI Site](https://bailian.console.aliyun.com/cli)
107+
> More examples and scenarios: [Aliyun Model Studio CLI Site](https://bailian.console.aliyun.com/cli?source_channel=cli_github&)
81108
82109
## Authentication
83110

84111
### DashScope API Key
85112

86-
Required for most commands. Get your key from the [DashScope Console](https://bailian.console.aliyun.com/cn-beijing/?tab=app#/api-key).
113+
Required for most commands. Get your key from the [DashScope Console](https://bailian.console.aliyun.com/cli?source_channel=key_github&).
87114

88115
```bash
89116
# Option 1: Environment variable
@@ -137,11 +164,11 @@ Config file location: `~/.bailian/config.json`
137164

138165
| Resource | URL |
139166
| :--------------------------- | :-------------------------------------------------------------- |
140-
| Aliyun Model Studio CLI Site | https://bailian.console.aliyun.com/cli |
167+
| Aliyun Model Studio CLI Site | https://bailian.console.aliyun.com/cli?source_channel=cli_github& |
141168
| DashScope API Docs | https://help.aliyun.com/zh/model-studio/ |
142169
| Qwen Model List | https://help.aliyun.com/zh/model-studio/getting-started/models |
143170
| Aliyun Model Studio Console | https://bailian.console.aliyun.com/ |
144-
| Get API Key | https://bailian.console.aliyun.com/cn-beijing/?tab=app#/api-key |
171+
| Get API Key | https://bailian.console.aliyun.com/cli?source_channel=key_github& |
145172
| Get AccessKey | https://ram.console.aliyun.com/manage/ak |
146173

147174
## Changelog

packages/cli/README_CN.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<div align="center">
22

3-
<img src="https://img.alicdn.com/imgextra/i1/O1CN01RSQFUD1jN5IBzHORt_!!6000000004535-2-tps-2440-521.png" alt="Aliyun Model Studio CLI" width="420" />
3+
<img src="https://img.alicdn.com/imgextra/i1/O1CN01kGgO3z1N30OINgUoG_!!6000000001513-2-tps-1915-821.png" alt="Aliyun Model Studio CLI" />
44

5-
# >\_ Aliyun Model Studio CLI
65

76
**阿里云百炼 (DashScope) AI 平台命令行工具**
87

@@ -38,10 +37,36 @@ _专为 AI Agent 打造,每个命令均可作为结构化工具调用。_
3837
- **控制台能力** — 浏览百炼应用(`app list`),查询模型免费额度(`usage free`
3938
- **本地文件自动上传** — 所有 URL 参数同时支持本地路径,免费临时存储 48 小时
4039

40+
## 示例:一句话生成一部电影短片
41+
4142
<p align="center">
42-
<img src="https://img.alicdn.com/imgextra/i1/O1CN01Df2LiL1IcCkXJROYz_!!6000000000913-2-tps-759-426.png" alt="bl --help" width="720" />
43+
<a href="https://cloud.video.taobao.com/vod/dS2F4huqbw5Nfe5L3wwb3grz2q2DNYD3retq8dU-iHo.mp4">
44+
<img src="https://img.alicdn.com/imgextra/i1/O1CN01Q5052k232Hd36NodG_!!6000000007197-0-tps-2940-1656.jpg" alt="点击播放演示视频" width="720" />
45+
</a>
4346
</p>
4447

48+
<p align="center"><i>👆 点击封面播放完整 2 分钟演示</i></p>
49+
50+
一部完整的 **2 分钟、16:9 电影感短片** —— 由一句自然语言端到端生成,**全程零手动剪辑**。这个示例展示了 AI Agent 如何把三个基础能力编排成一条多步创作流水线:
51+
52+
- **[Qwen Code](https://github.com/QwenLM/qwen-code)** —— Agentic coding 模型,解析用户意图、驱动整个工作流
53+
- **[阿里云百炼 CLI](https://github.com/modelstudioai/cli/)** —— 调用 **HappyHorse 1.0**,百炼的文生/图生/参考生视频模型
54+
- **[spark-video Skill](https://github.com/JohnKeating1997/spark-video)** —— 负责场景拆分、分镜设计、镜头连贯性和最终拼接
55+
56+
### 唯一的提示词
57+
58+
> *"帮我生成一段日系影视风格,高中女生的青涩初恋故事,剧情高甜,让人看了想谈恋爱,2 分钟左右的视频,尺寸是 16:9"*
59+
60+
### 工作流程
61+
62+
1. **Qwen Code** 解析需求、规划叙事节奏,决定要调用哪些工具。
63+
2. **spark-video Skill** 把故事拆成镜头、为每个镜头写提示词,并保证视觉连贯性(角色、光线、色调、镜头语言)。
64+
3. **`bl video generate`** 把每个镜头并行下发给 **HappyHorse 1.0**
65+
4. Skill 把所有片段拼成最终的 16:9 / 约 2 分钟成片。
66+
67+
没有时间线拖拽,没有逐帧剪辑。一句话 → 一部短片。
68+
69+
4570
## 安装
4671

4772
```bash

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bailian-cli",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "CLI for Aliyun Model Studio (DashScope) AI Platform.",
55
"keywords": [
66
"agent",

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bailian-cli-core",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "Core SDK for bailian-cli. See https://www.npmjs.com/package/bailian-cli for usage.",
55
"homepage": "https://bailian.console.aliyun.com/cli",
66
"bugs": {

tools/release.mjs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,28 @@ function assertCorePackage(coreExtractDir) {
186186
}
187187
}
188188

189+
function assertReadmeSync() {
190+
step("Checking README sync between root and packages/cli");
191+
for (const file of ["README.md", "README_CN.md"]) {
192+
const rootPath = join(ROOT, file);
193+
const cliPath = join(ROOT, "packages/cli", file);
194+
const rootBuf = readFileSync(rootPath);
195+
const cliBuf = readFileSync(cliPath);
196+
if (!rootBuf.equals(cliBuf)) {
197+
fail(
198+
`${file} differs between root and packages/cli. ` +
199+
`Sync them manually (e.g. \`cp ${file} packages/cli/${file}\`).`,
200+
);
201+
}
202+
log(`${file}: in sync`);
203+
}
204+
}
205+
189206
function validatePackages() {
190207
const jsonByKey = new Map();
191208

209+
assertReadmeSync();
210+
192211
step("Checking package metadata");
193212
for (const pkg of PACKAGES) {
194213
const json = packageJson(pkg);

0 commit comments

Comments
 (0)