MiniMax H3 Max Text to Video API API: AI 비디오 생성

Muapi REST API를 통해 MiniMax H3 Max Text to Video API 모델로 비디오 생성하세요. 생성당 결제 — 구독 필요 없음.

Interactive model controls

MiniMax H3 Max Text to Video creates high-fidelity video up to 1080p from a written prompt through the Muapi API.

MiniMax H3 Max Text to Video API API 참조

엔드포인트

POST https://api.muapi.ai/api/v1/minimax-h3-max-text-to-video

x-api-key 헤더에 Muapi API 키를 포함하여 작업을 제출한 후, https://api.muapi.ai/api/v1/predictions/{request_id}/result 상태가 완료(completed)될 때까지 폴링하세요.

매개변수

이름타입필수 여부설명
promptstring예동영상, , .
aspect_ratiostring아니오옵션: 21:9, 16:9, 4:3, 1:1, 3:4, 9:16기본값: "16:9"
resolutionstring아니오Output resolution. 1080p applies latent refinement from a 768p source.옵션: 480p, 768p, 1080p기본값: "768p"
durationinteger아니오출력 지속 시간 () .옵션: 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15기본값: 5
prompt_expansion_modestring아니오Prompt rewriting effort. 'quality' can add up to ~30s of processing.옵션: disabled, balanced, quality기본값: "balanced"

cURL 예제

REQUEST_ID=$(curl -s -X POST https://api.muapi.ai/api/v1/minimax-h3-max-text-to-video \
  -H "x-api-key: $MUAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"<prompt>"}' | jq -r .request_id)

curl -s https://api.muapi.ai/api/v1/predictions/$REQUEST_ID/result -H "x-api-key: $MUAPI_API_KEY"

Python 예제

import os, time, requests

API = "https://api.muapi.ai/api/v1"
headers = {"x-api-key": os.environ["MUAPI_API_KEY"]}

r = requests.post(f"{API}/minimax-h3-max-text-to-video", headers=headers, json={"prompt":"<prompt>"})
request_id = r.json()["request_id"]

while True:
    res = requests.get(f"{API}/predictions/{request_id}/result", headers=headers).json()
    if res["status"] == "completed":
        print(res["outputs"]); break
    if res["status"] == "failed":
        raise RuntimeError(res.get("error"))
    time.sleep(3)

전체 문서 및 에이전트/MCP 연동: llms.txt. API 키 발급: muapi.ai/access-keys.