Open source · npm install in seconds

One command. Full Model Studio power in your agent.

Manage your console, generate AI content, and use professional skills — all from your terminal or AI agent. Supports Claude Code, Cursor, Windsurf and more.
Open source skill · Usage guide

Copy the text below and send it to your Agent to install the CLI

$Please read: https://bailian.aliyun.com/cli/install.md and follow the instructions to install Model Studio CLI for me
< 2 min setup·Supports Claude Code, Cursor, Windsurf·200+ models
01 What you get

Three pillars of Model Studio CLI

Everything your agent needs to access Model Studio services — from gateway to generation to management.

Your Gateway to Model Studio

Quick registration, easy access to all Model Studio services, and API key management from your terminal.

  • Sign up in seconds
  • API key in one command
  • Console access anywhere

Manage Everything from CLI

Token usage, Plan management, system administration — no web console needed.

  • Track token usage
  • Manage subscription plans
  • Configure workspaces

AI Generation + Professional Skills

Access 200+ models for text, image, video, speech generation. 40+ professional skills built in.

  • Text, image, video, speech generation
  • 40+ built-in skills
  • RAG, memory, web search
02 Compatibility

Works with your favorite AI agents

Drop bl into any agent stack. Compatible with mainstream coding agents and frameworks — chain multiple capabilities with one install.

claudeClaude
cursorCursor
windsurfWindsurf
clineCline
qoderQoder
View all supported agents →
03 Get started

Install in seconds, then just ask

Let your AI Agent install and drive Model Studio CLI. You'll be generating in minutes.

Install video
1
Install the CLI
Please read: https://bailian.aliyun.com/cli/install.md and follow the instructions to install Model Studio CLI for me
2
Set up authentication
Please run bl auth login --console to sign in via the console
3
Start using
Please generate a set of e-commerce main images, 6 images, of a pure black summer men's T-shirt
For more tips & contributions, visit GitHub ↗
04 Use cases

One prompt, professional-grade output

Call Model Studio CLI inside any Agentic framework — a single prompt plus an expert skill unlocks complex, multi-step results.

See all 12 framework integrations +
Claude Code + qwen-image-2.0
Batch Product Image Generation — In Claude Code, ask the agent to run bl image generate to batch-produce product scene images in multiple sizes and styles.
Cursor + qwen3.5-omni-plus
Multimodal Product Analysis — Paste design drafts, videos, or audio in Cursor; the agent invokes bl omni to understand assets and requirements, then outputs code.
Qoder + happyhorse-1.0-t2v
Marketing Video Auto-Production — Describe the scene in natural language in Qoder IDE; the agent calls bl video generate to synthesize a 15-second marketing video.
Windsurf + cosyvoice-v3-flash
Podcast Audio Synthesis — After writing your script, have the agent call bl speech synthesize to output multi-voice, emotionally rich podcast audio with voice cloning.
LangChain + qwen3.6-plus
Real-Time RAG Q&A — Wrap bl search and bl knowledge retrieve as LangChain Tools, combined with qwen3.6-plus to build a real-time web + private knowledge RAG agent.
LangGraph + bl memory
Long-Term Memory Agent — Orchestrate agent state machines with LangGraph; use bl memory as a cross-session memory node for persistent user profiles.
AutoGen + qwen3-asr-flash
Meeting Transcription & Summaries — AutoGen's UserProxy calls bl speech recognize for audio-to-text, then AssistantAgent uses qwen3.6-plus to generate meeting minutes.
CrewAI + happyhorse-1.0
Multi-Agent Video Post-Production — Script Agent → Storyboard Agent → Post-Production Agent sequentially call bl video edit for automated video editing and subtitle insertion.
Dify / Coze + qwen-image-2.0
Workflow Image Generation Node — Add custom tool nodes in Dify or Coze workflows to call bl image generate/edit, adding image capabilities to existing applications.
n8n + bl
Automated AI Content Pipeline — Use n8n's Execute Command node to call bl, connecting webhooks to content generation with output written to Notion, Feishu, or S3.
Cline + qwen-vl-max
Screenshot Understanding + Code Fix — Within Cline, call bl vision describe to understand error screenshots, then generate a fix PR using context.
MCP Client + bl MCP Server
One Config, Multiple Clients — Start bl as an MCP Server; any MCP-compatible client (Claude Desktop, Cursor, Cline, Windsurf, Qoder) can auto-discover and invoke capabilities.

All-model credits, up to 4.5× off

One-time new-customer offer covering 150+ text, image, video & speech models. Final pricing at checkout.

All-Model Credit ¥20
50% off · limited time
¥10/ first month
was ¥20.00
  • Get ¥20 of usable model credits
  • Entry-level taster pick
  • Best for individual developers exploring full-modal projects
Buy now
Most popular
All-Model Credit ¥100
50% off · limited time
¥50/ first month
was ¥100.00
  • Get ¥100 of usable model credits
  • Everyday pick for small teams
  • Best for teams & studios with steady usage
Buy now
All-Model Credit ¥500
50% off · limited time
¥250/ first month
was ¥500.00
  • Get ¥500 of usable model credits
  • High-frequency add-on
  • Best for production-scale invocation
Buy now

The CLI is free & open-source. Usage is billed per model API call — new users get free credits.

05 FAQ

Frequently asked questions

Start building with Model Studio CLI

Empower your agents with leading foundation models. Free and open-source — all you need is an API Key.

Model Studio CLI — One Command to Invoke Full-Modal AI