wan3.0-video API
Generate video from text, frames, and multimedia references with Alibaba’s wan3.0-video on APISea.
wan3.0-videoBảng giá API wan3.0-video
Tất cả giá đều tính bằng USD. So sánh mức giá của APISea với giá niêm yết chính thức cho cùng đơn vị.
| Tùy chọn | APISea | Chính thức | Tiết kiệm |
|---|---|---|---|
| Mặc địnhMặc định | $0.1447 | $0.1667 | −13% |
| 1080P | $0.1447 | $0.1667 | −13% |
| 480P | $0.03617 | $0.0417 | −13% |
| 720P | $0.07233 | $0.0833 | −13% |
Giá tính theo mỗi giây.
wan3.0-video là gì?
wan3.0-video is Alibaba’s Wan-family video generation model for applications that turn text and reference material into video. It supports text-to-video, first-frame and first-plus-last-frame generation, and multimodal references using images, video, and audio. Developers can also supply a document or public web page as a reference. Output controls include 480P, 720P, or 1080P resolution, fixed durations from 2–30 seconds or model-chosen length, and multiple aspect ratios. Audio is enabled by default, while watermarking is off by default.
Call wan3.0-video through APISea at POST https://api.apisea.ai/v1/videos/generations using your API key with Bearer authentication. Billing is pay-as-you-go and applies only to successful requests: 480P costs $0.03617 per second, 720P costs $0.07233 per second, and 1080P costs $0.1447 per second. The default configuration is 1080P, about 13% below the provider list price. Including or excluding audio does not change the price.
Điểm nổi bật của wan3.0-video
Multiple Generation Modes
Generate from a text prompt, a first frame, first and last frames, or multimodal references. Request fields select the generation mode.
Rich Reference Inputs
Use images, video clips, audio, a document, or a public web page as reference material. File and page references can be submitted without a prompt.
Flexible Output Controls
Choose 480P, 720P, or 1080P output and a fixed duration of 2–30 seconds. Supported aspect ratios include 16:9, 9:16, 1:1, and 21:9, plus adaptive sizing.
Optional Audio Track
Audio is included by default and can be disabled. The price is the same with or without audio.
Cách gọi API wan3.0-video trong 4 bước
- 01
Tạo API key
Đăng nhập APISea, nạp tối thiểu $50 rồi tạo key sk-sea trong bảng điều khiển.
- 02
Đặt base URL
Dùng https://api.apisea.ai/v1 làm base URL trong SDK hoặc HTTP client.
- 03
Gửi request
Gọi POST /v1/videos/generations với "model": "wan3.0-video" và các tham số bên dưới.
- 04
Xử lý phản hồi
Phản hồi có chứa task_id. Gửi GET /v1/tasks/{task_id} định kỳ cho đến khi trạng thái là completed, sau đó tải xuống từ các URL kết quả.
Ví dụ request
Tài liệu: Wan3.0 Video Generationcurl --request POST \
--url https://api.apisea.ai/v1/videos/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "wan3.0-video",
"prompt": "A kitten runs across a moonlit rooftop, neon lights of the city flicker in the distance, cinematic quality, smooth camera move.",
"resolution": "720P",
"size": "21:9",
"duration": 5,
"prompt_extend": false,
"seed": -1
}'Tham số
| Tham số | Loại | Bắt buộc | Mặc định | Mô tả |
|---|---|---|---|---|
model | string | Bắt buộc | — | Video generation model name. Allowed values: |
nsfw_check | boolean | Tùy chọn | false | Whether to run content moderation before submitting the video task. |
prompt | string | Tùy chọn | — | Text description. **Required unless** media fields are provided (at least one of prompt or media). |
prompt_extend | boolean | Tùy chọn | true | Enable intelligent prompt rewriting. `true` or omission enables it (upstream default); `false` disables it. Rewriting can improve short prompts but may increase latency. |
resolution | string | Tùy chọn | 1080P | Output resolution (case-insensitive) |
size | string | Tùy chọn | adaptive | Aspect ratio. `aspect_ratio` is also accepted. |
duration | integer | Tùy chọn | 5 | Duration in seconds: |
audio | boolean | Tùy chọn | true | Whether the output includes an audio track. Default `true`. **Price is the same with or without audio.** |
seed | integer | Tùy chọn | — | Integer random seed: `-1` or `[0, 2147483647]`. `-1` is equivalent to omission and selects a random seed. Out-of-range values such as `-2` or `2147483648` return HTTP 400 at submission. |
watermark | boolean | Tùy chọn | false | Whether to add a watermark. Default `false` |
generation_type | string | Tùy chọn | — | How bare `image_urls` are classified: |
image_urls | string[] | Tùy chọn | — | Image URL array. Role assignment follows mutual exclusion rules. |
image_with_roles | object[] | Tùy chọn | — | Images with explicit roles. Each item: |
video_urls | string[] | Tùy chọn | — | Reference videos, up to **5** clips; each 1–15s, **total ≤ 15s** |
audio_urls | string[] | Tùy chọn | — | Reference audio, up to **5** clips; each 1–15s, **total ≤ 15s** |
audio_url | string | Tùy chọn | — | Single reference audio (single-value form of `audio_urls`) |
file_url | string | Tùy chọn | — | Reference document URL, at most **1**. **Cannot be combined with `link_url`.** |
link_url | string | Tùy chọn | — | Public web page URL, at most **1**. Login-free pages only. **Cannot be combined with `file_url`.** |
Bạn có thể xây dựng gì với wan3.0-video
Prompt-Based Video Tools
Build an interface that turns written scene descriptions into videos, with user-selectable resolution, aspect ratio, and duration.
Image-to-Video Workflows
Let users provide a starting image or both starting and ending images to define frame-based video generation.
Reference-Led Creative Production
Accept images, video clips, and audio as references for video tasks, with prompts that address individual assets.
Document-to-Video Applications
Create video-generation workflows that take a reference document or login-free public page, optionally accompanied by a prompt.
Mẹo để có kết quả tốt hơn
- 01
Set Resolution Explicitly
Omitting resolution uses 1080P at $0.1447 per second. Choose 480P at $0.03617 per second or 720P at $0.07233 per second when cost matters.
- 02
Budget Reference Duration
Reference videos can total at most 15 seconds, and their combined duration plus output duration must not exceed 30 seconds. Account for both when setting duration.
- 03
Control Prompt Rewriting
prompt_extend is enabled by default and may improve short prompts while increasing latency. For file_url or link_url requests, leave it enabled; disabling it returns HTTP 400.
- 04
Match Aspect Ratio Fields
Use adaptive sizing to follow frame or reference media. If you supply both size and aspect_ratio, their values must match or submission returns HTTP 400.
Giới hạn và những điều cần biết
Prompts longer than 20,000 characters are automatically truncated.
Reference video and audio each allow up to 5 clips, each 1–15 seconds, with a total of at most 15 seconds per media type.
file_url and link_url cannot be combined, and page references must be public and login-free.
Câu hỏi thường gặp về API wan3.0-video
How much does wan3.0-video cost on APISea?
480P costs $0.03617 per second, 720P costs $0.07233 per second, and Default or 1080P costs $0.1447 per second. The default configuration is about 13% below the provider list price, and APISea bills only successful requests.
How do I call wan3.0-video through the API?
Send a POST request to https://api.apisea.ai/v1/videos/generations with Bearer Token authentication and model set to wan3.0-video. Provide a prompt or media input; at least one is required.
What resolutions and video lengths are supported?
Supported resolutions are 480P, 720P, and 1080P, with 1080P as the default. Set duration to 2–30 seconds for a fixed length or -1 for model-chosen length; the default is 5 seconds.
Can wan3.0-video generate video from images and other references?
Yes. It supports first-frame, first-plus-last-frame, and multimodal reference generation using images, video, and audio, as well as document or public-page references.
Does disabling audio reduce the price?
No. Audio is enabled by default, and the price is the same whether the output includes an audio track or not.
Can I use wan3.0-video outputs commercially?
Commercial use is subject to the provider's terms. Review the applicable terms and rights to any reference material before using generated outputs commercially.
Model liên quan
wan2.5-preview
wan2.6
wan2.6-i2v
wan2.6-i2v-flash
wan2.7
wan2.7-r2v
wan2.7-videoedit
wan3.0-video-prime
Bắt đầu xây dựng với wan3.0-video
Chỉ cần một key, thanh toán theo mức sử dụng từ $50; chỉ tính phí cho các request thành công.