Hailuo 2.3 API endpoint
MiniMax Hailuo 2.3 is wired into Imya's video generation endpoint. Two variants are available: Fast (image-only, low-latency, ~30s render) and Standard (text or image input, higher quality, ~90s render). Sign up for an Imya account, grab your API key at /settings/apikeys, then POST your inputs to /api/video/generate, get back a taskId, and poll /api/video/task/{taskId} until the MP4 is ready. Credits are debited from your Imya balance automatically.
// 1) Get your Imya API key at https://imya.ai/settings/apikeys
// 2) POST to Imya's video generation endpoint
const res = await fetch("https://imya.ai/api/video/generate", {
method: "POST",
headers: {
"x-api-key": "YOUR_IMYA_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
modelKey: "hailuo-2-3-fast-i2v", // or hailuo-2-3-standard-i2v / -t2v
prompt: "cinematic dolly-in across a misty mountain valley",
imageUrl: "https://any-https-cdn/start-frame.jpg",
outputDurationSec: 6, // 6 or 10 (1080p only 6)
resolution: "720p", // "720p" (768p output) or "1080p"
}),
});
const { taskId } = await res.json();
// 3) Poll until ready (~30s Fast / ~90s Standard)
// GET /api/video/task/${taskId} → { status, results: [mp4Url] }



















