Skill LLM Aliyun Bailian China Mainland
Purpose
Build a validated China Mainland Aliyun Bailian request for a model already selected by the user or host project. This skill is an integration contract, not a model selector and not an execution layer.
Read Order
Read shared contracts first:
../_shared/route-key-schema.md../_shared/model-catalog-schema.md../_shared/pricing-matrix-schema.md../_shared/capability-matrix-schema.md../_shared/connection-profile-schema.md../_shared/request-url-matrix-schema.md../_shared/request-envelope.md../_shared/response-envelope.md../_shared/error-contract.md../_shared/progress-contract.md../_shared/ui-binding.md../_shared/sync-policy.md../_shared/logging-fields.md
Then read only what the request needs:
references/connection-profiles.mdreferences/workspace-configuration.mdreferences/request-urls.mdreferences/model-catalog.mdreferences/capability-matrix.mdreferences/model-parameters.mdfor optional fields or feature claims- the matching transport
references/pricing-matrix.mdonly when cost is relevantreferences/logging-contract.mdwhen logging is implementedreferences/model-sync.mdonly for an explicit update task
Runtime Rules
- Provider identifier is
aliyun-bailian-cn. - The maintained model allowlist is exactly the catalog in this folder. Do not silently retain, discover, or substitute another model.
- China Mainland and International are separate providers. Never copy an endpoint, price, availability statement, or rate limit across regions.
- Resolve an explicit connection profile and every declared connection input before URL construction. Workspace profiles require
ALIYUN_BAILIAN_CN_WORKSPACE_ID; shared profiles do not. Never switch profiles implicitly. - Resolve the full route key before reading capabilities: request kind, exact model ID, API surface, API version, and endpoint kind.
- A generic provider parameter table is not sufficient evidence. A field is usable only when the exact model/surface row or an official example confirms it.
unknownis fail-closed: reject the field and report which official fact is missing. Do not convert documentation silence intounsupported.qwen3.8-maxreasoning controls are surface-specific. Chat Completions and DashScope usereasoning_effort; Responses usesreasoning.effort. Never send bothreasoning_effortandthinking_budget.- OpenAI-compatible Responses, OpenAI-compatible Chat Completions, and DashScope-native multimodal generation are separate payload contracts.
- Qwen-Image 3.0 and Wan 2.7 are separate image families. Never copy Qwen-Image fields such as
prompt_extendto Wan, or Wan fields such asenable_sequential,thinking_mode,color_palette, andbbox_listto Qwen-Image. qwen-image-3.0has verified synchronous and asynchronous HTTP routes. Forqwen-image-3.0-pro, synchronous use is verified but asynchronous availability isunknownbecause Alibaba Cloud's model-specific API reference and error-code reference conflict; reject the Pro async route until the provider resolves the contradiction.- For a workspace-specific direct-model profile, the workspace ID is encoded in the hostname; a shared profile has no workspace placeholder. Do not add
X-DashScope-WorkSpaceto these routes unless a separate application-API contract explicitly requires it. - Preserve required reasoning/tool-call history exactly. Never expose raw hidden reasoning to the user.
- Reject fields marked
unsupportedorunknown; do not silently drop or rename them.
Request Flow
- Accept the exact requested model and operation.
- Resolve the regional profile and request URL.
- Resolve the exact catalog and capability row.
- Validate every requested field against
references/model-parameters.md. - Apply the matching transport without cross-surface translation.
- Normalize response, errors, progress, and logs through shared contracts.
Request Kinds
chat: text-first generation or agent turnsvision: image or video understandingimaging: image generation or editing
Out of Scope
- International Aliyun endpoints
- Agent App orchestration
- model ranking or automatic replacement
- request execution
- unlisted models