Skip to content
Ta strona nie jest jeszcze dostępna w Twoim języku, dlatego wyświetlamy ją po angielsku.
Alibaba · Wan

wan3.0-video API

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

Generowanie wideoWideoZadanie asynchroniczne
Identyfikator modelu
wan3.0-video

Cennik API wan3.0-video

Wszystkie ceny podano w USD. Porównanie stawek APISea z oficjalną ceną za tę samą jednostkę.

OpcjaAPISeaOficjalna cenaOszczędzasz
DomyślnieDomyślnie$0.1447$0.1667−13%
1080P$0.1447$0.1667−13%
480P$0.03617$0.0417−13%
720P$0.07233$0.0833−13%

Ceny podano za za sekundę.

Czym jest 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.

Najważniejsze informacje o 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.

Jak wywołać API wan3.0-video w 4 krokach

  1. 01

    Uzyskaj klucz API

    Zaloguj się do APISea, doładuj konto kwotą co najmniej $50 i utwórz klucz sk-sea w konsoli.

  2. 02

    Ustaw bazowy URL

    Użyj https://api.apisea.ai/v1 jako bazowego URL w swoim SDK lub kliencie HTTP.

  3. 03

    Wyślij żądanie

    Wywołaj POST /v1/videos/generations, podając "model": "wan3.0-video" oraz parametry wymienione poniżej.

  4. 04

    Obsłuż odpowiedź

    Odpowiedź zawiera task_id. Wysyłaj zapytania GET /v1/tasks/{task_id}, aż status zmieni się na completed, a następnie pobierz pliki z podanych adresów 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
  }'

Parametry

ParametrTypWymaganeDomyślnieOpis
modelstringWymagane—Video generation model name. Allowed values:
nsfw_checkbooleanOpcjonalnefalseWhether to run content moderation before submitting the video task.
promptstringOpcjonalne—Text description. **Required unless** media fields are provided (at least one of prompt or media).
prompt_extendbooleanOpcjonalnetrueEnable intelligent prompt rewriting. `true` or omission enables it (upstream default); `false` disables it. Rewriting can improve short prompts but may increase latency.
resolutionstringOpcjonalne1080POutput resolution (case-insensitive)
sizestringOpcjonalneadaptiveAspect ratio. `aspect_ratio` is also accepted.
durationintegerOpcjonalne5Duration in seconds:
audiobooleanOpcjonalnetrueWhether the output includes an audio track. Default `true`. **Price is the same with or without audio.**
seedintegerOpcjonalne—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.
watermarkbooleanOpcjonalnefalseWhether to add a watermark. Default `false`
generation_typestringOpcjonalne—How bare `image_urls` are classified:
image_urlsstring[]Opcjonalne—Image URL array. Role assignment follows mutual exclusion rules.
image_with_rolesobject[]Opcjonalne—Images with explicit roles. Each item:
video_urlsstring[]Opcjonalne—Reference videos, up to **5** clips; each 1–15s, **total ≤ 15s**
audio_urlsstring[]Opcjonalne—Reference audio, up to **5** clips; each 1–15s, **total ≤ 15s**
audio_urlstringOpcjonalne—Single reference audio (single-value form of `audio_urls`)
file_urlstringOpcjonalne—Reference document URL, at most **1**. **Cannot be combined with `link_url`.**
link_urlstringOpcjonalne—Public web page URL, at most **1**. Login-free pages only. **Cannot be combined with `file_url`.**

Co możesz zbudować z 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.

Wskazówki, jak uzyskać lepsze wyniki

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

Limity i ważne informacje

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

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

Powiązane modele

Ponad 250 modeli · Minimalne doładowanie: $50

Zacznij tworzyć z wan3.0-video

Jeden klucz, płatność za użycie już od $50; opłaty naliczane tylko za udane żądania.