Video Generationtextimagevideoaudio
Wan 3.0 Video
阿里巴巴万相 Wan 3.0 统一视频生成模型,支持文生视频、首尾帧,以及图像、视频和音频参考生成,并可生成音轨。
Input
Generation mode
Describe the video with text only, no images required.
Duration
230
Watermark
Resolution
Aspect ratio
Generate audio
Ready to generateAPI Reference
POSThttps://api.token360.ai/v1/videos# Step 1: Create video generation task
curl https://api.token360.ai/v1/videos \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your-api-key" \
-d '{
"model": "wan3.0-video",
"prompt": "A cat walking across a room",
"duration": 5,
"watermark": false,
"resolution": "1080p",
"aspect_ratio": "adaptive",
"generate_audio": true
}'
# Step 2: Poll for completion (replace VIDEO_ID with the id from step 1)
curl https://api.token360.ai/v1/videos/VIDEO_ID \
-H "Authorization: Bearer your-api-key"API Documentation
Overview#
Wan 3.0 Video supports text-to-video, first/last-frame image-to-video, and reference generation from images, video, and audio through POST /v1/videos.
Output controls#
Use duration=-1 for smart duration or 2-30 seconds. Resolutions are 480p, 720p, and 1080p; aspect_ratio supports adaptive, 16:9, 4:3, 1:1, 3:4, and 9:16.
Media modes#
frame_images accepts a first_frame and optional last_frame. Alternatively, input_references accepts up to 10 images, 5 videos, and 5 audio files. Do not mix the modes.
Polling#
Poll GET /v1/videos/{video_id} until status is completed or failed.