# Pruna P-Video > Fast video generation with built-in draft mode for rapid creative iteration. Text-to-video, image-to-video, and audio-to-video in a single endpoint. - **Provider**: replicate - **Model ID**: prunaai/p-video - **Category**: video_generation - **Credits**: 240 per request - **Pricing Type**: input_based ## API Endpoint Base URL: https://api.core.today/v1 ### Create Prediction POST /predictions ### Get Status GET /predictions/{job_id} ### Cancel DELETE /predictions/{job_id} ## Authentication Header: `X-API-Key: YOUR_API_KEY` ## Input Parameters - `last_frame_image` (string, optional): Optional. Reference image for the last frame of the video. Supports jpg, jpeg, png, webp. - `prompt` (string, **required**): Text prompt for video generation. - `image` (string, optional): Optional. Input image to generate video from (image-to-video). Supports jpg, jpeg, png, webp. - `audio` (string, optional): Optional. Input audio to condition video generation. Supports flac, mp3, wav. - `duration` (integer, optional): Duration of the video in seconds (1-20). Ignored when audio is provided. (Default: `5`; Range: min: 1, max: 20) - `aspect_ratio` (string, optional): Aspect ratio of the video. Ignored when an input image is provided. (Default: `16:9`; Options: `16:9`, `9:16`, `4:3`, `3:4`, `3:2`, `2:3`, `1:1`) - `resolution` (string, optional): Resolution of the video. (Default: `720p`; Options: `720p`, `1080p`) - `draft` (boolean, optional): Draft mode. Generates a lower-quality preview of the video. (Default: `False`) - `disable_safety_filter` (boolean, optional): Disable safety filter for prompts (and input image). When disabled, prompts are not checked for unsafe content before generation. (Default: `True`) - `save_audio` (boolean, optional): Save the video with audio. (Default: `True`) - `no_op` (boolean, optional): Health check mode - returns status without inference. (Default: `False`) - `seed` (integer, optional): Random seed. Leave blank for random. - `fps` (integer, optional): Frames per second of the video. (Default: `24`; Options: `24`, `48`) - `prompt_upsampling` (boolean, optional): Use prompt upsampling to enhance the prompt. (Default: `True`) ## Example Request ```json { "model": "prunaai/p-video", "input": { "duration": 5, "disable_safety_filter": true, "image": "https://replicate.delivery/pbxt/OejQrIXERvqS9kpygH9PfQZDOIdzkD6GKytAXxedNSyyRtej/9.png", "save_audio": true, "aspect_ratio": "16:9", "draft": false, "prompt_upsampling": false, "fps": 24, "no_op": false, "prompt": "The prune says \"And this, kids, is how you generate a video in less than 10 seconds\".", "resolution": "720p" } } ``` ## Response Format ```json { "job_id": "abc123", "status": "pending", "provider": "replicate", "model": "black-forest-labs/flux-schnell", "created_at": "2026-01-01T00:00:00Z", "result": null, "error": null } ``` Status values: `pending`, `processing`, `completed`, `failed`, `cancelled` ## Usage Flow 1. POST /predictions with model and input → receive job_id 2. Poll GET /predictions/{job_id} until status is `completed` or `failed` 3. Result contains output URL(s) or data ## Output Type url ## Tags prunaai, video-generation, draft-mode, fast, budget, text-to-video, image-to-video ## Documentation https://replicate.com/prunaai/p-video