中文

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.

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

  1. Model generation provides full-modality generation across text, image, video, and speech, with editing and reference-based generation.

  2. App orchestration calls Managed Agents, agents, and workflows published on Aliyun Model Studio, wired to knowledge bases, memory, web search, and MCP tools.

  3. Native MCP setup registers Bailian MCP servers in Codex, Claude Code, Cursor, Qoder, Qoder Work, QwenWork (千问办公), Qwen Code, Gemini CLI, or Pi.

  4. Training and deployment cover validating and uploading datasets, fine-tuning models, and deploying dedicated models as endpoints.

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

  1. With Agent install, the Agent detects the environment, then installs and verifies the CLI.

  2. After installation, the user describes a task to an AI Agent, with no need to assemble commands by hand.

  3. ParseX parses documents or audio/video and extracts structured fields through the workspace-scoped ParseX API.

  4. ParseX inputs are accessible HTTP(S) URLs, and extraction also accepts a retained document parsing task.

  5. ParseX uses an ordinary API key and a workspace with ParseX access.

From the README · text
Please read https://bailian.aliyun.com/cli/install.md and install the Aliyun Model Studio CLI for me
From the README · bash
npm install -g bailian-cli
bl skill init
From the README · bash
curl -fsSL https://bailian.aliyun.com/cli/install.sh | bash
From the README · powershell
irm https://bailian.aliyun.com/cli/install.ps1 | iex
From the README · bash
bl 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 json

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

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.