Pixverse Edit

Pixverse Edit
PixVerse · Video Generation
POST /v1/videos/generations

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

At a glance

FieldValue
Model idpixverse-edit
Model release date-
Input modalitiesText, Video, Image
Output modalitiesVideo
Context window-
Weight precision-
Featuresvideo_editing, editing, styles, motion_control, audio_out
Native inferenceNo
NewNo
Supported endpointsPOST /v1/videos/generations
Alternate model idspixverse/edit

Pricing

ChargeSpecRate
Modify 360pper second$0.16
Modify 540pper second$0.20
Modify 720pper second$0.24
Restyleper second$0.20
Motion control 360pper second$0.18
Motion control 540pper second$0.20
Motion control 720pper second$0.24
Swap 360pper second$0.18
Swap 540pper second$0.18
Swap 720pper second$0.24
Upscaleper second$0.10
Sound effectsper second$0.04

Example request

$curl https://api.empiriolabs.ai/v1/videos/generations \
> -H 'Authorization: Bearer $EMPIRIOLABS_API_KEY' \
> -H 'Content-Type: application/json' \
> -d '{"model": "pixverse-edit", "prompt": "sunrise over the ocean", "duration": 6}'

Parameters

ParameterTypeRequiredDefaultDescription
modeenumno"modify"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 the motion onto a subject image. upscale raises the resolution. sound_effect generates a synchronized sound bed. · Allowed: modify, restyle, swap, mimic, upscale, sound_effect
promptstringno-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 from the video.
resolutionenumno"540p"Output resolution for modify, mimic and swap. Restyle, upscale and sound_effect follow the source clip. · Allowed: 360p, 540p, 720p
restyle_idnumberno-Optional preset id for restyle, as an alternative to a style prompt.
swap_targetstringno-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_idnumberno1Which frame of the source video swap mode reads its subjects from. Defaults to the first frame. · Min: 1
original_sound_switchbooleannofalseKeep the source clip audio underneath a generated sound effect.
seednumberno-Reproducibility seed for restyle. · Range: 0 – 2147483647
videostringno-Source video URL. Required for every mode.
imagestringno-Replacement image for swap, subject image for mimic, or up to 3 guidance images for modify.

Notes

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.

Output

  • 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.

Machine-readable schema: GET https://api.empiriolabs.ai/v1/models/pixverse-edit.