P-Video-2-Pro-Lipsync
P-Video-2-Pro-Lipsync dubs an existing video to new speech. Send a video of someone talking plus the new audio, and get the same video back with the mouth re-synced to that audio. Only the lower face is repainted. The framing, background, and everything outside the mouth area stay the original video, pixel for pixel.
Send a video with a visible face and an audio file with the new speech. Output is a 24 fps MP4 with the new audio, as long as the shorter of the two inputs, up to 60 seconds. The output keeps the resolution and aspect ratio of the source, up to 1080p (1920 px on the long side). Larger videos are scaled down. The original soundtrack is replaced by the audio you send: mix any music or sound effects into that audio. Any language works, since the mouth follows the audio.
For a talking video from a still instead of existing footage, use P-Video-2-Pro-Avatar. P-Video-2-Pro-Lipsync does not generate speech: you supply the new audio.
Note
When using P-Video-2-Pro-Lipsync, respect the copyright of the videos and audio you use as input and of the video you generate.
Pricing: one flat rate of $0.025 per second of output video at every resolution, billed in whole seconds with a minimum of 1 second. Part seconds round up: a 10.2 second video is billed as 11 seconds. A 10 second video is $0.25 and a 60 second video is $1.50. A video in which no face is found fails and is not billed.
Any resolution (up to 1080p) |
|
|---|---|
Per output second |
$0.025 |
5 seconds |
$0.125 |
10 seconds |
$0.25 |
30 seconds |
$0.75 |
60 seconds |
$1.50 |
Speed: end-to-end generation time on the Pruna API. A 5 second clip takes about 14 s. A 15 second clip at 1080p takes about 40 s.
Clip |
Generation time |
|---|---|
5 s |
~14 s |
Tip
Try in the Playground in the Pruna User Portal.
Prompt formula
Fast pass
One video, one audio file. There is no prompt. Enough for a first dub when one face is on screen.
Locked-in
Same clip, trimmed audio, fixed seed. Compare takes or languages one change at a time.
seed 404. Tuesday becomes Thursday.video— required. The person who speaks, with the face visible. Up to 200 MB. The face, framing, background, and resolution come from this file. Frames larger than 1920 px on the long side are scaled down.Fast pass: a single-person talking clip.
Locked-in: the same file every rerun when you compare takes or languages.
audio— required. The new speech, in any language. Up to 64 MB. The output is as long as the shorter of the video and the audio, up to 60 seconds; audio longer than the video is cut. This audio replaces the original soundtrack, so mix any music or sound effects into it. The voice is the one in your audio: use a voice that fits the person on screen.Fast pass: the dubbed line as recorded.
Locked-in: clean speech, trimmed to the length you want in the output.
seed— optional. The same inputs and seed give the same frames. Fix it to compare runs.Fast pass: empty.
Locked-in: the same value on every rerun.
Slot |
Fast pass (enough to run) |
Locked-in (stronger control) |
|---|---|---|
|
One person on screen; clear face. |
Same clip every rerun; frontal face, no long head turns, no cuts. |
|
The new line. |
Clean speech, trimmed; the shorter input sets the length. |
|
Empty. |
Fixed; change one input at a time. |
Tip
Generate the new speech with any TTS or record it, then pass it as audio. For a new talking video from a still, use P-Video-2-Pro-Avatar.
Choosing the right video model
Pruna ships performance video models that share the same prediction API, but each solves a different production problem. P-Video-2-Pro-Lipsync re-syncs the mouth in existing footage to new speech (Model: p-video-2-pro-lipsync) and requires a source video and an audio file.
One-line job |
Speak from one still |
Generate cinematic footage from prompts + references |
Generate cinematic footage from prompts |
Generate premium footage from prompts |
Generate fast / affordable footage |
Speak from one still (script or audio) |
Retarget one still with clip motion |
Dub existing footage to new speech |
Swap characters in existing footage (up to 120 s, 4k) |
Swap characters, faster / cheaper |
Rewrite content in existing footage |
Sharpen existing footage |
You start with |
Portrait still + |
Prompt + at least one image or video (+ optional audio, start / end frames) |
Text prompt (+ optional first / last frame) |
Text prompt (+ optional image / audio) |
Text prompt (+ optional image / audio) |
Portrait still + |
Source video + one still |
Source video + new |
Source video + 1 or 2 stills |
Source video + identity stills |
Source video + text prompt |
Source video |
You keep from the source |
Aspect ratio of the still; uploaded audio as soundtrack |
Identity, motion, and canvas from the uploaded references |
N/A (new scene); canvas follows reference images when set |
N/A (new scene); strong I2V consistency when an image is set |
N/A (new scene) |
Aspect ratio of the still |
Motion, timing, camera from the driver |
Everything outside the lower face; resolution and aspect ratio up to 1080p |
Camera, timing, blocking, background, soundtrack |
Camera, timing, blocking, background |
Camera, timing, subject performance |
Aspect ratio, audio, motion, and length |
Typical ask |
“This person, painting, or character says this line — or sings this track.” |
“Continue this clip / match these stills for 8 s at 768p.” |
“Make an 8 s cinematic product or documentary clip with generated audio.” |
“Make a 10 s product ad with music and lip-sync.” |
“Draft a 5 s social clip cheaply and fast.” |
“This spokesperson says this line in French.” |
“Animate this catalog still using our winning ad take.” |
“Dub this talking-head clip into English, keep the speaker.” |
“Put this person in this clip, keep the motion and audio.” |
“Put our creator in this UGC b-roll, cheaply.” |
“Turn this silver SUV red and keep the camera move.” |
“Take this 360p clip to 1080p.” |
Generation time (5 s video) |
~4.9 s (480p) · ~11 s (768p) |
4.0 s (768p |
4.3 s (768p |
4.5 s (draft: 2.0 s) |
9.3 s |
— |
26.2 s (720p) |
~14 s |
~66 s (768p) |
~17.9 s (720p) |
— |
~6.7 s (720p) · ~14 s (1080p) |
Cost (5 s video) |
$0.10 (480p) · $0.20 (768p) |
$0.130 (768p |
$0.125 (768p |
$0.13 (draft: $0.08) |
$0.10 (draft: $0.03) |
$0.125 (720p) · $0.225 (1080p) |
$0.15 (720p) · $0.30 (1080p) |
$0.125 (any resolution) |
$0.25 (480p) · $0.50 (768p) |
$0.15 (720p) · $0.30 (1080p) |
$0.225 (draft: $0.125) |
$0.05 (720p) · $0.10 (1080p) |
Draft mode |
No |
No |
No |
Yes |
Yes |
No |
No |
No |
No |
No |
Yes |
No |
Quick decision guide
Footage exists and the speaker should say a new line, or the same line in another language, up to 60 s and 1080p → P-Video-2-Pro-Lipsync.
Footage exists and you need different people in the same shot, up to 120 s and 4k → P-Video-2-Pro-Replace. Faster / cheaper 720p or 1080p swaps → P-Video-Replace.
Footage exists and the hero still should move like the driver → P-Video-Animate.
Footage exists and you need a color, product, environment, object, or text edit → P-Video-Edit.
Footage exists and you only need it sharper → P-Video-Upscale.
Need talking video from a still, including songs or any character, from 480p through 4k → P-Video-2-Pro-Avatar.
Need 720p / 1080p talking head, voice only, no music bed → P-Video-Avatar.
Need cinematic generation from text or a single first / last frame → P-Video-2-Pro.
Need multiple image, video, or audio references on MiniMax H3 → P-Video-2-Pro-Reference.
Need imported audio muxed onto a new clip, or draft previews → P-Video-2.
Need the fastest / cheapest generation iteration → P-Video.
Tip
Common pipelines: Generate a spokesperson clip with P-Video-2-Pro-Avatar → P-Video-2-Pro-Lipsync to dub it into each market’s language → P-Video-Upscale when delivery needs a larger frame.
Key features
- Dubbing and localization
Translate a talking-head video and keep the speaker. Send the dubbed audio and the mouth follows it.
- New lines without a reshoot
Fix a spoken line, or make ad and UGC variants with new lines, from the same take.
- Only the mouth changes
The lower face is repainted, from the middle of the nose down. Everything else is the original video, pixel for pixel.
- Any language
The mouth follows the audio you send. Tested in English, French, Spanish, German, Italian, Portuguese, Japanese, Korean, Mandarin, and Hindi.
- Any aspect ratio, up to 1080p
Vertical, 16:9, or square. The output keeps the resolution and shape of the source: 720p in, 720p out; 1080p in, 1080p out. 2k and 4k videos come back at 1080p.
- Up to 60 seconds
The output is as long as the shorter of the video and the audio. Stretches without a face inside a longer video are passed through unchanged.
- Fast and flat-priced
About 14 s for a 5 second clip. One price per second at every resolution.
Practical constraints
Input is one video with a visible face plus one audio file. There is no prompt, and no
resolution,duration, oraspect_ratioinput: the video sets the shape and the resolution, the shorter input sets the length.Output is at most 60 seconds and as long as the shorter input. Inputs under 0.9 seconds are rejected. Anything after 60 s is cut.
Output keeps the source resolution and aspect ratio up to 1080p (1920 px on the long side). Larger videos are scaled down.
Output is 24 fps. The original soundtrack is replaced by the audio you send.
Video up to 200 MB. Audio up to 64 MB.
The face must be clearly visible: talking heads, selfie videos, interviews, and presenters, from close-up to medium shot. A video in which no face is found fails with
no face found in the videoand is not billed. A wide full-body shot with a small face can fail this way.Built for one visible speaker per clip. Long head turns and cuts inside the clip are not yet supported.
Generated teeth can look a little larger and whiter than in the source.
Rate limit: 50 requests per minute.
Examples
One video plus new speech.
Integration
P-Video-2-Pro-Lipsync uses the same Pruna predictions API as other performance models. Upload the video and the audio, set Model: p-video-2-pro-lipsync, then poll or use sync headers as with other video models.
For the full p-video-2-pro-lipsync request and response reference, use P-Video-2-Pro-Lipsync in the API guides.
Tip
For more information on how to use the API, see the API Reference.
- API endpoint
Base URL:
https://api.pruna.ai/v1/predictions
Authentication
-H 'apikey: YOUR_API_KEY'
-H 'Model: p-video-2-pro-lipsync'
Step 1: Upload the video and the audio
curl -X POST "https://api.pruna.ai/v1/files" \
-H "apikey: YOUR_API_KEY" \
-F "content=@/path/to/video.mp4"
curl -X POST "https://api.pruna.ai/v1/files" \
-H "apikey: YOUR_API_KEY" \
-F "content=@/path/to/speech.wav"
Use the returned file URLs as video and audio.
Step 2: Create generation request
Asynchronous
curl -X POST 'https://api.pruna.ai/v1/predictions' \
-H 'Content-Type: application/json' \
-H 'apikey: YOUR_API_KEY' \
-H 'Model: p-video-2-pro-lipsync' \
-d '{
"input": {
"video": "https://api.pruna.ai/v1/files/source-video-abc123",
"audio": "https://api.pruna.ai/v1/files/new-speech-def456"
}
}'
Synchronous
Try-Sync waits up to 60 seconds for the video. If it is not ready by then, poll get_url.
curl -X POST 'https://api.pruna.ai/v1/predictions' \
-H 'Content-Type: application/json' \
-H 'apikey: YOUR_API_KEY' \
-H 'Model: p-video-2-pro-lipsync' \
-H 'Try-Sync: true' \
-d '{
"input": {
"video": "https://api.pruna.ai/v1/files/source-video-abc123",
"audio": "https://api.pruna.ai/v1/files/new-speech-def456",
"seed": 42
}
}'
Configuration
Required parameters
Parameter |
Type |
Description |
|---|---|---|
|
file/string |
Video of the person who speaks, with the face visible. Up to 200 MB. The output keeps its resolution and aspect ratio, up to 1080p (1920 px on the long side). |
|
file/string |
The new speech. Up to 64 MB. The output is as long as the shorter of the video and the audio, up to 60 seconds, at 24 fps. |
Optional parameters
Parameter |
Type |
Default |
Description |
|---|---|---|---|
|
integer |
random |
Random seed for reproducible results. |
|
boolean |
|
Block content in the toggleable moderation categories. The always-on rules apply either way. |
Argument recommendations
Use these patterns for consistent quality:
video: one speaker, face clearly visible, close-up to medium shot, without cuts or long head turns. The source sets the framing and resolution; send 1080p for Full HD output.audio: clean speech in a voice that fits the person on screen; mix in music or sound effects before sending, since this audio replaces the original soundtrack. Trim the longer input to get an exact length.seed: set for reproducible A/B tests; change one input at a time.enable_safety_filter: leave default unless your workflow includes explicit moderation.