Skip to main content

Overview

Hailuo 2.3 Fast is an image-to-video model for turning one source image into a short generated video. Use this page when you are ready to call the API after trying the model in the APIXO playground.

Endpoint and authentication

Base URL:
All requests require your APIXO API key:
Submit requests also require:

Copy-paste async quickstart

This minimal request submits a standard image-to-video task and returns a taskId.
Successful response:
Save the taskId; you need it to poll for the final result.

Poll for result

Processing response:
Success response:
Failed response:
Parse resultJson after state becomes success:

Request body

Standard image-to-video

Pro image-to-video

Parameters

string
default:"async"
required
Result delivery mode. Use async for polling with statusTask, or callback for webhook delivery.
string
Required when request_type is callback. Must be a public HTTPS URL that can receive the final task payload. See Webhooks.
object
required
Hailuo 2.3 Fast input parameters.
Hailuo 2.3 Fast only supports image-to-video. If you need text-to-video, use a different Hailuo model that explicitly supports that mode.

Response format

Submit task response

POST /generateTask/hailuo-2-3-fast returns a task ID when the task is accepted:
integer
API status code. 200 means the task was accepted.
string
Human-readable status message.
string
Unique task identifier used with the status endpoint.

Status response fields

string
Unique task identifier.
string
Current task state: processing, success, or failed.
string
JSON string containing the generated video URLs. Present when state is success.
string
Machine-readable failure code. Present when state is failed.
string
Human-readable failure message. Present when state is failed.
integer
Task creation timestamp in Unix milliseconds.
integer
Task completion timestamp in Unix milliseconds. Present after completion when available.
integer
Processing duration in milliseconds. Present after completion when available.

Webhook callback mode

Use callback mode when your backend should receive the final result automatically instead of polling.
See Webhooks for delivery requirements and retry behavior.

Billing

Hailuo 2.3 Fast billing depends on the selected mode. Standard mode is billed by output duration; pro mode is billed per task. For current route and market comparison pricing, see Pricing.

Latency and polling

Video generation is asynchronous. Actual latency may vary by input image, prompt complexity, current queue load, and storage transfer time. costTime is returned in milliseconds after completion when timing data is available. Keep polling while state is processing.
For production workloads, use callback mode to avoid frequent polling on long-running video tasks.
Rate limits and concurrency can vary by account, API key, and route. If you receive 429, slow down requests and retry with backoff. For account-level details, see System APIs.

Errors and troubleshooting

HTTP errors

Task failure codes

Failure codes are mapped from upstream task errors, so exact values can vary. Common examples include:

Request checks

  • Send exactly one image_urls item.
  • Use only standard-image-to-video or pro-image-to-video.
  • Include duration only when you need standard mode; pro mode ignores it.
  • Use duration as 6, 10, "6", or "10" for standard mode.
  • Use a public, directly fetchable JPG, JPEG, or PNG image URL.
See Error Codes for the full error reference.