Hailuo-2.3-Standard - Text To Video - gptproto
Dynamic hailuo 2.3 standard text to video. Consistent and high-quality AI video creation for all your creative projects.
POST
hailuo-2.3-standard (Text To Video)
Documentation Index
Fetch the complete documentation index at: https://docs.gptproto.com/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
- Sign up for a GPTProto account at https://gptproto.com
- Navigate to the API Keys section in your dashboard
- Generate a new API key (sk-xxxxx)
- Copy and securely store your API key For authentication details, please refer to the Authentication section.
Initiate Request
Query Result
If the request that generated your content includes the parameterenable_sync_mode set to true (some models do not support this parameter, but you still need to query the result by id), you must call the Query Result endpoint to retrieve the final output.
You can find it in either:
data.id– the unique identifier of the predictiondata.urls[0].get– a ready-to-use GET URL that already embeds the id
Response Example
Response Example
Parameters
Path Parameters
Endpoint:https://gptproto.com/api/v3/minimax/{model}/{scene}
Body parameters may vary depending on the scene. Incorrect scene selection may cause parameters to fail. Please choose the appropriate scene based on your actual needs.
| scene | example |
|---|---|
text-to-video | https://gptproto.com/api/v3/minimax/hailuo-02-fast/text-to-video |
image-to-video | https://gptproto.com/api/v3/minimax/hailuo-02-fast/image-to-video |
Request Body
| Parameter | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
prompt | string | ✅ Yes | - | - | Prompt parameter |
image | string | ✅ Yes (required in image-to-video scene) | - | - | The model generates video with the picture passed in as the first frame.Base64 encoded strings in data:image/jpeg; base64, format for incoming images, or URLs accessible via the public network. The uploaded image needs to meet the following conditions: Format is JPG/JPEG/PNG; The aspect ratio is greater than 2:5 and less than 5:2; Short side pixels greater than 300px; The image file size cannot exceed 20MB. |
end_image | string | ❌ No | - | - | The model generates video with the picture passed in as the first frame.Base64 encoded strings in data:image/jpeg; base64, format for incoming images, or URLs accessible via the public network. The uploaded image needs to meet the following conditions: Format is JPG/JPEG/PNG; The aspect ratio is greater than 2:5 and less than 5:2; Short side pixels greater than 300px; The image file size cannot exceed 20MB. |
duration | integer | ❌ No | 6 | 6, 10 | The duration of the generated media in seconds. See Duration & Resolution for more details. |
resolution | string | ❌ No | 768P | 512P, 720P, 768P, 1080P | Resolution parameter. See Resolution & Duration for more details. |
enable_prompt_expansion | boolean | ❌ No | true | - | The model automatically optimizes incoming prompts to enhance output quality. This also activates the safety checker, which ensures content safety by detecting and filtering potential risks. |
Duration & Resolution
Available video duration (seconds) and resolution combinations. Default duration is 6 seconds. Values vary by model:| Model | 768P | 1080P |
|---|---|---|
| MiniMax-Hailuo-2.3-fast | 6 or 10 | 6 |
| MiniMax-Hailuo-2.3-standard | 6 or 10 | - |
| MiniMax-Hailuo-2.3-pro | - | 6 |
| MiniMax-Hailuo-02-fast | 6 or 10 | - |
| MiniMax-Hailuo-02-standard | 6 or 10 | - |
| MiniMax-Hailuo-02-pro | - | 6 |
Error Codes
Common Error Codes
| Error Code | Error Name | Description |
|---|---|---|
| 401 | Unauthorized | API key is missing or invalid |
| 403 | Forbidden | Your API key doesn’t have permission to access this resource, or insufficient balance for the requested operation |
| 429 | Too Many Requests | You’ve exceeded your rate limit |
| 500 | Internal server error | An internal server error occurred |
| 503 | Content policy violation | Content blocked due to safety concerns (actual status code is 400) |

