Fal.AI를 통해 제공되는 MiniMax Hailuo-03(H3) 레퍼런스-비디오 모델입니다. 피사체·스타일 이미지, 모션 비디오 클립, 오디오 클립을 프롬프트에서 순서로 인용하는 멀티모달 레퍼런스로 비디오를 생성하며, 피사체 일관성을 유지하면서 참조한 모션과 오디오를 따릅니다.
콘솔의 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": "minimax/h3/reference-to-video",
"input": {
"prompt": "Image 1 is the female protagonist. Image 2 is her small dog. Keep the woman and dog consistent with their respective reference images while they walk together through a sunlit garden.",
"reference_image_urls": [
"https://example.com/person.jpg",
"https://example.com/dog.jpg"
],
"duration": 5,
"resolution": "2K",
"aspect_ratio": "adaptive"
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
prompt | string | Yes | - | 비디오 생성을 위한 텍스트 프롬프트. 레퍼런스 자산은 모달리티와 순서로 인용하세요: Image 1, Image 2, Video 1, Audio 1 등 |
reference_image_urls | array | No | - | 피사체·스타일 레퍼런스 이미지 URL. 프롬프트에서 Image 1, Image 2로 인용. 최대 5장 |
reference_video_urls | array | No | - | 모션 레퍼런스 비디오 클립 URL (각 2~15초, 합산 최대 15초). Video 1, Video 2로 인용. 최대 3개 |
reference_audio_urls | array | No | - | 레퍼런스 오디오 클립 URL (각 2~15초, 합산 최대 15초). Audio 1로 인용. 최대 3개. 오디오만 단독으로는 사용할 수 없습니다 |
duration | integer | No | 5 | 비디오 길이 초 (5~15). 초당 과금 |
resolution | string | No | 2K | 생성될 영상의 해상도. 480P·768P는 네이티브 생성 모드, 2K·4K는 768P 기반 업스케일입니다 480P768P2K4K |
aspect_ratio | string | No | adaptive | 생성될 영상의 화면 비율. 'adaptive'는 모델이 선택합니다 adaptive21:916:94:31:13:49:16 |
prompt_expansion_mode | string | No | balanced | 생성 전 프롬프트 리라이팅에 들일 노력. 'fast'는 약 1초, 'quality'는 최대 30초까지 들여 풍부하게 확장합니다 fastbalancedquality |
enable_safety_checker | boolean | No | true | true면 세이프티 체커가 활성화됩니다 |
seed | integer | No | - | 랜덤 시드. 생략하면 무작위로 선택됩니다 |
이 모델의 reference_image_urlsreference_video_urlsreference_audio_urls 파라미터에 파일을 전달하는 방법은 3가지입니다.
공개 접근 가능한 URL을 직접 전달합니다. Storage API(POST /v1/files/upload-url)로 업로드하면 파일이 S3로 직접 올라가고(파일당 50MB), 반환된 file_url을 그대로 쓰면 됩니다.
{
"model": "minimax/h3/reference-to-video",
"input": {
"prompt": "your prompt here",
"reference_image_urls": ["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=minimax/h3/reference-to-video" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:reference_image_urls=@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로도 제공 |
인물과 반려동물을 레퍼런스 이미지와 일관되게 유지
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "minimax/h3/reference-to-video",
"input": {
"prompt": "Image 1 is the female protagonist. Image 2 is her small dog. Keep the woman and dog consistent with their respective reference images while they walk together through a sunlit garden.",
"reference_image_urls": [
"https://example.com/person.jpg",
"https://example.com/dog.jpg"
],
"duration": 5,
"resolution": "2K",
"aspect_ratio": "adaptive"
}
}'레퍼런스 클립의 모션을 새 피사체로 따라가기
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "minimax/h3/reference-to-video",
"input": {
"prompt": "Image 1 is the dancer. Follow the motion of Video 1 while keeping the dancer consistent with Image 1.",
"reference_image_urls": [
"https://example.com/dancer.jpg"
],
"reference_video_urls": [
"https://example.com/dance-motion.mp4"
],
"duration": 8,
"resolution": "768P"
}
}'