Skip to content
هذه الصفحة غير متاحة بلغتك بعد، لذا تُعرض باللغة الإنجليزية.
Alibaba · Wan

wan2.6 API

Generate videos from text or a reference image with Alibaba's wan2.6 on APISea.

إنشاء الفيديوالفيديومهمة غير متزامنة
معرّف النموذج
wan2.6

تسعير API لنموذج wan2.6

جميع الأسعار بالدولار الأمريكي (USD). مقارنة أسعار APISea بالسعر الرسمي المعلن للوحدة نفسها.

الخيارAPISeaرسميوفّر
افتراضيافتراضي$0.055$0.0833−34%
1080P$0.0924$0.1389−33%

الأسعار لكل ثانية.

ما هو wan2.6؟

wan2.6 is Alibaba's Wan-family video generation model for turning text descriptions or a reference image into short videos. On APISea, it supports text-to-video and image-to-video workflows, with 720p or 1080p output and durations of 5, 10, or 15 seconds. Describe the scene, action, and style in your prompt, or supply one publicly accessible image URL. Controls include negative prompts, a seed for reproducible results, automatic prompt extension, single- or multi-shot generation, and optional generated or supplied audio.

Call wan2.6 through APISea's video generation endpoint using your API key. Pricing is pay-as-you-go and billed per second, with billing only for successful requests: APISea Default costs $0.055 per second, and APISea 1080P costs $0.0924 per second. The default configuration is about 34% below the provider list price. Text-to-video also offers five aspect ratios for landscape, portrait, and square layouts.

أبرز مزايا wan2.6

Text and Image Inputs

Generate video from a text prompt or one reference image. Including image_urls automatically selects image-to-video mode.

Resolution and Duration Options

Choose 720p or 1080p output with a duration of 5, 10, or 15 seconds. Defaults are 720p and 5 seconds.

Generated or Supplied Audio

Enable automatic matching audio or provide an audio URL. Supplied audio takes priority over automatic audio generation.

Prompt and Shot Controls

Use negative prompts, automatic prompt extension, and a seed for reproducible results. Choose single-shot or multi-shot generation.

كيفية استدعاء API الخاص بـ wan2.6 في 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": "wan2.6" والمعلمات أدناه.

  4. 04

    تعامل مع الاستجابة

    تتضمن الاستجابة task_id. أرسل طلبات GET /v1/tasks/{task_id} دوريًا حتى تصبح الحالة completed، ثم نزّل روابط النتائج.

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

الوثائق: Wan2.6 Video Generation
curl --request POST \
  --url https://api.apisea.ai/v1/videos/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "wan2.6",
    "prompt": "A cute cat running on the grass",
    "aspect_ratio": "16:9",
    "resolution": "720p",
    "duration": 5
  }'

المعلمات

المعلمةالنوعمطلوبافتراضيالوصف
modelstringمطلوب—Video generation model name, fixed as `wan2.6`
nsfw_checkbooleanاختياريfalseWhether to run content moderation before submitting the video task.
promptstringمطلوب—Video content description
image_urlsarray\<url\>اختياري—Reference image URL array (only 1 image supported)
negative_promptstringاختياري—Negative prompt describing unwanted content
aspect_ratiostringاختياري16:9Video aspect ratio
resolutionstringاختياري720pVideo resolution
durationintegerاختياري5Video duration (seconds)
seedintegerاختياري—Random seed for reproducible results
prompt_extendbooleanاختياري—Whether to automatically extend the prompt
audiobooleanاختياري—Whether to automatically add audio
audio_urlstringاختياري—Specified audio URL
shot_typestringاختياري—Shot type
watermarkbooleanاختياري—Whether to add watermark
templatestringاختياري—Effect template name for image-to-video special effects mode

ما الذي يمكنك إنشاؤه باستخدام wan2.6

Social Video Drafts

Build a text-to-video workflow for short social content, selecting portrait, square, or landscape aspect ratios to match the intended layout.

Reference Image Animation

Let users submit one publicly accessible image URL and a scene description to generate an image-to-video clip.

Audio-Enabled Concept Clips

Create short video concepts with automatically generated matching audio, or supply an audio URL for a specific soundtrack.

Image Effects Tools

Build a template-based image animation feature using effects such as rotation, squish, or dissolve. Effects mode uses one image and ignores the prompt.

نصائح للحصول على نتائج أفضل

  • 01

    Describe the Action

    For text-to-video, describe the scene, actions, and visual style in detail. Use negative_prompt to specify unwanted content, and enable prompt_extend when you want automatic prompt enrichment.

  • 02

    Start With Defaults

    Test with the default 720p resolution and 5-second duration before requesting longer or 1080p clips. Billing is per second, and pricing varies by resolution.

  • 03

    Match Audio Length

    Keep supplied audio no longer than the requested video duration. If it is shorter, only the first part of the video will have sound; audio_url overrides the audio setting.

  • 04

    Set Moderation Explicitly

    Enable nsfw_check to review prompts and input images before submitting the video task. It is false by default, so omitted or false requests do not add a moderation request, cost, or latency.

القيود ومعلومات مهمة

  • Image-to-video accepts only one publicly accessible reference image URL and does not support aspect_ratio.

  • Only 720p and 1080p resolutions and 5, 10, or 15-second durations are supported; 480p is unsupported.

  • Video generation is task-based, with the initial response reporting a submitted status rather than a completed video.

الأسئلة الشائعة حول API الخاص بـ wan2.6

How much does wan2.6 cost on APISea?

APISea Default costs $0.055 per second, compared with the provider list price of $0.0833 per second. APISea 1080P costs $0.0924 per second, compared with the provider list price of $0.1389 per second. The default configuration is about 34% below list price, and APISea bills only for successful requests.

How do I call the wan2.6 API?

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 wan2.6 and provide a prompt for text-to-video or image_urls for image-to-video.

What resolutions and video lengths does wan2.6 support?

It supports 720p and 1080p output with durations of 5, 10, or 15 seconds. The defaults are 720p and 5 seconds; 480p is not supported.

Can wan2.6 generate video from an image?

Yes. Supply one publicly accessible reference image URL in image_urls to select image-to-video mode. The aspect_ratio parameter is not supported in this mode.

Does wan2.6 support audio generation?

Yes, enable audio to generate matching audio or supply audio_url to use specified audio instead. Supplied audio takes priority and cannot be longer than the video; shorter audio leaves the remaining portion silent.

Can I use wan2.6 videos commercially?

Commercial use is subject to the provider's terms. Review the applicable Alibaba terms for your intended use; the supplied documentation does not specify commercial licensing rights.

نماذج ذات صلة

العمق: أكثر من 250 نموذجًا · الحد الأدنى لشحن الرصيد $50

ابدأ التطوير باستخدام wan2.6

مفتاح واحد، وادفع حسب الاستخدام بدءًا من $50؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.