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:
resolutionmust be one of the values this model allows; anything else returns 400 with the allowed list.- A misspelled media field (e.g.
reference_imageinstead ofimages) is not an error; the media is just ignored. - A submitted task cannot be cancelled.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
model | body | string | yes | Model id, see /catalog. |
prompt | body | string | yes | Natural-language description, required. Up to 20000 characters for most models; up to 10000 for |
seconds | body | integer | no | Requested seconds, billed on this; the two 1080p models cap at 10 |
resolution | body | string | no | 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竖 |
images | body | array<string> | no | Reference images as public http(s) URLs; the 1st is <Picture 1> in the prompt |
orientation | body | string | no | Use with a bare resolution such as 768p landscapeportrait1:1 |
audios | body | array<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