MiniH3
EnglishVideo

Submit a video task

中文

POSThttps://api.minih3.dev/v1/videos

This call is billed to your account. Price: 480p $0.012/s, 768p $0.015/s, 1080p and above $0.03/s, × requested seconds

Purpose: submit one video generation task; the response returns a task id right away. Poll and download separately.
Billing: the seconds you request × the per-second price of the tier, charged when the submission is accepted; a rejected submission (any non-2xx answer) is not charged; if the task fails while running, the charge is refunded in full automatically and the usage log shows a separate refund entry.
Notes:

  • resolution must be one of the values this model allows; anything else returns 400 with the allowed list.
  • A misspelled media field (e.g. reference_image instead of images) is not an error; the media is just ignored.
  • A submitted task cannot be cancelled.

Parameters

NameInTypeRequiredDescription
modelbodystringyes

Model id, see /catalog. minimax-h3-ref2va-plus needs at least 1 reference image and takes prompts up to 10000 characters

promptbodystringyes

Natural-language description, required. Up to 20000 characters for most models; up to 10000 for minimax-h3-ref2va-plus

secondsbodyintegerno

Requested seconds, billed on this; the two 1080p models cap at 10

resolutionbodystringno

A literal tier this model allows, e.g. 480p横, 768p竖, 480p(1:1); or 768p plus orientation (landscape, portrait or 1:1), or pixels like 1376x768. 768p without orientation means portrait. Defaults to 768p竖

imagesbodyarray<string>no

Reference images as public http(s) URLs; the 1st is <Picture 1> in the prompt

orientationbodystringno

Use with a bare resolution such as 768p

landscapeportrait1:1
audiosbodyarray<string>no

Reference audio; the 1st is <Audio 1>

Code samples

curl -X POST "https://api.minih3.dev/v1/videos" \
  -H "Authorization: Bearer $MINIH3_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "minimax-h3-ref2va",
  "prompt": "a cyclist crossing a neon-lit street in the rain, handheld, 35mm",
  "seconds": 5,
  "resolution": "768p横",
  "images": [
    "https://example.com/ref.jpg"
  ],
  "audios": [
    "https://example.com/ref.mp3"
  ]
}'

Try it

Kept in this browser tab only (sessionStorage) and sent straight to api.minih3.dev; it never reaches this site.

Enter your key to send.

Responses

200

Task created

{
  "id": "task_xxx",
  "object": "video",
  "model": "minimax-h3-ref2va",
  "status": "queued",
  "progress": 0,
  "created_at": 1793194548
}

400

Error

401

Error

403

Error

429

Error