P-Video-Replace
Pruna's P-Video-Replace takes a source video and one or more identity reference images, then places the referenced person or people into the video while preserving the source motion and audio.
Quick start
# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/infer \
-H "content-type: application/json" \
-d '{
"model": "pruna/p-video-replace",
"video": <string>
}'
# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/infer \
-J '{"model": "pruna/p-video-replace", "video": "<string>"}'Examples
Parameters
Disable safety checker for generated videos.
Ignore source audio during generation.
Identity reference image(s), 1 to 3, to place into the video. Each entry is an HTTP(S) URL or a data URI.
Further instruction on how to place people from the reference images into the scene.
Target resolution.
Save the video with audio.
Random seed for reproducible generation.
Target FPS for the working video.
Turbo mode: faster generation for slightly lower quality.
Source RGB video (.mp4) used as the motion and audio source. HTTP(S) URL or data URI. Pass a public URL; to use a local file, upload it (free) via POST /v1/media (≤40MB) and pass the returned url.