Skip to main content
POST
/
v3
/
async
/
minimax-hailuo-2.3-fast-i2v
Minimax Hailuo 2.3 Fast Image to Video
curl --request POST \
  --url https://api.novita.ai/v3/async/minimax-hailuo-2.3-fast-i2v \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "prompt": "<string>",
  "image": "<string>",
  "duration": 123,
  "resolution": "<string>",
  "enable_prompt_expansion": true
}
'
import requests

url = "https://api.novita.ai/v3/async/minimax-hailuo-2.3-fast-i2v"

payload = {
"prompt": "<string>",
"image": "<string>",
"duration": 123,
"resolution": "<string>",
"enable_prompt_expansion": True
}
headers = {
"Content-Type": "<content-type>",
"Authorization": "<authorization>"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {'Content-Type': '<content-type>', Authorization: '<authorization>'},
body: JSON.stringify({
prompt: '<string>',
image: '<string>',
duration: 123,
resolution: '<string>',
enable_prompt_expansion: true
})
};

fetch('https://api.novita.ai/v3/async/minimax-hailuo-2.3-fast-i2v', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.novita.ai/v3/async/minimax-hailuo-2.3-fast-i2v",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'prompt' => '<string>',
'image' => '<string>',
'duration' => 123,
'resolution' => '<string>',
'enable_prompt_expansion' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>",
"Content-Type: <content-type>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://api.novita.ai/v3/async/minimax-hailuo-2.3-fast-i2v"

payload := strings.NewReader("{\n \"prompt\": \"<string>\",\n \"image\": \"<string>\",\n \"duration\": 123,\n \"resolution\": \"<string>\",\n \"enable_prompt_expansion\": true\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("Content-Type", "<content-type>")
req.Header.Add("Authorization", "<authorization>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://api.novita.ai/v3/async/minimax-hailuo-2.3-fast-i2v")
.header("Content-Type", "<content-type>")
.header("Authorization", "<authorization>")
.body("{\n \"prompt\": \"<string>\",\n \"image\": \"<string>\",\n \"duration\": 123,\n \"resolution\": \"<string>\",\n \"enable_prompt_expansion\": true\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.novita.ai/v3/async/minimax-hailuo-2.3-fast-i2v")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Content-Type"] = '<content-type>'
request["Authorization"] = '<authorization>'
request.body = "{\n \"prompt\": \"<string>\",\n \"image\": \"<string>\",\n \"duration\": 123,\n \"resolution\": \"<string>\",\n \"enable_prompt_expansion\": true\n}"

response = http.request(request)
puts response.read_body
{
  "task_id": "<string>"
}
Minimax Hailuo 2.3 Fast offers significantly accelerated video generation, effectively balancing quality and performance at a more cost-effective rate.
This is an asynchronous API; only the task_id will be returned. You should use the task_id to request the Task Result API to retrieve the video generation results.

Request Headers

Content-Type
string
required
Supports: application/json
Authorization
string
required
Bearer authentication format, for example: Bearer {{API Key}}.

Request Body

prompt
string
required
Prompt text required to guide the generation.Range: 1 <= x <= 2000.
image
string
required
The image to be used for video generation. Supports public URL or Base64 encoding(data:image/jpeg;base64,...).
duration
integer
The length of the generated video in seconds. Default: 6
Optional values: 6, 10
resolution
string
The resolution of the generated video. Default: 768P
  • For 6-second videos: supports 768P, 1080P
  • For 10-second videos: supports 768P only
enable_prompt_expansion
boolean
Whether to enable prompt optimization.Default: true.

Response

task_id
string
required
Use the task_id to request the Task Result API to retrieve the generated outputs.
Last modified on October 29, 2025