wan-speech-to-video:flowافتراضيWan Speech-to-Video API — كيفية الاتصال والدفع
Wan 2.2 A14B Speech-to-Video Turbo عبر Flow — فيديو لشخصية تتحدث. يتطلب prompt وimage_url وaudio_url. دائمًا بمعدل 16 fps؛ ويحدد num_frames (من 40–120، ومضاعف لـ 4) الطول: يتم إخراج num_frames − 3 إطارات، و80 → 4.81 s، وبحد أقصى 120 → 7.31 s. يُقص الصوت الأطول من المقطع. السعر لكل ثانية من فيديو الإخراج.
مقارنة القنوات
آخر 7 أيام
| القناة | السعر |
|---|---|
Flow wan-speech-to-video:flowافتراضي | يبدأ من $0.133333 / ث |
أنشئ النتيجة التي تحتاج إليها
wan-speech-to-video:flowما هو Wan Speech-to-Video
Wan 2.2 A14B Speech-to-Video Turbo عبر Flow — فيديو لشخصية تتحدث. يتطلب prompt وimage_url وaudio_url. دائمًا بمعدل 16 fps؛ ويحدد num_frames (من 40–120، ومضاعف لـ 4) الطول: يتم إخراج num_frames − 3 إطارات، و80 → 4.81 s، وبحد أقصى 120 → 7.31 s. يُقص الصوت الأطول من المقطع. السعر لكل ثانية من فيديو الإخراج.
ملخص العقد
- الإدخال
- text, image, audio
- الإخراج
- video
- الوضع
- غير متزامن (مهمة + استعلام دوري)
- الاستعلام عن الحالة
- كل 3 ثوانٍ · حتى 600 ثانية
نقاط القوة
- التسعير: لكل ثانية
- المدخلات: نص، صورة، صوت
- 3 خيارات قابلة للتهيئة
- مفتاح API واحد لتوليد الوسائط
أين يُستخدم
- مقاطع وسائل التواصل الاجتماعي
- مواد ترويجية وتسلسلات العناوين
- تحريك الصور الثابتة
- لوحات القصة والرسوم المتحركة التخطيطية
عقد API
تتم عملية الإنشاء بشكل غير متزامن: أنشئ مهمة، ثم استعلم عن حالتها حتى تكتمل.
- إنشاء مهمة
- POST /api/media/generate
- التحقق من الحالة
- GET /api/media/jobs/{jobId}
- الإدخال
- text, image, audio
- الإخراج
- 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-speech-to-video:flow","prompt":"a beautiful landscape","opts":{"image_url":"https://example.com/image_url.png","audio_url":"https://example.com/audio_url.mp3","resolution":"480p"}}'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-speech-to-video:flow",
"prompt": "a beautiful landscape",
"opts": {
"image_url": "https://example.com/image_url.png",
"audio_url": "https://example.com/audio_url.mp3",
"resolution": "480p"
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);معلمات طلب API
معلمات الطلبات إلى Wan Speech-to-Video عبر GetVibe API.
promptمطلوبimage_urlaudio_urlresolutionnum_framesframes_per_secondnegative_promptnum_inference_stepsguidance_scaleshiftimage_file_idimage_base64audio_file_idaudio_base64| المعلمة | النوع | القيم | الافتراضي | السعر |
|---|---|---|---|---|
promptمطلوب | text | text description | required | — |
image_url | URL | Public image URL | — | — |
audio_url | URL | Public audio URL | — | — |
resolution | option selection | 480p (default) · 580p · 720p | 480p | 480p: $0.133333, 580p: $0.20, 720p: $0.266667 |
num_frames | text / number | any value | — | Included in the base price |
frames_per_second | text / number | any value | — | Included in the base price |
negative_prompt | text / number | any value | — | Included in the base price |
num_inference_steps | text / number | any value | — | Included in the base price |
guidance_scale | text / number | any value | — | Included in the base price |
shift | text / number | any value | — | 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 |
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 |
الطلب: POST https://getvibeapi.com/api/media/generate. الأسعار بالدولار الأمريكي.
سعر Wan Speech-to-Video
تكلفة Wan Speech-to-Video: من $0.133333 per second. يُحتسب السعر ديناميكيًا وفق سعر الصرف الحالي، وتظهر التكلفة النهائية في استجابة API (priceRub). الدفع بالدولار الأمريكي، دون اشتراكات.
تكلفة الطلب الافتراضي
عند عدم إرسال أي معلمات، يستخدم الطلب هذه القيم: Resolution — 480p. تبلغ تكلفة هذا الطلب $0.133333.
القنوات والأسعار لكل مجموعة من المعلمات
لكل قناة، سعر كل مجموعة من المعلمات. هذا هو المبلغ المحدد الذي تُحاسَب عليه عملية الإنشاء الناجحة، وهو الرقم نفسه الوارد في الجدول القابل للقراءة آليًا المرتبط أدناه.
Flowwan-speech-to-video:flowيبدأ من $0.133333 / ثأسعار دقيقة
| الدقة | 480p | 580p | 720p |
|---|---|---|---|
| Flow | $0.133333 / ث | $0.20 / ث | $0.266667 / ث |
السعر لكل ثانية من الفيديو المُنشأ. الرسوم هي هذا السعر × المدة الفعلية للنتيجة.
كل مجموعة بصيغة JSON: /api/media/price-table?model=wan-speech-to-video%3Aflow
README
يحتوي العقد القابل للقراءة آليًا لـ Wan Speech-to-Video على مخطط الطلب، والعمليات، والحدود، وأمثلة الاستطلاع والاستجابة.
# Wan Speech-to-Video
نموذج عام: wan-speech-to-video:flow
إنشاء مهمة: POST /api/media/generate
التحقق من الحالة: GET /api/media/jobs/{jobId}
## معلمات الإدخال
- `prompt` (text): text description; افتراضي: required
- `image_url` (URL): Public image URL; افتراضي: —
- `audio_url` (URL): Public audio URL; افتراضي: —
- `resolution` (option selection): 480p (default) · 580p · 720p; افتراضي: 480p
- `num_frames` (text / number): any value; افتراضي: —
- `frames_per_second` (text / number): any value; افتراضي: —
- `negative_prompt` (text / number): any value; افتراضي: —
- `num_inference_steps` (text / number): any value; افتراضي: —
- `guidance_scale` (text / number): any value; افتراضي: —
- `shift` (text / number): any value; افتراضي: —
- `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; افتراضي: —
- `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; افتراضي: —
## الأنواع العامة
- `wan-speech-to-video:flow`: Flowالأسئلة الشائعة حول واجهة برمجة تطبيقات Wan Speech-to-Video
كم تبلغ تكلفة Wan Speech-to-Video؟
سعر Wan Speech-to-Video: من $0.133333 per second. يُحتسب السعر ديناميكيًا وفق سعر الصرف الحالي.
هل يتوافق مع OpenAI SDK؟
نعم، واجهة برمجة التطبيقات متوافقة بالكامل مع OpenAI. ما عليك سوى تغيير base_url إلى https://getvibeapi.com/v1 وإضافة مفتاحك — وستبقى بقية الشفرة كما هي.
اربط Wan Speech-to-Video الآن
أنشئ حسابًا خلال دقيقة، وادفع حسب الاستخدام، واستفد من الشفرة الجاهزة أعلاه.
الحصول على مفتاح API