ReplicateImage to videoComing soon
prunaai/p-video-2-pro-reference
prunaai/p-video-2-pro-reference is an image to video tool from Replicate that runs in the background and returns video. Coming soon: listed with its price, not yet open to runs.
This tool is listed but not yet available to run.
Price pendingPricing
Price pending.
Limits
- Runs
- In the background
- Returns
- video
- Longest queue wait
- 3600s
- Run deadline
- 3600s
- Largest inline input
- 1024 KB
- Largest input file
- 500 MB
- Largest output
- 4768 MB
- Outputs per run
- 16
Input
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | Text prompt for video generation. |
mode | JSON | speed | speed runs on 4x B200; cost runs the same model on one B200 (slower, cheaper). |
seed | number (whole) | — | Random seed for reproducible generation. |
audio | URLs or files | — | Reference audio files to condition the generation on. Set keep_audio to use a single file as the video's audio. |
image | URLs or files | — | Reference images to condition the generation on. |
video | list | — | Reference videos to condition the generation on. |
duration | number (whole) 5 to 15 | 5 | Video duration in seconds. With keep_audio, an audio file within 1 s of it sets the length instead. |
keep_audio | true or false | false | Keep the uploaded audio as the video's audio instead of only using it as a reference. Needs exactly one audio file. The video is generated to match it. If the audio is shorter than duration, the video plays it first and the model generates the rest. If it is longer, it is cut to duration. If it is within 1 s of duration, the video's length follows the audio's. |
resolution | JSON | 768p | Video resolution. 1080p, 2k and 4k generate at 768p and upscale it (24 fps kept). |
aspect_ratio | JSON | 16:9 | Aspect ratio of the generated video. adaptive uses the most common one among the reference images and videos. |
last_frame_image | text | — | Optional image the video should end on. Combines with the other references. |
prompt_upsampler | JSON | turbo | Rewrite the prompt into a detailed H3 brief that looks at the references first: turbo (our upsampler), max (MiniMax; falls back to turbo), or off. With adaptive aspect ratio, turbo also picks the ratio. |
first_frame_image | text | — | Optional image the video should open on. Combines with the other references. Needs prompt upsampling, so prompt_upsampler=off runs turbo when a start or end frame is given. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "replicate",
"model": "prunaai/p-video-2-pro-reference",
"input": {
"prompt": "<prompt>"
}
}'