Skip to main content
POST
Hailuo 2.3

Headers

Authorization
string

Body

application/json
model
enum<string>
required

Model name. Must be hailuo_2_3.

Available options:
hailuo_2_3
prompt
string
required

Text prompt describing the video.

image_url
string<uri>

Optional first-frame image URL. If provided, runs image-to-video; otherwise text-to-video.

duration
enum<integer>
default:6

Video duration in seconds. 6 or 10. Note: 1080P only supports 6s.

Available options:
6,
10
resolution
enum<string>
default:768P

Output resolution.

Available options:
768P,
1080P
ratio
string

Aspect ratio for text-to-video.

custom_callback_url
string<uri>

Optional. A publicly accessible HTTPS URL. When the task status changes (processing / success / failed), GoEnhance sends a POST request to this URL. The request body is identical to the response of GET /api/v1/jobs/detail. If your server does not respond with HTTP 200, the notification is retried up to 3 times, with a 3-second timeout per attempt.

Example:

"https://your-server.com/goenhance/callback"

Response

code
integer
required
msg
string
required
data
object
required