---
title: Preparing source video — P-Video-2-Pro-Lipsync | Runware Docs
url: https://runware.ai/docs/models/prunaai-p-video-2-pro-lipsync/guides/source-video
description: "How to choose the video for Pruna P-Video-2-Pro-Lipsync: the shape and size the output keeps, the 1080p cap and 24 fps delivery, and the framing the model needs."
---
### [Introduction](https://runware.ai/docs/models/prunaai-p-video-2-pro-lipsync/guides/source-video#introduction)

The video you send **sets the shot** in P-Video-2-Pro-Lipsync. The output keeps its framing, its aspect ratio and its resolution up to 1080p, and the model **redraws the mouth to the new speech**:

[Watch video](https://runware.ai/docs/assets/hero.BNuJYLef.mp4)

*768 × 768 in, 768 × 768 out*

**Source video**:

[Watch video](https://runware.ai/docs/assets/source-sneakers.D5DLfadG.mp4)

> **Prompt**: A sneaker reseller, a man in his early twenties with short twists, in a plain unprinted gray hoodie, sits in his bright stockroom holding a plain all-white knit running shoe with a solid mint-green sole up beside his face and says to the camera, "Okay, these just dropped, and the colorway is even better in person." Square social video framing, close-up from the chest up, locked-off camera, shelves of plain brown shoe boxes softly out of focus behind him, soft even light. Photoreal creator commerce clip, no text, no logos. Audio: his excited clear voice close to the microphone, no music.

**New audio**:

[Listen to audio](https://runware.ai/docs/assets/speech-sneakers.Dd418UT4.mp3)

> **Prompt**: These restocked in every size this morning, and they ship today.

This guide covers **what the output keeps from the video**, and the framing that gives the model a face to work with.

### [Shape and size](https://runware.ai/docs/models/prunaai-p-video-2-pro-lipsync/guides/source-video#shape-and-size)

The output **keeps the aspect ratio of the source**, with nothing to set. A vertical creator clip comes back vertical, at the size it was sent:

**Source**:

[Watch video](https://runware.ai/docs/assets/source-balcony.CuQoLnkp.mp4)

*Source: 768 × 1344*

> **Prompt**: A travel creator, a woman in her thirties with shoulder-length curly black hair, in a white linen shirt, stands on a hotel balcony with the sea behind her and says to the camera, "This is the view from our room, and breakfast is served right out here." Vertical phone framing, chest-up, handheld with very slight movement, bright morning light. Photoreal hotel social video, no text, no logos. Audio: her cheerful clear voice close to the microphone, light sea breeze, no music.

**Output**:

[Watch video](https://runware.ai/docs/assets/output-balcony.Do2Bwf84.mp4)

*Output: 768 × 1344, with the new line*

The handheld drift and the sea behind her come from the source. Only her mouth follows the new line, so **crop and frame the video before the request**, since the model keeps whatever it is given.

### [Resolution and frame rate](https://runware.ai/docs/models/prunaai-p-video-2-pro-lipsync/guides/source-video#resolution-and-frame-rate)

A source **above 1080p is scaled down** to 1920 px on its long side, and every output is **delivered at 24 fps**, whatever the frame rate of the source. The dealership clip below was sent at 4K and 30 fps:

[Watch video](https://runware.ai/docs/assets/output-showroom.D_BVui8G.mp4)

*Output: 1920 × 1098 at 24 fps*

**4K source**:

[Watch video](https://runware.ai/docs/assets/source-showroom-4k.C7bo2jOU.mp4)

**New audio**:

[Listen to audio](https://runware.ai/docs/assets/speech-showroom.CJByLsjc.mp3)

> **Prompt**: Test drives are open all weekend, with no appointment needed.

**TypeScript**:

```typescript
import { 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/guides/prunaai-p-video-2-pro-lipsync/source-video/source-showroom-4k.mp4',
    audio: 'https://assets.runware.ai/guides/prunaai-p-video-2-pro-lipsync/source-video/speech-showroom.mp3'
  },
  deliveryMethod: 'async'
})
```

**Python**:

```python
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/guides/prunaai-p-video-2-pro-lipsync/source-video/source-showroom-4k.mp4",
                "audio": "https://assets.runware.ai/guides/prunaai-p-video-2-pro-lipsync/source-video/speech-showroom.mp3"
            },
            "deliveryMethod": "async"
        })

asyncio.run(main())
```

**cURL**:

```bash
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "videoInference",
      "taskUUID": "069e729c-6659-439f-bdcd-05c4cb98db63",
      "model": "prunaai:p-video@2-pro-lipsync",
      "inputs": {
        "video": "https://assets.runware.ai/guides/prunaai-p-video-2-pro-lipsync/source-video/source-showroom-4k.mp4",
        "audio": "https://assets.runware.ai/guides/prunaai-p-video-2-pro-lipsync/source-video/speech-showroom.mp3"
      },
      "deliveryMethod": "async"
    }
  ]'
```

**CLI**:

```bash
runware run prunaai:p-video@2-pro-lipsync \
  inputs.video=https://assets.runware.ai/guides/prunaai-p-video-2-pro-lipsync/source-video/source-showroom-4k.mp4 \
  inputs.audio=https://assets.runware.ai/guides/prunaai-p-video-2-pro-lipsync/source-video/speech-showroom.mp3 \
  deliveryMethod=async
```

**JSON**:

```json
{
  "taskType": "videoInference",
  "taskUUID": "069e729c-6659-439f-bdcd-05c4cb98db63",
  "model": "prunaai:p-video@2-pro-lipsync",
  "inputs": {
    "video": "https://assets.runware.ai/guides/prunaai-p-video-2-pro-lipsync/source-video/source-showroom-4k.mp4",
    "audio": "https://assets.runware.ai/guides/prunaai-p-video-2-pro-lipsync/source-video/speech-showroom.mp3"
  },
  "deliveryMethod": "async"
}
```

The three clips in this guide came back at these sizes:

| Source | Output |
| --- | --- |
| 768 × 768, square | 768 × 768 |
| 768 × 1344, vertical | 768 × 1344 |
| 3808 × 2176 at 30 fps, landscape | 1920 × 1098 at 24 fps |

A video **must be at most 100 MiB**, so a long 4K export can be rejected for its size where a 1080p export of the same take fits, and both come back at the same 1920 px.

### [Framing](https://runware.ai/docs/models/prunaai-p-video-2-pro-lipsync/guides/source-video#framing)

The model needs **a face it can find**: one person speaking, with the face clearly visible, from a close-up to a medium shot. The reseller and the salesman are both framed from the chest up, facing the lens.

It is built for **one visible speaker per clip**. Cut a scene with two people talking into shots that each show one speaker, and send each shot with its own line.

> [!WARNING]
> A video with no face the model can find fails, and the failed task is not billed. A wide shot where the speaker is small in the frame can fail the same way.

### [Tips](https://runware.ai/docs/models/prunaai-p-video-2-pro-lipsync/guides/source-video#tips)

1. **Frame the shot before the request.** The output keeps the source's crop, aspect ratio and camera, so fix those in the edit first.
    
2. **Export at 1080p or below.** A larger source comes back at 1920 px on the long side, and the file has to stay under 100 MiB.
    
3. **Keep one face in frame.** Close-ups and medium shots of one speaker facing the camera give the model a face to follow.
    
4. **Trim the source to the spoken part.** The output stops with the shorter of the two inputs, and [Preparing the audio](https://runware.ai/docs/models/prunaai-p-video-2-pro-lipsync/guides/preparing-the-audio) covers how that length is set.