🔥 Black Friday AI API deals are live· New drops every MondayEnds in--d --:--:--See deals →

API MiniMax H3 Max chuyển văn bản thành video API: Tạo video AI

tạo video từ văn bản với API MiniMax H3 Max chuyển văn bản thành video qua MuAPI REST API. Trả theo lượt tạo — không cần gói đăng ký.

Điều khiển mô hình tương tác

Tạo video 1080p từ văn bản bằng API MiniMax H3 Max trên Muapi. Chuyển động đậm chất điện ảnh, mở rộng prompt, trả phí theo mỗi lần tạo.

API MiniMax H3 Max chuyển văn bản thành video Tham khảo API

Điểm cuối

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

Gửi công việc có khóa API Muapi của bạn trong tiêu đề x-api-key, sau đó thăm dò ý kiến https://api.muapi.ai/api/v1/predictions/{request_id}/result cho đến khi trạng thái được hoàn thành.

Parameters

NameLoạiBắt buộcMô tả
promptstringCó、、。
aspect_ratiostringKhôngTùy chọn: 21:9, 16:9, 4:3, 1:1, 3:4, 9:16Mặc định: "16:9"
resolutionstringKhôngOutput resolution. 1080p applies latent refinement from a 768p source.Tùy chọn: 480p, 768p, 1080pMặc định: "768p"
durationintegerKhông()。Tùy chọn: 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15Mặc định: 5
prompt_expansion_modestringKhôngUse balanced for Seegen-routed 480p/768p requests. Disabled and quality are available only for 1080p requests routed through Fal.Tùy chọn: disabled, balanced, qualityMặc định: "balanced"

cURL example

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 example

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)

Tài liệu đầy đủ và tích hợp đại lý/MCP: llms.txt. Get an API key at muapi.ai/access-keys.