Skip to content
הדף עדיין אינו זמין בשפה שלכם, ולכן הוא מוצג באנגלית.
Alibaba · Wan

wan3.0-video-prime API

Generate video from text, frames, and multimodal references with wan3.0-video-prime on APISea.

יצירת וידאווידאומשימה אסינכרונית
מזהה מודל
wan3.0-video-prime

תמחור API של wan3.0-video-prime

כל המחירים נקובים ב-USD. תעריפי APISea בהשוואה למחירון הרשמי עבור אותה יחידה.

אפשרותAPISeaרשמיחיסכון
ברירת מחדלברירת מחדל$0.2263$0.25−9%
1080P$0.2263$0.25−9%
480P$0.05657$0.0625−9%
720P$0.1131$0.125−10%

המחירים הם לכל שנייה.

מהו wan3.0-video-prime?

wan3.0-video-prime is Alibaba’s Wan-family video generation model, available through APISea for text-to-video, first-frame, first-and-last-frame, and multimodal reference workflows. It accepts images, video, audio, documents, and public web pages as references. Developers can select 480P, 720P, or 1080P output, set a fixed duration from 2–30 seconds or let the model choose, and control aspect ratio, audio, prompt rewriting, seed, and watermark settings. Reference-video workflows have an additional combined input-and-output duration limit.

Call the model through APISea’s video generation endpoint using your APISea key. Billing is pay-as-you-go and applies only to successful requests: 480P costs $0.05657 per second, 720P costs $0.1131 per second, and Default or 1080P costs $0.2263 per second. The default configuration is about 9% below the provider list price. Omitting resolution selects 1080P; including or excluding an audio track does not change the price.

המאפיינים הבולטים של wan3.0-video-prime

Multiple Generation Modes

Generate from a text prompt, a first frame, first and last frames, or multimodal references. Documents and public web pages can also serve as reference inputs.

Resolution and Duration Controls

Choose 480P, 720P, or 1080P and a fixed output length from 2–30 seconds. Set duration to -1 to let the model choose the length within applicable constraints.

Flexible Aspect Ratios

Use adaptive sizing or select 21:9, 16:9, 4:3, 1:1, 3:4, or 9:16. Adaptive sizing is recommended for frame-based and reference-media tasks.

Optional Audio Track

Output includes audio by default, and you can disable it without changing the price. Watermarking is separately controlled and disabled by default.

איך לקרוא ל-API של wan3.0-video-prime ב-4 שלבים

  1. 01

    יצירת מפתח API

    יש להתחבר ל-APISea, להוסיף יתרה החל מ-$50 וליצור מפתח sk-sea במסוף.

  2. 02

    הגדרת כתובת הבסיס

    יש להשתמש ב-https://api.apisea.ai/v1 ככתובת הבסיס ב-SDK או בלקוח HTTP.

  3. 03

    שליחת הבקשה

    יש לקרוא ל-POST /v1/videos/generations עם "model": "wan3.0-video-prime" והפרמטרים שלהלן.

  4. 04

    טיפול בתגובה

    התגובה מכילה task_id. יש לשלוח בקשות GET אל /v1/tasks/{task_id} עד שהסטטוס יהיה completed, ואז להוריד את כתובות ה-URL של התוצאות.

דוגמאות לבקשות

תיעוד: Wan3.0 Video Generation
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-prime",
    "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-prime

Text-to-Video Creation Tools

Build an interface that turns written scene descriptions into video clips, with selectable resolution, duration, and aspect ratio.

Frame-Guided Video Workflows

Let users supply an opening image or both opening and closing images to guide video generation through explicit frame roles.

Multimodal Creative Workspaces

Combine reference images, video clips, and audio with a prompt in a video creation workflow.

Document-to-Video Workflows

Build tools that generate videos using a reference document or login-free public web page, with an optional prompt to describe the intended result.

טיפים לקבלת תוצאות טובות יותר

  • 01

    Set Resolution Explicitly

    Omitting resolution selects 1080P at $0.2263 per second. Choose 480P at $0.05657 per second or 720P at $0.1131 per second when a lower-resolution output fits the task.

  • 02

    Budget Reference Video Length

    Total reference video duration plus output duration must not exceed 30 seconds. Account for reference footage when choosing a fixed output duration.

  • 03

    Choose Prompt Rewriting Deliberately

    Prompt rewriting is enabled by default and can improve short prompts, but may increase latency. For document or web page references, it must remain enabled or omitted.

  • 04

    Assign Frame Roles Explicitly

    Use image_with_roles to identify first_frame, last_frame, or reference_image inputs. For media-guided tasks, start with adaptive sizing; if you supply both size and aspect_ratio, their values must match.

מגבלות ודברים שכדאי לדעת

  • Reference video and audio each allow up to 5 clips, with each clip lasting 1–15 seconds and each media type totaling no more than 15 seconds.

  • A request can include at most one reference document or one public web page, and these cannot be combined.

  • Prompts longer than 20,000 characters are automatically truncated rather than rejected.

שאלות נפוצות על API של wan3.0-video-prime

How much does wan3.0-video-prime cost on APISea?

APISea pricing is $0.05657 per second for 480P, $0.1131 per second for 720P, and $0.2263 per second for Default or 1080P. The default configuration is about 9% below the provider list price, and only successful requests are billed.

How do I call wan3.0-video-prime?

Send a POST request to https://api.apisea.ai/v1/videos/generations with Bearer Token authentication using your APISea key. Set the model field to wan3.0-video-prime and provide a prompt or supported reference input.

Which output settings are supported?

You can choose 480P, 720P, or 1080P, a fixed duration of 2–30 seconds or model-chosen duration, and adaptive or supported explicit aspect ratios. Audio, seed, watermark, and prompt rewriting are also configurable.

What are the reference video limits?

You can supply up to 5 reference video clips, each 1–15 seconds long, totaling no more than 15 seconds. Total input video duration plus output duration must not exceed 30 seconds, including when the model chooses the output length.

Can I use generated videos commercially?

Commercial use is subject to the provider’s terms. Review the applicable terms before using generated videos in commercial products or campaigns.

How does wan3.0-video-prime compare with wan3.0-video?

The documentation states that wan3.0-video-prime and wan3.0-video accept exactly the same request parameters. It does not specify a quality, speed, or capability difference between them.

מודלים קשורים

עומק: יותר מ-250 מודלים · טעינת יתרה מינימלית $50

מתחילים לבנות עם wan3.0-video-prime

מפתח אחד, תשלום לפי שימוש החל מ-$50, וחיוב רק על בקשות שהצליחו.