Skip to content
Trang này chưa có bản dịch sang ngôn ngữ của bạn, nên hiện đang được hiển thị bằng tiếng Anh.
Alibaba · Wan

wan3.0-video API

Generate video from text, frames, and multimedia references with Alibaba’s wan3.0-video on APISea.

Tạo videoVideoTác vụ bất đồng bộ
ID model
wan3.0-video

Bả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ọnAPISeaChính thứcTiế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

  1. 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.

  2. 02

    Đặt base URL

    Dùng https://api.apisea.ai/v1 làm base URL trong SDK hoặc HTTP client.

  3. 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.

  4. 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ả.

curl --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ạiBắt buộcMặc địnhMô tả
modelstringBắt buộc—Video generation model name. Allowed values:
nsfw_checkbooleanTùy chọnfalseWhether to run content moderation before submitting the video task.
promptstringTùy chọn—Text description. **Required unless** media fields are provided (at least one of prompt or media).
prompt_extendbooleanTùy chọntrueEnable intelligent prompt rewriting. `true` or omission enables it (upstream default); `false` disables it. Rewriting can improve short prompts but may increase latency.
resolutionstringTùy chọn1080POutput resolution (case-insensitive)
sizestringTùy chọnadaptiveAspect ratio. `aspect_ratio` is also accepted.
durationintegerTùy chọn5Duration in seconds:
audiobooleanTùy chọntrueWhether the output includes an audio track. Default `true`. **Price is the same with or without audio.**
seedintegerTù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.
watermarkbooleanTùy chọnfalseWhether to add a watermark. Default `false`
generation_typestringTùy chọn—How bare `image_urls` are classified:
image_urlsstring[]Tùy chọn—Image URL array. Role assignment follows mutual exclusion rules.
image_with_rolesobject[]Tùy chọn—Images with explicit roles. Each item:
video_urlsstring[]Tùy chọn—Reference videos, up to **5** clips; each 1–15s, **total ≤ 15s**
audio_urlsstring[]Tùy chọn—Reference audio, up to **5** clips; each 1–15s, **total ≤ 15s**
audio_urlstringTùy chọn—Single reference audio (single-value form of `audio_urls`)
file_urlstringTùy chọn—Reference document URL, at most **1**. **Cannot be combined with `link_url`.**
link_urlstringTù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

Hệ sinh thái gồm 250+ mô hình · Nạp tối thiểu $50

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.