Alibaba ships Wan CLI to put video gen in agents
Alibaba's Wan team released a command-line tool that lets coding agents call its image and video models programmatically, installed by pasting one command.
Generative video as a callable tool
Alibaba's Wan team announced the Wan CLI on Tuesday, a command-line interface that lets AI agents invoke Wan's image and video generation directly rather than through a web UI. The installation path the team described is deliberately agent-shaped: log in at wan.video, find the CLI section in the lower-left of the interface, copy the provided command, and paste it into an agent, which installs the tool itself.
Once installed, an agent can generate images and video programmatically as part of a longer workflow — scripting a sequence of shots, iterating on a prompt against a returned result, or wiring generation into a build step. Alibaba had already published Wan-skills, an Apache 2.0 repository of agent skills covering its Wan 2.7 image model and a document-to-slides generator, alongside the DashScope APIs on Model Studio. The CLI collapses that surface into a single installable entry point.
The team paired the launch with fresh material on Wan-Animate-2-Lite, the efficiency variant of the character-animation model it open-sourced on August 7. Wan says the Lite variant generates arbitrarily long sequences chunk by chunk with no observable error accumulation, which is the property that matters for streaming avatars and live hosts rather than fixed-length clips.
Why it matters
Generative video has so far been sold mostly as a destination product — a site you visit, a credit you spend, a clip you download. The competitive question now shifting into view is which video model becomes the default primitive that agents reach for when a task happens to need moving pictures. That is a distribution fight with different economics: whoever is installed inside agent workflows captures repeated programmatic calls rather than discrete creative sessions, and gets embedded in pipelines that are costly to rip out.
Alibaba is moving early there, and from an unusual position — it ships both open weights that anyone can self-host and a hosted API, so agent integration feeds a paid endpoint without foreclosing local use. Rivals including Runway, Kuaishou's Kling and ByteDance's Seedance have been expanding through platform partnerships and third-party canvases instead. A CLI is a smaller artifact than a model release, but it is aimed squarely at where AIGC and agent tooling are converging.