
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/editEmpirioLabs 카탈로그의 실시간 종량제 요금입니다. 사용한 만큼만 결제하며 월 최소 요금이 없습니다.
Pixverse Edit은(는) POST /v1/videos/generations로 실행됩니다. 요청은 즉시 job_id를 반환하며, 작업이 완료될 때까지 GET /v1/jobs/{job_id}을 폴링한 뒤 결과에서 출력 URL을 읽으세요. EmpirioLabs 대시보드에서 API 키를 발급받으세요.
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)EmpirioLabs에서 Pixverse Edit API가 지원하는 요청 파라미터입니다. 필드를 생략하면 기본값이 적용됩니다.
| 파라미터 | 유형 | 기본값 | 범위 / 값 | 설명 |
|---|---|---|---|---|
| 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 | 최소 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 ~ 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.
EmpirioLabs에서 Pixverse Edit은(는) 종량제로 청구됩니다: Modify 360p $0.16 per second; Modify 540p $0.20 per second; Modify 720p $0.24 per second. 이 페이지의 실시간 요금표는 항상 API 청구 금액과 일치합니다.
Pixverse Edit은(는) api.empiriolabs.ai의 POST /v1/videos/generations를 통해 제공되며 표준 Bearer 토큰 인증을 사용합니다.
네. EmpirioLabs 플레이그라운드에서 API와 동일한 파라미터로 Pixverse Edit을(를) 브라우저에서 실행하므로 코드를 작성하기 전에 프롬프트를 테스트할 수 있습니다.
EmpirioLabs 계정을 만든 다음 대시보드의 API Keys에서 키를 생성하세요. 요금은 종량제 크레딧이라 실행한 요청에 대해서만 결제합니다.