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 key

    سجّل الدخول إلى APISea، واشحن رصيدك بدءًا من $50، وأنشئ مفتاح sk-sea من وحدة التحكم.

  2. 02

    اضبط عنوان URL الأساسي

    استخدم 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، ثم نزّل روابط النتائج.

أمثلة على الطلبات

الوثائق: 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؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.