Generate
REST APIModel Specifics

Wan 3.0

Use a file or webpage as the reference for a video.

File and webpage inputs

Alibaba-Wan-3.0 R2V can use one public HTTPS file or webpage URL in place of ordinary image, video, and audio references:

{
  "prompt": "Turn the creative brief into a cinematic product reveal",
  "model": "Alibaba-Wan-3.0",
  "task_type": "R2V",
  "src_file_urls": ["https://example.com/creative-brief.pdf"],
  "video_config": {
    "duration_secs": 10,
    "height": 1080,
    "aspect_ratio": "adaptive",
    "audio": true
  }
}

Use src_webpage_urls instead when the input is a webpage. Both lists accept at most one URL. Direct URLs must use HTTPS, resolve to public addresses, and return a successful response at submission time. A request must choose exactly one input mode: ordinary media, one file, or one webpage. Mixing the modes returns HTTP 400.

The Python client also accepts a local path in src_file_urls and uploads it before submission. Browser clients can call POST /api/v0/upload first and use the returned @input/<artifact_path> reference. Direct uploads are limited to 50 MB.