P Video Replace inserts or replaces a subject in existing footage using reference images, preserving the source movement for character swaps and casting studies.
P Video Replace Edit API example
curl -X POST https://api.protoface.com/v1/run/pruna-ai/p-video-replace \
-H "Authorization: Bearer $PROTOFACE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"operation": "video.edit",
"images": "https://example.com/your-image.png",
"prompt": "A red fox resting beside a woodland stream, soft morning light.",
"video": "https://example.com/your-video.mp4",
"fps": "original",
"resolution": "720p",
"save_audio": true
}'Replace example input URLs with your own public URLs or uploaded asset IDs. This request uses the selected mode and settings.
Supported modes
Edit
Edit uses images and video. Adjust the model options to prepare a request for this mode.
video.editPricing
Video editing
Based on verified input duration.
| Offering | Price (USD) |
|---|---|
| Resolution: 720p | $0.03 / input second |
| Resolution: 1080p | $0.06 / input second |
- Images count: 1, 2, 3 (same price).
- Fps: original, 24, 48 (same price).
- Save Audio: Off, On (same price).
- Based on the video input; billing steps apply in this order:
- Round input duration up to a whole second.
- Cap billed duration at 120 seconds.
- Bill at least 1 second.
- Round the total charge up to the next $0.01.
Edit options
P Video Replace
P Video Replace edits existing footage by inserting a reference subject or changing the subject already on screen. Reference images establish the intended appearance, and the source video supplies the motion to retain. Optional written direction guides how the reference subject appears in the scene.
The task centers on applying a different visual identity to an established performance. A source clip can provide the movement for a character replacement, while reference artwork or photographs define the subject used in the edited result. This makes the relationship between appearance and performance directly visible in moving footage.
What it's good for
Creative teams can explore alternate casting ideas or test a stylized character within a filmed performance. For promotional work, the same movement can support different subject treatments as a campaign's visual direction develops.
It also suits character concept studies built around an existing action. Designers can assess how a proposed subject reads throughout the performance and use that footage during creative review.
Run P Video Replace on Protoface
Use P Video Replace in Protoface Studio without writing code. Choose your inputs and generation settings, then generate with affordable, usage-based pricing. For your own AI app or workflow, use the Protoface API to submit generations and retrieve their outputs.

About Pruna
Pruna develops efficiency-focused AI models and provides an open-source library for deployment on users’ own infrastructure. Its p-video family supports video creation from text, images and reference material, as well as video-to-video editing. API access and self-hosted options connect this work to creative application development.
- Model efficiency
- Video generation
- Self-hosted deployment










