
All-in-one video generation up to 30 seconds with native audio, omni-modal references (images, video, audio, files, web links), and a fast Prime tier.
All-in-one video generation up to 30 seconds with native audio, omni-modal references (images, video, audio, files, web links), and a fast Prime tier.
يعرف أيضا باسم Alibaba Cloud Wan 3.0
wan-3-0/v1/videos/generationsalibaba/wan-3.0wan-3.0wan3.0wan3.0-videowan3.0-video-primeأسعار الدفع حسب الاستخدام مباشرة من كتالوج EmpirioLabs. تدفع فقط مقابل ما تستخدمه، بدون حد أدنى شهري.
يعمل Wan 3.0 عبر POST /v1/videos/generations. يعيد الطلب job_id فورًا؛ استعلم عن GET /v1/jobs/{job_id} حتى تكتمل المهمة ثم اقرأ روابط الإخراج من النتيجة. احصل على مفتاح API من لوحة تحكم EmpirioLabs.
curl https://api.empiriolabs.ai/v1/videos/generations \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan-3-0",
"prompt": "Describe what you want Wan 3.0 to generate."
}'curl https://api.empiriolabs.ai/v1/jobs/JOB_ID \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY"import requests
response = requests.post(
"https://api.empiriolabs.ai/v1/videos/generations",
headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
json={
"model": "wan-3-0",
"prompt": "Describe what you want Wan 3.0 to generate.",
},
)
job = response.json()
# Generation runs as an async job. Poll until it completes.
import time
while True:
status = requests.get(
f"https://api.empiriolabs.ai/v1/jobs/{job['job_id']}",
headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
).json()
if status.get("status") in ("completed", "failed"):
print(status)
break
time.sleep(5)معلمات الطلب التي تدعمها واجهة Wan 3.0 API على EmpirioLabs. تُطبق القيم الافتراضية عند حذف أي حقل.
| المعامل | النوع | الافتراضي | النطاق / القيم | الوصف |
|---|---|---|---|---|
| prompt | string | - | - | Scene description, up to 20,000 characters. In reference mode, address inputs in your prompt as Image 1, Video 1, Audio 1. |
| model_tier | enum | standard | standard, prime | standard: full quality at the base rate. prime: significantly faster end-to-end generation at a higher per-second rate. Each tier is billed at its own rate. |
| mode | enum | auto | auto, t2v, i2v, r2v | Auto detects from attachments. t2v: text-to-video. i2v: animate one image, or interpolate between two (first and last frame). r2v: omni reference from images,... |
| resolution | enum | 1080p | 480p, 720p, 1080p | Output resolution. Each resolution bills at its own per-second rate. |
| duration | number | 5 | 2 إلى 30 | Clip length in seconds. Pass -1 via the API to let the model choose the length. With video references, input plus output stays within 30 seconds. |
| aspect_ratio | enum | adaptive | adaptive, 16:9, 9:16, 1:1, 4:3, 3:4 | adaptive recommends an aspect ratio from your inputs and prompt. |
| image | string | - | - | Image URL. i2v uses one or two images (first and last frame); r2v accepts up to 10 references. |
| video | string | - | - | Reference video URL (r2v). Up to 5 clips, 15 seconds combined. |
| seed | number | - | 0 إلى 2147483647 | Reproducibility seed. |
| audio | boolean | true | - | Generate the soundtrack with the video. Turning it off does not change the price. |
| watermark | boolean | false | - | Add a provenance watermark to the output. |
| prompt_extend | boolean | true | - | Let the service rewrite the prompt for better results. |
| link | string | - | - | Public web page URL used as a reference (r2v). Provide either a link or a file_url, not both. |
| file_url | string | - | - | Document URL used as a reference (r2v): PDF, Office, or text files up to 100 MB and 50 pages. Provide either a file_url or a link, not both. |
Generation can take several minutes on the standard tier; the prime tier is significantly faster end to end. Modes are auto-detected from attachments, or override with the mode parameter. The model_tier parameter picks standard or prime; each tier bills at its own per-second rate.
على EmpirioLabs، تتم فوترة Wan 3.0 حسب الاستخدام: Standard 480P $0.07 per second; Standard 720P $0.14 per second; Standard 1080P $0.28 per second. جدول الأسعار المباشر في هذه الصفحة يطابق دائمًا ما تحتسبه الواجهة.
يُقدَّم Wan 3.0 عبر POST /v1/videos/generations على api.empiriolabs.ai مع مصادقة Bearer القياسية.
نعم. يشغّل ملعب EmpirioLabs نموذج Wan 3.0 في المتصفح بنفس المعلمات التي تتيحها الواجهة، لتجربة المطالبات قبل كتابة الكود.
أنشئ حساب EmpirioLabs ثم أنشئ مفتاحًا من API Keys في لوحة التحكم. الفوترة برصيد الدفع حسب الاستخدام، فلا تدفع إلا مقابل الطلبات التي تنفذها.
تحقق من تسعيرنا أو تواصل إذا كنت ترغب في نشر نموذجك الخاص على مجموعتنا.