Video
Hailuo 2.3 video
MiniMax Hailuo 2.3 — text-to-video with optional first-frame image. 768p (6s/10s) or 1080p (6s only).
Category: Create · hailuo-2-3
How to use & limits
- Text-to-video, with optional first frame (start_image_url).
- No end frame supported.
- prompt: up to 5,000 characters.
- Resolution: 768p or 1080p; duration 6 or 10 seconds.
- 1080p only allows a 6-second duration.
- prompt_optimizer enhances the prompt automatically.
Capabilities
What this model supports, straight from the schema — no pricing, no infrastructure detail.
| Capability | Value |
|---|---|
start_frame Start frame | Yes |
text_to_video Text-to-video | Yes |
image_to_video Image-to-video | Yes |
prompt_optimizer Prompt optimizer | Yes |
Parameters
Fields accepted in params (or first-class, where applicable) for POST /generations.
| Name | Label | Type | Required | Default | Options | Min / Max | Description |
|---|---|---|---|---|---|---|---|
prompt | Prompt | textarea | Required | — | — | — | Scene description; up to 5,000 characters. |
start_image_url | Start frame | url | Optional | — | — | — | Optional first frame. |
resolution | Resolution | select | Optional | 768p | 768p · 1080p | — | Resolution: 768p or 1080p (default 768p). 1080p limits to 6s. |
prompt_optimizer | Prompt optimizer | boolean | Optional | false | — | — | Enables automatic prompt enhancement. |
duration | Duration | select | Optional | 6 | — | — | Duration: 6 or 10 seconds (default 6). |
Example request
curl -X POST https://caranguejo.art/api/v1/dev/generations \
-H "Authorization: Bearer $CK" \
-H "Content-Type: application/json" \
-d '{
"model": "hailuo-2-3",
"prompt": "Waves slowly breaking on a deserted beach at sunset, static camera.",
"params": {
"resolution": "768p",
"duration": 6,
"prompt_optimizer": false
}
}'
const res = await fetch("https://caranguejo.art/api/v1/dev/generations", {
method: "POST",
headers: {
"Authorization": "Bearer " + process.env.CK,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "hailuo-2-3",
"prompt": "Waves slowly breaking on a deserted beach at sunset, static camera.",
"params": {
"resolution": "768p",
"duration": 6,
"prompt_optimizer": false
}
}),
});
const { data } = await res.json();
Example response
{
"id": "9f0c1a7e-…",
"object": "generation",
"model": "hailuo-2-3",
"type": "video",
"status": "completed",
"output": {
"assets": [
{
"url": "https://media.caranguejo.art/outputs/example.mp4",
"type": "video"
}
]
}
}
The job's real cost is returned as credits_charged on the completed response — check GET /balance for the account balance.
Common errors for this job type:
insufficient_credits | Account balance can't cover the job cost. |
content_policy_violation | Prompt or media rejected by content policy. |
generation_timeout | The job exceeded the maximum processing time. |
rate_limited | Too many requests per minute. |
invalid_input | A required parameter is missing or outside the model's schema. |
generation_failed | Generic processing failure. |