Aliyun Model Studio CLI
The official command-line interface for Aliyun Model Studio (DashScope) AI Platform.
Verified
Core facts
Read by a script from the official API, not rewritten by a model.
- Repository
- https://github.com/modelstudioai/cli
- License
- Apache-2.0
- Languages
- TypeScript
- Maintainer
- modelstudioai
- Verified
What it is
Aliyun Model Studio CLI is the official command-line interface for Aliyun Model Studio (DashScope) AI Platform. Every command works as a structured tool call.
Main features
Model generation provides full-modality generation across text, image, video, and speech, with editing and reference-based generation.
App orchestration calls Managed Agents, agents, and workflows published on Aliyun Model Studio, wired to knowledge bases, memory, web search, and MCP tools.
Native MCP setup registers Bailian MCP servers in Codex, Claude Code, Cursor, Qoder, Qoder Work, QwenWork (千问办公), Qwen Code, Gemini CLI, or Pi.
Training and deployment cover validating and uploading datasets, fine-tuning models, and deploying dedicated models as endpoints.
Batch inference covers preparing CSV/JSONL, creating and following asynchronous Chat/Embedding tasks, downloading original results or errors, and sending one synchronous Batch Chat request.
Getting started
With Agent install, the Agent detects the environment, then installs and verifies the CLI.
After installation, the user describes a task to an AI Agent, with no need to assemble commands by hand.
ParseX parses documents or audio/video and extracts structured fields through the workspace-scoped ParseX API.
ParseX inputs are accessible HTTP(S) URLs, and extraction also accepts a retained document parsing task.
ParseX uses an ordinary API key and a workspace with ParseX access.
Please read https://bailian.aliyun.com/cli/install.md and install the Aliyun Model Studio CLI for menpm install -g bailian-cli
bl skill initcurl -fsSL https://bailian.aliyun.com/cli/install.sh | bashirm https://bailian.aliyun.com/cli/install.ps1 | iexbl parsex parse submit --workspace-id <workspace-id> --file-url "https://example.com/document.pdf" --file-name document.pdf --output-file-format markdown --output json
bl parsex parse result --workspace-id <workspace-id> --biz-id <parse-biz-id> --follow --output json
bl parsex extract submit --workspace-id <workspace-id> --parsed-file-biz-id <parse-biz-id> --schema-file schema.json --output json
bl parsex extract result --workspace-id <workspace-id> --biz-id <extract-biz-id> --follow --output jsonWho it is for
Account operations cover login, UI-based configuration, model marketplace, usage and quota, rate-limit increases, and team seat management. App orchestration, native MCP setup, training and deployment, account operations, and plan onboarding are currently available only to China site account holders and are not yet supported for international or global site accounts. Knowledge bases accrue running-time charges from creation, even without queries.
Closing the CLI or a later failure does not stop billing. Token Plan and other subscription plans cannot use the console option. Token Plan seat and member management requires an Alibaba Cloud AccessKey.
The project recommends creating a RAM sub-account with minimum privileges instead of using the root account's AK/SK. Synchronous Batch Chat is non-streaming, and explicit realtime, international, and Token Plan endpoints are rejected. Batch availability and limits depend on the service and model.
Sources
This page is written from the official sources below. Open them to check the original text.
- GitHub READMEhttps://github.com/modelstudioai/cliFetched
Verified ·
This page is written by AI from the official sources above and checked automatically. This site has not tested it. Found a mistake? Tell us.