Table of contents
- Create transition video
- Create fusion video
- Create video effect using template
- Create video using first and last frames
- Create video from the text prompt
- Create video from text and an image prompts
- Extend video with the prompt
- Upscale video to 4K
PixVerse API v2 major update
- Added support for the new v5 model, which is now the default model
- Added model capabilities matrix documentation
- Added POST videos/create-transition for multi-frame transition videos
- Updated POST videos/create-fusion to support up to 3 frames (up from 2)
- Updated POST videos/create to make the
prompt
parameter optional - Old versioned endpoints now redirect to new simplified URLs:
POST videos/create-v4
→POST videos/create
POST videos/create-frames-v4
→POST videos/create-frames
POST videos/extend-v4
→POST videos/extend
POST videos/restyle-v4
→POST videos/restyle
- POST videos/create-fusion parameter mapping (old → new):
first_frame_path
→frame_1_path
last_frame_path
→frame_2_path
See examples below.
Create transition video
POST videos/create-transition.
frame_1_path
frame_2_path
frame_3_path
frame_4_path
frame_5_path
CURL:
curl --location 'https://api.useapi.net/v2/pixverse/videos/create-transition' \
--header 'Authorization: Bearer user:12345-…' \
--form 'quality="720p"' \
--form 'frame_1_path="upload/<car1>.jpeg"' \
--form 'frame_2_path="upload/<car2>.jpeg"' \
--form 'frame_3_path="upload/<car3>.jpeg"' \
--form 'frame_4_path="upload/<car4>.jpeg"' \
--form 'frame_5_path="upload/<car5>.jpeg"'
Instrumental music composed via POST mureka/music/create-instrumental
Using POST videos/lipsync composed mp3 track applied to previously generated transition video.
Final result with transition video and music
Create fusion video
frame_1_path
frame_2_path
frame_3_path
CURL:
curl --location 'https://api.useapi.net/v2/pixverse/videos/create-fusion' \
--header 'Authorization: Bearer user:12345-…' \
--form 'prompt="@pic1 fixing the hair of @pic2 while @pic2 is sticking her tongue out with @pic3 in the background"' \
--form 'duration="8"' \
--form 'frame_1_path="upload/….png"' \
--form 'frame_2_path="upload/….webp"' \
--form 'frame_3_path="upload/….jpg"' \
--form 'aspect_ratio="9:16"'
Result
Create video effect using template
Effect 340541567573824
“Dive in! Get your fins now” see GET videos/effects.
CURL:
curl --location 'https://api.useapi.net/v2/pixverse/videos/create' \
--header 'Authorization: Bearer user:12345-…' \
--form 'quality="720p"' \
--form 'first_frame_path="upload/….webp"' \
--form 'template_id="340541567573824"'
Result
Create video using first and last frames
first_frame_path
last_frame_path
CURL:
curl --location 'https://api.useapi.net/v2/pixverse/videos/create-frames' \
--header 'Authorization: Bearer user:12345-…' \
--form 'duration="8"' \
--form 'model="v5"' \
--form 'quality="720p"' \
--form 'first_frame_path="upload/….webp"' \
--form 'last_frame_path="upload/….webp"' \
--form 'sound_effect_prompt="Happy, upbeat music playing."' \
--form 'lip_sync_tts_prompt="Time to take my kitty for a walk\!"' \
--form 'lip_sync_tts_speaker_id="5"'
Result
Create video from the text prompt
CURL:
curl --location 'https://api.useapi.net/v2/pixverse/videos/create' \
--header 'Authorization: Bearer user:12345-…' \
--form 'prompt="A handheld selfie-style shot, from the point-of-view of the Predator in full armor (from the Predator movie) in a lush jungle. The Predator holds the camera in his right arm at arm’s length. His long, powerful arms are clearly visible in the frame, and his face featuring arthropod-like mandibles and no visible nose is perfectly framed. The Predator says in a deep voice: “I just landed on this planet. Will be scouting for the prey and sending updates shortly.” (lips moving like he’s saying it)"' \
--form 'duration="8"' \
--form 'quality="720p"' \
--form 'sound_effect_prompt="Rumbling alien voice"'
Result
Create video from text and an image prompts
CURL:
curl --location 'https://api.useapi.net/v2/pixverse/videos/create' \
--header 'Authorization: Bearer user:12345-…' \
--form 'prompt="Menacing crows circling around wizard lady. Atmosphere of dark magic. Camera slowly zooming out."' \
--form 'duration="8"' \
--form 'quality="720p"' \
--form 'aspect_ratio="9:16"' \
--form 'first_frame_path="upload/….webp"' \
--form 'sound_effect_prompt="Sound of the crows flapping their wings."' \
--form 'lip_sync_tts_prompt="Stay away from my crows\!"' \
--form 'lip_sync_tts_speaker_id="1"'
Result
Extend video with the prompt
We will be using video generated above.
CURL:
curl --location 'https://api.useapi.net/v2-dev/pixverse/videos/extend' \
--header 'Authorization: Bearer user:12345-…' \
--form 'prompt="She grows wings and flies away with the crows."' \
--form 'duration="8"' \
--form 'model="v5"' \
--form 'quality="720p"' \
--form 'video_id="user:…-video:…"'
Result
Upscale video to 4K
We will be using video generated above.
CURL:
curl --location 'https://api.useapi.net/v2/pixverse/videos/upscale' \
--header 'Authorization: Bearer user:12345-…' \
--form 'video_id="user:…-video:…"'
Result