Pruna's highest-quality video model. Generates video from text or images with cost, speed and quality modes, first- and last-frame control, and durations from 5 to 15 seconds at 480p or 768p.
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-2-pro",
"input": {
"prompt": "Use the provided image as the exact first frame. A velociraptor moves cautiously through an opulent palace salon, looking around alertly, then suddenly speeding deeper into the room. One continuous low-angle handheld cinematic shot with warm lighting.",
"image": "https://replicate.delivery/pbxt/PoNvQd3plThnhNsGUc8fE4e9OTdk0jcmiOhqLsXjt1mxiTA4/tmp4z1l281s-1.webp",
"mode": "speed",
"duration": 5,
"resolution": "768p",
"aspect_ratio": "16:9",
"prompt_upsampler": "turbo"
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | - | Text prompt for video generation |
mode | string | No | speed | Generation mode: speed (faster, default), quality (higher fidelity) or cost (lowest price) qualityspeedcost |
prompt_upsampler | string | No | turbo | Expand your prompt before video generation offturbomax |
image | string | No | - | First-frame reference image (image-to-video) |
last_frame_image | string | No | - | Last-frame reference image for control over the ending |
duration | integer | No | 5 | Video duration in seconds (5-15). Billed per second |
resolution | string | No | 768p | Video resolution 480p768p |
aspect_ratio | string | No | 16:9 | Aspect ratio; reference images determine the canvas when provided 16:99:164:33:43:22:31:1 |
seed | integer | No | - | Random seed for reproducible generation |
There are 3 ways to provide files for the imagelast_frame_image parameters:
Pass a publicly accessible URL directly. With the Storage API (POST /v1/files/upload-url) the file uploads straight to S3 (50MB per file) and you pass the returned file_url.
{
"model": "prunaai/p-video-2-pro",
"input": {
"prompt": "your prompt here",
"image": "https://example.com/image.jpg"
}
}Attach files directly to POST /v1/predictions/upload. No separate upload step, but the bytes pass through the API server so the whole request is capped at 10MB.
curl -X POST "https://api.core.today/v1/predictions/upload" \
-H "X-API-Key: cdt_your_api_key" \
-F "model=prunaai/p-video-2-pro" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:image=@your_file.png"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 first frame at the default speed/768p rate โ 5s at 81/s = 410 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-2-pro",
"input": {
"prompt": "Use the provided image as the exact first frame. A velociraptor moves cautiously through an opulent palace salon, looking around alertly, then suddenly speeding deeper into the room. One continuous low-angle handheld cinematic shot with warm lighting.",
"image": "https://replicate.delivery/pbxt/PoNvQd3plThnhNsGUc8fE4e9OTdk0jcmiOhqLsXjt1mxiTA4/tmp4z1l281s-1.webp",
"mode": "speed",
"duration": 5,
"resolution": "768p",
"aspect_ratio": "16:9",
"prompt_upsampler": "turbo"
}
}'Highest-fidelity 10s render โ 10s at 174/s = 1,740 credits (list)
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-2-pro",
"input": {
"prompt": "A hummingbird hovering over a red hibiscus flower in slow motion, macro lens, soft morning light",
"mode": "quality",
"duration": 10,
"resolution": "768p",
"aspect_ratio": "16:9"
}
}'POST /v1/predictions