---
title: P-Video-Edit | Runware Docs
url: https://runware.ai/docs/models/prunaai-p-video-edit
description: Instruction-based video editing with reference-guided control and preserved motion, structure, and audio
---
# P-Video-Edit

![P-Video-Edit](https://assets.runware.ai/covers/prunaai-p-video-edit.jpg)

P-Video-Edit is Pruna AI's instruction-based video editing model for changing an existing clip while preserving its motion, scene structure, and audio. Give it a source video and a text instruction to make attribute, object, or environment edits; up to four reference images can guide identity, style, or other supported changes. A draft mode supports faster iteration before rendering the final edit at full quality.

- **ID**: `prunaai:p-video@edit`
- **Status**: live
- **Creator**: Pruna AI
- **Release Date**: September 3, 2026
- **Capabilities**: Video to Video, Edit, Checkpoint

## Pricing

$0.025 from, per second

**Rates** (per second)

- Draft: `$0.025`
- Standard: `$0.045`

**2 example prices**

- Draft · 1s: `$0.025`
- Standard · 1s: `$0.045`

[How pricing works](https://runware.ai/docs/platform/pricing)

## Request Parameters

**API Options**

Platform-level options for task execution and delivery.

### [taskType](https://runware.ai/docs/models/prunaai-p-video-edit#request-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `videoInference`

Identifier for the type of task being performed

### [taskUUID](https://runware.ai/docs/models/prunaai-p-video-edit#request-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.

### [outputType](https://runware.ai/docs/models/prunaai-p-video-edit#request-outputtype)

- **Type**: `string`
- **Default**: `URL`

Video output type.

**Allowed values**: `URL`

### [outputFormat](https://runware.ai/docs/models/prunaai-p-video-edit#request-outputformat)

- **Type**: `string`
- **Default**: `MP4`

Specifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities.

- \`MP4\`: Widely supported video container (H.264), recommended for general use.
- \`WEBM\`: Optimized for web delivery.
- \`MOV\`: QuickTime format, common in professional workflows (Apple ecosystem).

**Allowed values**: `MP4` `WEBM` `MOV`

### [outputQuality](https://runware.ai/docs/models/prunaai-p-video-edit#request-outputquality)

- **Type**: `integer`
- **Min**: `20`
- **Max**: `99`
- **Default**: `95`

Compression quality of the output. Higher values preserve quality but increase file size.

### [webhookURL](https://runware.ai/docs/models/prunaai-p-video-edit#request-webhookurl)

- **Type**: `string`
- **Format**: `uri`

Specifies a webhook URL where JSON responses will be sent via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.

**Learn more** (1 resource):

- [Webhooks](https://runware.ai/docs/platform/webhooks) (platform)

### [deliveryMethod](https://runware.ai/docs/models/prunaai-p-video-edit#request-deliverymethod)

- **Type**: `string`
- **Default**: `async`

Determines how the API delivers task results.

**Allowed values**:

- `async` Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse. Required for long-running tasks like video generation.

**Learn more** (1 resource):

- [Task Polling](https://runware.ai/docs/platform/task-polling) (platform)

### [uploadEndpoint](https://runware.ai/docs/models/prunaai-p-video-edit#request-uploadendpoint)

- **Type**: `string`
- **Format**: `uri`

Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.

**Common use cases:**

- **Cloud storage**: Upload directly to S3 buckets, Google Cloud Storage, or Azure Blob Storage using presigned URLs.
- **CDN integration**: Upload to content delivery networks for immediate distribution.

```text
// S3 presigned URL for secure upload
https://your-bucket.s3.amazonaws.com/generated/content.mp4?X-Amz-Signature=abc123&X-Amz-Expires=3600

// Google Cloud Storage presigned URL
https://storage.googleapis.com/your-bucket/content.jpg?X-Goog-Signature=xyz789

// Custom storage endpoint
https://storage.example.com/uploads/generated-image.jpg
```

The content data will be sent as the request body to the specified URL when generation is complete.

### [safety](https://runware.ai/docs/models/prunaai-p-video-edit#request-safety)

- **Path**: `safety.checkContent`
- **Type**: `object (2 properties)`

Content safety checking configuration for video generation.

#### [checkContent](https://runware.ai/docs/models/prunaai-p-video-edit#request-safety-checkcontent)

- **Path**: `safety.checkContent`
- **Type**: `boolean`

Enable or disable content safety checking. Increases total generation time.

#### [mode](https://runware.ai/docs/models/prunaai-p-video-edit#request-safety-mode)

- **Path**: `safety.mode`
- **Type**: `string`
- **Default**: `fast`

Safety checking mode for video generation.

**Allowed values**:

- `fast` Checks key frames.
- `full` Checks all frames.

### [ttl](https://runware.ai/docs/models/prunaai-p-video-edit#request-ttl)

- **Type**: `integer`
- **Min**: `60`

Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.

### [includeCost](https://runware.ai/docs/models/prunaai-p-video-edit#request-includecost)

- **Type**: `boolean`

Include task cost in the response.

### [numberResults](https://runware.ai/docs/models/prunaai-p-video-edit#request-numberresults)

- **Type**: `integer`
- **Min**: `1`
- **Max**: `4`
- **Default**: `1`

Number of results to generate. Each result uses a different seed, producing variations of the same parameters.

**Inputs**

Input resources for the task (images, audio, etc). These must be nested inside the \`inputs\` object.

### [referenceImages](https://runware.ai/docs/models/prunaai-p-video-edit#request-inputs-referenceimages)

- **Path**: `inputs.referenceImages`
- **Type**: `array of strings`
- **Min items**: `1`
- **Max items**: `4`

List of reference images (UUID, URL, Data URI, or Base64).

### [video](https://runware.ai/docs/models/prunaai-p-video-edit#request-inputs-video)

- **Path**: `inputs.video`
- **Type**: `string`
- **Required**: true
- **Duration**: `up to 15s`

Video input (UUID or URL). The output follows the source aspect ratio and duration, always at 25 fps.

**Core Parameters**

Primary parameters that define the task output.

### [model](https://runware.ai/docs/models/prunaai-p-video-edit#request-model)

- **Type**: `string`
- **Required**: true
- **Value**: `prunaai:p-video@edit`

Identifier of the model to use for generation.

**Learn more** (3 resources):

- [Text To Image: Model Selection](https://runware.ai/docs/learn/text-to-image#model-selection) (learn)
- [Image Inpainting: Model Specialized Inpainting Models](https://runware.ai/docs/learn/image-inpainting#model-specialized-inpainting-models) (learn)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/learn/image-outpainting#other-critical-parameters) (learn)

### [positivePrompt](https://runware.ai/docs/models/prunaai-p-video-edit#request-positiveprompt)

- **Type**: `string`
- **Required**: true
- **Min**: `1`

Text prompt describing elements to include in the generated output.

**Learn more** (1 resource):

- [Prompts](https://runware.ai/docs/learn/prompts) (learn)

### [seed](https://runware.ai/docs/models/prunaai-p-video-edit#request-seed)

- **Type**: `integer`
- **Min**: `0`
- **Max**: `2147483647`

Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.

**Settings**

Technical parameters to fine-tune the inference process. These must be nested inside the \`settings\` object.

### [audio](https://runware.ai/docs/models/prunaai-p-video-edit#request-settings-audio)

- **Path**: `settings.audio`
- **Type**: `boolean`
- **Default**: `true`

Include audio in the generated video output.

### [draft](https://runware.ai/docs/models/prunaai-p-video-edit#request-settings-draft)

- **Path**: `settings.draft`
- **Type**: `boolean`

Enable draft mode for a faster, lower-quality preview billed at the draft rate. The output resolution is unchanged.

### [promptUpsampling](https://runware.ai/docs/models/prunaai-p-video-edit#request-settings-promptupsampling)

- **Path**: `settings.promptUpsampling`
- **Type**: `boolean`
- **Default**: `true`

Automatically enhance the prompt for improved results.

## Response Parameters

### [taskType](https://runware.ai/docs/models/prunaai-p-video-edit#response-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `videoInference`

Identifier for the type of task this response belongs to.

### [taskUUID](https://runware.ai/docs/models/prunaai-p-video-edit#response-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID v4 identifier echoed from the original request, used to match async responses to their tasks.

### [videoUUID](https://runware.ai/docs/models/prunaai-p-video-edit#response-videouuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID of the output video.

### [videoURL](https://runware.ai/docs/models/prunaai-p-video-edit#response-videourl)

- **Type**: `string`
- **Format**: `uri`

URL of the output video.

### [videoBase64Data](https://runware.ai/docs/models/prunaai-p-video-edit#response-videobase64data)

- **Type**: `string`

Base64-encoded video data.

### [videoDataURI](https://runware.ai/docs/models/prunaai-p-video-edit#response-videodatauri)

- **Type**: `string`
- **Format**: `uri`

Data URI of the output video.

### [seed](https://runware.ai/docs/models/prunaai-p-video-edit#response-seed)

- **Type**: `integer`

The seed used for generation. If none was provided, shows the randomly generated seed.

### [NSFWContent](https://runware.ai/docs/models/prunaai-p-video-edit#response-nsfwcontent)

- **Type**: `boolean`

Flag indicating if NSFW content was detected.

### [cost](https://runware.ai/docs/models/prunaai-p-video-edit#response-cost)

- **Type**: `float`

Task cost in USD. Present when `includeCost` is set to `true` in the request.