p-video-2-prodefaultP-Video-2 Pro API — how to connect and pay
P-Video-2 Pro (Pruna AI) — the senior P-Video-2: video with sound from text or from a first and last frame, 5 to 15 seconds, 480p or 768p. Three modes: Cost (cheapest), Speed (fast) and Quality (best quality). Priced per clip by mode, resolution and length.
Channel comparison
last 7 days
| Channel | Price |
|---|---|
Canvas p-video-2-prodefault | from $0.066667 per clip |
Build the result you need
p-video-2-proWhat is P-Video-2 Pro
P-Video-2 Pro (Pruna AI) — the senior P-Video-2: video with sound from text or from a first and last frame, 5 to 15 seconds, 480p or 768p. Three modes: Cost (cheapest), Speed (fast) and Quality (best quality). Priced per clip by mode, resolution and length.
Contract at a glance
- Input
- text, image
- Output
- video
- Mode
- async (job + polling)
- Status polling
- every 3 s · up to 600 s
Strengths
- Pricing: per clip
- Inputs: text, image
- 3 configurable options
- One API key for media generation
Where it is used
- Social media clips
- Promos and title sequences
- Still-image animation
- Storyboards and animatics
API contract
Generation runs asynchronously: create a job, then poll its status until completion.
- Create job
- POST /api/media/generate
- Check status
- GET /api/media/jobs/{jobId}
- Input
- text, image
- Output
- video
- Polling
- every 3 s · up to 600 s
- Authentication
- Authorization: Bearer sk-pv-…
Example request
Pass your key in the Bearer header. The API returns jobId for polling the status.
curl -sS https://getvibeapi.com/api/media/generate \
-H "Authorization: Bearer $GETVIBE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary '{"model":"p-video-2-pro","prompt":"a beautiful landscape","opts":{"mode":"cost","duration":"5","resolution":"768p","aspect_ratio":"16:9"}}'JavaScript
const response = await fetch('https://getvibeapi.com/api/media/generate', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.GETVIBE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "p-video-2-pro",
"prompt": "a beautiful landscape",
"opts": {
"mode": "cost",
"duration": "5",
"resolution": "768p",
"aspect_ratio": "16:9"
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);API request parameters
Parameters for requests to P-Video-2 Pro via the GetVibe API.
promptreq.image_urlmodedurationresolutionaspect_ratiolast_frame_urlseedimage_file_idimage_base64last_frame_file_id| Parameter | Type | Values | Default | Price |
|---|---|---|---|---|
promptreq. | text | text description | required | — |
image_url | URL | Public image URL | — | — |
mode | option selection | Cost · Speed (default) · Quality | Speed | Cost: $0.166667, Speed: $0.233333, Quality: $0.50 |
duration | option selection | 5 (default) · 8 · 10 · 12 · 15 | 5 | 5: $0.233333, 8: $0.373333, 10: $0.466667, 12: $0.56, 15: $0.70 |
resolution | option selection | 480p · 768p (default) | 768p | 480p: $0.133333, 768p: $0.233333 |
aspect_ratio | option selection | 16:9 (default) · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 · 1:1 | 16:9 | Included in the base price |
last_frame_url | text / number | any value | — | Included in the base price |
seed | text / number | any value | — | Included in the base price |
image_file_id | text | Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
image_base64 | text | Alternative to image_url: the file inline, as base64 or a data: URI | — | Included in the base price |
last_frame_file_id | text | Alternative to last_frame_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
Request: POST https://getvibeapi.com/api/media/generate. Prices in USD.
Price of P-Video-2 Pro
The cost of P-Video-2 Pro: from $0.066667 per clip. The price is calculated dynamically at the current exchange rate, and the final charge is shown in the API response (priceRub). Payment in USD, no subscriptions.
What a default request costs
With no parameters sent, the request uses these values: Duration — 5, Resolution — 768p, Mode — Speed, Frame format — 16:9. That request costs $0.233333.
“from $0.066667” is the cheapest parameter set, not the price of a default request.
Channels and prices for every parameter combination
For every channel, the price of every parameter combination. It is exactly the amount a successful generation is charged, and the same figure as in the machine-readable table linked below.
Canvasp-video-2-profrom $0.066667exact prices
| Mode · Resolution \ Duration, sec | 5 s | 8 s | 10 s | 12 s | 15 s |
|---|---|---|---|---|---|
| Cost · 480p | $0.066667 | $0.106667 | $0.133333 | $0.16 | $0.20 |
| Cost · 768p | $0.166667 | $0.266667 | $0.333333 | $0.40 | $0.50 |
| Speed · 480p | $0.133333 | $0.213333 | $0.266667 | $0.32 | $0.40 |
| Speed · 768p | $0.233333 | $0.373333 | $0.466667 | $0.56 | $0.70 |
| Quality · 480p | $0.266667 | $0.426667 | $0.533333 | $0.64 | $0.80 |
| Quality · 768p | $0.50 | $0.80 | $1.00 | $1.20 | $1.50 |
Every combination as JSON: /api/media/price-table?model=p-video-2-pro
README
The machine-readable contract for P-Video-2 Pro contains the request schema, operations, limits, polling and response examples.
# P-Video-2 Pro
Public model: p-video-2-pro
Create job: POST /api/media/generate
Check status: GET /api/media/jobs/{jobId}
## Input parameters
- `prompt` (text): text description; default: required
- `image_url` (URL): Public image URL; default: —
- `mode` (option selection): Cost · Speed (default) · Quality; default: Speed
- `duration` (option selection): 5 (default) · 8 · 10 · 12 · 15; default: 5
- `resolution` (option selection): 480p · 768p (default); default: 768p
- `aspect_ratio` (option selection): 16:9 (default) · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 · 1:1; default: 16:9
- `last_frame_url` (text / number): any value; default: —
- `seed` (text / number): any value; default: —
- `image_file_id` (text): Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…); default: —
- `image_base64` (text): Alternative to image_url: the file inline, as base64 or a data: URI; default: —
- `last_frame_file_id` (text): Alternative to last_frame_url: the id of your own file from POST /v1/files (file-pv-…); default: —
## Public variants
- `p-video-2-pro`: CanvasFAQ about the P-Video-2 Pro API
How much does P-Video-2 Pro cost?
The price of P-Video-2 Pro: from $0.066667 per clip. The price is calculated dynamically at the current exchange rate.
Is it compatible with the OpenAI SDK?
Yes, the API is fully OpenAI-compatible. Just change base_url to https://getvibeapi.com/v1 and set your key — the rest of the code stays the same.