P-Video의 품질 중심 후속 모델입니다. 텍스트, 시작 이미지, 오디오 트랙으로부터 비디오를 생성하며, 네이티브 음성 립싱크·선명한 클로즈업·강한 인물 일관성을 제공합니다. 최대 1080p / 48fps를 지원하고, 빠른 반복 작업을 위한 저비용 드래프트 모드를 내장했습니다.
콘솔의 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",
"input": {
"prompt": "A lone astronaut walks steadily toward the camera across a vast rust-colored alien desert under a colossal ringed gas giant. The camera tracks backward at walking speed. Cinematic, photorealistic, continuous single shot.",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "16:9",
"fps": 24,
"draft": false,
"save_audio": true
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
prompt | string | Yes | - | 비디오 생성을 위한 텍스트 프롬프트. 피사체·동작·장면을 먼저 쓰고, 필요하면 카메라·조명·스타일·대사를 추가 |
image | string | No | - | 비디오 생성의 기준이 되는 입력 이미지 (이미지-비디오). jpg, jpeg, png, webp 지원 |
last_frame_image | string | No | - | 비디오 마지막 프레임의 참조 이미지. jpg, jpeg, png, webp 지원 |
audio | string | No | - | 생성을 조건화하는 입력 오디오 (flac, mp3, wav). 출력 길이가 오디오를 따르므로 duration은 무시됨 |
duration | integer | No | 5 | 비디오 길이 초 (1~20). 생략 시 5초. audio 제공 시 무시됨 |
aspect_ratio | string | No | 16:9 | 비디오 화면 비율. 입력 이미지 제공 시 무시됨 16:99:164:33:43:22:31:1 |
resolution | string | No | 720p | 비디오 해상도 (1080p는 초당 가격이 2배) 720p1080p |
fps | integer | No | 24 | 초당 프레임 수. 1080p에서는 24fps, 부드러운 움직임이 필요하면 720p에서 48fps 권장 2448 |
draft | boolean | No | false | 드래프트 모드: 표준 가격의 절반으로 더 빠른 저품질 미리보기 생성 |
prompt_upsampling | boolean | No | true | 프롬프트 업샘플링으로 프롬프트 자동 보강 |
disable_safety_filter | boolean | No | true | 프롬프트(및 입력 이미지)의 안전 필터 비활성화. 비활성화하면 생성 전 프롬프트의 유해 콘텐츠 검사를 건너뜁니다. |
save_audio | boolean | No | true | 오디오를 포함해 비디오 저장 (네이티브 음성을 쓰려면 켜 두세요) |
seed | integer | No | - | 랜덤 시드. 재현 가능한 생성을 원할 때 설정 |
이 모델의 imagelast_frame_imageaudio 파라미터에 파일을 전달하는 방법은 3가지입니다.
공개 접근 가능한 URL을 직접 전달합니다. Storage API(POST /v1/files/upload-url)로 업로드하면 파일이 S3로 직접 올라가고(파일당 50MB), 반환된 file_url을 그대로 쓰면 됩니다.
{
"model": "prunaai/p-video-2",
"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" \
-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로도 제공 |
표준 품질 720p 5초 클립 — 5초 x 70/초 = 350 크레딧
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",
"input": {
"prompt": "A lone astronaut walks steadily toward the camera across a vast rust-colored alien desert under a colossal ringed gas giant. The camera tracks backward at walking speed. Cinematic, photorealistic, continuous single shot.",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "16:9",
"fps": 24,
"draft": false,
"save_audio": true
}
}'1080p 최종 품질 렌더 — 5초 x 140/초 = 700 크레딧
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",
"input": {
"prompt": "A lone astronaut walks steadily toward the camera across a vast rust-colored alien desert. A colossal ringed gas giant dominates the sky. Epic sense of scale, dramatic backlighting, cinematic film grain.",
"duration": 5,
"resolution": "1080p",
"aspect_ratio": "16:9",
"fps": 24,
"seed": 678
}
}'