[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-82064":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":15,"starSnapshotCount":15,"syncStatus":34,"lastSyncTime":35,"discoverSource":36},82064,"cli","modelstudioai\u002Fcli","modelstudioai","Official Model Studio CLI（阿里云百炼 CLI）built for AI Agent frameworks, exposing models, search, multimodal, and workflow capabilities as structured tool calls.","https:\u002F\u002Fbailian.console.aliyun.com\u002Fcli",null,"TypeScript",224,11,1,0,3,39,113,18,78.74,"Apache License 2.0",false,"main",[25,26,5,27,28,29,30],"agent","aliyun","happyhorse","modelstudio","qwen","skills","2026-06-12 04:01:37","\u003Cdiv align=\"center\">\n\n\u003Cimg src=\"https:\u002F\u002Fimg.alicdn.com\u002Fimgextra\u002Fi1\u002FO1CN01kGgO3z1N30OINgUoG_!!6000000001513-2-tps-1915-821.png\" alt=\"Aliyun Model Studio CLI\" \u002F>\n\n**The official command-line interface for Aliyun Model Studio (DashScope) AI Platform**\n\n[![npm version](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002Fbailian-cli?color=0969da&label=npm)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fbailian-cli)\n[![Node.js](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fnode-%3E%3D22.12-brightgreen)](https:\u002F\u002Fnodejs.org)\n[![TypeScript](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FTypeScript-strict-3178c6)](https:\u002F\u002Fwww.typescriptlang.org)\n[![License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-Apache%202.0-blue)](LICENSE)\n\n[Aliyun Model Studio CLI Site](https:\u002F\u002Fbailian.console.aliyun.com\u002Fcli?source_channel=cli_github&) · [中文文档](https:\u002F\u002Fgithub.com\u002Fmodelstudioai\u002Fcli\u002Fblob\u002Fmain\u002FREADME_CN.md) · [API Documentation](https:\u002F\u002Fhelp.aliyun.com\u002Fzh\u002Fmodel-studio\u002F) · [Get API Key](https:\u002F\u002Fbailian.console.aliyun.com\u002Fcli?source_channel=key_github&)\n\n---\n\n_Chat with Qwen, generate images & videos, understand images, call agents,_\n_manage memory, search the web — all from your terminal._\n\n_Built for AI Agents. Every command works as a structured tool call._\n\n\u003C\u002Fdiv>\n\n## Features\n\nEquip your AI Agent out-of-the-box with these capabilities, composable across complex tasks:\n\n- **Text chat** — Qwen3.7-max: major gains in agentic coding, frontend coding, and vibe coding\n- **Multimodal (Omni)** — Full omni-modal support across text + image + audio + video\n- **Image generation & editing** — Qwen-Image 2.0: pro text rendering, photorealism, strong semantic adherence, multi-image composition\n- **Video generation & editing** — HappyHorse-1.0 series: text-\u002Fimage-\u002Freference-to-video and natural-language video editing (up to 9-image reference)\n- **Speech synthesis & recognition** — CosyVoice streaming TTS, voice cloning from 5–20s samples; FunAudio-ASR covers 30 languages including 7 Chinese dialects and 20+ Mandarin accents\n- **Image & video understanding** — Qwen-VL: long-form video analysis, chart\u002Fdocument parsing, visual reasoning, multilingual OCR\n- **Knowledge base & memory** — Multimodal RAG retrieval and cross-session memory for personalized, coherent dialogue\n- **App calls** — Invoke agents and workflows already published on Aliyun Model Studio\n- **Web search** — Real-time internet retrieval for up-to-date, accurate answers\n- **Console capabilities** — Browse Bailian apps (`app list`) and check free-tier quota (`usage free`)\n- **Local file auto-upload** — Every URL parameter accepts a local path; uploaded to free temp storage with 48-hour validity\n\n## Showcase: One-Sentence Cinematic Video\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fcloud.video.taobao.com\u002Fvod\u002FdS2F4huqbw5Nfe5L3wwb3grz2q2DNYD3retq8dU-iHo.mp4\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.alicdn.com\u002Fimgextra\u002Fi1\u002FO1CN01Q5052k232Hd36NodG_!!6000000007197-0-tps-2940-1656.jpg\" alt=\"Click to play the demo video\" width=\"720\" \u002F>\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\u003Ci>👆 Click the cover to play the full 2-minute demo\u003C\u002Fi>\u003C\u002Fp>\n\nA 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:\n\n- **[Qwen Code](https:\u002F\u002Fgithub.com\u002FQwenLM\u002Fqwen-code)** — the agentic coding model that interprets the user's intent and drives the workflow\n- **[Aliyun Model Studio CLI](https:\u002F\u002Fbailian.console.aliyun.com\u002Fcli?source_channel=cli_github&)** — invokes **HappyHorse 1.0**, Aliyun Model Studio's text-\u002Fimage-\u002Freference-to-video generation model\n- **[spark-video Skill](https:\u002F\u002Fgithub.com\u002FJohnKeating1997\u002Fspark-video)** — handles scene decomposition, storyboarding, shot continuity, and final stitching\n\n### The single prompt\n\n> _\"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.\"_\n>\n> _(Original: \"帮我生成一段日系影视风格，高中女生的青涩初恋故事，剧情高甜，让人看了想谈恋爱，2分钟左右的视频，尺寸是16:9\")_\n\n### How it works\n\n1. **Qwen Code** parses the request, plans the narrative beats, and decides which tools to call.\n2. The **spark-video Skill** breaks the story into shots, writes per-shot prompts, and enforces visual continuity (characters, lighting, palette, lens language).\n3. **`bl video generate`** dispatches each shot to **HappyHorse 1.0** in parallel.\n4. The skill stitches all clips back together into a single 16:9 \u002F ~2-min deliverable.\n\nNo timeline scrubbing. No frame-by-frame editing. Just one sentence → one video.\n\n## Installation\n\n```bash\nnpm install -g bailian-cli\nnpx skills add modelstudioai\u002Fskills --all -g\n```\n\n> Requires Node.js >= 22.12.\n\n## Quick Start\n\n```bash\n# Authenticate\nbl auth login --api-key sk-xxxxx\n\n# Chat with Qwen\nbl text chat --message \"What is DashScope?\"\n\n# Multimodal chat (text + image + audio + video)\nbl omni --message \"Describe this image\" --image .\u002Fphoto.jpg\n\n# Generate an image\nbl image generate --prompt \"A cat in a spacesuit\" --out-dir .\u002Fimages\u002F\n\n# Generate a video from local image\nbl video generate --image .\u002Fcat.png --prompt \"Make the cat move\" --download cat.mp4\n\n# Browser login (required for console capability commands)\nbl auth login --console\n\n# Browse apps \u002F free-tier quota\nbl app list\nbl usage free --model qwen3-max\n```\n\n> More examples and scenarios: [Aliyun Model Studio CLI Site](https:\u002F\u002Fbailian.console.aliyun.com\u002Fcli?source_channel=cli_github&)\n\n## Authentication\n\n### DashScope API Key\n\nRequired for most commands. Get your key from the [DashScope Console](https:\u002F\u002Fbailian.console.aliyun.com\u002Fcli?source_channel=key_github&).\n\n```bash\n# Option 1: Environment variable\nexport DASHSCOPE_API_KEY=sk-xxxxx\n\n# Option 2: Login command (persisted to ~\u002F.bailian\u002Fconfig.json)\nbl auth login --api-key sk-xxxxx\n\n# Option 3: Per-command flag\nbl text chat --api-key sk-xxxxx --message \"Hello\"\n```\n\n### Console Login (OAuth)\n\nRequired for console capability commands (`app list`, `usage free`). Opens the Bailian console in your browser to sign in.\n\n```bash\nbl auth login --console\n```\n\n### Alibaba Cloud AK\u002FSK (Knowledge Base only)\n\nRequired for `knowledge retrieve`. Get your AccessKey from [RAM Console](https:\u002F\u002Fram.console.aliyun.com\u002Fmanage\u002Fak).\n\n> Recommended: create a RAM sub-account with minimum privileges instead of using the root account's AK\u002FSK.\n\n```bash\nexport ALIBABA_CLOUD_ACCESS_KEY_ID=LTAI5t...\nexport ALIBABA_CLOUD_ACCESS_KEY_SECRET=...\nexport BAILIAN_WORKSPACE_ID=ws-...\n```\n\n## Configuration\n\n```bash\n# View current config\nbl config show\n\n# Set defaults\nbl config set --key region --value us\nbl config set --key default_text_model --value qwen-turbo\nbl config set --key timeout --value 600\n\n# Self-update to latest version\nbl update\n```\n\nConfig file location: `~\u002F.bailian\u002Fconfig.json`\n\n## Links\n\n| Resource                     | URL                                                               |\n| :--------------------------- | :---------------------------------------------------------------- |\n| Aliyun Model Studio CLI Site | https:\u002F\u002Fbailian.console.aliyun.com\u002Fcli?source_channel=cli_github& |\n| DashScope API Docs           | https:\u002F\u002Fhelp.aliyun.com\u002Fzh\u002Fmodel-studio\u002F                          |\n| Qwen Model List              | https:\u002F\u002Fhelp.aliyun.com\u002Fzh\u002Fmodel-studio\u002Fgetting-started\u002Fmodels    |\n| Aliyun Model Studio Console  | https:\u002F\u002Fbailian.console.aliyun.com\u002F                               |\n| Get API Key                  | https:\u002F\u002Fbailian.console.aliyun.com\u002Fcli?source_channel=key_github& |\n| Get AccessKey                | https:\u002F\u002Fram.console.aliyun.com\u002Fmanage\u002Fak                          |\n\n## Changelog\n\nRelease notes for every version live in [CHANGELOG.md](https:\u002F\u002Fgithub.com\u002Fmodelstudioai\u002Fcli\u002Fblob\u002Fmain\u002FCHANGELOG.md).\n\n## Contributing\n\nBug reports, feature requests, and PRs are welcome. See [CONTRIBUTING.md](https:\u002F\u002Fgithub.com\u002Fmodelstudioai\u002Fcli\u002Fblob\u002Fmain\u002FCONTRIBUTING.md) for developer setup, repo layout, and the workflow for adding or changing commands.\n","阿里云百炼 CLI 是官方为AI代理框架设计的命令行工具，旨在通过结构化的工具调用方式提供模型、搜索、多模态及工作流等功能。其核心功能包括文本聊天、多模态处理（如图像与视频生成编辑）、语音合成与识别、图像与视频理解、知识库与记忆管理、应用调用以及实时网络搜索等，支持Qwen、HappyHorse等多种先进模型。该工具适合需要在终端环境中快速集成并利用上述AI能力的应用场景，比如自动化内容创作、智能客服系统构建或个人助手开发等。采用TypeScript编写，并遵循Apache License 2.0开源协议发布。",2,"2026-06-11 04:07:37","CREATED_QUERY"]