
Six video transformations in one model: prompt editing, restyling, subject swap, motion transfer, upscaling, and generated sound effects.
Six video transformations in one model: prompt editing, restyling, subject swap, motion transfer, upscaling, and generated sound effects.
pixverse-edit/v1/videos/generationspixverse/editLive Pay-as-you-go-Preise aus dem EmpirioLabs-Katalog. Du zahlst nur für das, was du nutzt, ohne monatliches Minimum.
Pixverse Edit läuft über POST /v1/videos/generations. Der Request liefert sofort eine job_id; frage GET /v1/jobs/{job_id} ab, bis der Job abgeschlossen ist, und lies die Ausgabe-URLs aus dem Ergebnis. Hol dir einen API-Schlüssel im EmpirioLabs Dashboard.
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 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": "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)Request-Parameter, die die Pixverse Edit API auf EmpirioLabs unterstützt. Standardwerte gelten, wenn ein Feld weggelassen wird.
| Parameter | Typ | Standard | Bereich / Werte | Beschreibung |
|---|---|---|---|---|
| mode | enum | modify | modify, restyle, swap, mimic, upscale, sound_effect | Which transformation to run. modify edits content from a prompt. restyle changes the visual style. swap replaces a subject with an uploaded image. mimic transfers... |
| prompt | string | - | - | 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... |
| resolution | enum | 540p | 360p, 540p, 720p | Output resolution for modify, mimic and swap. Restyle, upscale and sound_effect follow the source clip. |
| restyle_id | number | - | - | Optional preset id for restyle, as an alternative to a style prompt. |
| swap_target | string | - | - | 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_id | number | 1 | min. 1 | Which frame of the source video swap mode reads its subjects from. Defaults to the first frame. |
| original_sound_switch | boolean | false | - | Keep the source clip audio underneath a generated sound effect. |
| seed | number | - | 0 bis 2147483647 | Reproducibility seed for restyle. |
| video | string | - | - | Source video URL. Required for every mode. |
| image | string | - | - | 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.
Auf EmpirioLabs wird Pixverse Edit nach Verbrauch abgerechnet: Modify 360p $0.16 per second; Modify 540p $0.20 per second; Modify 720p $0.24 per second. Die Live-Preistabelle auf dieser Seite entspricht immer dem, was die API berechnet.
Pixverse Edit wird über POST /v1/videos/generations auf api.empiriolabs.ai mit normaler Bearer-Token-Authentifizierung bereitgestellt.
Ja. Der EmpirioLabs Playground führt Pixverse Edit im Browser mit denselben Parametern aus, die die API bietet. So kannst du Prompts testen, bevor du Code schreibst.
Erstelle ein EmpirioLabs-Konto und generiere dann einen Schlüssel unter API Keys im Dashboard. Die Abrechnung erfolgt über Pay-as-you-go-Guthaben, du zahlst also nur für deine Requests.
Schauen Sie sich unsere Preise an oder kontaktieren Sie uns, wenn Sie Ihr eigenes Modell auf unserem Stack implementieren möchten.