cli

by modelstudioaiVerified

Official Model Studio CLI(阿里云百炼 CLI)built for AI Agent frameworks, exposing models, search, multimodal, and workflow capabilities as structured tool calls.

312
Stars
23
Forks
TypeScript
Language
8/23/2026
Added
View on GitHubDownload ZIP

⚠️ Third-Party Software Notice

This skill is third-party open-source software developed and hosted independently on GitHub. SkillTip is an informational directory and does not control or maintain the underlying repository. Any security checks displayed are automated and limited in scope. Review the source code before installing.

Read the Terms of Service

Installation

Add to your Claude Code skills directory:

# Add to your Claude Code skills
git clone https://github.com/modelstudioai/cli

Getting Started

Guides for using skills like cli.

Security Report

Verified

Last scanned: —

{
  "status": "PASSED",
  "issues": []
}

README.md

Aliyun Model Studio CLI

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

npm version Node.js TypeScript License

Aliyun Model Studio CLI Site · 中文文档 · API Documentation · Get API Key


Chat with Qwen, generate and edit images and videos, understand images, synthesize and recognize speech, call apps, manage memory, retrieve knowledge, search the web — every AI capability, one command away.

Built for AI Agents. Every command works as a structured tool call.

Features

  • Model generation — Full-modality generation across text, image, video, and speech, with editing and reference-based generation
  • Asset understanding — Parse and ask questions about images, documents, audio, and long videos
  • App orchestration — Call Managed Agents, agents, and workflows published on Aliyun Model Studio, wired to knowledge bases, memory, web search, and MCP tools
  • Training & deployment — Validate and upload datasets, fine-tune models, deploy dedicated models as endpoints
  • Account operations — Login, UI-based configuration, model marketplace, usage and quota, rate-limit increases, team seat management
  • Plan onboarding — Connect subscription plans such as Token Plan to the CLI and common coding agents in one step

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.

Showcase 1: A Cinematic Short Film from One Sentence

Click to play the demo video

👆 Click the cover to play the full 2-minute demo

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:

  • Qwen Code — the agentic coding model that interprets the user's intent and drives the workflow
  • Aliyun Model Studio CLI — invokes HappyHorse 1.1, Aliyun Model Studio's text-/image-/reference-to-video generation model
  • spark-video Skill — handles scene decomposition, storyboarding, shot continuity, and final stitching

The single prompt

"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."

Showcase 2: A Short-Film Director Managed Agent from One Sentence

Click to play the demo video

👆 Click the cover to play the full demo

One sentence builds a reusable cloud-side short-film director for storyboarding, storyboard image generation, and video creation:

  • Qwen Code — understands the requirement and generates the agent configuration
  • Aliyun Model Studio CLI — validates the configuration, previews the changes, and completes the deployment
  • Managed Agent — runs the director role along with its skills and tools in the cloud

The single prompt

"Build me a Managed Agent app that can produce short films — a director expert that generates videos and can also design the matching storyboards."

Installation

Agent install (recommended)

Send the following to your Agent — it will detect your environment, then install and verify the CLI for you:

Please read https://bailian.aliyun.com/cli/install.md and install the Aliyun Model Studio CLI for me

Install with NPM

npm install -g bailian-cli
bl skill init

Requires Node.js >= 18.17.

Install on macOS/Linux

curl -fsSL https://bailian.aliyun.com/cli/install.sh | bash

No Node.js required. The installer automatically installs Bailian Skills.

Install on Windows

irm https://bailian.aliyun.com/cli/install.ps1 | iex

No Node.js required. The installer automatically installs Bailian Skills.

Quick Start

Once installed, just describe your task to your AI Agent — no need to assemble commands by hand.

ScenarioWhat to say to your Agent
Managed Agent"Create a Managed Agent that can generate short-film storyboards and videos."
Image & video generation"Generate an image of a cat in a spacesuit on Mars, then turn it into a video."
Usage & quota"Show my recent model usage, free-tier quota, and rate limits."
Model selection"Recommend a model for image understanding and customer support."
About Bailian CLI"Tell me what Bailian CLI can do for me, and suggest how to use it for my needs."

More examples and scenarios: Aliyun Model Studio CLI Site

Authentication

API Key

Required for most commands. Get your key from the DashScope Console.

bl auth login --api-key sk-xxxxx

Get or copy your Token Plan API key from the Token Plan subscription overview.

bl auth login --config token-plan --api-key sk-sp-xxxxx

Console Login (OAuth)

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.

bl auth login --console

Alibaba Cloud OpenAPI AK/SK

Token Plan seat and member management requires an Alibaba Cloud AccessKey. Get yours from the RAM Console.

Recommended: create a RAM sub-account with minimum privileges instead of using the root account's AK/SK.

bl auth login --open-api --access-key-id LTAI5t... --access-key-secret ...

Configuration

# View current config
bl config show

# List all config profiles
bl config list

# Switch config profile
bl config use --name token-plan

# Switch the CLI interface to Chinese
bl config set --key language --value zh-CN

Config file location: ~/.bailian/config.json

Update

bl update

Upgrades the CLI to the latest version and refreshes the installed Agent Skills. Release notes for every version live in CHANGELOG.md.

Contributing

Bug reports, feature requests, and PRs are welcome. See CONTRIBUTING.md for developer setup, repo layout, and the workflow for adding or changing commands.

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.

Aliyun Model Studio CLI DingTalk user group

Links

Frequently Asked Questions

What is cli?

cli is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by modelstudioai. Official Model Studio CLI(阿里云百炼 CLI)built for AI Agent frameworks, exposing models, search, multimodal, and workflow capabilities as structured tool calls. It has 312 GitHub stars.

Is cli safe to use?

Yes. cli passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install cli?

Clone the repository with "git clone https://github.com/modelstudioai/cli" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is cli written in?

cli is primarily written in TypeScript. It is open-source under modelstudioai on GitHub, so you can review or fork the full source.

Are there alternatives to cli?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh cli against similar tools.

Comments (0)

No comments yet. Be the first to share your thoughts!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI Agents
View details

Developers Also Liked

Based on votes and bookmarks from developers who liked this skill

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP Serversapisai-tools
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details