Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/v1/generateTask/hailuo-2-3-fast | Create generation task |
| GET | /api/v1/statusTask/hailuo-2-3-fast | Query task status |
Authentication
All requests require an API Key in the header:Request Body
Parameters
async (polling) or callback (webhook)
Callback URL, required when request_type=callback (conditional)
Routing strategy: auto, value, or official
Model input parameters
standard-image-to-video- Standard image-to-video, fixed output resolution768ppro-image-to-video- Pro image-to-video, fixed output resolution1080p
- This model only supports image-to-video.
- Sending text-to-video modes returns
Invalid mode type.
- Format must be JPG/JPEG/PNG.
- Aspect ratio must be greater than 2:5 and less than 5:2.
- Short side must be greater than 300px.
- File size must not exceed 20MB.
standard-image-to-videorequiresduration, and only6or10is accepted.pro-image-to-videohas fixed output duration6seconds.
Example
Standard Image-to-VideoResponse
POST /api/v1/generateTask/hailuo-2-3-fast
ReturnstaskId on success for subsequent status queries.
Success:
GET /api/v1/statusTask/hailuo-2-3-fast
Query task execution status and results viataskId.
Status Response Fields
Unique task identifier.
Current task state:
pending, processing, success, or failed.JSON string containing
resultUrls array. Only present on success. Parse with JSON.parse().Error code. Only present when
state is failed. See Error Codes.Human-readable error message. Only present when
state is failed.Task creation timestamp (Unix milliseconds).
Task completion timestamp (Unix milliseconds).
Processing duration in milliseconds.
Error Codes
| Code | Description |
|---|---|
| 400 | Invalid parameters or request error |
| 401 | Invalid or missing API Key |
| 402 | Insufficient credits |
| 429 | Rate limit exceeded |
| Fail Code | Description |
|---|---|
CONTENT_VIOLATION | Content violates safety guidelines |
INVALID_IMAGE_URL | Cannot access the provided image URL |
Rate Limits
| Limit | Value |
|---|---|
| Requests | Subject to workspace and provider limits |
| Concurrent tasks | Subject to workspace and provider limits |
429.
Tips
- This model only supports image-to-video.
- Cheapest public preset:
standard-image-to-video + duration=6. standard-image-to-videois billed by duration.pro-image-to-videois billed per task.pro-image-to-videoignoresdurationeven if included.- Result URLs may be temporary. Download generated videos promptly after success.