惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

aimingoo的专栏
aimingoo的专栏
Jina AI
Jina AI
WordPress大学
WordPress大学
Recent Announcements
Recent Announcements
G
Google Developers Blog
I
InfoQ
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Google DeepMind News
Google DeepMind News
P
Proofpoint News Feed
MyScale Blog
MyScale Blog
M
MIT News - Artificial intelligence
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
C
Check Point Blog
J
Java Code Geeks
T
Tailwind CSS Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Microsoft Security Blog
Microsoft Security Blog
MongoDB | Blog
MongoDB | Blog
V
Visual Studio Blog
人人都是产品经理
人人都是产品经理
量子位
A
About on SuperTechFans
D
DataBreaches.Net
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
docs(providers): rewrite Alibaba page with code-verified ...
vincentkoc · 2026-05-06 · via Recent Commits to openclaw:main

@@ -6,21 +6,42 @@ read_when:

66

- You need Model Studio or DashScope API key setup for video generation

77

---

889-

OpenClaw ships a bundled `alibaba` video-generation provider for Wan models on

10-

Alibaba Model Studio / DashScope.

11-12-

- Provider: `alibaba`

13-

- Preferred auth: `MODELSTUDIO_API_KEY`

14-

- Also accepted: `DASHSCOPE_API_KEY`, `QWEN_API_KEY`

15-

- API: DashScope / Model Studio async video generation

9+

OpenClaw ships a bundled `alibaba` plugin that registers a video-generation provider for Wan models on Alibaba Model Studio (the international name for DashScope). The plugin is enabled by default; you only need to set an API key.

10+11+

| Property | Value |

12+

| ---------------- | ------------------------------------------------------------------------------- |

13+

| Provider id | `alibaba` |

14+

| Plugin | bundled, `enabledByDefault: true` |

15+

| Auth env vars | `MODELSTUDIO_API_KEY``DASHSCOPE_API_KEY``QWEN_API_KEY` (first match wins) |

16+

| Onboarding flag | `--auth-choice alibaba-model-studio-api-key` |

17+

| Direct CLI flag | `--alibaba-model-studio-api-key <key>` |

18+

| Default model | `alibaba/wan2.6-t2v` |

19+

| Default base URL | `https://dashscope-intl.aliyuncs.com` |

16201721

## Getting started

18221923

<Steps>

2024

<Step title="Set an API key">

25+

Use onboarding to store the key against the `alibaba` provider:

26+27+

```bash

28+

openclaw onboard --auth-choice alibaba-model-studio-api-key

29+

```

30+31+

Or pass the key directly during install/onboarding:

32+2133

```bash

22-

openclaw onboard --auth-choice qwen-standard-api-key

34+

openclaw onboard --alibaba-model-studio-api-key <your-key>

2335

```

36+37+

Or export any of the accepted env vars before starting the Gateway:

38+39+

```bash

40+

export MODELSTUDIO_API_KEY=sk-...

41+

# or DASHSCOPE_API_KEY=...

42+

# or QWEN_API_KEY=...

43+

```

44+2445

</Step>

2546

<Step title="Set a default video model">

2647

```json5

@@ -35,66 +56,86 @@ Alibaba Model Studio / DashScope.

3556

}

3657

```

3758

</Step>

38-

<Step title="Verify the provider is available">

59+

<Step title="Verify the provider is configured">

3960

```bash

4061

openclaw models list --provider alibaba

4162

```

63+64+

The list should include all five bundled Wan models. If `MODELSTUDIO_API_KEY` is unresolved, `openclaw models status --json` reports the missing credential under `auth.unusableProfiles`.

65+4266

</Step>

4367

</Steps>

44684569

<Note>

46-

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.

70+

The Alibaba plugin and the [Qwen plugin](/providers/qwen) both authenticate against DashScope and accept overlapping env vars. Use `alibaba/...` model ids to drive the dedicated Wan video surface; use `qwen/...` ids when you want Qwen's chat, embedding, or media-understanding surface.

4771

</Note>

48724973

## Built-in Wan models

507451-

The bundled `alibaba` provider currently registers:

52-5375

| Model ref | Mode |

5476

| -------------------------- | ------------------------- |

55-

| `alibaba/wan2.6-t2v` | Text-to-video |

77+

| `alibaba/wan2.6-t2v` | Text-to-video (default) |

5678

| `alibaba/wan2.6-i2v` | Image-to-video |

5779

| `alibaba/wan2.6-r2v` | Reference-to-video |

5880

| `alibaba/wan2.6-r2v-flash` | Reference-to-video (fast) |

5981

| `alibaba/wan2.7-r2v` | Reference-to-video |

608261-

## Current limits

83+

## Capabilities and limits

84+85+

The bundled provider mirrors DashScope's Wan video API caps. All three modes share the same per-request video count and duration cap; only the input shape differs.

