P-Video-2-Pro-Lipsync

P-Video-2-Pro-Lipsync is Pruna AI's lip-sync model that takes a video of someone talking and a new audio track, and returns the same video with the mouth re-synced to the new words. Only the lower face is redrawn, so the speaker, framing, camera and background stay as shot, and the output keeps the source resolution and aspect ratio up to 1080p, as long as the shorter input up to 60 seconds. It follows speech in any language, for dubbing talking-head videos, ads and courses, or changing a line without a reshoot.

API Reference
INTEGRATE
Complete technical specification for integration
RequestResponse
Examples4
CODE
Ready-to-use code snippets for common workflows
Guides3
LEARN
Step-by-step tutorials for advanced use cases
audio-driven
Workwear Launch Social Spot$0.0625~55simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'prunaai:p-video@2-pro-lipsync',
inputs: {
video: 'https://assets.runware.ai/assets/inputs/e1b9460d-93fa-4f30-a27c-aad6441ab4ff.mp4',
audio: 'https://assets.runware.ai/assets/inputs/4ea33361-fabf-46ab-ae8f-de2d767a3b0e.mp3'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "prunaai:p-video@2-pro-lipsync",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/e1b9460d-93fa-4f30-a27c-aad6441ab4ff.mp4",
"audio": "https://assets.runware.ai/assets/inputs/4ea33361-fabf-46ab-ae8f-de2d767a3b0e.mp3"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "4e22f7f1-a392-4c8d-b64e-e8d867a21523",
"model": "prunaai:p-video@2-pro-lipsync",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/e1b9460d-93fa-4f30-a27c-aad6441ab4ff.mp4",
"audio": "https://assets.runware.ai/assets/inputs/4ea33361-fabf-46ab-ae8f-de2d767a3b0e.mp3"
}
}
]'runware run prunaai:p-video@2-pro-lipsync \
inputs.video=https://assets.runware.ai/assets/inputs/e1b9460d-93fa-4f30-a27c-aad6441ab4ff.mp4 \
inputs.audio=https://assets.runware.ai/assets/inputs/4ea33361-fabf-46ab-ae8f-de2d767a3b0e.mp3{
"taskType": "videoInference",
"taskUUID": "4e22f7f1-a392-4c8d-b64e-e8d867a21523",
"model": "prunaai:p-video@2-pro-lipsync",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/e1b9460d-93fa-4f30-a27c-aad6441ab4ff.mp4",
"audio": "https://assets.runware.ai/assets/inputs/4ea33361-fabf-46ab-ae8f-de2d767a3b0e.mp3"
}
}Response
{
"taskType": "videoInference",
"taskUUID": "4e22f7f1-a392-4c8d-b64e-e8d867a21523",
"videoUUID": "9d6595ab-46ef-4432-9937-387cf92a4356",
"videoURL": "https://vm.runware.ai/video/os/a08dlim3/ws/5/vi/9d6595ab-46ef-4432-9937-387cf92a4356.mp4",
"seed": 650316105,
"cost": 0.0625
}audio-driven
Shipwreck Exhibit Narration Update$0.075~25simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'prunaai:p-video@2-pro-lipsync',
inputs: {
video: 'https://assets.runware.ai/assets/inputs/a23e2407-4d38-4370-9f9b-1d02dce21047.mp4',
audio: 'https://assets.runware.ai/assets/inputs/39516e41-4bf6-4976-a623-e6ba70e4fc71.mp3'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "prunaai:p-video@2-pro-lipsync",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/a23e2407-4d38-4370-9f9b-1d02dce21047.mp4",
"audio": "https://assets.runware.ai/assets/inputs/39516e41-4bf6-4976-a623-e6ba70e4fc71.mp3"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "8bc5dab7-332b-4106-82fd-6eb49b24eb45",
"model": "prunaai:p-video@2-pro-lipsync",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/a23e2407-4d38-4370-9f9b-1d02dce21047.mp4",
"audio": "https://assets.runware.ai/assets/inputs/39516e41-4bf6-4976-a623-e6ba70e4fc71.mp3"
}
}
]'runware run prunaai:p-video@2-pro-lipsync \
inputs.video=https://assets.runware.ai/assets/inputs/a23e2407-4d38-4370-9f9b-1d02dce21047.mp4 \
inputs.audio=https://assets.runware.ai/assets/inputs/39516e41-4bf6-4976-a623-e6ba70e4fc71.mp3{
"taskType": "videoInference",
"taskUUID": "8bc5dab7-332b-4106-82fd-6eb49b24eb45",
"model": "prunaai:p-video@2-pro-lipsync",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/a23e2407-4d38-4370-9f9b-1d02dce21047.mp4",
"audio": "https://assets.runware.ai/assets/inputs/39516e41-4bf6-4976-a623-e6ba70e4fc71.mp3"
}
}Response
{
"taskType": "videoInference",
"taskUUID": "8bc5dab7-332b-4106-82fd-6eb49b24eb45",
"videoUUID": "8410ea01-5da5-45e2-af78-51aba3b208e2",
"videoURL": "https://vm.runware.ai/video/os/a04d20/ws/5/vi/8410ea01-5da5-45e2-af78-51aba3b208e2.mp4",
"seed": 7361808,
"cost": 0.075
}audio-driven
Ski Boot Fitting Promo$0.05~1m 5simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'prunaai:p-video@2-pro-lipsync',
inputs: {
video: 'https://assets.runware.ai/assets/inputs/164950a8-8645-4e06-823b-1d990fff7f92.mp4',
audio: 'https://assets.runware.ai/assets/inputs/c70f3cb8-3707-4a6d-919c-5e2a4fc11a20.mp3'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "prunaai:p-video@2-pro-lipsync",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/164950a8-8645-4e06-823b-1d990fff7f92.mp4",
"audio": "https://assets.runware.ai/assets/inputs/c70f3cb8-3707-4a6d-919c-5e2a4fc11a20.mp3"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "6fbc3713-e586-4f4d-9b47-74850538bcde",
"model": "prunaai:p-video@2-pro-lipsync",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/164950a8-8645-4e06-823b-1d990fff7f92.mp4",
"audio": "https://assets.runware.ai/assets/inputs/c70f3cb8-3707-4a6d-919c-5e2a4fc11a20.mp3"
}
}
]'runware run prunaai:p-video@2-pro-lipsync \
inputs.video=https://assets.runware.ai/assets/inputs/164950a8-8645-4e06-823b-1d990fff7f92.mp4 \
inputs.audio=https://assets.runware.ai/assets/inputs/c70f3cb8-3707-4a6d-919c-5e2a4fc11a20.mp3{
"taskType": "videoInference",
"taskUUID": "6fbc3713-e586-4f4d-9b47-74850538bcde",
"model": "prunaai:p-video@2-pro-lipsync",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/164950a8-8645-4e06-823b-1d990fff7f92.mp4",
"audio": "https://assets.runware.ai/assets/inputs/c70f3cb8-3707-4a6d-919c-5e2a4fc11a20.mp3"
}
}Response
{
"taskType": "videoInference",
"taskUUID": "6fbc3713-e586-4f4d-9b47-74850538bcde",
"videoUUID": "db09d54c-e38a-4b9f-a246-0f90b9fecc02",
"videoURL": "https://vm.runware.ai/video/os/a01d21/ws/5/vi/db09d54c-e38a-4b9f-a246-0f90b9fecc02.mp4",
"seed": 1385280480,
"cost": 0.05
}audio-driven
French Museum Audio Guide Video$0.075~25simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'prunaai:p-video@2-pro-lipsync',
inputs: {
video: 'https://assets.runware.ai/assets/inputs/e9d9fcc4-3b0a-41f2-a958-dd0920215e17.mp4',
audio: 'https://assets.runware.ai/assets/inputs/3b160c79-f0c0-4105-ba38-fa229f3f6f36.mp3'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "prunaai:p-video@2-pro-lipsync",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/e9d9fcc4-3b0a-41f2-a958-dd0920215e17.mp4",
"audio": "https://assets.runware.ai/assets/inputs/3b160c79-f0c0-4105-ba38-fa229f3f6f36.mp3"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "videoInference",
"taskUUID": "a54963b9-8823-4354-8364-fd7f8dd26af4",
"model": "prunaai:p-video@2-pro-lipsync",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/e9d9fcc4-3b0a-41f2-a958-dd0920215e17.mp4",
"audio": "https://assets.runware.ai/assets/inputs/3b160c79-f0c0-4105-ba38-fa229f3f6f36.mp3"
}
}
]'runware run prunaai:p-video@2-pro-lipsync \
inputs.video=https://assets.runware.ai/assets/inputs/e9d9fcc4-3b0a-41f2-a958-dd0920215e17.mp4 \
inputs.audio=https://assets.runware.ai/assets/inputs/3b160c79-f0c0-4105-ba38-fa229f3f6f36.mp3{
"taskType": "videoInference",
"taskUUID": "a54963b9-8823-4354-8364-fd7f8dd26af4",
"model": "prunaai:p-video@2-pro-lipsync",
"inputs": {
"video": "https://assets.runware.ai/assets/inputs/e9d9fcc4-3b0a-41f2-a958-dd0920215e17.mp4",
"audio": "https://assets.runware.ai/assets/inputs/3b160c79-f0c0-4105-ba38-fa229f3f6f36.mp3"
}
}Response
{
"taskType": "videoInference",
"taskUUID": "a54963b9-8823-4354-8364-fd7f8dd26af4",
"videoUUID": "92f51adf-8846-470e-ae66-4857b74ae58e",
"videoURL": "https://vm.runware.ai/video/os/a07dlim3/ws/5/vi/92f51adf-8846-470e-ae66-4857b74ae58e.mp4",
"seed": 1982646658,
"cost": 0.075
}