Alibaba의 Wan 2.2 A14B 이미지-비디오 모델을 PrunaAI가 최적화해 매우 빠르고 저렴하게 만든 버전입니다. 정지 이미지 한 장과 프롬프트만으로 480p 또는 720p의 짧은 애니메이션 클립을 생성하며, 더 부드러운 움직임을 위한 프레임 보간 옵션도 제공합니다.
콘솔의 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": "wan-video/wan-2.2-i2v-fast",
"input": {
"image": "https://replicate.delivery/pbxt/NRvtedaIOd3pdE0pTE3L9uavxJ53g33THGr0HF81M2olNOce/replicate-prediction-g8gbs3rbk9rme0crbhwatpsq04.jpg",
"prompt": "Close-up shot of an elderly sailor wearing a yellow raincoat, seated on the deck of a catamaran, slowly puffing on a pipe. His cat lies quietly beside him with eyes closed, enjoying the calm. The warm glow of the setting sun bathes the scene, with gentle waves lapping against the hull and a few seabirds circling slowly above. The camera slowly pushes in, capturing this peaceful and harmonious moment.",
"resolution": "480p",
"go_fast": true
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
prompt | string | Yes | - | 비디오 생성을 위한 프롬프트 |
image | string | Yes | - | 비디오 생성의 기준이 되는 입력 이미지 |
last_image | string | No | - | 더 부드러운 전환을 위한 선택적 마지막 프레임 이미지 |
resolution | string | No | 480p | 비디오 해상도: 16:9는 832x480px, 9:16은 480x832px 480p720p |
interpolate_output | boolean | No | false | ffmpeg로 생성 영상을 30FPS로 보간 (가격이 올라감) |
num_frames | integer | No | 81 | 비디오 프레임 수 (81일 때 최상의 결과) |
frames_per_second | integer | No | 16 | 초당 프레임 수. 과금은 16fps 기준 길이로 계산됨 |
go_fast | boolean | No | true | 고속 추론 모드 (가격에는 영향 없음) |
sample_shift | number | No | 12 | 샘플 시프트 계수 |
seed | integer | No | - | 랜덤 시드. 비워두면 무작위 값 사용 |
disable_safety_checker | boolean | No | false | 생성 비디오의 안전성 검사기 비활성화 |
lora_weights_transformer | string | No | - | 고노이즈(HIGH) 트랜스포머용 LoRA 가중치 URL (.safetensors) |
lora_scale_transformer | number | No | 1 | 트랜스포머 LoRA 적용 강도 |
lora_weights_transformer_2 | string | No | - | 저노이즈(LOW) transformer_2용 LoRA 가중치 URL (.safetensors) |
lora_scale_transformer_2 | number | No | 1 | transformer_2 LoRA 적용 강도 |
이 모델의 imagelast_imagelora_weights_transformerlora_weights_transformer_2 파라미터에 파일을 전달하는 방법은 3가지입니다.
POST /v1/predictions/upload에 파일을 직접 첨부합니다. 별도 업로드 과정이 필요 없습니다.
curl -X POST "https://api.core.today/v1/predictions/upload" \
-H "X-API-Key: cdt_your_api_key" \
-F "model=wan-video/wan-2.2-i2v-fast" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:image=@your_file.png"공개 접근 가능한 URL을 직접 전달합니다. Storage API로 업로드한 파일의 file_url도 사용 가능합니다.
{
"model": "wan-video/wan-2.2-i2v-fast",
"input": {
"prompt": "your prompt here",
"image": "https://example.com/image.jpg"
}
}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로도 제공 |
기본 480p 해상도로 빠르고 저렴하게 이미지를 비디오로 변환
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "wan-video/wan-2.2-i2v-fast",
"input": {
"image": "https://replicate.delivery/pbxt/NRvtedaIOd3pdE0pTE3L9uavxJ53g33THGr0HF81M2olNOce/replicate-prediction-g8gbs3rbk9rme0crbhwatpsq04.jpg",
"prompt": "Close-up shot of an elderly sailor wearing a yellow raincoat, seated on the deck of a catamaran, slowly puffing on a pipe. His cat lies quietly beside him with eyes closed, enjoying the calm. The warm glow of the setting sun bathes the scene, with gentle waves lapping against the hull and a few seabirds circling slowly above. The camera slowly pushes in, capturing this peaceful and harmonious moment.",
"resolution": "480p",
"go_fast": true
}
}'30FPS 보간을 적용해 더 매끄러운 움직임을 얻는 고해상도 출력
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "wan-video/wan-2.2-i2v-fast",
"input": {
"image": "https://replicate.delivery/pbxt/NRvtedaIOd3pdE0pTE3L9uavxJ53g33THGr0HF81M2olNOce/replicate-prediction-g8gbs3rbk9rme0crbhwatpsq04.jpg",
"prompt": "The same scene, but the camera slowly pulls back to reveal the full catamaran sailing into the sunset",
"resolution": "720p",
"interpolate_output": true
}
}'