minimax/h3-lite
MiniMax H3 Lite, served direct from MiniMax.
Text-to-video, image-to-video (a first frame, optionally a last frame) and reference-to-video in one model, every clip with sound; 4 to 15 seconds at 480P or 768P. Served through the async job API only: POST /v2/jobs, then poll.
Billed per second of output by resolution, from what the generator reports it rendered.
MiniMax H3 on this gateway: minimax/h3 · minimax/h3-highspeed · minimax/h3-lite (this page) · minimax/h3-max · minimax/h3-regeneration.
| Slug | minimax/h3-lite |
| Kind | video |
| Vendor | minimax |
| Endpoint | POST /v2/jobs |
View pricing and billing conditions
Example request
curl https://api.sociaro.com/v2/jobs \
-H "Authorization: Bearer $SOCIARO_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: my-request-0001" \
-d '{
"model": "minimax/h3-lite",
"input": {
"content": [
{"type": "text", "text": "The paper boat drifts down the rain-soaked street."},
{"type": "image_url", "image_url": {"url": "https://your-cdn.example.com/first.png"}, "role": "first_frame"}
],
"resolution": "768P",
"duration": 10
}
}'
# then poll the job id it returns until status is succeeded:
curl https://api.sociaro.com/v2/jobs/JOB_ID \
-H "Authorization: Bearer $SOCIARO_API_KEY"# Requires Python 3 and requests (pip install requests).
import os
import time
import requests
payload = {'model': 'minimax/h3-lite',
'input': {'content': [{'type': 'text',
'text': 'The paper boat drifts down the rain-soaked '
'street.'},
{'type': 'image_url',
'image_url': {'url': 'https://your-cdn.example.com/first.png'},
'role': 'first_frame'}],
'resolution': '768P',
'duration': 10}}
response = requests.post(
'https://api.sociaro.com/v2/jobs',
headers={
'Authorization': 'Bearer ' + os.environ['SOCIARO_API_KEY'],
'Content-Type': 'application/json',
'Idempotency-Key': 'my-request-0001',
},
json=payload,
timeout=120,
)
response.raise_for_status()
submitted = response.json()
job_id = submitted['id']
print(submitted)
# then poll the job id it returns until status is succeeded:
while True:
response = requests.get(
'https://api.sociaro.com/v2/jobs/' + job_id,
headers={
'Authorization': 'Bearer ' + os.environ['SOCIARO_API_KEY'],
},
timeout=120,
)
response.raise_for_status()
result = response.json()
status = result['status']
if status == 'succeeded':
break
if status not in ('queued', 'running'):
raise RuntimeError(result)
time.sleep(5)
print(result)// Run as an .mjs file with Node.js 22 or later.
let jobId;
let result;
{
const payload = {
"model": "minimax/h3-lite",
"input": {
"content": [
{
"type": "text",
"text": "The paper boat drifts down the rain-soaked street."
},
{
"type": "image_url",
"image_url": {
"url": "https://your-cdn.example.com/first.png"
},
"role": "first_frame"
}
],
"resolution": "768P",
"duration": 10
}
};
const response = await fetch("https://api.sociaro.com/v2/jobs", {
method: "POST",
headers: {
"Authorization": "Bearer " + process.env.SOCIARO_API_KEY,
"Content-Type": "application/json",
"Idempotency-Key": "my-request-0001",
},
body: JSON.stringify(payload),
});
if (!response.ok) throw new Error(`HTTP ${response.status}: ${await response.text()}`);
const submitted = await response.json();
jobId = submitted.id;
console.log(submitted);
}
// then poll the job id it returns until status is succeeded:
{
while (true) {
const response = await fetch("https://api.sociaro.com/v2/jobs/" + jobId, {
headers: {
"Authorization": "Bearer " + process.env.SOCIARO_API_KEY,
},
});
if (!response.ok) throw new Error(`HTTP ${response.status}: ${await response.text()}`);
result = await response.json();
const status = result.status;
if (status === "succeeded") break;
if (!["queued", "running"].includes(status)) throw new Error(JSON.stringify(result));
await new Promise(resolve => setTimeout(resolve, 5000));
}
console.log(result);
}Parameters
MiniMax H3 Lite — 480P and 768P
| Field | Type | Required | Default | Values | What it does |
|---|---|---|---|---|---|
content | object[] | yes | — | text · image_url · video_url · audio_url | Typed parts: exactly one {"type": "text", "text": …} (up to 7000 characters), plus image_url parts with role first_frame, last_frame or reference_image, video_url parts with role reference_video and audio_url parts with role reference_audio. Each media part is {"url": …}, a public https URL or a data: URI. Up to 9 reference pictures, 3 clips and 3 sounds (each 2–15 s, 15 s in total per kind). Frames and reference parts cannot be mixed. |
resolution | string | yes | — | 480P · 768P | Sets the per-second rate. No 2K on this tier: any other value is a 400 before anything is rendered. |
duration | integer | yes | — | 4–15 | Whole seconds of output. |
ratio | string | no | adaptive | adaptive · 21:9 · 16:9 · 4:3 · 1:1 · 3:4 · 9:16 | A text-only request needs a concrete ratio (not adaptive), and on this tier a reference request does too. With a first or last frame the ratio follows the picture. |
The endpoint rejects unknown request fields.
Worked example
curl https://api.sociaro.com/v2/jobs \
-H "Authorization: Bearer $SOCIARO_API_KEY" -H "Content-Type: application/json" \
-H "Idempotency-Key: my-request-0004" \
-d '{ "model": "minimax/h3-lite",
"input": {
"content": [ { "type": "text", "text": "The woman from the picture sings the melody on a quiet stage." },
{ "type": "image_url", "image_url": { "url": "https://your-cdn.example.com/singer.png" }, "role": "reference_image" },
{ "type": "audio_url", "audio_url": { "url": "https://your-cdn.example.com/melody.mp3" }, "role": "reference_audio" } ],
"resolution": "480P", "duration": 10, "ratio": "16:9" } }'
curl https://api.sociaro.com/v2/jobs/JOB_ID -H "Authorization: Bearer $SOCIARO_API_KEY"# Requires Python 3 and requests (pip install requests).
import os
import time
import requests
payload = {'model': 'minimax/h3-lite',
'input': {'content': [{'type': 'text',
'text': 'The woman from the picture sings the melody '
'on a quiet stage.'},
{'type': 'image_url',
'image_url': {'url': 'https://your-cdn.example.com/singer.png'},
'role': 'reference_image'},
{'type': 'audio_url',
'audio_url': {'url': 'https://your-cdn.example.com/melody.mp3'},
'role': 'reference_audio'}],
'resolution': '480P',
'duration': 10,
'ratio': '16:9'}}
response = requests.post(
'https://api.sociaro.com/v2/jobs',
headers={
'Authorization': 'Bearer ' + os.environ['SOCIARO_API_KEY'],
'Content-Type': 'application/json',
'Idempotency-Key': 'my-request-0004',
},
json=payload,
timeout=120,
)
response.raise_for_status()
submitted = response.json()
job_id = submitted['id']
print(submitted)
while True:
response = requests.get(
'https://api.sociaro.com/v2/jobs/' + job_id,
headers={
'Authorization': 'Bearer ' + os.environ['SOCIARO_API_KEY'],
},
timeout=120,
)
response.raise_for_status()
result = response.json()
status = result['status']
if status == 'succeeded':
break
if status not in ('queued', 'running'):
raise RuntimeError(result)
time.sleep(5)
print(result)// Run as an .mjs file with Node.js 22 or later.
let jobId;
let result;
{
const payload = {
"model": "minimax/h3-lite",
"input": {
"content": [
{
"type": "text",
"text": "The woman from the picture sings the melody on a quiet stage."
},
{
"type": "image_url",
"image_url": {
"url": "https://your-cdn.example.com/singer.png"
},
"role": "reference_image"
},
{
"type": "audio_url",
"audio_url": {
"url": "https://your-cdn.example.com/melody.mp3"
},
"role": "reference_audio"
}
],
"resolution": "480P",
"duration": 10,
"ratio": "16:9"
}
};
const response = await fetch("https://api.sociaro.com/v2/jobs", {
method: "POST",
headers: {
"Authorization": "Bearer " + process.env.SOCIARO_API_KEY,
"Content-Type": "application/json",
"Idempotency-Key": "my-request-0004",
},
body: JSON.stringify(payload),
});
if (!response.ok) throw new Error(`HTTP ${response.status}: ${await response.text()}`);
const submitted = await response.json();
jobId = submitted.id;
console.log(submitted);
}
{
while (true) {
const response = await fetch("https://api.sociaro.com/v2/jobs/" + jobId, {
headers: {
"Authorization": "Bearer " + process.env.SOCIARO_API_KEY,
},
});
if (!response.ok) throw new Error(`HTTP ${response.status}: ${await response.text()}`);
result = await response.json();
const status = result.status;
if (status === "succeeded") break;
if (!["queued", "running"].includes(status)) throw new Error(JSON.stringify(result));
await new Promise(resolve => setTimeout(resolve, 5000));
}
console.log(result);
}Submit and poll. Served through the Jobs API only: POST /v2/jobs with the model in the envelope and
its fields in input, then poll GET /v2/jobs/{id} until status is succeeded. The finished MP4 is
outputs[0].url, a stable link on our CDN kept for ten years.
What is checked here. What the body decides is checked at submit, each a 400 invalid_input and no job: a field
the model's input_schema does not name, a value outside its list or range (a resolution this model does not offer, 2K
for example), a content part of the wrong shape, more parts of a kind than the generator takes (one first frame, one
last frame, nine reference pictures, three clips, three sounds), a first or last frame mixed with reference parts, a
missing text part, a text-only request without a concrete ratio (on this model also a request with reference parts), a callback_url inside input (the job's own
callback_url goes at the top level, beside model and input) and an mm_file:// url. The generator judges the
media itself (the length of a clip or sound, a picture's size and format) and refuses what it does not take before
anything is billed. prompt_enhance is not offered on these models.
How it is billed. Once, when the job completes, from what the generator reports it rendered: seconds of output at the rate of the resolution it rendered, plus any reference clips by their length at that resolution's input rate, plus each picture (first frame, last frame, reference) past the first five. Reference sounds are free. A failed job is not billed.
For a 10-second 480P result from one picture and one reference sound, only the ten output seconds are billed. See Pricing.
Pricing
| Billable unit and options | Rate (USD) |
|---|---|
| per second of output video 480p | $0.03 |
| per second of output video 768p | $0.048 |
| per second of reference video 480p the seconds the generator reports, on the row for the output's resolution | $0.03 |
| per second of reference video 768p the seconds the generator reports, on the row for the output's resolution | $0.048 |
| per input image after the first 5 first and last frames and reference images all count | $0.024 |
- Billed on the seconds and resolution the generator reports for the finished clip.
- Lengths of 4 to 15 s; resolution ("480P" or "768P") and length must be sent.
- Reference audio is free.
View this model in the pricing catalogue. Your billing logs show the actual charge for each request.