Skip to content
此頁面尚未提供您使用的語言,因此目前以英文顯示。
Alibaba · Wan

wan3.0-video API

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

影片生成影片非同步任務
模型 ID
wan3.0-video

wan3.0-video API 定價

所有價格皆以 USD 計價。比較 APISea 費率與相同計費單位的官方牌價。

選項APISea官方節省
預設預設$0.1447$0.1667−13%
1080P$0.1447$0.1667−13%
480P$0.03617$0.0417−13%
720P$0.07233$0.0833−13%

價格單位為 每秒。

什麼是 wan3.0-video?

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.

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.

4 個步驟呼叫 wan3.0-video API

  1. 01

    取得 API key

    登入 APISea,儲值 $50 起,並在控制台建立 sk-sea 金鑰。

  2. 02

    設定 base URL

    在 SDK 或 HTTP 用戶端中,將 https://api.apisea.ai/v1 設為 base URL。

  3. 03

    傳送請求

    呼叫 POST /v1/videos/generations,並使用下方的參數及 "model": "wan3.0-video"。

  4. 04

    處理回應

    回應中包含 task_id。持續輪詢 GET /v1/tasks/{task_id},直到狀態為 completed,然後下載結果 URL。

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
  }'

參數

參數類型必填預設說明
modelstring必填—Video generation model name. Allowed values:
nsfw_checkboolean選填falseWhether to run content moderation before submitting the video task.
promptstring選填—Text description. **Required unless** media fields are provided (at least one of prompt or media).
prompt_extendboolean選填trueEnable intelligent prompt rewriting. `true` or omission enables it (upstream default); `false` disables it. Rewriting can improve short prompts but may increase latency.
resolutionstring選填1080POutput resolution (case-insensitive)
sizestring選填adaptiveAspect ratio. `aspect_ratio` is also accepted.
durationinteger選填5Duration in seconds:
audioboolean選填trueWhether the output includes an audio track. Default `true`. **Price is the same with or without audio.**
seedinteger選填—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.
watermarkboolean選填falseWhether to add a watermark. Default `false`
generation_typestring選填—How bare `image_urls` are classified:
image_urlsstring[]選填—Image URL array. Role assignment follows mutual exclusion rules.
image_with_rolesobject[]選填—Images with explicit roles. Each item:
video_urlsstring[]選填—Reference videos, up to **5** clips; each 1–15s, **total ≤ 15s**
audio_urlsstring[]選填—Reference audio, up to **5** clips; each 1–15s, **total ≤ 15s**
audio_urlstring選填—Single reference audio (single-value form of `audio_urls`)
file_urlstring選填—Reference document URL, at most **1**. **Cannot be combined with `link_url`.**
link_urlstring選填—Public web page URL, at most **1**. Login-free pages only. **Cannot be combined with `file_url`.**

使用 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.

提升結果品質的技巧

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

限制與須知

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

wan3.0-video API 常見問題

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.

相關模型

涵蓋:250+ 個模型 · 最低儲值 $50

開始使用 wan3.0-video 開發

一把金鑰,$50 起按量付費,僅對成功的請求收費。