Wan 3.0 Prime
Wan 3.0 Prime (wan3.0-video-prime) is the high-speed version of Wan 3.0: exactly the same capabilities with faster end-to-end generation, for quick turnarounds and batch iteration. One model covers text-to-video, first-frame and first/last-frame image-to-video, omni-reference generation, plus video editing and extension from a reference video, with natively generated synchronized audio. Output is 480P / 720P / 1080P, 2–30 seconds, in seven aspect ratios.
Authentication
- Base URL
https://api.dreamto.ai- Authorization
Authorization: Bearer YOUR_API_KEY- Content-Type
application/json- Model name (model)
wan3.0-video-prime
Highlights
| Capability | Details |
|---|---|
| Omni reference | Combine up to 10 reference images, 5 reference videos and 5 reference audio clips; refer to them as "image 1", "video 1", "audio 1" |
| First / last frame | Use images exactly as the first frame, or first and last frames |
| Editing and extension | Modify a reference video, or continue it |
| Documents and web pages | Generate from documents (PDF, Office, Markdown, ...) or a public web page |
| Native audio | Synchronized audio by default; same price with or without |
| Long videos | Up to 30 seconds per task, or let the model choose the duration |
Setup
| Alibaba Cloud Model Studio (international) | DreamTo | |
|---|---|---|
| Create | POST https://{WorkspaceId}.ap-southeast-1.maas.aliyuncs.com/api/v1/services/aigc/video-generation/video-synthesis | POST https://api.dreamto.ai/api/v1/services/aigc/video-generation/video-synthesis |
| Query | GET https://{WorkspaceId}.ap-southeast-1.maas.aliyuncs.com/api/v1/tasks/{task_id} | GET https://api.dreamto.ai/api/v1/tasks/{task_id} |
model | wan3.0-video-prime | Same |
| API Key | Model Studio API Key | API Key from the DreamTo console, in the Authorization: Bearer header |
Request and response bodies follow the official DashScope protocol, and creating a task also needs the X-DashScope-Async: enable header. Existing code works after changing the base URL and API Key; with the DashScope SDK set base_http_api_url to https://api.dreamto.ai/api/v1.
Endpoints
| Endpoint | Purpose |
|---|---|
POST /api/v1/services/aigc/video-generation/video-synthesis | Create video generation task |
GET /api/v1/tasks/{task_id} | Query task |
Parameters
Values out of range return 400; no task is created or charged.
| Field | Values |
|---|---|
model | wan3.0-video-prime |
parameters.resolution | 480P / 720P / 1080P (default) |
parameters.ratio | adaptive (default) / 21:9 / 16:9 / 4:3 / 1:1 / 3:4 / 9:16 |
parameters.duration | Integer 2–30 seconds (default 5), or -1 for smart duration; with input video, input plus output ≤ 30 seconds |
| Media | First frame ≤ 1, last frame ≤ 1, reference images ≤ 10, reference videos ≤ 5, reference audio ≤ 5, one document or web page |
| Media URLs | Public http(s) URL; images may also be Base64 |
Pricing
Billed at the official Alibaba Cloud international prices, per second of video by output resolution; the model price in the console is authoritative. The billed duration is usage.duration, which adds the input video duration for editing, extension and reference videos. Audio costs the same on or off; failed or canceled tasks and invalid requests are not charged.
| Resolution | wan3.0-video | wan3.0-video-prime |
|---|---|---|
| 480P | $0.05 / second | $0.068 / second |
| 720P | $0.10 / second | $0.14 / second |
| 1080P | $0.20 / second | $0.28 / second |
Quick start
Create a task to get a task_id, poll about every 15 seconds, and download output.video_url once task_status is SUCCEEDED.
# 1. Create the task
curl -X POST "https://api.dreamto.ai/api/v1/services/aigc/video-generation/video-synthesis" \
-H "Authorization: Bearer $DREAMTO_API_KEY" \
-H "Content-Type: application/json" \
-H "X-DashScope-Async: enable" \
-d '{
"model": "wan3.0-video-prime",
"input": {
"prompt": "A small red paper boat floats down a rain-filled street gutter, close-up, soft morning light."
},
"parameters": {
"resolution": "720P",
"ratio": "16:9",
"duration": 5
}
}'
# 2. Query the task
curl "https://api.dreamto.ai/api/v1/tasks/0385dc79-5ff8-4d82-bcb6-bc5ae0ed7a4f" \
-H "Authorization: Bearer $DREAMTO_API_KEY"Notes
task_idandrequest_idare issued by DreamTo;output.video_urlis a DreamTo download link (/api/v1/video-files/...) valid for 24 hours from task creation, so download and store videos promptly.- Task IDs can be queried for 24 hours; tasks that do not exist, belong to another account or have expired return
task_status: UNKNOWN. - Temporary storage URLs such as
oss://are not supported; use publichttp(s)URLs (images may also be Base64). - Invalid parameters are rejected at creation with 400
InvalidParameter, without creating a task.