Skip to content

Wan 2.x Video

Parameters below were verified against the live model directory on November 5, 2026. Check the model directory for current schema, availability, and prices.

Text-to-video generation. A text prompt alone drives video generation—no reference materials required—ideal for turning copy and creative descriptions into motion quickly. First-frame image reference. Pass an image via media[].type: first_frame to anchor the opening frame (image-to-video style), while the prompt describes how the scene evolves.

The full model guide, live parameter schema, and playground for every model ID are available in the HiPix model directory.

Model IDModeNotes
aliyun/wan2-2/image-to-video-globalImage-to-Video
aliyun/wan2-2/text-to-video-globalText-to-Video
aliyun/wan2-6/image-to-video-globalImage-to-Video
aliyun/wan2-6/reference-to-video-globalReference-to-VideoCurrently unavailable on HiPix
aliyun/wan2-6/text-to-video-globalText-to-Video
aliyun/wan2-7/image-to-videoImage-to-Video
aliyun/wan2-7/image-to-video-spImage-to-Video
aliyun/wan2-7/text-to-videoText-to-Video
aliyun/wan2-7/text-to-video-spText-to-Video

Requests are submitted to POST /v1/videos (video) or POST /v1/images/generations / POST /v1/images/edits (image). Fields marked metadata.* travel inside the metadata object.

API fieldTypeRequiredValues / limit
promptstringYes—
metadata.img_urlarrayYesup to 1; ≤10 MB each; images
metadata.resolutionenumYes480P, 1080P; default 480P
API fieldTypeRequiredValues / limit
promptstringYes—
sizeenumYes1920*1080, 1080*1920, 1440*1440, 1632*1224, 1224*1632, 832*480, 480*832, 624*624; default 624*624
API fieldTypeRequiredValues / limit
promptstringYes—
metadata.img_urlarrayYesup to 1; ≤10 MB each; images
metadata.resolutionenumYes720P, 1080P; default 720P
secondsnumberYes4–15 (integer); default 5
API fieldTypeRequiredValues / limit
promptstringYes—
metadata.reference_urlsarrayYesup to 1; ≤10 MB each; image/,video/
sizeenumYes1280*720, 720*1280, 960*960, 1088*832, 832*1088, 1920*1080, 1080*1920, 1440*1440, 1632*1248, 1248*1632; default 960*960
secondsnumberYes4–15 (integer); default 5
metadata.audiobooleanNotrue / false
API fieldTypeRequiredValues / limit
promptstringYes—
sizeenumYes1280*720, 720*1280, 960*960, 1088*832, 832*1088, 1920*1080, 1080*1920, 1440*1440, 1632*1248, 1248*1632; default 960*960
secondsnumberYes4–15 (integer); default 5
API fieldTypeRequiredValues / limit
promptstringYes—
metadata.mediaarrayYes≤10 MB each; images
metadata.negative_promptstringNo—
metadata.resolutionenumYes720P, 1080P; default 720P
metadata.ratioenumYes1:1, 9:16, 16:9, 3:4, 4:3; default 1:1
secondsnumberYes4–15 (integer); default 5
API fieldTypeRequiredValues / limit
promptstringYes—
metadata.negative_promptstringNo—
metadata.mediaarrayYesup to 1; ≤10 MB each; images
metadata.resolutionenumYes720P, 1080P; default 720P
metadata.ratioenumYes1:1, 9:16, 16:9, 3:4, 4:3; default 1:1
secondsnumberYes4–15 (integer); default 5

aliyun/wan2-7/text-to-video, aliyun/wan2-7/text-to-video-sp

Section titled “aliyun/wan2-7/text-to-video, aliyun/wan2-7/text-to-video-sp”
API fieldTypeRequiredValues / limit
promptstringYes—
metadata.negative_promptstringNo—
metadata.resolutionenumYes720P, 1080P; default 720P
metadata.ratioenumYes1:1, 16:9, 9:16, 4:3, 3:4; default 1:1
secondsnumberYes4–15 (integer); default 5

A minimal request for aliyun/wan2-7/text-to-video:

Terminal window
curl -X POST https://api.apimart.cc/v1/videos \
-H "Authorization: Bearer $HIPIX_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "aliyun/wan2-7/text-to-video", "prompt": "A kitten running through a sunlit garden", "seconds": 5, "metadata": {"resolution": "720P", "ratio": "1:1"}}'

Poll the task with GET /v1/videos/{task_id} until status is completed or failed.

  • Submit only the input types listed for the exact model ID; unsupported inputs are rejected or removed on HiPix.
  • See Submit a Video Task or the model directory for the full request contract, and Pricing & Billing for how charges are settled.
  • Prices and availability are shown per model ID in the model directory.