Readme
p-video-2-pro-reference
Generate video from a prompt plus image, video, and audio references with Pruna’s p-video-2-pro-reference.
p-video-2-pro-reference is Pruna’s reference-to-video model, built on MiniMax H3. Use it to keep a subject consistent across a clip: a product shot, a character, a reference clip, or a voice. It returns an MP4 at 24 fps with generated sound, 5 to 15 seconds long, at 480p or 768p.
p-video-2-pro generates from text, or from a first frame and an optional last frame. Use p-video-2-pro-reference when you want to lock a subject from references.
How it works
The model takes:
- A
promptdescribing the action, scene, and optionally camera, lighting, and style. - At least one reference image or video. You can add reference audio.
- Optional
first_frame_imageandlast_frame_imagesoft keyframes. - A
mode,resolution,duration, andaspect_ratio.
It returns a generated video.
Inputs
prompt(required): what to generate.image: reference images. Up to 9, including start and end frames (20 MiB and 4096 px each).video: reference videos. Up to 3, each 2 to 15 seconds and 15 seconds combined (100 MiB, 1080p, and 60 fps each).audio: reference audio. Up to 3 files, 15 seconds combined (50 MiB each).keep_audio: use your audio file as the video’s soundtrack instead of only as a reference. Needs exactly one audio file. If the audio is shorter thanduration, it plays first and the model generates the rest. If it is longer, it is cut toduration. If it is within 1 second ofduration, the video’s length follows the audio.duration: 5 to 15 seconds (default 5).resolution:480por768p(default768p).aspect_ratio:adaptive, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, or 1:1 (default 16:9).adaptivefollows your references.mode:speed(default) orcost. Cost mode runs the same model on less hardware, so it is slower and cheaper.first_frame_image: optional image the video should open on. Counts as a reference image.last_frame_image: optional image the video should end on. Counts as a reference image.prompt_upsampler: rewrite the prompt into a detailed brief based on your references.turbo(default),max, oroff. A start or end frame needs upsampling, sooffrunsturbowhen one is set.seed: set for reproducible results.
Tips
- Describe what the subject from your references should do, and where. Let the references carry the subject’s look.
- Use clean, well-lit reference images that show the subject clearly.
- Use
aspect_ratio: adaptiveto match the shape of your references. - Use
mode: costfor drafts and iteration, then switch tomode: speedwhen you need results faster. - Set
keep_audiowith a voice or music track to generate video that matches it.
Pricing
You pay per second of returned video, based on mode and resolution.
License
Use is subject to the MiniMax H3 Community License, including its Acceptable Use Policy.
Resources
Docs: https://docs.api.pruna.ai/guides/models/p-video-2-pro-reference-70b4a9f876b6