P-Video Replace
p-video-replace — генерация видео-модель от Prunaai.
character_consistencyimage_to_videovideo_to_video
Попробуйте прямо здесь
P-Video Replace Открыть в Playground
Что умеет P-Video Replace
- Character Consistency
- Image-to-video
- Video-to-Video
Стоимость
за секунду
720p
9.97 ₽
1080p
19.95 ₽
Цены указаны в рублях и списываются с баланса проекта за успешные запросы. Надбавки (+) суммируются с базовой ставкой.
Технические характеристики
Vendor
prunaai
Modality
video
Параметры запроса
Параметры, которые принимает модель. Передаются в теле запроса.
ПараметрТипДиапазон / значенияПо умолчаниюОписание
inputs.referenceImagesreqarray of strings
min: 1 · max: 3
—Reference character images: UUID, URL, Data URI, or Base64.
inputs.videoreqstring
—
—Source video UUID or URL.
positivePromptstring
max: 2048
—Text prompt describing elements to include in the generated output.
resolutionenum
720p, 1080p
720pOutput resolution. Affects price.
fpsenum
24, 48
24seedinteger
min: 0 · max: 2147483647
—settings.preserveAudioboolean
—
truesettings.sourceAudioSyncboolean
—
truesettings.turboboolean
—
falsenumberResultsinteger
min: 1 · max: 4
1outputFormatenum
MP4, WEBM, MOV
MP4outputQualityinteger
min: 20 · max: 99
95safety.checkContentboolean
—
falsesafety.modeenum
none, fast, full
nonewebhookURLstring
—
—uploadEndpointstring
—
—Пример кода
p-video-replace_example.py
from openai import OpenAI
client = OpenAI(api_key="rk_live_...", base_url="https://api.ranvik.ru/v1")
resp = client.videos.generate(
model= "p-video-replace",
positivePrompt= "Пример промпта",
resolution= "720p",
fps= 24,
seed= 1073741824,
numberResults= 1,
outputFormat= "MP4",
outputQuality= 95,
webhookURL= "https://example.com/...",
uploadEndpoint= "value",
inputs= {
"referenceImages": [],
"video": "Пример промпта"
},
settings= {
"preserveAudio": True,
"sourceAudioSync": True,
"turbo": False
},
safety= {
"checkContent": False,
"mode": "none"
},
)
print(resp)