Pricing
Compare models →Pricing is based on the explicitly requested duration, selected resolution, and draft mode. The price grows in proportion to the number of seconds requested.
Price per second of requested video (duration=1):
| Resolution | Full mode (draft=false), per second (duration=1) | Draft mode (draft=true), per second (duration=1) |
|---|---|---|
720p (resolution=720p) | $0.025 | $0.015 |
1080p (resolution=1080p) | $0.05 | $0.03 |
Example Costs
| Duration | 720p Full (resolution=720p, draft=false) | 720p Draft (resolution=720p, draft=true) | 1080p Full (resolution=1080p, draft=false) | 1080p Draft (resolution=1080p, draft=true) |
|---|---|---|---|---|
5 s (duration=5) | $0.125 | $0.075 | $0.25 | $0.15 |
10 s (duration=10) | $0.25 | $0.15 | $0.50 | $0.30 |
20 s (duration=20) | $0.50 | $0.30 | $1.00 | $0.60 |
Billing uses the requested duration, not the measured duration of the generated output. aspect_ratio, save_audio, prompt_upsampling, and seed do not add separate charges.
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for generation.Characters: 1 or moreJSON schema{
"x-rows": 4
} |
durationRequired | integer | Requested video duration in seconds. Defaults to 5 seconds; automatic duration is not available.Default: 5Minimum: 1 · Maximum: 20JSON schema{
"step": 1
} |
aspect_ratio | string | Aspect ratio of the generated video.16:99:164:33:43:22:31:1"16:9" |
resolution | string | Output video resolution.720p1080p"720p" |
draft | boolean | Generate a faster, lower-quality preview at half the full-mode per-second rate.Default: false |
save_audio | boolean | Save the video with audio.Default: true |
prompt_upsampling | boolean | Enhance the prompt before video generation.Default: true |
seed | integer | Random seed for reproducibility. Omit for a random seed.Minimum: 0 · Maximum: 2147483647 |
README
Pruna P-Video-2 Text-to-Video
Pruna P-Video-2 Text-to-Video generates videos directly from text prompts. Describe the scene, motion, camera movement, and visual style, then choose duration, resolution, and Draft or Full mode for fast previews or higher-quality output.
Why Choose This?
- Text-to-video generation
Generate videos directly from natural-language prompts.
- Explicit duration control
Choose a requested duration from 1 to 20 seconds.
- Draft and Full modes
Use Draft mode for faster, lower-cost previews, or Full mode for higher-quality output.
- 720p and 1080p output
Generate at 720p for lower cost or 1080p for higher-resolution results.
- Prompt upsampling
Use prompt_upsampling to expand and refine the generation prompt.
- Audio output option
Keep save_audio enabled when audio should be saved in the generated result.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Non-empty generation prompt describing the scene, motion, camera movement, subject action, and visual direction. |
| aspect_ratio | No | Output aspect ratio. Default: 16:9. |
| duration | Yes | Requested video duration in seconds. Range: 1–20. No default is supplied. |
| resolution | No | Output resolution: 720p or 1080p. Default: 720p. |
| draft | No | Enable lower-quality Draft mode for faster, lower-cost previews. Default: false. |
| save_audio | No | Save audio in the generated result when supported. Default: true. |
| prompt_upsampling | No | Expand and optimize the generation prompt. Default: true. |
| seed | No | Optional non-negative integer seed for reproducible results. Omit for random generation. |
How to Use
- Write a prompt — Describe the scene, subject, action, camera movement, lighting, mood, and visual style.
- Choose aspect ratio — Use the default
16:9or select another supported layout.
- Set duration — Choose an explicit duration from
1to20seconds.
- Choose resolution — Use
720pfor lower-cost generation or1080pfor higher-resolution output.
- Choose Draft or Full mode — Enable
draftfor preview generation or leave it disabled for full output.
- Configure prompt upsampling optional — Keep
prompt_upsamplingenabled when you want the prompt refined automatically.
- Set seed optional — Use a fixed seed for reproducible results, or omit it for random generation.
- Submit — Generate the final text-to-video output.
Pricing
Pricing is based on the explicitly requested duration, selected resolution, and draft mode. The price grows in proportion to the number of seconds requested.
Price per second of requested video (duration=1):
| Resolution | Full mode (draft=false), per second (duration=1) | Draft mode (draft=true), per second (duration=1) |
|---|---|---|
720p (resolution=720p) | $0.025 | $0.015 |
1080p (resolution=1080p) | $0.05 | $0.03 |
Example Costs
| Duration | 720p Full (resolution=720p, draft=false) | 720p Draft (resolution=720p, draft=true) | 1080p Full (resolution=1080p, draft=false) | 1080p Draft (resolution=1080p, draft=true) |
|---|---|---|---|---|
5 s (duration=5) | $0.125 | $0.075 | $0.25 | $0.15 |
10 s (duration=10) | $0.25 | $0.15 | $0.50 | $0.30 |
20 s (duration=20) | $0.50 | $0.30 | $1.00 | $0.60 |
Billing uses the requested duration, not the measured duration of the generated output. aspect_ratio, save_audio, prompt_upsampling, and seed do not add separate charges.
Best Use Cases
- Text-to-video generation — Create videos directly from written scene descriptions.
- Prompt-based motion testing — Test different actions, camera movements, and visual styles.
- Draft previews — Use Draft mode to compare ideas before running full-quality output.
- Social video content — Generate short clips for ads, posts, reels, and creative previews.
- Creative prototyping — Explore cinematic concepts, character scenes, or product visuals from text.
- Marketing and product videos — Generate short-form promotional clips from text prompts.
Pro Tips
- Write prompts that describe visible motion, not just the image style.
- Include subject, action, camera movement, lighting, mood, and scene progression.
- Use Draft mode for quick iteration before generating the final version.
- Use
720pfor lower-cost tests and1080pfor higher-resolution output.
- Set a fixed
seedwhen comparing prompt or parameter changes.
- Keep prompts focused on one main scene or action for more stable motion.
- This product does not support automatic duration, audio conditioning, or last-frame guidance.
- Frame rate follows the model default.
Notes
promptanddurationare required.
durationmust be explicitly set from1to20seconds.
- Billing uses the requested duration.
- Automatic duration, audio conditioning, and last-frame guidance are not available in this product.
Related Models
- Pruna P-Video-2 Text-to-Video — Generate videos directly from text prompts.
- Pruna P-Video-2 Image-to-Video — Generate videos from an input image and motion prompt.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Pruna P-Video-2 Text-to-Video API example
The catalog lists POST https://api.opensi.com.ai/api/v3/pruna-ai/p-video-2/text-to-video for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"duration": 5,
"aspect_ratio": "16:9",
"resolution": "720p",
"draft": false,
"save_audio": true,
"prompt_upsampling": true,
"seed": 0
}Pruna P-Video-2 Text-to-Video API — Frequently asked questions
What is the P Video 2 Text To Video API?
P Video 2 Text To Video is a Pruna Ai model for video generation, exposed as a REST API on OpenSIAI. Pruna P-Video-2 Text-to-Video generates videos from text prompts with explicit controls for duration, resolution, draft mode, and audio output, making it suitable for creative videos, social content, ads, and production workflows. 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 2 Text To Video 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-2/text-to-video.
How much does P Video 2 Text To Video cost per run or per second?
P Video 2 Text To Video starts at $0.025 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 2 Text To Video accept?
Key inputs: prompt, aspect_ratio, resolution, duration, seed, draft. 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-2/text-to-video.
How long does P Video 2 Text To Video take to generate?
Reported generation time on OpenSIAI is around 12 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 2 Text To Video 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.