P-Video-2-Pro-Reference
P-Video-2-Pro-Reference, based on MiniMax H3, is the reference-conditioned counterpart to P-Video-2-Pro. Generate from a prompt plus at least one image or video reference. Audio, first-frame, and last-frame stills are optional.
It offers reference-conditioned generation at 480p and 768p, 24 fps, with duration 5–15 seconds (default 5). Output includes generated audio; a prompt alone is rejected. Use mode: cost for the lowest list price (same output quality as speed), or mode: speed (default) for the faster recipe. There is no quality mode. prompt_upsampler is independent: off, turbo (default), or max; it does not change the price.
Note
When using P-Video-2-Pro-Reference, make sure to respect the copyright of the images, videos, and audio you use as input and the content you generate.
Pricing: billed from the finished run. Output, reference video, images, and audio each have a rate for mode; output and reference video also depend on resolution. prompt_upsampler and keep_audio do not change the price.
Resolution |
|
|
|---|---|---|
480p |
$0.015 per second of output video |
$0.02 per second of output video |
768p |
$0.025 per second of output video |
$0.035 per second of output video |
|
|
|---|---|
$0.005 each |
$0.01 each |
|
|
|---|---|
$0.0015 per second |
$0.0025 per second |
The per-second output rates above are with no references. The cheapest request is $0.075 (cost, 480p, no references).
Speed: model execution time per second of output video.
Resolution |
|
|
|---|---|---|
480p |
~0.38 s per second of output video |
~1.04 s per second of output video |
768p |
~0.80 s per second of output video |
~2.12 s per second of output video |
Tip
Log in to the API in the Pruna User Portal.
Prompt formula
Fast pass
Prompt plus one still or clip. Enough for first looks. Iterate in cost or speed mode.
Locked-in
Add camera, lighting, and style. Stack stills, clips, audio, and optional start / end frames.
prompt: required. Name the subject, action, and scene, and say what to keep from the references. Add camera, lighting, and style when you need a repeatable final.Fast pass: “The person in the reference walks through a sunlit market.”
Locked-in: “The reference image is the hero product. Keep that exact matte stainless kettle, gooseneck spout, and black handle. Photoreal product film, 8 seconds. Slow orbit on a light-gray sweep, a thin ribbon of steam. No logos, no captions. Audio: quiet studio, no voiceover.”
image/video: send at least one. Images arejpg,jpeg,png, orwebp. Up to 9 images including start and end frames; up to 3 videos.Fast pass: one well-lit still.
Locked-in: several stills or a short clip; generate locked compositions with P-Image-Ideogram when you need them.
audio/first_frame_image/last_frame_image: optional. Audio is a reference unlesskeep_audiois set. Start and end frames guide the open and close; they are not hard constraints.Fast pass: omit; write sound in the prompt.
Locked-in: upload a track when timing must match, or pair start and end stills.
Slot |
Fast pass (enough to run) |
Locked-in (stronger control) |
|---|---|---|
|
Subject, action, scene, and what to keep from the reference. |
Subject + action + scene + camera, lighting, style; same wording every rerun. |
|
One still. |
Several stills or a short clip for identity, product, or motion. |
|
Empty; name sound in the prompt. |
Uploaded track or opening and closing stills. |
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-Reference generates new footage from a prompt plus references (Model: p-video-2-pro-reference).
One-line job |
Generate cinematic footage from prompts + references |
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 |
Prompt + at least one image or video (+ optional audio, start / end frames) |
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 |
Identity, motion, and canvas from the uploaded references |
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 |
“Continue this clip / match these stills for 8 s at 768p.” |
“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.” |
Generation time (5 s video) |
4.0 s (768p |
4.3 s (768p |
4.5 s (draft: 2.0 s) |
9.3 s |
— |
26.2 s (720p) |
~17.9 s (720p) |
— |
Cost (5 s video) |
$0.130 (768p |
$0.125 (768p |
$0.13 (draft: $0.08) |
$0.10 (draft: $0.03) |
$0.125 (720p) · $0.225 (1080p) |
$0.15 (720p) · $0.30 (1080p) |
$0.15 (720p) · $0.30 (1080p) |
$0.225 (draft: $0.125) |
Draft mode |
No |
No |
Yes |
Yes |
No |
No |
No |
Yes |
Quick decision guide
Need multiple image, video, or audio references, or soft start / end frames on MiniMax H3 → P-Video-2-Pro-Reference. Use
mode: costwhen price is the priority (same output quality asspeed).Need cinematic generation from text or a single first / last frame, including ``quality`` mode → P-Video-2-Pro.
Need 1080p, imported audio muxed onto a new clip, 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
Animate brand stills, continue a winning take, or match a bed you already have. Prefer P-Video-Avatar only for voice-only talking heads.
- Media and entertainment
Short-form narrative and two-shot dialogue that stay locked to uploaded faces, blocking, or audio.
- Retail and e-commerce
Product loops from packshot stills. Keep motion subtle and the product readable.
- Corporate and education
Training, explainers, and comms that must start and end on specific frames. Voice-only single-presenter scripts → P-Video-Avatar.
- Gaming
Trailers, world reveals, and character moments that keep identity from concept stills or previous shots.
- Sports
Documentary and broadcast-style coverage that continues a sideline clip. Not a fashion ad.
- Generated audio
Output includes generated audio. Write sound or dialogue in the prompt, or set
keep_audiowith one uploaded file to keep that track.- References + soft keyframes
Animate from up to 9 images, 3 videos, and 3 audio files. Optional
first_frame_imageandlast_frame_imageguide the open and close; they are not hard constraints.- Cost and speed
mode: costis the lowest-price recipe and matchesspeedoutput quality.mode: speedis the default faster recipe. There is noqualitymode.prompt_upsampler(off/turbo/max) is independent ofmodeand does not change the price.
Practical constraints
Send at least one
imageorvideowith the prompt. A prompt alone is rejected.Duration is 5–15 seconds (default 5).
Audio is optional. Set
keep_audioonly with exactly one audio file.Input images:
jpg,jpeg,png,webp.Resolution is 480p or 768p. Output is 24 fps.
There is no draft mode and no
qualitymode.mode: costis the lowest-price recipe (same output quality asspeed);mode: speedis the default faster recipe.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-Reference uses the same Pruna predictions API as other performance models. Upload each file first, then pass the returned URLs. Send at least one image or video reference with the prompt.
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-reference'
Image reference (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-reference' \
-d '{
"input": {
"prompt": "The person in the reference walks through a sunlit market",
"image": ["https://api.pruna.ai/v1/files/fqadqq42xq"],
"duration": 5,
"resolution": "768p",
"aspect_ratio": "adaptive"
}
}'
Cost mode (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-reference' \
-H 'Try-Sync: true' \
-d '{
"input": {
"prompt": "The person in the reference walks through a sunlit market",
"image": ["https://api.pruna.ai/v1/files/fqadqq42xq"],
"duration": 5,
"resolution": "480p",
"mode": "cost"
}
}'
Video, audio, and soft keyframes
Upload each file first, then pass the returned URLs:
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-reference' \
-d '{
"input": {
"prompt": "Continue the motion and match the reference audio",
"video": ["https://api.pruna.ai/v1/files/video123"],
"audio": ["https://api.pruna.ai/v1/files/audio123"],
"first_frame_image": "https://api.pruna.ai/v1/files/start123",
"last_frame_image": "https://api.pruna.ai/v1/files/end123",
"duration": 5,
"resolution": "768p",
"mode": "speed"
}
}'
Configuration
Required parameters
Parameter |
Type |
Description |
|---|---|---|
|
string |
Text prompt for video generation |
Send at least one image or video reference with the prompt. Audio is optional.
Optional parameters
Parameter |
Type |
Default |
Description |
|---|---|---|---|
|
string |
|
Rewrite the prompt before generation: |
|
array of URIs |
— |
Reference images |
|
array of URIs |
— |
Reference videos |
|
array of URIs |
— |
Reference audio. Set |
|
boolean |
|
Keep the uploaded audio as the video’s audio. Needs exactly one audio file. Does not change the price |
|
string (URI) |
— |
Optional opening image. Soft keyframe that guides the open; not a hard constraint. Counts as a reference image |
|
string (URI) |
— |
Optional closing image. Soft keyframe that guides the close; not a hard constraint. Counts as a reference image |
|
integer |
|
Video duration in seconds (5–15). With |
|
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 say what to keep from each reference. Add camera, lighting, and style when you need a repeatable final.image/video/first_frame_image/last_frame_image: send at least one image or video; start and end frames guide the clip.audio/keep_audio: upload only when timing must match; setkeep_audiowith one file to keep that track.duration: 5–15 seconds (default 5).mode: usecostfor the lowest list price (same output quality asspeed); usespeedwhen latency matters.prompt_upsampler: leaveturbofor production; compareoffvsturbovsmaxon the sameseedbefore scaling.resolution: default768p; use480pfor cheaper, faster drafts.