Skip to main content
Pruna AIFastStandard

Pruna P-Video

PrunaAI's fast video generator with a built-in draft mode for rapid creative iteration. Text-to-video, image-to-video, and audio-conditioned generation in a single endpoint, with clips up to 20 seconds โ€” one of the longest durations on the platform.

240 credits
per second โ€” 720p standard 47/s, 720p draft 13/s, 1080p standard 94/s, 1080p draft 24/s; duration 1-20s (default 5s at 720p standard = 240)
Built-in draft mode: lower-quality previews at roughly a quarter of the standard price
Text-to-video and image-to-video in one endpoint (image parameter)
Optional audio input (flac/mp3/wav) to condition video generation
Up to 20 second duration โ€” one of the longest on the platform
720p or 1080p output with last-frame conditioning and 7 aspect ratios

Run it right now

Test this model instantly in the Console Playground โ€” no code required

Sign in to try

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

Quick Start

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "prunaai/p-video",
  "input": {
    "fps": 24,
    "draft": false,
    "image": "https://replicate.delivery/pbxt/OejQrIXERvqS9kpygH9PfQZDOIdzkD6GKytAXxedNSyyRtej/9.png",
    "prompt": "The prune says \"And this, kids, is how you generate a video in less than 10 seconds\".",
    "duration": 5,
    "resolution": "720p",
    "save_audio": true,
    "aspect_ratio": "16:9",
    "prompt_upsampling": false
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
promptstringYes-Text prompt for video generation
imagestringNo-Input image to generate video from (image-to-video). Supports jpg, jpeg, png, webp
last_frame_imagestringNo-Reference image for the last frame of the video. Supports jpg, jpeg, png, webp
audiostringNo-Input audio to condition video generation. Supports flac, mp3, wav
durationintegerNo5Duration of the video in seconds (1-20). Ignored when audio is provided
aspect_ratiostringNo16:9Aspect ratio of the video. Ignored when an input image is provided
16:99:164:33:43:22:31:1
resolutionstringNo720pResolution of the video (1080p doubles the per-second price)
720p1080p
fpsintegerNo24Frames per second of the video
2448
draftbooleanNofalseDraft mode: generates a lower-quality preview at roughly a quarter of the price
prompt_upsamplingbooleanNotrueUse prompt upsampling to enhance the prompt
disable_safety_filterbooleanNotrueDisable safety filter for prompts (and input image). When disabled, prompts are not checked for unsafe content before generation.
save_audiobooleanNotrueSave the video with audio
seedintegerNo-Random seed. Set for reproducible generation
no_opbooleanNofalseHealth check mode - returns status without inference.

How to Provide File Input

There are 3 ways to provide files for the imagelast_frame_imageaudio parameters:

Recommended

Direct Upload (Multipart)

Attach files directly to POST /v1/predictions/upload. No separate upload step needed.

curl -X POST "https://api.core.today/v1/predictions/upload" \
  -H "X-API-Key: cdt_your_api_key" \
  -F "model=prunaai/p-video" \
  -F 'input={"prompt":"your prompt here"}' \
  -F "file:image=@your_file.png"

Image URL

Pass a publicly accessible URL directly. You can also use file_url from the Storage API.

{
  "model": "prunaai/p-video",
  "input": {
    "prompt": "your prompt here",
    "image": "https://example.com/image.jpg"
  }
}
See the File Upload docs for more upload methods including Presigned URLs.

Common Parameters

Common parameters used when calling POST /v1/predictions.

ParameterTypeRequiredDefaultDescription
modelstringYes-Model identifier
inputobjectYes-Object containing the model-specific parameters from the table above
output_folderstringNo-Folder path for output files (max 256 chars, '..' not allowed)
webhook_urlstringNo-Webhook URL to call on completion
is_publicbooleanNofalseIf true, output files are also available via permanent public URLs

Examples

Image-to-Video (720p Standard)

Animate a still image with a prompt at standard quality โ€” 5s at 30/s = 150 credits

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "prunaai/p-video",
  "input": {
    "fps": 24,
    "draft": false,
    "image": "https://replicate.delivery/pbxt/OejQrIXERvqS9kpygH9PfQZDOIdzkD6GKytAXxedNSyyRtej/9.png",
    "prompt": "The prune says \"And this, kids, is how you generate a video in less than 10 seconds\".",
    "duration": 5,
    "resolution": "720p",
    "save_audio": true,
    "aspect_ratio": "16:9",
    "prompt_upsampling": false
  }
}'

Draft Mode Preview (Cost-Optimized)

A quick 10s text-to-video preview in draft mode โ€” 10s at 8/s = 80 credits

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "prunaai/p-video",
  "input": {
    "prompt": "A paper boat drifting down a rain-soaked city street at night, neon reflections",
    "draft": true,
    "duration": 10,
    "resolution": "720p",
    "aspect_ratio": "9:16"
  }
}'

Tips & Best Practices

1Use draft mode for iteration: 720p draft is 8/s vs 30/s standard โ€” explore prompts cheaply, then re-render the winner with draft: false
2Billing is per second, so a 20s clip at 720p standard costs 600 credits โ€” trim duration to what you actually need
31080p doubles the per-second price (60/s standard, 15/s draft) โ€” reserve it for final hero renders
4When an audio file is provided, duration is ignored and follows the audio โ€” check audio length before submitting
5aspect_ratio is ignored in image-to-video mode; the output follows the input image's framing

Use Cases

Rapid creative iteration: cheap draft renders before the final standard-quality pass
Long-form clips (10-20s) that most video models cannot produce in one shot
Animating product or portrait photos via image-to-video
Music- or narration-driven clips using the audio conditioning input
High-resolution 1080p hero shots for landing pages and ads