🔥 Black Friday AI API deals are live· 🎬 Seedance 2.5 — 20% off, up to 42% below market, until Nov 30Ends in--d --:--:--See deals →

MiniMax H3 Spicy Text to Video API API: AI वीडियो जेनरेशन

Muapi REST API के माध्यम से MiniMax H3 Spicy Text to Video API का उपयोग करके वीडियो उत्पन्न करें। प्रति-उपयोग भुगतान — कोई सदस्यता आवश्यक नहीं।

इंटरैक्टिव मॉडल नियंत्रण

MiniMax H3 Spicy Text to Video, MiniMax H3 का कम-मॉडरेशन वाला टियर है। यह Muapi API के ज़रिए लिखे हुए prompt से 480p, 768p या 2K पर नेटिव ऑडियो वाला वीडियो बनाता है।

MiniMax H3 Spicy Text to Video API API संदर्भ

Endpoint

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

x-api-key हेडर में अपनी Muapi API कुंजी के साथ एक कार्य सबमिट करें, फिर मतदान करें https://api.muapi.ai/api/v1/predictions/{request_id}/result until status is completed.

Parameters

Nameप्रकारRequiredविवरण
promptstringYesवीडियो, , ।
aspect_ratiostringNoविकल्प: 21:9, 16:9, 4:3, 1:1, 3:4, 9:16डिफ़ॉल्ट: "16:9"
resolutionstringNoविकल्प: 480p, 768p, 2kडिफ़ॉल्ट: "768p"
durationintegerNoआउटपुट अवधि() .विकल्प: 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15डिफ़ॉल्ट: 5
aigc_watermarkbooleanNoOptional. Add an AIGC watermark to the generated video.

cURL example

REQUEST_ID=$(curl -s -X POST https://api.muapi.ai/api/v1/minimax-h3-text-to-video-spicy \
  -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-text-to-video-spicy", 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)

Full docs and agent/MCP integration: llms.txt. Get an API key at muapi.ai/access-keys.