628663-

| Parameter | Limit |

64-

| --------------------- | --------------------------------------------------------- |

65-

| Output videos | Up to **1** per request |

66-

| Input images | Up to **1** |

67-

| Input videos | Up to **4** |

68-

| Duration | Up to **10 seconds** |

69-

| Supported controls | `size`, `aspectRatio`, `resolution`, `audio`, `watermark` |

70-

| Reference image/video | Remote `http(s)` URLs only |

87+

| Mode | Max output videos | Max input images | Max input videos | Max duration | Supported controls |

88+

| ------------------ | ----------------- | ---------------- | ---------------- | ------------ | --------------------------------------------------------- |

89+

| Text-to-video | 1 | n/a | n/a | 10 s | `size`, `aspectRatio`, `resolution`, `audio`, `watermark` |

90+

| Image-to-video | 1 | 1 | n/a | 10 s | `size`, `aspectRatio`, `resolution`, `audio`, `watermark` |

91+

| Reference-to-video | 1 | n/a | 4 | 10 s | `size`, `aspectRatio`, `resolution`, `audio`, `watermark` |

92+93+

When a request omits `durationSeconds`, the provider sends DashScope's accepted default of **5 seconds**. Set `durationSeconds` explicitly on the [video generation tool](/tools/video-generation) to extend up to 10 s.

71947295

<Warning>

73-

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

96+

Reference image and video inputs must be remote `http(s)` URLs. Local file paths are not accepted by DashScope's reference modes; upload to object storage first or use the [media tool](/tools/media-overview) flow that already produces a public URL.

7497

</Warning>

75987699

## Advanced configuration

7710078101

<AccordionGroup>

79-

<Accordion title="Relationship to Qwen">

80-

The bundled `qwen` provider also uses Alibaba-hosted DashScope endpoints for

81-

Wan video generation. Use:

102+

<Accordion title="Override the DashScope base URL">

103+

The provider defaults to the international DashScope endpoint. To target the China-region endpoint, set:

8210483-

- `qwen/...` when you want the canonical Qwen provider surface

84-

- `alibaba/...` when you want the direct vendor-owned Wan video surface

105+

```json5

106+

{

107+

models: {

108+

providers: {

109+

alibaba: {

110+

baseUrl: "https://dashscope.aliyuncs.com",

111+

},

112+

},

113+

},

114+

}

115+

```

8511686-

See the [Qwen provider docs](/providers/qwen) for more detail.

117+

The provider strips trailing slashes before constructing AIGC task URLs.

8711888119

</Accordion>

8912090-

<Accordion title="Auth key priority">

91-

OpenClaw checks for auth keys in this order:

121+

<Accordion title="Auth env priority">

122+

OpenClaw resolves the Alibaba API key from environment variables in this order, taking the first non-empty value:

9212393-

1. `MODELSTUDIO_API_KEY` (preferred)

124+

1. `MODELSTUDIO_API_KEY`

94125

2. `DASHSCOPE_API_KEY`

95126

3. `QWEN_API_KEY`

9612797-

Any of these will authenticate the `alibaba` provider.

128+

Configured `auth.profiles` entries (set via `openclaw models auth login`) override env-var resolution. See [Auth profiles in the models FAQ](/help/faq-models#what-is-an-auth-profile) for profile rotation, cooldown, and override mechanics.

129+130+

</Accordion>

131+132+

<Accordion title="Relationship to the Qwen plugin">

133+

Both bundled plugins talk to DashScope and accept overlapping API keys. Use:

134+135+

- `alibaba/wan*.*` ids to drive the dedicated Wan video provider documented on this page.

136+

- `qwen/*` ids for Qwen chat, embedding, and media understanding (see [Qwen](/providers/qwen)).

137+138+

Setting `MODELSTUDIO_API_KEY` once authenticates both plugins because the auth env var list intentionally overlaps; you do not need to onboard each plugin separately.

9813999140

</Accordion>

100141

</AccordionGroup>

@@ -106,9 +147,12 @@ Reference image/video mode currently requires **remote http(s) URLs**. Local fil

106147

Shared video tool parameters and provider selection.

107148

</Card>

108149

<Card title="Qwen" href="/providers/qwen" icon="microchip">

109-

Qwen provider setup and DashScope integration.

150+

Qwen chat, embedding, and media-understanding setup on the same DashScope auth.

110151

</Card>

111152

<Card title="Configuration reference" href="/gateway/config-agents#agent-defaults" icon="gear">

112153

Agent defaults and model configuration.

113154

</Card>

155+

<Card title="Models FAQ" href="/help/faq-models" icon="circle-question">

156+

Auth profiles, switching models, and resolving "no profile" errors.

157+

</Card>

114158

</CardGroup>