wan-2-7:whiteافتراضيالأرخصAlibaba Wan 2.7 API — كيفية الاتصال والدفع
Wan 2.7 (Alibaba) — يدعم T2V وI2V وتحرير الفيديو والمرجع إلى الفيديو. السعر لكل ثانية بحسب الدقة.
مقارنة القنوات
آخر 7 أيام
wan-2-7:pixel| القناة | السعر |
|---|---|
أبيض wan-2-7:whiteافتراضيالأرخص | يبدأ من $0.088533 / ث |
Pixel wan-2-7:pixel | يبدأ من $0.102857 / ث |
أنشئ النتيجة التي تحتاج إليها
wan-2-7:whiteما هو Alibaba Wan 2.7
Wan 2.7 (Alibaba) — يدعم T2V وI2V وتحرير الفيديو والمرجع إلى الفيديو. السعر لكل ثانية بحسب الدقة.
ملخص العقد
- الإدخال
- text, image, video
- الإخراج
- video
- الوضع
- غير متزامن (مهمة + استعلام دوري)
- الاستعلام عن الحالة
- كل 3 ثوانٍ · حتى 600 ثانية
نقاط القوة
- التسعير: لكل ثانية
- المدخلات: نص، صورة، فيديو
- 3 خيارات قابلة للتهيئة
- مفتاح API واحد لتوليد الوسائط
أين يُستخدم
- مقاطع وسائل التواصل الاجتماعي
- مواد ترويجية وتسلسلات العناوين
- تحريك الصور الثابتة
- لوحات القصة والرسوم المتحركة التخطيطية
عقد API
تتم عملية الإنشاء بشكل غير متزامن: أنشئ مهمة، ثم استعلم عن حالتها حتى تكتمل.
- إنشاء مهمة
- POST /api/media/generate
- التحقق من الحالة
- GET /api/media/jobs/{jobId}
- الإدخال
- text, image, video
- الإخراج
- video
- الاستعلام الدوري
- كل 3 ثوانٍ · حتى 600 ثانية
- المصادقة
- Authorization: Bearer sk-pv-…
مثال على طلب
مرّر مفتاحك في ترويسة Bearer. تُرجع API jobId للاستعلام عن الحالة.
curl -sS https://getvibeapi.com/api/media/generate \
-H "Authorization: Bearer $GETVIBE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary '{"model":"wan-2-7:white","prompt":"a beautiful landscape","opts":{"mode":"text-to-video","aspect_ratio":"16:9","duration":"5","resolution":"720p","prompt_extend":true,"watermark":false}}'JavaScript
const response = await fetch('https://getvibeapi.com/api/media/generate', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.GETVIBE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "wan-2-7:white",
"prompt": "a beautiful landscape",
"opts": {
"mode": "text-to-video",
"aspect_ratio": "16:9",
"duration": "5",
"resolution": "720p",
"prompt_extend": true,
"watermark": false
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);معلمات طلب API
معلمات الطلبات إلى Alibaba Wan 2.7 عبر GetVibe API.
promptمطلوبimage_urlvideo_urlaspect_ratiodurationmoderesolutionlast_frame_urlfirst_clip_urlaudio_urlfirst_framereference_voicenegative_promptseedprompt_extendwatermarkaudio_settingaudio_file_idaudio_base64image_file_idimage_base64last_frame_file_idvideo_file_idvideo_base64| المعلمة | النوع | القيم | الافتراضي | السعر |
|---|---|---|---|---|
promptمطلوب | text | text description | required | — |
image_url | URL | Public image URL | — | — |
video_url | URL | Public video URL | — | — |
aspect_ratio | option selection | 16:9 (default) · 9:16 · 1:1 | 16:9 | Included in the base price |
duration | option selection | 5 (default) · 10 | 5 | 5: $0.102857/s, 10: $0.102857/s |
mode | option selection | Text → video (default) · Image → video · Video Edit · Reference-to-Video | نص → فيديو | Included in the base price |
resolution | option selection | 720p (default) · 1080p | 720p | 720p: $0.102857/s, 1080p: $0.154286/s |
last_frame_url | text / number | any value | — | Included in the base price |
first_clip_url | text / number | any value | — | Included in the base price |
audio_url | text / number | any value | — | Included in the base price |
first_frame | text / number | any value | — | Included in the base price |
reference_voice | text / number | any value | — | Included in the base price |
negative_prompt | text / number | any value | — | Included in the base price |
seed | text / number | any value | — | Included in the base price |
prompt_extend | yes/no | Yes (default) · No | نعم | Included in the base price |
watermark | yes/no | Yes · No (default) | لا | Included in the base price |
audio_setting | option selection | Auto (model decides) (default) · Keep original | Auto (model decides) | Included in the base price |
audio_file_id | text | Alternative to audio_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
audio_base64 | text | Alternative to audio_url: the file inline, as base64 or a data: URI | — | Included in the base price |
image_file_id | text | Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
image_base64 | text | Alternative to image_url: the file inline, as base64 or a data: URI | — | Included in the base price |
last_frame_file_id | text | Alternative to last_frame_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
video_file_id | text | Alternative to video_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
video_base64 | text | Alternative to video_url: the file inline, as base64 or a data: URI | — | Included in the base price |
الطلب: POST https://getvibeapi.com/api/media/generate. الأسعار بالدولار الأمريكي.
سعر Alibaba Wan 2.7
تكلفة Alibaba Wan 2.7: من $0.102857 per second. يُحتسب السعر ديناميكيًا وفق سعر الصرف الحالي، وتظهر التكلفة النهائية في استجابة API (priceRub). الدفع بالدولار الأمريكي، دون اشتراكات.
تكلفة الطلب الافتراضي
عند عدم إرسال أي معلمات، يستخدم الطلب هذه القيم: Duration — 5, Resolution — 720p, Mode — Text → video, Frame format — 16:9. تبلغ تكلفة هذا الطلب $0.514286.
«من $0.102857» هي أرخص مجموعة من المعلمات، وليست سعر الطلب الافتراضي.
القنوات والأسعار لكل مجموعة من المعلمات
لكل قناة، سعر كل مجموعة من المعلمات. هذا هو المبلغ المحدد الذي تُحاسَب عليه عملية الإنشاء الناجحة، وهو الرقم نفسه الوارد في الجدول القابل للقراءة آليًا المرتبط أدناه.
أبيضwan-2-7:whiteيبدأ من $0.088533 / ثأسعار دقيقة
| نسبة العرض إلى الارتفاع · الوضع · توسيع الموجّه تلقائيًا · العلامة المائية "مولّد بالذكاء الاصطناعي" \ الدقة | 720p | 1080p |
|---|---|---|
| 16:9 · نص → فيديو · لا · لا | $0.088533 / ث | $0.146133 / ث |
| 16:9 · نص → فيديو · لا · نعم | $0.088533 / ث | $0.146133 / ث |
| 16:9 · نص → فيديو · نعم · لا | $0.088533 / ث | $0.146133 / ث |
| 16:9 · نص → فيديو · نعم · نعم | $0.088533 / ث | $0.146133 / ث |
| 9:16 · نص → فيديو · لا · لا | $0.088533 / ث | $0.146133 / ث |
| 9:16 · نص → فيديو · لا · نعم | $0.088533 / ث | $0.146133 / ث |
| 9:16 · نص → فيديو · نعم · لا | $0.088533 / ث | $0.146133 / ث |
| 9:16 · نص → فيديو · نعم · نعم | $0.088533 / ث | $0.146133 / ث |
| 1:1 · نص → فيديو · لا · لا | $0.088533 / ث | $0.146133 / ث |
| 1:1 · نص → فيديو · لا · نعم | $0.088533 / ث | $0.146133 / ث |
| 1:1 · نص → فيديو · نعم · لا | $0.088533 / ث | $0.146133 / ث |
| 1:1 · نص → فيديو · نعم · نعم | $0.088533 / ث | $0.146133 / ث |
كل مجموعة بصيغة JSON: /api/media/price-table?model=wan-2-7%3Awhite
Pixelwan-2-7:pixelيبدأ من $0.102857 / ثأسعار دقيقة
| نسبة العرض إلى الارتفاع · الوضع · توسيع الموجّه تلقائيًا · العلامة المائية "مولّد بالذكاء الاصطناعي" \ الدقة | 720p | 1080p |
|---|---|---|
| 16:9 · نص → فيديو · لا · لا | $0.102857 / ث | $0.154286 / ث |
| 16:9 · نص → فيديو · لا · نعم | $0.102857 / ث | $0.154286 / ث |
| 16:9 · نص → فيديو · نعم · لا | $0.102857 / ث | $0.154286 / ث |
| 16:9 · نص → فيديو · نعم · نعم | $0.102857 / ث | $0.154286 / ث |
| — · صورة → فيديو · لا · لا | $0.102857 / ث | $0.154286 / ث |
| — · صورة → فيديو · لا · نعم | $0.102857 / ث | $0.154286 / ث |
| — · صورة → فيديو · نعم · لا | $0.102857 / ث | $0.154286 / ث |
| — · صورة → فيديو · نعم · نعم | $0.102857 / ث | $0.154286 / ث |
| 16:9 · تحرير الفيديو · لا · لا | $0.102857 / ث | $0.154286 / ث |
| 16:9 · تحرير الفيديو · لا · نعم | $0.102857 / ث | $0.154286 / ث |
| 16:9 · تحرير الفيديو · نعم · لا | $0.102857 / ث | $0.154286 / ث |
| 16:9 · تحرير الفيديو · نعم · نعم | $0.102857 / ث | $0.154286 / ث |
| 16:9 · تحويل مرجع إلى فيديو · لا · لا | $0.102857 / ث | $0.154286 / ث |
| 16:9 · تحويل مرجع إلى فيديو · لا · نعم | $0.102857 / ث | $0.154286 / ث |
| 16:9 · تحويل مرجع إلى فيديو · نعم · لا | $0.102857 / ث | $0.154286 / ث |
| 16:9 · تحويل مرجع إلى فيديو · نعم · نعم | $0.102857 / ث | $0.154286 / ث |
| 9:16 · نص → فيديو · لا · لا | $0.102857 / ث | $0.154286 / ث |
| 9:16 · نص → فيديو · لا · نعم | $0.102857 / ث | $0.154286 / ث |
| 9:16 · نص → فيديو · نعم · لا | $0.102857 / ث | $0.154286 / ث |
| 9:16 · نص → فيديو · نعم · نعم | $0.102857 / ث | $0.154286 / ث |
| 9:16 · تحرير الفيديو · لا · لا | $0.102857 / ث | $0.154286 / ث |
| 9:16 · تحرير الفيديو · لا · نعم | $0.102857 / ث | $0.154286 / ث |
| 9:16 · تحرير الفيديو · نعم · لا | $0.102857 / ث | $0.154286 / ث |
| 9:16 · تحرير الفيديو · نعم · نعم | $0.102857 / ث | $0.154286 / ث |
| 9:16 · تحويل مرجع إلى فيديو · لا · لا | $0.102857 / ث | $0.154286 / ث |
| 9:16 · تحويل مرجع إلى فيديو · لا · نعم | $0.102857 / ث | $0.154286 / ث |
| 9:16 · تحويل مرجع إلى فيديو · نعم · لا | $0.102857 / ث | $0.154286 / ث |
| 9:16 · تحويل مرجع إلى فيديو · نعم · نعم | $0.102857 / ث | $0.154286 / ث |
| 1:1 · نص → فيديو · لا · لا | $0.102857 / ث | $0.154286 / ث |
| 1:1 · نص → فيديو · لا · نعم | $0.102857 / ث | $0.154286 / ث |
| 1:1 · نص → فيديو · نعم · لا | $0.102857 / ث | $0.154286 / ث |
| 1:1 · نص → فيديو · نعم · نعم | $0.102857 / ث | $0.154286 / ث |
| 1:1 · تحرير الفيديو · لا · لا | $0.102857 / ث | $0.154286 / ث |
| 1:1 · تحرير الفيديو · لا · نعم | $0.102857 / ث | $0.154286 / ث |
| 1:1 · تحرير الفيديو · نعم · لا | $0.102857 / ث | $0.154286 / ث |
| 1:1 · تحرير الفيديو · نعم · نعم | $0.102857 / ث | $0.154286 / ث |
| 1:1 · تحويل مرجع إلى فيديو · لا · لا | $0.102857 / ث | $0.154286 / ث |
| 1:1 · تحويل مرجع إلى فيديو · لا · نعم | $0.102857 / ث | $0.154286 / ث |
| 1:1 · تحويل مرجع إلى فيديو · نعم · لا | $0.102857 / ث | $0.154286 / ث |
| 1:1 · تحويل مرجع إلى فيديو · نعم · نعم | $0.102857 / ث | $0.154286 / ث |
كل مجموعة بصيغة JSON: /api/media/price-table?model=wan-2-7%3Apixel
README
يحتوي العقد القابل للقراءة آليًا لـ Alibaba Wan 2.7 على مخطط الطلب، والعمليات، والحدود، وأمثلة الاستطلاع والاستجابة.
# Alibaba Wan 2.7
نموذج عام: wan-2-7:white
إنشاء مهمة: POST /api/media/generate
التحقق من الحالة: GET /api/media/jobs/{jobId}
## معلمات الإدخال
- `prompt` (text): text description; افتراضي: required
- `image_url` (URL): Public image URL; افتراضي: —
- `video_url` (URL): Public video URL; افتراضي: —
- `aspect_ratio` (option selection): 16:9 (default) · 9:16 · 1:1; افتراضي: 16:9
- `duration` (option selection): 5 (default) · 10; افتراضي: 5
- `mode` (option selection): Text → video (default) · Image → video · Video Edit · Reference-to-Video; افتراضي: Text → video
- `resolution` (option selection): 720p (default) · 1080p; افتراضي: 720p
- `last_frame_url` (text / number): any value; افتراضي: —
- `first_clip_url` (text / number): any value; افتراضي: —
- `audio_url` (text / number): any value; افتراضي: —
- `first_frame` (text / number): any value; افتراضي: —
- `reference_voice` (text / number): any value; افتراضي: —
- `negative_prompt` (text / number): any value; افتراضي: —
- `seed` (text / number): any value; افتراضي: —
- `prompt_extend` (yes/no): Yes (default) · No; افتراضي: Yes
- `watermark` (yes/no): Yes · No (default); افتراضي: No
- `audio_setting` (option selection): Auto (model decides) (default) · Keep original; افتراضي: Auto (model decides)
- `audio_file_id` (text): Alternative to audio_url: the id of your own file from POST /v1/files (file-pv-…); افتراضي: —
- `audio_base64` (text): Alternative to audio_url: the file inline, as base64 or a data: URI; افتراضي: —
- `image_file_id` (text): Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…); افتراضي: —
- `image_base64` (text): Alternative to image_url: the file inline, as base64 or a data: URI; افتراضي: —
- `last_frame_file_id` (text): Alternative to last_frame_url: the id of your own file from POST /v1/files (file-pv-…); افتراضي: —
- `video_file_id` (text): Alternative to video_url: the id of your own file from POST /v1/files (file-pv-…); افتراضي: —
- `video_base64` (text): Alternative to video_url: the file inline, as base64 or a data: URI; افتراضي: —
## الأنواع العامة
- `wan-2-7:white`: White
- `wan-2-7:pixel`: Pixelالأسئلة الشائعة حول واجهة برمجة تطبيقات Alibaba Wan 2.7
كم تبلغ تكلفة Alibaba Wan 2.7؟
سعر Alibaba Wan 2.7: من $0.102857 per second. يُحتسب السعر ديناميكيًا وفق سعر الصرف الحالي.
هل يتوافق مع OpenAI SDK؟
نعم، واجهة برمجة التطبيقات متوافقة بالكامل مع OpenAI. ما عليك سوى تغيير base_url إلى https://getvibeapi.com/v1 وإضافة مفتاحك — وستبقى بقية الشفرة كما هي.
اربط Alibaba Wan 2.7 الآن
أنشئ حسابًا خلال دقيقة، وادفع حسب الاستخدام، واستفد من الشفرة الجاهزة أعلاه.
الحصول على مفتاح API