---
title: "p-video"
url: "https://docs.api.pruna.ai/apis/models-api-0/versions/7dfbc266-0f94-4c90-8518-d9e4d1a245ec/schemas/p-video"
---

> Full API specification: https://docs.api.pruna.ai/apis/models-api-0/versions/7dfbc266-0f94-4c90-8518-d9e4d1a245ec.md

# p-video

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

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: P-API
  version: 0.3.0
servers:
  - url: https://api.pruna.ai
    description: Production server
components:
  schemas:
    p-video:
      type: object
      required:
        - input
      properties:
        input:
          type: object
          properties:
            fps:
              enum:
                - 24
                - 48
              title: fps
              description: Frames per second of the video.
              default: 24
              type: integer
            seed:
              title: Seed
              description: Random seed. Set for reproducible generation.
              type: integer
            audio:
              title: Audio
              format: uri
              description: Input audio to condition video generation. Supports flac, mp3, wav.
              type: string
            draft:
              title: Draft
              default: false
              description: Draft mode. Generates a lower-quality preview of the video.
              type: boolean
            image:
              title: Image
              format: uri
              description: Input image to generate video from (image-to-video). Supports jpg,
                jpeg, png, webp.
              type: string
            prompt:
              title: Prompt
              description: Text prompt for video generation.
              type: string
            duration:
              title: Duration
              default: 5
              maximum: 10
              minimum: 1
              description: Duration of the video in seconds (1-10). Ignored when audio is
                provided.
              type: integer
            resolution:
              enum:
                - 720p
                - 1080p
              title: resolution
              description: Resolution of the video.
              default: 720p
              type: string
            save_audio:
              title: Save Audio
              default: true
              description: Save the video with audio.
              type: boolean
            aspect_ratio:
              enum:
                - 16:9
                - 9:16
                - 4:3
                - 3:4
                - 3:2
                - 2:3
                - 1:1
              title: aspect_ratio
              description: Aspect ratio of the video. Ignored when an input image is provided.
              default: 16:9
              type: string
            prompt_upsampling:
              title: Prompt Upsampling
              default: true
              description: Use prompt upsampling to enhance the prompt.
              type: boolean
          required:
            - prompt
          additionalProperties: false
      description: "AI model for content generation. Rate limit: 250 requests per minute."
```
