API reference · Alibaba

alibaba/wan/move

Integrate this model through SandBase's unified API, with production-ready schemas and examples.

VIDEOAsyncOpen model
Production endpoint

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

POSThttps://api.sandbase.ai/v1/run
Model IDalibaba/wan/move
01

Input Schema

4 parameters · 2 required · 2 optional

ParameterTypeRequiredDescription
imagestringRequiredURL of the input image. If the input image does not match the chosen aspect ratio, it is resized and center cropped.
promptstringRequiredText prompt to guide the video generation.
seedintegerOptionalRandom seed for reproducibility. If None, a random seed is chosen.
trajectoriesarray[]OptionalA list of trajectories. Each trajectory list means the movement of one object.
02

Output Schema

FieldTypeDescription
idstringUnique identifier for the generation task
statusstringTask status: pending, running, completed, failed, timeout
modelstringModel used for the generation
outputsarrayArray of output items
outputs[].urlstringURL of the generated artifact
outputs[].content_typestringMIME type (e.g. image/png, video/mp4)
errorobject | nullError details if failed, null on success
error.typestringMachine-readable error type code
error.messagestringHuman-readable error description

Async Workflow

This model uses asynchronous execution. Submit a request and poll for the result.

  1. Submit — POST to /v1/run, receive an id
  2. Poll — GET /v1/run/{id} until status is completed, failed, or timeout
  3. Retrieve — Read outputs from the completed response
03

Code Examples

Ready-to-run snippets

# Step 1: Submit
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "model": "alibaba/wan/move",
  "image": "https://static.sandbase.ai/examples/alibaba/wan/move/input_image_0.png",
  "prompt": "In a boxing gym, the camera captures a half-body view of a single man practicing shadow boxing inside the ring. The camera sways slightly, emphasizing movement and intensity. He wears black boxing gloves, black shorts, and boxing shoes. With no opponent present, he throws a controlled straight punch into the air, his lead arm fully extended while the other hand stays tight near his face in a defensive guard. His body rotates subtly through the hips and shoulders, and his feet shift lightly across the mat to maintain balance and rhythm. Sweat highlights his muscular form as he focuses forward, fully immersed in his training. The background features blurred gym equipment and hanging heavy bags, reinforcing the sense of motion and concentration.",
  "trajectories": [
    [
      {
        "x": 334,
        "y": 286,
        "speed": 1
      },
      {
        "x": 334,
        "y": 322,
        "speed": 1
      },
      {
        "x": 372,
        "y": 328,
        "speed": 1
      },
      {
        "x": 447,
        "y": 338,
        "speed": 1
      },
      {
        "x": 518,
        "y": 328,
        "speed": 1
      },
      {
        "x": 481,
        "y": 283,
        "speed": 1
      },
      {
        "x": 440,
        "y": 263,
        "speed": 1
      },
      {
        "x": 385,
        "y": 252,
        "speed": 1
      },
      {
        "x": 347,
        "y": 252,
        "speed": 1
      }
    ],
    [
      {
        "x": 555,
        "y": 262,
        "speed": 1
      },
      {
        "x": 505,
        "y": 242,
        "speed": 1
      },
      {
        "x": 466,
        "y": 243,
        "speed": 1
      },
      {
        "x": 440,
        "y": 264,
        "speed": 1
      },
      {
        "x": 439,
        "y": 287,
        "speed": 1
      },
      {
        "x": 471,
        "y": 330,
        "speed": 1
      },
      {
        "x": 541,
        "y": 345,
        "speed": 1
      },
      {
        "x": 572,
        "y": 335,
        "speed": 1
      },
      {
        "x": 589,
        "y": 303,
        "speed": 1
      }
    ]
  ]
}'

# Step 2: Poll result (replace <id>)
curl https://api.sandbase.ai/v1/run/<id> \
  -H "Authorization: Bearer YOUR_API_KEY"