تخطّي إلى المحتوى

Wan 3.0 Text to Video

التكامل

معرّف النموذج alibaba/wan-3.0/text-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/alibaba/wan-3.0/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A hummingbird hovers in front of a bright red hibiscus flower in a tropical garden, wings a blur, then darts away as the camera slowly racks focus to dew drops on the leaves. Macro lens, soft morning light, natural ambience.",
    "resolution": "480p",
    "aspect_ratio": "16:9",
    "duration": 5,
    "generate_audio": false
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

هذا الطلب: ⁨‏0.25 $⁩ 250 رصيد API تشغيله في هذه الصفحة

الحصول على مفتاح API
Alibaba من نص إلى فيديو صوت أصلي2–30 ثحتى 1080p #audio#long-clips#1080p

Wan 3.0 من Alibaba، بمقاطع مدتها من 2 إلى 30 ثانية وصوت مُنشأ بدقة تصل إلى 1080p.

أمثلة

المخرجات · ~205 ث

المطالبةA hummingbird hovers in front of a bright red hibiscus flower in a tropical garden, wings a blur, then darts away as the camera slowly racks focus to dew drops on the leaves. Macro lens, soft morning light, natural ambience.

5 s480p16:9⁨‏0.25 $⁩ · 250 رصيد API

إنشاء طلب

تُنشأ عناصر التحكم من مخطط النموذج. يتحدّث الرمز والسعر عند تغييرها.

•مطلوب 224 / 20000

تعليمات نصية تصف الفيديو المراد توليده.

resolution

فئة دقة الفيديو الناتج.

aspect_ratio

نسبة العرض إلى الارتفاع للمخرج، مع توفر الاختيار التكيفي.

مدة المخرج: تتيح null مدة ذكية استنادًا إلى الموجّه والوسائط المرجعية؛ وإلا تحدد القيمة المقدمة عدد الثواني.

متقدم seed · enable_prompt_expansion · enable_thinking
POST /run/alibaba/wan-3.0/text-to-video?wait=20 عرض السعر → ⁨‏0.25 $⁩
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/alibaba/wan-3.0/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A hummingbird hovers in front of a bright red hibiscus flower in a tropical garden, wings a blur, then darts away as the camera slowly racks focus to dew drops on the leaves. Macro lens, soft morning light, natural ambience.",
    "resolution": "480p",
    "aspect_ratio": "16:9",
    "duration": 5,
    "generate_audio": false
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

تشغيل هذا الطلب

يبقى مفتاحك في هذا المتصفح: لا يُرسل إلا إلى Doitong API ويُحفظ في localStorage فقط إذا فعّلت خيار التذكّر. الحصول على مفتاح API

أُنشئت على Doitong

أعمال عامة أُنشئت باستخدام Wan 3.0 من مجتمع Doitong. أعد استخدام موجّه بنقرة واحدة.

الأعمال العامة المعروضة: 2
Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scen... فيديو

Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scene takes place inside a modern passenger airplane during a daytime flight. Natural smartphone-like cinematography, realistic airplane cabin, authentic passengers, natural lighting, realistic skin...

Реалистичная бытовая сцена в советской одесской квартире зимним вечером. Женщина находится на кух... فيديو

Реалистичная бытовая сцена в советской одесской квартире зимним вечером. Женщина находится на кухне, мужчина — в комнате и прихожей. Атмосфера обычной советской семьи перед приходом гостей. Голоса: все персонажи говорят по-русски с естественным, выразительным одесским говором. Характерная...

حول Wan 3.0 Text to Video

ينشئ Wan 3.0 لقطات طويلة ومتسقة من مطالبة، بمدة من 2 إلى 30 ثانية، مع إنشاء الصوت افتراضيًا. تخطط خطوة استدلال اختيارية للمشاهد المعقدة، ويكون توسيع المطالبة مفعّلًا افتراضيًا. بدقة 480p أو 720p أو 1080p وبـ ست نسب أبعاد، أو بتأطير تكيفي.

المعاملات

أرسل الاسم الأساسي أو الاسم الأصلي، وليس كليهما. الأسماء الأساسية

الاسمالنوع الافتراضيمسموح الوصف
promptمطلوب
النوعstring
≤ 20,000 حرف
تعليمات نصية تصف الفيديو المراد توليده.
resolutionاختياري
النوعenum
الافتراضي1080p
480p720p1080p
فئة دقة الفيديو الناتج.
aspect_ratioاختياري
النوعenum
الافتراضيadaptive
adaptive16:94:31:13:49:16
نسبة العرض إلى الارتفاع للمخرج، مع توفر الاختيار التكيفي.
durationاختياري
النوعinteger | null
الافتراضي5
2 – 30
مدة المخرج: تتيح null مدة ذكية استنادًا إلى الموجّه والوسائط المرجعية؛ وإلا تحدد القيمة المقدمة عدد الثواني.
audioاختياري generate_audio
النوعboolean
الافتراضيtrue
يتحكم فيما إذا كان الصوت المُولّد مضمنًا.
enable_prompt_expansionاختياري
النوعboolean
الافتراضيtrue
يتحكم فيما إذا كان الموجّه سيُعادَت صياغته بذكاء قبل التوليد. توقّع انخفاضًا محتملًا في الجودة عند تعطيل إعادة الصياغة، مقابل تقليل زمن الاستجابة بنحو 20–60 ثانية.
enable_thinkingاختياري
النوعboolean
الافتراضيfalse
يمكّن الاستدلال الإضافي قبل بدء التوليد.
seedاختياري
النوعinteger | null
0 – 2,147,483,647
مطلوب الاسم الأساسي، مقبول أيضًا

المخرجات

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "alibaba/wan-3.0/text-to-video",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 250,
    "usd": "0.25",
    "charged": 250,
    "refunded": 0
  },
  "input": {
    "prompt": "A red panda walks through a bamboo forest at sunrise, mist between the stalks, gentle handheld camera",
    "duration": 5,
    "resolution": "720p"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "seed": 42,
    "duration": 5,
    "actual_prompt": "string"
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
ملفاتك، خيارككل outputs[].url هو نسخة على تخزيننا: تُحفظ إلى الأبد (مع الدفع لكل غيغابايت-شهر) أو لمدة 7 أيام مجانًا، وفق إعداد حسابك أو ?storage=.
البنية نفسها في كل نموذجtype وurl وcontent_type وwidth وheight وduration للصور والفيديو والصوت على حد سواء. output هو كائن النتائج الخاص بالنموذج.
حقول المخرجات
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}ملف الفيديو الناتج عن التوليد.
seed
integerقيمة البذرة المطبّقة أثناء التوليد.
duration
numberمدة الفيديو المُولّد، مقاسة بالثواني.
actual_prompt
string | null

مزيد من النماذج: من نص إلى فيديو

لوكلاء الذكاء الاصطناعي: تتوفر هذه الصفحة بصيغة Markdown على https://doitong.com/ar/developers/models/alibaba/wan-3.0/text-to-video.md. جميع النماذج والأدلة: https://doitong.com/developers/llms.txt