---
title: "p-video-replace"
url: "https://docs.api.pruna.ai/apis/models-api-0/versions/783e153b-8e8d-4c8d-a80b-b80ec976bc53/schemas/p-video-replace"
---

> Full API specification: https://docs.api.pruna.ai/apis/models-api-0/versions/783e153b-8e8d-4c8d-a80b-b80ec976bc53.md

# p-video-replace

AI model for content generation. Rate limit: 50 requests per minute.

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: P-API
  version: 0.6.0
servers:
  - url: https://api.pruna.ai
    description: Production server
components:
  schemas:
    p-video-replace:
      type: object
      required:
        - input
      properties:
        input:
          type: object
          properties:
            seed:
              title: Seed
              description: Random seed. Leave blank for random.
              type: integer
            turbo:
              title: Turbo
              default: false
              description: "Turbo mode: faster generation for slightly lower quality."
              type: boolean
            video:
              title: Video
              format: uri
              description: "Source RGB video (.mp4): motion + audio source."
              type: string
            images:
              items:
                type: string
                format: uri
              title: Images
              description: Identity reference image(s) (1-3) to place into the video.
              type: array
            resolution:
              enum:
                - 720p
                - 1080p
              title: resolution
              description: "Target ~megapixel budget: 720p ≈ 1 MP, 1080p ≈ 2 MP (aspect ratio
                preserved)."
              default: 720p
              type: string
            save_audio:
              title: Save Audio
              default: true
              description: Save the video with audio.
              type: boolean
            target_fps:
              enum:
                - original
                - "24"
                - "48"
              title: target_fps
              description: Target FPS for the working video.
              default: original
              type: string
            ignore_audio:
              title: Ignore Audio
              default: false
              description: Ignore source audio during generation. If save_audio is true, the
                source audio is still saved with the final video.
              type: boolean
            instruction_prompt:
              title: Instruction Prompt
              default: ""
              description: Further instruction on how to place the people from the reference
                images into the scene.
              type: string
            disable_safety_checker:
              title: Disable Safety Checker
              default: false
              description: Disable safety checker for generated videos.
              type: boolean
          required:
            - video
            - images
          additionalProperties: false
      description: "AI model for content generation. Rate limit: 50 requests per minute."
```
