P-Video-2-Pro
P-Video-2-Pro, based on MiniMax H3, is Pruna’s advanced video generation model, the quality-tier counterpart to P-Video-2. Generate from text, a first-frame image, and an optional last-frame image in one endpoint.
It offers text-to-video and first / last-frame conditioning at 480p and 768p, 24 fps, with duration 5–15 seconds (default 5). Output includes generated audio; audio input is not exposed. Use mode: speed (default) for the faster recipe, or mode: quality for the slower one. prompt_upsampler is independent: off, turbo (default), or max.
Note
When using P-Video-2-Pro , make sure to respect the copyright of the images you use as input and the content you generate.
Pricing: billed per second of the video returned (measured from the finished clip in whole seconds).
Resolution |
|
|
|---|---|---|
480p |
$0.02 per second of output video |
$0.04 per second of output video |
768p |
$0.035 per second of output video |
$0.075 per second of output video |
Speed: model execution time per second of output video.
Resolution |
|
|
|---|---|---|
768p |
~0.85 s per second of output video |
~1.82 s per second of output video |
Tip
Test it now in the P-Video-2-Pro Playground.
Prompt formula
Fast pass
One prompt: subject, action, scene. Enough for first looks. Iterate in speed mode.
Locked-in
Add camera, lighting, style, and audio. Optional first-frame or last-frame still for repeatable runs.
prompt: required. Name the subject, action, and scene. Add camera, lighting, style, and audio when you need a repeatable final.Fast pass: “A matte stainless pour-over kettle sits on a seamless light-gray studio sweep. Thin steam rises from the spout.”
Locked-in: “A narrative film scene, 1970s Roman trattoria at night, warm tungsten, cigarette haze, Super-8 grain. A man and a woman in period clothes sit at a small table with wine. She leans in and quietly says, ‘Then we leave before sunrise.’ The camera slowly dollies around the table. Audio: Italian radio pop from a small speaker, plates, low room tone, her line clear and close.”
image: optional still for image-to-video (jpg,jpeg,png,webp). Keep motion consistent with the reference frame.aspect_ratiois ignored when a reference image is set. Optionallast_frame_imagefor end-frame control.Fast pass: omit for text-to-video.
Locked-in: a high-quality, well-lit still; generate it with P-Image-Ideogram when you need a locked composition.
last_frame_image: optional end-frame still. Use withimagewhen the clip must start and end on specific frames.Fast pass: omit.
Locked-in: pair with
imageso opening and closing stills stay locked.
Slot |
Fast pass (enough to run) |
Locked-in (stronger control) |
|---|---|---|
|
Subject, action, scene. |
Subject + action + scene + camera, lighting, style, audio; same wording every rerun. |
|
Empty (text-to-video). |
Well-lit still; canvas follows the reference image. |
|
Empty. |
End-frame still when the close must match a packshot or hold. |
Tip
For comprehensive video prompting (motion, framing, atmosphere), see the Video Generation guide.
Choosing the right video model
Pruna ships performance video models that share the same prediction API, but each solves a different production problem. P-Video-2-Pro ** generates **new footage (Model: p-video-2-pro).
One-line job |
Generate cinematic footage from prompts |
Generate premium footage from prompts |
Generate fast / affordable footage |
Speak from one still (script or audio) |
Retarget one still with clip motion |
Swap characters in existing footage |
Rewrite content in existing footage |
You start with |
Text prompt (+ optional first / last frame) |
Text prompt (+ optional image / audio) |
Text prompt (+ optional image / audio) |
Portrait still + |
Source video + one still |
Source video + identity stills |
Source video + text prompt |
You keep from the source |
N/A (new scene); canvas follows reference images when set |
N/A (new scene); strong I2V consistency when an image is set |
N/A (new scene) |
Aspect ratio of the still |
Motion, timing, camera from the driver |
Camera, timing, blocking, background |
Camera, timing, subject performance |
Typical ask |
“Make an 8 s cinematic product or documentary clip with generated audio.” |
“Make a 10 s product ad with music and lip-sync.” |
“Draft a 5 s social clip cheaply and fast.” |
“This spokesperson says this line in French.” |
“Animate this catalog still using our winning ad take.” |
“Put our creator in this UGC b-roll.” |
“Turn this silver SUV red and keep the camera move.” |
Quick decision guide
Need cinematic generation, first + last frame, or 480p / 768p with generated audio → P-Video-2-Pro.
Need 1080p, imported audio, or draft previews → P-Video-2.
Need the fastest / cheapest generation iteration → P-Video.
Single-speaker talking head, voice only, no music bed → P-Video-Avatar.
Footage exists and the hero still should move like the driver → P-Video-Animate.
Footage exists and you need different people in the same shot → P-Video-Replace.
Footage exists and you need a color, product, environment, object, or text edit → P-Video-Edit.
Key features
- Marketing and ads
Text-to-video social ads, image-to-video from brand stills, and clips with music or SFX written into the prompt. Prefer P-Video-Avatar only for voice-only talking heads.
- Media and entertainment
Music visuals, short-form narrative, and two-shot dialogue with lip-sync. Write the score, ambience, and spoken lines in the prompt; there is no audio upload.
- Retail and e-commerce
Product loops and shoppable lifestyle clips. Keep motion subtle and the product readable.
- Corporate and education
Training, explainers, and comms with two speakers, SFX, or silent B-roll. Voice-only single-presenter scripts → P-Video-Avatar.
- Gaming
Trailers, world reveals, and character moments in a game-engine look. One hero action per clip.
- Sports
Documentary and broadcast-style coverage: sideline training, rallies, pack shots, weather and physics. Not a fashion ad.
- Generated audio
Output includes generated audio. Write sound or dialogue in the prompt. Audio input is not exposed; for a muxed track, use P-Video-2.
- Image-to-video + last frame
Animate a first-frame still; optional
last_frame_imagefor end-frame control. Reference images determine the canvas.- Speed vs quality
mode: speedis the default faster recipe.mode: qualityis slower.prompt_upsampler(off/turbo/max) is independent ofmode.
Practical constraints
Duration is 5–15 seconds (default 5).
Audio input is not exposed. Write sound or dialogue in the prompt.
aspect_ratiois ignored when a referenceimageorlast_frame_imageis provided.Input images:
jpg,jpeg,png,webp.Resolution is 480p or 768p. Output is 24 fps.
There is no draft mode.
mode: speedis the fast recipe;mode: qualityis slower.This model generates new footage. Use P-Video-Edit to modify existing clips.
Rate limit: 250 requests per minute.
Examples
Integration
P-Video-2-Pro uses the same Pruna predictions API as other performance models. Text-to-video needs only a prompt; image-to-video runs upload files first.
Tip
For more information on how to use the API, see the API Reference.
- API endpoint
Base URL:
https://api.pruna.ai/v1/predictions
Authentication
-H 'apikey: YOUR_API_KEY'
-H 'Model: p-video-2-pro'
Text-to-video (asynchronous)
curl -X POST 'https://api.pruna.ai/v1/predictions' \
-H 'Content-Type: application/json' \
-H 'apikey: YOUR_API_KEY' \
-H 'Model: p-video-2-pro' \
-d '{
"input": {
"prompt": "A sports car drifting through a neon-lit city at night, cinematic aerial shot",
"duration": 5,
"resolution": "768p",
"aspect_ratio": "16:9"
}
}'
Text-to-video (synchronous)
curl -X POST 'https://api.pruna.ai/v1/predictions' \
-H 'Content-Type: application/json' \
-H 'apikey: YOUR_API_KEY' \
-H 'Model: p-video-2-pro' \
-H 'Try-Sync: true' \
-d '{
"input": {
"prompt": "A sports car drifting through a neon-lit city at night, cinematic aerial shot",
"duration": 5,
"resolution": "480p",
"mode": "speed"
}
}'
Image-to-video (first frame)
Upload a reference image, then pass its file URL:
curl -X POST "https://api.pruna.ai/v1/files" \
-H "apikey: YOUR_API_KEY" \
-F "content=@/path/to/your/file.jpg"
curl -X POST 'https://api.pruna.ai/v1/predictions' \
-H 'Content-Type: application/json' \
-H 'apikey: YOUR_API_KEY' \
-H 'Model: p-video-2-pro' \
-d '{
"input": {
"prompt": "The camera slowly pushes in, the person turns their head and smiles",
"image": "https://api.pruna.ai/v1/files/fqadqq42xq",
"duration": 5,
"resolution": "768p"
}
}'
Configuration
Required parameters
Parameter |
Type |
Description |
|---|---|---|
|
string |
Text prompt for video generation |
Optional parameters
Parameter |
Type |
Default |
Description |
|---|---|---|---|
|
string |
|
Expand the prompt before generation: |
|
string (URI) |
— |
First-frame reference image |
|
string (URI) |
— |
Last-frame reference image |
|
integer |
|
Video duration in seconds (5–15) |
|
string |
|
|
|
string |
|
Generation recipe: |
|
string |
|
|
|
integer |
random |
Random seed for reproducible generation |
Argument recommendations
Use these patterns for consistent quality:
prompt: follow subject / action / scene, then optional camera, lighting, style, and audio. For image-to-video, keep motion consistent with both stills.image/last_frame_image: high-quality, well-lit stills;aspect_ratiois ignored when a reference image is set.duration: 5–15 seconds (default 5).mode: iterate inspeed, then rerun finals inqualityon the sameseed.prompt_upsampler: leaveturbofor production; compareoffvsturbovsmaxon the sameseedbefore scaling.resolution: default768p; use480pfor cheaper, faster drafts.