Hailuo Videos Generation API
POSThttps://api.acedata.cloud/hailuo/videos
This API can generate videos by inputting prompt words and first and last frame images.
Related Products
HaiLuo - Ace Data Cloud
HaiLuo video generation platform, directly interfaces with this API, high-speed and stable availability.
Request Headers
acceptstring
Specify the format of the response returned by the server. If not specified, the default format is `application/json`; if specified as `application/x-ndjson`, the response will be returned in a block-streaming format of JSON (NDJSON) separated by newline characters.
Please select
authorizationstring
Bearer token
Request Body
actionstringRequired parameter
The operation type for video generation. When set to `generate`, it will generate a video based on the prompt.
promptstring
Prompts for generating videos.
modelstring
The model used for generating videos has a default value of `minimax-t2v`.
first_image_urlstring
You can specify the URL of the first frame image to generate a video from the image.
callback_urlstring
The callback URL that will be called after the video generation is complete.
asyncboolean
Whether to process in asynchronous mode. When set to `true`, the interface immediately returns `task_id`, without the need to provide `callback_url`, and then the result can be obtained by polling the corresponding task query interface; if `callback_url` is also provided, the result will be pushed to that callback address.
Please select
Response
Hailuo Video Generation
Allow Use General Balance
When 'Allow General Balance' is enabled, the general balance is used automatically if an app's balance is insufficient.
Kind reminder: For streaming requests, the above code may not be fully applicable. Please refer to the integration documentation for changes.
