Pruna의 최고 품질 비디오 모델입니다. 텍스트나 이미지로부터 비디오를 생성하며, cost·speed·quality 세 가지 모드와 첫·마지막 프레임 제어를 지원합니다. 480p 또는 768p 해상도로 5~15초 길이를 생성합니다.
콘솔의 Playground에서 별도 코드 없이 이 모델을 즉시 테스트할 수 있어요
이 모델의 사용법을 Claude, ChatGPT 등에 복사
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "prunaai/p-video-2-pro",
"input": {
"prompt": "Use the provided image as the exact first frame. A velociraptor moves cautiously through an opulent palace salon, looking around alertly, then suddenly speeding deeper into the room. One continuous low-angle handheld cinematic shot with warm lighting.",
"image": "https://replicate.delivery/pbxt/PoNvQd3plThnhNsGUc8fE4e9OTdk0jcmiOhqLsXjt1mxiTA4/tmp4z1l281s-1.webp",
"mode": "speed",
"duration": 5,
"resolution": "768p",
"aspect_ratio": "16:9",
"prompt_upsampler": "turbo"
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
prompt | string | Yes | - | 비디오 생성을 위한 텍스트 프롬프트 |
mode | string | No | speed | 생성 모드: speed(더 빠름, 기본), quality(더 높은 충실도), cost(최저가) qualityspeedcost |
prompt_upsampler | string | No | turbo | 비디오 생성 전에 프롬프트를 확장 offturbomax |
image | string | No | - | 첫 프레임 참조 이미지 (이미지-비디오) |
last_frame_image | string | No | - | 영상의 마지막 장면을 제어하기 위한 마지막 프레임 참조 이미지 |
duration | integer | No | 5 | 비디오 길이 초 (5~15). 초당 과금 |
resolution | string | No | 768p | 비디오 해상도 480p768p |
aspect_ratio | string | No | 16:9 | 화면 비율. 참조 이미지를 제공하면 이미지가 캔버스를 결정 16:99:164:33:43:22:31:1 |
seed | integer | No | - | 재현 가능한 생성을 위한 랜덤 시드 |
이 모델의 imagelast_frame_image 파라미터에 파일을 전달하는 방법은 3가지입니다.
공개 접근 가능한 URL을 직접 전달합니다. Storage API(POST /v1/files/upload-url)로 업로드하면 파일이 S3로 직접 올라가고(파일당 50MB), 반환된 file_url을 그대로 쓰면 됩니다.
{
"model": "prunaai/p-video-2-pro",
"input": {
"prompt": "your prompt here",
"image": "https://example.com/image.jpg"
}
}POST /v1/predictions/upload에 파일을 직접 첨부합니다. 별도 업로드 과정이 없는 대신, 파일이 API 서버를 거치므로 요청 전체 10MB 제한이 적용됩니다.
curl -X POST "https://api.core.today/v1/predictions/upload" \
-H "X-API-Key: cdt_your_api_key" \
-F "model=prunaai/p-video-2-pro" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:image=@your_file.png"POST /v1/predictions 요청 시 사용되는 공통 파라미터입니다.
| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
model | string | Yes | - | 모델 식별자 |
input | object | Yes | - | 위 테이블의 모델별 파라미터를 포함하는 객체 |
output_folder | string | No | - | 결과물 저장 폴더 경로 (최대 256자, '..' 사용 불가) |
webhook_url | string | No | - | 완료 시 호출할 Webhook URL |
is_public | boolean | No | false | true 시 결과물을 영구 공개 URL로도 제공 |
기본 speed/768p 요율로 첫 프레임 애니메이션화 — 5초 x 81/초 = 410 크레딧
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "prunaai/p-video-2-pro",
"input": {
"prompt": "Use the provided image as the exact first frame. A velociraptor moves cautiously through an opulent palace salon, looking around alertly, then suddenly speeding deeper into the room. One continuous low-angle handheld cinematic shot with warm lighting.",
"image": "https://replicate.delivery/pbxt/PoNvQd3plThnhNsGUc8fE4e9OTdk0jcmiOhqLsXjt1mxiTA4/tmp4z1l281s-1.webp",
"mode": "speed",
"duration": 5,
"resolution": "768p",
"aspect_ratio": "16:9",
"prompt_upsampler": "turbo"
}
}'최고 충실도 10초 렌더 — 10초 x 174/초 = 1,740 크레딧(정가)
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "prunaai/p-video-2-pro",
"input": {
"prompt": "A hummingbird hovering over a red hibiscus flower in slow motion, macro lens, soft morning light",
"mode": "quality",
"duration": 10,
"resolution": "768p",
"aspect_ratio": "16:9"
}
}'