xAI의 Grok Imagine Video 1.5 프리뷰: 동기화 오디오를 갖춘 이미지-비디오 생성 모델입니다. Grok Imagine Video의 업그레이드 버전으로, 해상도와 무관한 단일 초당 요금이 특징입니다.
콘솔의 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": "xai/grok-imagine-video-1.5",
"input": {
"image": "https://replicate.delivery/pbxt/PCRhFZ9wvsy2oylrpkZqa9VyAhDfe7VQi0jOKERQF6tX2ddF/download-4.png",
"prompt": "Cinematic motion - the woman looks up out into the sunlight filtering into the room.",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "auto"
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
prompt | string | Yes | - | 생성할 비디오의 움직임이나 장면을 설명하는 텍스트 프롬프트 |
image | string | Yes | - | 애니메이션할 입력 이미지 (이미지-비디오). jpg, jpeg, png, webp 지원. 출력 비율은 기본적으로 이미지의 원본 비율을 따름 |
duration | integer | No | 5 | 비디오 길이 초 (1~15) |
resolution | string | No | 720p | 비디오 해상도 (480p와 720p는 가격 동일) 720p480p |
aspect_ratio | string | No | auto | 출력 비디오의 화면 비율. 'auto'는 입력 이미지의 원본 비율을 따름 auto16:94:31:19:163:43:22:3 |
이 모델의 image 파라미터에 파일을 전달하는 방법은 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=xai/grok-imagine-video-1.5" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:image=@your_file.png"공개 접근 가능한 URL을 직접 전달합니다. Storage API로 업로드한 파일의 file_url도 사용 가능합니다.
{
"model": "xai/grok-imagine-video-1.5",
"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로도 제공 |
정지 인물 사진에 섬세한 움직임과 동기화된 앰비언스를 입히는 예시
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "xai/grok-imagine-video-1.5",
"input": {
"image": "https://replicate.delivery/pbxt/PCRhFZ9wvsy2oylrpkZqa9VyAhDfe7VQi0jOKERQF6tX2ddF/download-4.png",
"prompt": "Cinematic motion - the woman looks up out into the sunlight filtering into the room.",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "auto"
}
}'초당 과금 덕분에 3초 클립은 360크레딧이면 충분함
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "xai/grok-imagine-video-1.5",
"input": {
"image": "https://example.com/product-shot.png",
"prompt": "Slow camera push-in on the sneaker as studio lights sweep across it, subtle dust particles in the air",
"duration": 3,
"resolution": "720p",
"aspect_ratio": "1:1"
}
}'