阿里百炼

aliyun-use

by cnlangzi

Aliyun Bailian(百炼) for LLM chat, and language translation. Use when you need to generate code, generate text with LLMs, or translate between languages.

4.5k内容与创意未扫描2026年3月23日

安装

claude skill add --url github.com/openclaw/skills/tree/main/skills/cnlangzi/aliyun-use

必需环境变量

ALIYUN_BAILIAN_API_KEY

文档

Aliyun Bailian(百炼) for OpenClaw

Call Alibaba Cloud Bailian (百炼) LLM models via the DashScope API.

Setup

Get your API key from: https://bailian.console.aliyun.com/

Set the environment variable:

bash
export ALIYUN_BAILIAN_API_KEY="your-api-key"
export ALIYUN_BAILIAN_API_HOST="https://coding.dashscope.aliyuncs.com/apps/anthropic"  # optional, default provided

CLI Commands

bash
python -m scripts chat --model qwen3.5-plus --messages '[{"role": "user", "content": "Hello"}]'
python -m scripts translate --text "Hello" --target-lang zh
python -m scripts models

Commands Overview

CommandWhat it does
chatGeneral-purpose chat completion with Qwen, GLM, Kimi, MiniMax models
translateTranslate text between languages
modelsList all available models

Chat

General-purpose chat completion via DashScope Anthropic API.

Usage

bash
python -m scripts chat --model qwen3.5-plus --messages '[{"role": "user", "content": "Hello"}]'

Parameters

  • --model (string, optional) — Model name. Default: qwen3.5-plus
  • --messages (string, required) — JSON array of {role, content}. Roles: system, user, assistant
  • --temperature (float, optional) — Sampling temperature 0-1. Default: 0.7
  • --max-tokens (integer, optional) — Max tokens to generate. Default: 2048
  • --stream (boolean, optional) — Enable streaming. Default: false

Available Models

Flagship: qwen3.5-plus, qwen3-max-2026-01-23

Coder: qwen3-coder-next, qwen3-coder-plus

Other: glm-5, glm-4.7, kimi-k2.5, MiniMax-M2.5

Translate

Translate text between languages using the LLM.

Usage

bash
python -m scripts translate --text "Hello" --target-lang zh
python -m scripts translate --text "你好" --target-lang en --source-lang zh

Parameters

  • --text (string, required) — Text to translate
  • --target-lang (string, optional) — Target language code. Default: en
  • --source-lang (string, optional) — Source language code. Default: auto

Supported Languages

en (English), zh (Chinese), ja (Japanese), ko (Korean), es (Spanish), fr (French), de (German), ru (Russian), ar (Arabic), pt (Portuguese), it (Italian), th (Thai), vi (Vietnamese), id (Indonesian)

Python Usage

python
from scripts import chat, translate

# Chat
result = chat(messages=[{"role": "user", "content": "Hello"}], model="qwen3.5-plus")

# Translate
result = translate(text="Hello", target_lang="zh")

Response Format

json
{ "success": true, "result": {...} }
{ "success": false, "error": "error message" }

Notes

  • Default API host: https://coding.dashscope.aliyuncs.com/apps/anthropic (set via ALIYUN_BAILIAN_API_HOST)
  • The API uses Anthropic-compatible format — messages are converted to Anthropic API format internally
  • Coding Plan API key (sk-sp-xxx) is different from regular DashScope API key
  • For reasoning tasks: try qwen3-max-2026-01-23 or kimi-k2.5
  • For coding tasks: use qwen3-coder-next or qwen3-coder-plus

Learn More

  • Full API documentation: references/API.md
  • Available models: assets/models.json

相关 Skills

文档共著

by anthropics

Universal
热门

围绕文档、提案、技术规格、决策记录等写作任务,按上下文收集、结构迭代、读者测试三步协作共创,减少信息遗漏,写出更清晰、经得起他人阅读的内容。

写文档、方案或技术规格时容易思路散、信息漏,它用结构化共著流程帮你高效传递上下文、反复打磨内容,还能从读者视角做验证。

内容与创意
未扫描149.6k

内部沟通

by anthropics

Universal
热门

按公司常用模板和语气快速起草内部沟通内容,覆盖 3P 更新、状态报告、领导汇报、项目进展、事故复盘、FAQ 与 newsletter,适合需要统一格式的团队沟通场景。

按公司偏好的模板快速产出状态汇报、领导更新和 FAQ,既省去反复改稿,也让内部沟通更统一、更专业。

内容与创意
未扫描149.6k

平面设计

by anthropics

Universal
热门

先生成视觉哲学,再落地成原创海报、艺术画面或其他静态设计,输出 .png/.pdf,强调构图、色彩与空间表达,适合需要高完成度视觉成品的场景。

做海报、插画或静态视觉稿时,用它能快速产出兼顾美感与版式的PNG/PDF成品,原创设计更省心,也更适合规避版权风险。

内容与创意
未扫描149.6k

相关 MCP 服务

免费的加密新闻聚合 MCP,汇集 Bitcoin、Ethereum、DeFi、Solana 与 altcoins 资讯源。

内容与创意
236

by ProfessionalWiki

让 Large Language Model 客户端无缝连接任意 MediaWiki 站点,可创建、更新、搜索页面,并通过 OAuth 2.0 安全管理内容。

内容与创意16 个工具
97

用于Adobe Photoshop自动化的MCP server,让AI assistants直接控制Photoshop。

内容与创意
97

评论