Pixverse Edit واجهة برمجة التطبيقات

Six video transformations in one model: prompt editing, restyling, subject swap, motion transfer, upscaling, and generated sound effects.

PixVerseتوليد الفيديونقطة نهاية مملوكة

حول Pixverse Edit

Six video transformations in one model: prompt editing, restyling, subject swap, motion transfer, upscaling, and generated sound effects.

video editingeditingstylesmotion controlaudio out

مواصفات Pixverse Edit

معرّف النموذج
pixverse-edit
المزود
PixVerse
الفئة
توليد الفيديو
تاريخ الإصدار
-
الإدخال
نصفيديوصورة
الإخراج
فيديو
نقاط النهاية
POST/v1/videos/generations
معرّفات نموذج بديلة
pixverse/edit

أسعار واجهة Pixverse Edit API

أسعار الدفع حسب الاستخدام مباشرة من كتالوج EmpirioLabs. تدفع فقط مقابل ما تستخدمه، بدون حد أدنى شهري.

النوع
المواصفة
السعر
Modify 360p
per second
$0.16
Modify 540p
per second
$0.20
Modify 720p
per second
$0.24
Restyle
per second
$0.20
Motion control 360p
per second
$0.18
Motion control 540p
per second
$0.20
Motion control 720p
per second
$0.24
Swap 360p
per second
$0.18
Swap 540p
per second
$0.18
Swap 720p
per second
$0.24
Upscale
per second
$0.10
Sound effects
per second
$0.04
قارن في صفحة الأسعار الكاملة

كيفية استدعاء واجهة Pixverse Edit API

يعمل Pixverse Edit عبر POST /v1/videos/generations. يعيد الطلب job_id فورًا؛ استعلم عن GET /v1/jobs/{job_id} حتى تكتمل المهمة ثم اقرأ روابط الإخراج من النتيجة. احصل على مفتاح API من لوحة تحكم EmpirioLabs.

cURL: إرسال المهمة
curl https://api.empiriolabs.ai/v1/videos/generations \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "pixverse-edit",
    "prompt": "Describe what you want Pixverse Edit to generate."
  }'
cURL: استعلام النتيجة
curl https://api.empiriolabs.ai/v1/jobs/JOB_ID \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY"
Python
import requests

response = requests.post(
    "https://api.empiriolabs.ai/v1/videos/generations",
    headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
    json={
        "model": "pixverse-edit",
        "prompt": "Describe what you want Pixverse Edit 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)
المرجع الكامل لواجهة Pixverse Edit API

معلمات واجهة Pixverse Edit API

معلمات الطلب التي تدعمها واجهة Pixverse Edit API على EmpirioLabs. تُطبق القيم الافتراضية عند حذف أي حقل.

المعاملالنوعالافتراضيالنطاق / القيمالوصف
modeenummodifymodify, restyle, swap, mimic, upscale, sound_effectWhich transformation to run. modify edits content from a prompt. restyle changes the visual style. swap replaces a subject with an uploaded image. mimic transfers...
promptstring--Used by modify as the edit to make, by restyle as the target style, and by sound_effect as the sound to generate. Leave it empty on sound_effect to derive the sound...
resolutionenum540p360p, 540p, 720pOutput resolution for modify, mimic and swap. Restyle, upscale and sound_effect follow the source clip.
restyle_idnumber--Optional preset id for restyle, as an alternative to a style prompt.
swap_targetstring--Name of the detected subject to replace in swap mode, for example person or dog. Defaults to the first subject found in the keyframe.
keyframe_idnumber1الحد الأدنى 1Which frame of the source video swap mode reads its subjects from. Defaults to the first frame.
original_sound_switchbooleanfalse-Keep the source clip audio underneath a generated sound effect.
seednumber-0 إلى 2147483647Reproducibility seed for restyle.
videostring--Source video URL. Required for every mode.
imagestring--Replacement image for swap, subject image for mimic, or up to 3 guidance images for modify.

معلومات مفيدة

Six transformations that take an existing video and return a new one, selected with mode.

Modes

  • modify: edit the content of a clip from a text prompt, optionally guided by up to 3 reference images.
  • restyle: change the visual style while preserving motion and composition. Pass a restyle_prompt or a restyle_id.
  • swap: replace a subject in the clip with an uploaded image. The model detects the subjects in the chosen keyframe; use swap_target to name which one, otherwise the first detected subject is used.
  • mimic: transfer the motion of the source video onto a subject image.
  • upscale: raise the resolution of the clip.
  • sound_effect: generate a synchronized sound bed. Leave the prompt empty to have it derived from the video, and set original_sound_switch to keep the existing audio.

الإخراج

  • modify, mimic and swap output 360p, 540p or 720p. restyle, upscale and sound_effect follow the source clip.

Billing

  • Billed per second of the source video at the rate for the mode and resolution. swap also includes a small one-off subject-detection charge, which is folded into the billed seconds for that request.

Input limits

  • Video: MP4, MOV or WebM, up to 1920px on the long edge and 30 seconds. Up to 100MB for modify, mimic, swap and upscale, and 50MB for restyle and sound effects. Swap requires H.264 or H.265.
  • Images: PNG, JPEG or WebP, up to 20MB and 10000px on the long edge.

واجهة Pixverse Edit API: أسئلة شائعة

كم تكلف واجهة Pixverse Edit API؟

على EmpirioLabs، تتم فوترة Pixverse Edit حسب الاستخدام: Modify 360p $0.16 per second; Modify 540p $0.20 per second; Modify 720p $0.24 per second. جدول الأسعار المباشر في هذه الصفحة يطابق دائمًا ما تحتسبه الواجهة.

أي نقطة نهاية يستخدم Pixverse Edit؟

يُقدَّم Pixverse Edit عبر POST /v1/videos/generations على api.empiriolabs.ai مع مصادقة Bearer القياسية.

هل يمكنني تجربة Pixverse Edit في المتصفح قبل الدمج؟

نعم. يشغّل ملعب EmpirioLabs نموذج Pixverse Edit في المتصفح بنفس المعلمات التي تتيحها الواجهة، لتجربة المطالبات قبل كتابة الكود.

كيف أحصل على مفتاح API لنموذج Pixverse Edit؟

أنشئ حساب EmpirioLabs ثم أنشئ مفتاحًا من API Keys في لوحة التحكم. الفوترة برصيد الدفع حسب الاستخدام، فلا تدفع إلا مقابل الطلبات التي تنفذها.

هل أنت مستعد لاستخدام نقاط نهاية أفضل؟

تحقق من تسعيرنا أو تواصل إذا كنت ترغب في نشر نموذجك الخاص على مجموعتنا.