콘텐츠로 이동
캐스털리 오픈콘솔

영상

MiniMax-H3 API

Modelflare 비동기 비디오 라우팅을 통해 정확한 MiniMax-H3 모델 ID를 사용하세요.

정확한 모델 ID MiniMax-H3를 사용하세요. 모델 필드는 이 페이지와 정확히 일치해야 합니다.

샘플 출력MiniMax-H3POST /v1/videos5.2s

매개변수: duration=5resolution=2Kratio=16:9

프롬프트: A fleet of hot-air balloons drifts over mist-filled mountain valleys at dawn. Aerial camera glides slowly between the balloons as golden light breaks over the ridges and fog rolls through the pines below. Calm, majestic, photoreal landscape, steady motion, no text.

이 샘플을 생성한 요청
{
"model": "MiniMax-H3",
"prompt": "A fleet of hot-air balloons drifts over mist-filled mountain valleys at dawn. Aerial camera glides slowly between the balloons as golden light breaks over the ridges and fog rolls through the pines below. Calm, majestic, photoreal landscape, steady motion, no text.",
"seconds": "5",
"duration": 5,
"resolution": "2K",
"ratio": "16:9",
"aspect_ratio": "16:9"
}

https://modelflare.dev/v1과 함께 Modelflare API 키를 사용합니다. 게이트웨이 진입점은 POST /v1/videos입니다.

HTTP
Authorization: Bearer YOUR_MODELFLARE_API_KEY
터미널 창bash
curl https://modelflare.dev/v1/videos \
-H "Authorization: Bearer YOUR_MODELFLARE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "MiniMax-H3",
"content": [{"type": "text", "text": "A white cat runs through a neon-lit street in the rain, cinematic tracking shot"}],
"resolution": "2K", "duration": 5, "ratio": "16:9"
}'

작업 ID를 저장합니다. GET /v1/videos/{task_id}을 폴링하고 GET /v1/videos/{task_id}/content로 다운로드합니다. 결과 URL은 만료될 수 있으므로 즉시 파일을 전송하세요.

터미널 창bash
curl https://modelflare.dev/v1/videos/TASK_ID \
-H "Authorization: Bearer YOUR_MODELFLARE_API_KEY"

MiniMax-H3은 resolution, duration, ratio 제어 출력과 함께 content[]을 사용합니다.

MiniMax-H3은 다중 모드 content[] 배열을 사용합니다. 작업 생성 후 MiniMax 쿼리 경로를 폴링합니다. first_frame / last_frame 및 reference_* 역할은 서로 다른 작업 흐름입니다.

필드 필수 노트
model 예 MiniMax-H3
content[] 예 정확히 하나의 text 항목; first_frame, last_frame, reference_image, reference_video 또는 reference_audio를 포함할 수 있습니다.
resolution 예 768P / 2K
duration 예 4~15초
ratio 조건부 21:9 / 16:9 / 4:3 / 1:1 / 3:4 / 9:16 / adaptive
content[].role 조건부 이미지-비디오에는 first_frame / last_frame을 사용하고 참조 작업 흐름에는 reference_*를 사용합니다. 그룹을 섞지 마십시오
content[].url 아니요 공개 HTTP/HTTPS URL이 필요합니다. Base64 미디어는 지원되지 않습니다.
aigc_watermark 아니요 워터마크 추가 여부
callback_url 아니요 작업 상태 콜백 URL

출력은 4~15초 동안 768P 또는 2K입니다. 텍스트 전용 요청에는 구체적인 ratio이 필요합니다. 이미지-비디오는 첫 번째 프레임 하나와 마지막 프레임 하나를 허용하는 반면, 참조 워크플로에는 하나 이상의 참조 이미지 또는 비디오가 필요하며 오디오만 사용할 수 없습니다. 두 역할 그룹을 혼합하지 마십시오.

MiniMax-H3 미디어 URL은 공개적으로 액세스 가능해야 하며 Base64를 사용할 수 없습니다. 첫 번째/끝 프레임과 참조 워크플로를 혼합하면 안 됩니다.

터미널 창bash
curl https://modelflare.dev/v1/videos \
-H "Authorization: Bearer YOUR_MODELFLARE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "MiniMax-H3",
"content": [
{"type": "text", "text": "让图像主体沿视频动作自然移动"},
{"type": "reference_image", "role": "reference_image", "url": "https://example.com/subject.png"},
{"type": "reference_video", "role": "reference_video", "url": "https://example.com/motion.mp4"}
],
"resolution": "2K", "duration": 5, "ratio": "16:9"
}'

잘못된 모델 매개변수는 요청 ID와 함께 4xx를 반환합니다. 비동기 작업은 생성이 성공한 후 실패 상태로 들어갈 수도 있습니다. 최종 작업 사유로 폴 응답의 error_code 및 error_message을 사용합니다. 다른 JSON 형태로 동일한 요청을 재시도하지 마세요.

이 페이지에서는 Modelflare 모델 생성 및 편집 호출을 다룹니다. 검색 또는 지도 강화, 음성 관리 및 요소 라이브러리 관리는 이 공개 모델 호출 표면 외부의 리소스 API이며 필수 요청 필드가 아닙니다.

이 모델은 초당 비디오 과금을 사용합니다. 현재 고객 가격, 참조 정가 및 전체 사양은 모델 가격 페이지를 참조하세요.

모델 ID 차이점
MiniMax-H3 이 페이지에 문서화된 모델입니다.
미디어 계약 · v1

계약 ID: media.minimax-h3.v1어댑터: video.minimax.v1@v1지문: a52dc9d8a16881ce546c9857c6acf87007068498eb2baec2972d91a3c9ba531c

공식 출처: MiniMax

계약 매개변수

인텐트 필드컨트롤옵션
ratioselect16:9 / 9:16 / 1:1 / 4:3 / 3:4 / 21:9 / adaptive
resolutionselect768p / 2k
durationselect4 / 5 / 6 / 8 / 10 / 15

지원되는 기능

  • allowed_values · ratio · 16:9, 9:16, 1:1, 4:3, 3:4, 21:9, adaptive
  • allowed_values · resolution · 768p, 2k
  • allowed_values · duration · 4, 5, 6, 8, 10, 15
  • max_assets · reference_asset_ids · 12

구조화된 요청 예시

text

인텐트

{
  "duration": 4,
  "prompt": "A red paper kite over a quiet harbour at dusk.",
  "ratio": "16:9",
  "resolution": "768p"
}

제공자 요청

{
  "duration": 4,
  "model": "MiniMax-H3",
  "prompt": "A red paper kite over a quiet harbour at dusk.",
  "ratio": "16:9",
  "resolution": "768p",
  "seconds": "4"
}

reference

인텐트

{
  "duration": 4,
  "prompt": "A red paper kite over a quiet harbour at dusk.",
  "ratio": "16:9",
  "resolution": "768p"
}

제공자 요청

{
  "content": [
    {
      "text": "A red paper kite over a quiet harbour at dusk.",
      "type": "text"
    },
    {
      "image_url": {
        "url": "https://example.com/reference.png"
      },
      "role": "reference_image",
      "type": "image_url"
    }
  ],
  "duration": 4,
  "model": "MiniMax-H3",
  "ratio": "16:9",
  "resolution": "768P"
}