p-video-2StandardP-Video-2 API — wie man verbindet und bezahlt
P-Video-2 (Pruna AI) — schnelle, kostengünstige Videos aus Text oder einem Startbild (auch ein Endbild kann festgelegt werden), mit Ton. 720p oder 1080p, 2 bis 20 Sekunden, 7 Seitenverhältnisse. Der Entwurfsmodus kostet die Hälfte und eignet sich für schnelle Tests. Sie können eine fertige Audiospur übermitteln (audio_url): Das Video wird passend dazu erstellt, der Clip ist genauso lang wie die Audiospur und wird pro Sekunde der Audiospur abgerechnet. Die Abrechnung erfolgt pro Clip nach Auflösung, Modus und Länge.
Kanalvergleich
letzte 7 Tage
| Kanal | Preis |
|---|---|
Canvas p-video-2Standard | ab $0.04 per clip |
Erstelle das benötigte Ergebnis
p-video-2Dieses Modell veröffentlicht im Katalog nur seinen Mindestpreis.
Was ist P-Video-2
P-Video-2 (Pruna AI) — schnelle, kostengünstige Videos aus Text oder einem Startbild (auch ein Endbild kann festgelegt werden), mit Ton. 720p oder 1080p, 2 bis 20 Sekunden, 7 Seitenverhältnisse. Der Entwurfsmodus kostet die Hälfte und eignet sich für schnelle Tests. Sie können eine fertige Audiospur übermitteln (audio_url): Das Video wird passend dazu erstellt, der Clip ist genauso lang wie die Audiospur und wird pro Sekunde der Audiospur abgerechnet. Die Abrechnung erfolgt pro Clip nach Auflösung, Modus und Länge.
Vertrag auf einen Blick
- Eingabe
- text, image, audio
- Ausgabe
- video
- Modus
- asynchron (Auftrag + Abruf)
- Statusabfrage
- alle 3 s · bis zu 600 s
Stärken
- Preise: pro Clip
- Eingaben: Text, Bild, Audio
- 7 konfigurierbare Optionen
- Ein API-Schlüssel für die Mediengenerierung
Wo es eingesetzt wird
- Social-Media-Clips
- Werbe- und Titelsequenzen
- Animation von Standbildern
- Storyboards und Animatics
API-Vertrag
Die Generierung läuft asynchron: Erstelle einen Auftrag und frage anschließend seinen Status bis zum Abschluss ab.
- Auftrag erstellen
- POST /api/media/generate
- Status prüfen
- GET /api/media/jobs/{jobId}
- Eingabe
- text, image, audio
- Ausgabe
- video
- Statusabfrage
- alle 3 s · bis zu 600 s
- Authentifizierung
- Authorization: Bearer sk-pv-…
Beispielanfrage
Übermittle deinen Schlüssel im Bearer-Header. Die API gibt jobId für die Statusabfrage zurück.
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","prompt":"a beautiful landscape","opts":{"duration":"5","resolution":"720p","draft":false,"aspect_ratio":"16:9","save_audio":true}}'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",
"prompt": "a beautiful landscape",
"opts": {
"duration": "5",
"resolution": "720p",
"draft": false,
"aspect_ratio": "16:9",
"save_audio": true
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);API-Anfrageparameter
Parameter für Anfragen an P-Video-2 über die GetVibe API.
durationresolutiondraftaspect_ratiolast_frame_urlsave_audioseedimage_file_idimage_base64last_frame_file_idaudio_file_idaudio_base64| Parameter | Typ | Werte | Standard | Preis |
|---|---|---|---|---|
duration | option selection | 2 · 3 · 5 · 8 · 10 · 15 · 20 | 5 | Included in the base price |
resolution | option selection | 720p · 1080p | 720p | Included in the base price |
draft | yes/no | Entwurfsmodus (günstiger, geringere Qualität) | false | Included in the base price |
aspect_ratio | option selection | 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 · 1:1 | 16:9 | Included in the base price |
last_frame_url | URL | Public URL of the last frame | — | Included in the base price |
save_audio | yes/no | Save the clip with sound (default true). With audio_url that sound is your track; false returns a silent clip. | true | Included in the base price |
seed | text | Seed (optional) | — | 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 |
audio_file_id | text | Alternative to audio_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
audio_base64 | text | Alternative to audio_url: the file inline, as base64 or a data: URI | — | Included in the base price |
Anfrage: POST https://getvibeapi.com/api/media/generate. Preise in USD.
Preis von P-Video-2
Die Kosten für P-Video-2: auf Anfrage. Der Preis wird dynamisch zum aktuellen Wechselkurs berechnet, und der endgültige Betrag wird in der API-Antwort angezeigt (priceRub). Zahlung in USD, keine Abonnements.
Kanäle und Preise für jede Parameterkombination
Für jeden Kanal der Preis jeder Parameterkombination. Dies ist genau der Betrag, der für eine erfolgreiche Generierung berechnet wird, und entspricht dem Wert in der unten verlinkten maschinenlesbaren Tabelle.
Canvasp-video-2ab $0.04exakte Preise
| Auflösung · Entwurfsmodus (günstiger, geringere Qualität) \ Dauer, Sek. | 2 s | 3 s | 5 s | 8 s | 10 s | 15 s | 20 s |
|---|---|---|---|---|---|---|---|
| 720p · Nein | $0.08 | $0.12 | $0.20 | $0.32 | $0.40 | $0.60 | $0.80 |
| 720p · Ja | $0.04 | $0.06 | $0.10 | $0.16 | $0.20 | $0.30 | $0.40 |
| 1080p · Nein | $0.16 | $0.24 | $0.40 | $0.64 | $0.80 | $1.20 | $1.60 |
| 1080p · Ja | $0.08 | $0.12 | $0.20 | $0.32 | $0.40 | $0.60 | $0.80 |
Jede Kombination als JSON: /api/media/price-table?model=p-video-2
README
Der maschinenlesbare Vertrag für P-Video-2 enthält das Anfrage-Schema, Vorgänge, Limits, Statusabfragen und Antwortbeispiele.
# P-Video-2
Öffentliches Modell: p-video-2
Auftrag erstellen: POST /api/media/generate
Status prüfen: GET /api/media/jobs/{jobId}
## Eingabeparameter
- `duration` (option selection): 2 · 3 · 5 · 8 · 10 · 15 · 20; Standard: 5
- `resolution` (option selection): 720p · 1080p; Standard: 720p
- `draft` (yes/no): Draft mode (cheaper, lower quality); Standard: false
- `aspect_ratio` (option selection): 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 · 1:1; Standard: 16:9
- `last_frame_url` (URL): Public URL of the last frame; Standard: —
- `save_audio` (yes/no): Save the clip with sound (default true). With audio_url that sound is your track; false returns a silent clip.; Standard: true
- `seed` (text): Seed (optional); Standard: —
- `image_file_id` (text): Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…); Standard: —
- `image_base64` (text): Alternative to image_url: the file inline, as base64 or a data: URI; Standard: —
- `last_frame_file_id` (text): Alternative to last_frame_url: the id of your own file from POST /v1/files (file-pv-…); Standard: —
- `audio_file_id` (text): Alternative to audio_url: the id of your own file from POST /v1/files (file-pv-…); Standard: —
- `audio_base64` (text): Alternative to audio_url: the file inline, as base64 or a data: URI; Standard: —
## Öffentliche Varianten
- `p-video-2`: CanvasFAQ zur P-Video-2-API
Wie viel kostet P-Video-2?
Der Preis von P-Video-2: auf Anfrage. Der Preis wird dynamisch zum aktuellen Wechselkurs berechnet.
Ist es mit dem OpenAI SDK kompatibel?
Ja, die API ist vollständig OpenAI-kompatibel. Ändere einfach base_url zu https://getvibeapi.com/v1 und setze deinen Schlüssel — der restliche Code bleibt unverändert.
P-Video-2 jetzt verbinden
In einer Minute registrieren, nach Nutzung bezahlen, fertiger Code oben.
API-Schlüssel erhalten