OpenClaw Reference (Mirrored)

Alibaba Model Studio

Mirrored from OpenClaw (MIT)
This mirror is provided for convenience. OpenClawdBots is not affiliated with or endorsed by OpenClaw.

Alibaba Model Studio

OpenClaw ships a bundled alibaba video-generation provider for Wan models on Alibaba Model Studio / DashScope.

  • Provider: alibaba
  • Preferred auth: MODELSTUDIO_API_KEY
  • Also accepted: DASHSCOPE_API_KEY, QWEN_API_KEY
  • API: DashScope / Model Studio async video generation

Getting started

  1. Set an API key
    openclaw onboard --auth-choice qwen-standard-api-key
    
  2. Set a default video model
    {
      agents: {
        defaults: {
          videoGenerationModel: {
            primary: "alibaba/wan2.6-t2v",
          },
        },
      },
    }
    
  3. Verify the provider is available
    openclaw models list --provider alibaba
    
NOTE

Any of the accepted auth keys (MODELSTUDIO_API_KEY, DASHSCOPE_API_KEY, QWEN_API_KEY) will work. The qwen-standard-api-key onboarding choice configures the shared DashScope credential.

Built-in Wan models

The bundled alibaba provider currently registers:

Model refMode
alibaba/wan2.6-t2vText-to-video
alibaba/wan2.6-i2vImage-to-video
alibaba/wan2.6-r2vReference-to-video
alibaba/wan2.6-r2v-flashReference-to-video (fast)
alibaba/wan2.7-r2vReference-to-video

Current limits

ParameterLimit
Output videosUp to 1 per request
Input imagesUp to 1
Input videosUp to 4
DurationUp to 10 seconds
Supported controlssize, aspectRatio, resolution, audio, watermark
Reference image/videoRemote http(s) URLs only
WARNING

Reference image/video mode currently requires remote http(s) URLs. Local file paths are not supported for reference inputs.

Advanced configuration

Relationship to Qwen

The bundled qwen provider also uses Alibaba-hosted DashScope endpoints for Wan video generation. Use:

  • qwen/... when you want the canonical Qwen provider surface
  • alibaba/... when you want the direct vendor-owned Wan video surface

See the Qwen provider docs for more detail.

Auth key priority

OpenClaw checks for auth keys in this order:

  1. MODELSTUDIO_API_KEY (preferred)
  2. DASHSCOPE_API_KEY
  3. QWEN_API_KEY

Any of these will authenticate the alibaba provider.