Pricing
Compare models →Pricing is based on the source video duration and selected mode (draft). Each billed second is charged at the rate of the selected mode.
Billing duration is rounded up to the next whole second, with a minimum billed duration of 1 second and a maximum billed duration of 15 seconds.
| Mode | Price per billed second (source video of 1 second) |
|---|---|
Full mode (draft=false, 1 s video) | $0.045 |
Draft mode (draft=true, 1 s video) | $0.025 |
Example Costs
Source video duration (video) | Full mode (draft=false) | Draft mode (draft=true) |
|---|---|---|
1 s (video.seconds=1, minimum billed duration) | $0.045 | $0.025 |
5 s (video.seconds=5) | $0.225 | $0.125 |
7 s (video.seconds=7) | $0.315 | $0.175 |
10 s (video.seconds=10) | $0.45 | $0.25 |
15 s (video.seconds=15, maximum billed duration) | $0.675 | $0.375 |
30 s (video.seconds=30, billed as 15 s) | $0.675 | $0.375 |
images, prompt_upsampling, save_audio, and seed do not add separate charges.
Input schema
| Parameter | Type | Description |
|---|---|---|
videoRequired | string | Source video to edit. The input video can be up to 15 seconds long.Characters: 1 or more |
promptRequired | string | Natural-language instructions describing the changes to apply to the video.Characters: 1 or moreJSON schema{
"x-rows": 4
} |
images | array | Optional reference images for guided editing. Supports up to 4 JPG, JPEG, PNG, or WebP images.Items: 0–4JSON schema{
"items": {
"type": "string"
}
} |
prompt_upsampling | boolean | Whether the model should expand and optimize the editing prompt.Default: true |
draft | boolean | Enable faster, lower-cost Draft mode.Default: false |
save_audio | boolean | Preserve the source video's audio in the edited output.Default: true |
seed | integer | Random seed for reproducible results. If omitted, a random seed is used. |
README
Pruna AI P-Video Edit
Pruna AI P-Video Edit edits an existing video using natural-language instructions. Upload a source video, describe the changes you want, and optionally add reference images to guide identity, appearance, style, object edits, or scene transformation.
Why Choose This?
- Instruction-based video editing
Edit videos with natural-language prompts instead of building a manual editing workflow.
- Flexible visual changes
Modify attributes, transform objects, adjust environments, or restyle a scene while preserving the source video's motion and structure.
- Reference-guided editing
Add up to 4 reference images to guide identity, appearance, object design, or visual style.
- Draft and Full modes
Use Draft mode for faster, lower-cost previews, or Full mode for higher-quality edits.
- Audio preservation
Preserve the source video's audio in the edited result with save_audio.
Parameters
| Parameter | Required | Description |
|---|---|---|
| video | Yes | Source video to edit. Maximum input length: 15 seconds. |
| prompt | Yes | Natural-language instructions describing the requested video changes. |
| images | No | Optional reference images for guided editing. Supports up to 4 JPG, JPEG, PNG, or WebP images. |
| prompt_upsampling | No | Expand and optimize the editing prompt. Default: true. |
| draft | No | Enable faster, lower-cost Draft mode. Default: false. |
| save_audio | No | Preserve the source video's audio in the result. Default: true. |
| seed | No | Random seed for reproducible results. If omitted, a random seed is used. |
How to Use
- Upload a source video — Provide a clip no longer than
15seconds.
- Write the edit prompt — Describe what should change and what should remain consistent.
- Add reference images optional — Provide up to 4 images when identity, style, product, or object appearance matters.
- Choose Draft or Full mode — Use Draft mode for quick previews or Full mode for higher-quality output.
- Choose audio behavior — Keep
save_audioenabled when the source audio should be preserved.
- Set seed optional — Use a fixed seed when reproducibility is needed.
- Submit — Generate the edited video and retrieve the output URL.
Pricing
Pricing is based on the source video duration and selected mode (draft). Each billed second is charged at the rate of the selected mode.
Billing duration is rounded up to the next whole second, with a minimum billed duration of 1 second and a maximum billed duration of 15 seconds.
| Mode | Price per billed second (source video of 1 second) |
|---|---|
Full mode (draft=false, 1 s video) | $0.045 |
Draft mode (draft=true, 1 s video) | $0.025 |
Example Costs
Source video duration (video) | Full mode (draft=false) | Draft mode (draft=true) |
|---|---|---|
1 s (video.seconds=1, minimum billed duration) | $0.045 | $0.025 |
5 s (video.seconds=5) | $0.225 | $0.125 |
7 s (video.seconds=7) | $0.315 | $0.175 |
10 s (video.seconds=10) | $0.45 | $0.25 |
15 s (video.seconds=15, maximum billed duration) | $0.675 | $0.375 |
30 s (video.seconds=30, billed as 15 s) | $0.675 | $0.375 |
images, prompt_upsampling, save_audio, and seed do not add separate charges.
Best Use Cases
- Attribute editing — Change clothing, materials, colors, lighting, or visual traits.
- Object modification — Replace, transform, add, or restyle objects in a scene.
- Environment replacement — Move an existing performance into a different location, season, time of day, or visual atmosphere.
- Reference-guided edits — Use images to guide identity, object appearance, product design, or visual style.
- Creative iteration — Generate Draft previews before producing a Full-quality result.
- Social and marketing video edits — Adapt short clips for ads, product showcases, and creative campaigns.
Pro Tips
- Clearly describe both what should change and what should remain consistent.
- Use reference images when identity, product details, object design, or style consistency matters.
- Use Draft mode for fast iteration before running a Full edit.
- Keep prompts focused on one main edit direction for more stable results.
- Preserve
save_audio=truewhen the original soundtrack, dialogue, or ambience should remain.
- Use short, clean source videos with clear subjects and stable motion.
- Set a fixed
seedwhen comparing prompt or reference-image changes.
Notes
videoandpromptare required.
- The input video can be up to
15seconds long.
imagesis optional and supports up to4reference images.
- Defaults:
prompt_upsampling=true,draft=false, andsave_audio=true.
- The completed prediction returns the edited video as a URL in
outputs.
- This endpoint does not expose output resolution, frame rate, duration, output format, or translation controls.
Related Models
- Pruna AI P-Image Ideogram — Generate images with prompt-based visual and typography control.
- Pruna AI P-Video Replace — Replace or transform video elements with prompt and reference guidance.
- Pruna AI P-Image Edit — Edit images with natural-language instructions and reference inputs.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Pruna P-Video Edit API example
The catalog lists POST https://api.opensi.com.ai/api/v3/pruna-ai/p-video/edit for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"video": "https://static.website-files.org/assets/video-generator/landing/showcase/04-a244f00f6098.mp4",
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"images": [],
"prompt_upsampling": true,
"draft": false,
"save_audio": true,
"seed": 0
}Pruna P-Video Edit API — Frequently asked questions
What is the P Video Edit API?
P Video Edit is a Pruna Ai model for video editing, exposed as a REST API on OpenSIAI. Pruna P-Video-Edit is an instruction-based video editing model for modifying subjects, objects, attributes, and environments in existing videos, with optional reference-image guidance and Draft or Full quality modes. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the P Video Edit API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/pruna-ai/p-video/edit.
How much does P Video Edit cost per run or per second?
P Video Edit starts at $0.045 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does P Video Edit accept?
Key inputs: prompt, images, video, seed, draft, prompt_upsampling. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/pruna-ai/p-video/edit.
How long does P Video Edit take to generate?
Reported generation time on OpenSIAI is around 173 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use P Video Edit outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (Pruna Ai). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.