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.
Test this model instantly in the Console Playground โ no code required
Copy usage instructions for Claude, ChatGPT, or other AI
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
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | - | Text prompt for video generation |
image | string | No | - | Input image to generate video from (image-to-video). Supports jpg, jpeg, png, webp |
last_frame_image | string | No | - | Reference image for the last frame of the video. Supports jpg, jpeg, png, webp |
audio | string | No | - | Input audio to condition video generation. Supports flac, mp3, wav |
duration | integer | No | 5 | Duration of the video in seconds (1-20). Ignored when audio is provided |
aspect_ratio | string | No | 16:9 | Aspect ratio of the video. Ignored when an input image is provided 16:99:164:33:43:22:31:1 |
resolution | string | No | 720p | Resolution of the video (1080p doubles the per-second price) 720p1080p |
fps | integer | No | 24 | Frames per second of the video 2448 |
draft | boolean | No | false | Draft mode: generates a lower-quality preview at roughly a quarter of the price |
prompt_upsampling | boolean | No | true | Use prompt upsampling to enhance the prompt |
disable_safety_filter | boolean | No | true | Disable safety filter for prompts (and input image). When disabled, prompts are not checked for unsafe content before generation. |
save_audio | boolean | No | true | Save the video with audio |
seed | integer | No | - | Random seed. Set for reproducible generation |
no_op | boolean | No | false | Health check mode - returns status without inference. |
There are 3 ways to provide files for the imagelast_frame_imageaudio parameters:
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"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"
}
}Common parameters used when calling POST /v1/predictions.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | - | Model identifier |
input | object | Yes | - | Object containing the model-specific parameters from the table above |
output_folder | string | No | - | Folder path for output files (max 256 chars, '..' not allowed) |
webhook_url | string | No | - | Webhook URL to call on completion |
is_public | boolean | No | false | If true, output files are also available via permanent public URLs |
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
}
}'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"
}
}'POST /v1/predictions