Wan video model

Access the Wan video model according to the actual model and channel configuration of this site.

Wan video is executed through the Alibaba Cloud task plug-in. Vincent, Tusheng and other reference models use different native structures, confirm the model version first.

Step one: preparation

Query the exact model ID, confirm input mode, material, duration and resolution. Generate audio, reference video, and batch size are all independent capabilities and are not inferred by the model name.

Step 2: Select the path

Mode Native path of this site’s plug-in
Vincent Video /ali/api/v1/services/aigc/video-generation/video-synthesis
Tusheng Video /ali/api/v1/services/aigc/image2video/video-synthesis
Query task /ali/api/v1/tasks/{id}

Native requests use the input/parameters schema of the corresponding model, and the top-level prompt of Unified Video cannot be directly regarded as all native interface structures.

Step 3: Unified protocol verification

Models that have declared support for unified video can be executed first:

curl --fail-with-body https://dunduntoken.com/v1/videos   -H "Authorization: Bearer $DUNDUN_API_KEY"   -H "Content-Type: application/json"   -d '{"model":"WAN_VIDEO_MODEL_ID","prompt":"微风吹动草地,固定镜头"}'

If the version requires other fields, please add them according to the model details. Save response ID, use unified query and content endpoint, see Video Task.

Step 4: Acceptance and recovery

Check the final state first, then the video frame, duration, motion and sound. Limited backoff is used for polling exceptions; check the record first when creating a timeout. When changing the Wan version, re-verify the parameters, materials and cost units, and do not use the old version successfully as a guarantee for the new version.