Wan (Alibaba)
Shanone’s Wan integration gives your agent 4 tools for generating video from a text prompt or a source image, and for tracking those (asynchronous) generation jobs through Alibaba Cloud’s DashScope API. It’s a small, focused integration rather than a broad platform API.Getting Started
1
Generate a DashScope API key
In the Alibaba Cloud DashScope console, create an API key with access to the Wan video generation models.
2
Connect the API key in Shanone
Ask your agent to do something with Wan (e.g. “generate a video of a paper airplane flying through a city”), or add the API key proactively from Integrations in the Shanone dashboard.
3
Retry your request
Once connected,
shanone_execute_tool calls for wan_* tools will succeed.Available Tools
Shanone provides 4 tools for Wan, organized into these categories:Video generation
Video generation
wan_text_to_video, wan_image_to_videoTask tracking
Task tracking
wan_get_task, wan_wait_for_taskCommon Use Cases
Text-to-video generation
Turn a scene description into a short video clip for a storyboard or social post
Image animation
Animate a static product photo or illustration into a short motion clip
Batch content generation
Queue several generation tasks and poll them for completion in a review pipeline
Creative exploration
Generate multiple variations from the same prompt to pick the best result
Troubleshooting
wan_text_to_video or wan_image_to_video doesn't return a video immediately
wan_text_to_video or wan_image_to_video doesn't return a video immediately
Video generation is asynchronous — both tools return a task ID that you should pass to
wan_wait_for_task (or poll manually with wan_get_task) until the job completes.wan_image_to_video fails on the source image
wan_image_to_video fails on the source image
Check
shanone_get_tool_schema for wan_image_to_video — the source image typically needs to be a publicly accessible URL rather than raw binary data, and must meet DashScope’s format/size requirements.