{"servers":[{"url":"https://api.modellix.ai/api/v1/minimax/hailuo-2.3-i2v"}],"post":{"description":"[Core Function] Hailuo 2.3 I2V is a flagship image-to-video generation model optimized for character animation. [Strengths] It excels at animating human characters from a single image, maintaining consistent facial features, producing natural micro-expressions, and handling stylized artwork seamlessly. [Best For] Highly recommended for: animating character concept art, bringing portraits to life, and creating stylized/anime motion sequences. [Limitations] Do NOT use this model for last-frame conditioning (it does not support FL2V). Do NOT use if you need 1080p resolution for 10 seconds (1080p is capped at 6s). [Routing] Use this model by default for high-quality image-to-video tasks involving people or art. For physical realism or 10s at 1080p, route to Hailuo 02 I2V. For cost-effective/faster generation, route to Hailuo 2.3 Fast I2V.","operationId":"minimaxHailuo23I2VAsync","requestBody":{"content":{"application/json":{"examples":{"advanced":{"summary":"Advanced with all parameters","value":{"duration":10,"fast_pretreatment":true,"first_frame_image":"https://example.com/start-frame.jpg","prompt":"The scene [Pan left,Pedestal up] reveals the landscape, camera [Push in] for close-up","prompt_optimizer":true,"resolution":"768P"}},"basic":{"summary":"Basic image-to-video","value":{"first_frame_image":"https://example.com/start-frame.jpg"}},"with_prompt":{"summary":"With description and camera control","value":{"duration":6,"first_frame_image":"https://example.com/start-frame.jpg","prompt":"A bird takes off from the branch [Pedestal up], then flies away [Tracking shot]","resolution":"1080P"}}},"schema":{"properties":{"duration":{"default":6,"description":"Video duration in seconds. Note: 10 seconds only supports 768P resolution","enum":[6,10],"example":6,"type":"integer"},"fast_pretreatment":{"default":false,"description":"Fast pretreatment mode (only effective when prompt_optimizer=true). Speeds up processing with slight quality trade-off","example":false,"type":"boolean"},"first_frame_image":{"description":"First frame image URL or Base64 Data URL. Formats: JPG/JPEG/PNG/WebP. Size: <20MB. Dimensions: short side >300px, aspect ratio between 2:5 and 5:2","example":"https://example.com/start-frame.jpg","minLength":1,"type":"string"},"prompt":{"description":"Video content description, supports Chinese and English. Supports 15 camera control instructions: [Truck left/right], [Pan left/right], [Push in/Pull out], [Pedestal up/down], [Tilt up/down], [Zoom in/out], [Shake], [Tracking shot], [Static shot]. Use combined commands like [Pan left,Pedestal up] or sequential commands","example":"A bird takes off from the branch [Pedestal up], then flies away [Tracking shot]","maxLength":2000,"minLength":1,"type":"string"},"prompt_optimizer":{"default":true,"description":"Enable automatic prompt optimization to improve video quality","example":true,"type":"boolean"},"resolution":{"default":"768P","description":"Video resolution. Note: 10 seconds duration only supports 768P, 1080P only supports 6 seconds","enum":["768P","1080P"],"example":"768P","type":"string"}},"required":["first_frame_image"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"example":{"code":0,"data":{"get_result":{"method":"GET","url":"https://api.modellix.ai/api/v1/tasks/task-abc123"},"model_id":"model-123","status":"pending","task_id":"task-abc123"},"message":"success"},"schema":{"properties":{"code":{"description":"Response code, 0 indicates success","example":0,"type":"integer"},"data":{"description":"Detailed data about the submitted asynchronous task.","properties":{"get_result":{"description":"API information to query the task result","properties":{"method":{"description":"HTTP method","example":"GET","type":"string"},"url":{"description":"Full URL to query the task result","example":"https://api.modellix.ai/api/v1/tasks/task-abc123","type":"string"}},"type":"object"},"model_id":{"description":"Model ID","example":"model-123","type":"string"},"status":{"description":"Task status","enum":["pending","processing"],"example":"pending","type":"string"},"task_id":{"description":"Unique task identifier","example":"task-abc123","type":"string"}},"required":["status","task_id","model_id"],"type":"object"},"message":{"description":"Response message","example":"success","type":"string"}},"required":["code","message","data"],"type":"object"}}},"description":"Task submitted successfully"},"400":{"content":{"application/json":{"examples":{"invalid_duration":{"summary":"Invalid duration value","value":{"code":400,"message":"Invalid parameters: duration must be one of [6, 10]"}},"invalid_image":{"summary":"Invalid image format or size","value":{"code":400,"message":"Invalid parameters: image size exceeds 20MB or format not supported"}},"invalid_resolution":{"summary":"Invalid resolution for duration","value":{"code":400,"message":"Invalid parameters: 10 seconds duration only supports 768P resolution"}},"missing_first_frame":{"summary":"Missing required first_frame_image","value":{"code":400,"message":"Invalid parameters: parameter 'first_frame_image' is required"}}},"schema":{"properties":{"code":{"description":"Error code (equals HTTP status code)","example":400,"type":"integer"},"message":{"description":"Error message in format 'Category: detail'","example":"Invalid parameters: parameter 'first_frame_image' is required","type":"string"}},"required":["code","message"],"type":"object"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"example":{"code":401,"message":"Authentication failed: invalid API key"},"schema":{"properties":{"code":{"description":"Error code (equals HTTP status code)","example":400,"type":"integer"},"message":{"description":"Error message in format 'Category: detail'","example":"Invalid parameters: parameter 'first_frame_image' is required","type":"string"}},"required":["code","message"],"type":"object"}}},"description":"Unauthorized - Invalid or missing API Key"},"429":{"content":{"application/json":{"example":{"code":429,"message":"Rate limit exceeded: 100 requests per minute, retry after 60 seconds"},"schema":{"properties":{"code":{"description":"Error code (equals HTTP status code)","example":400,"type":"integer"},"message":{"description":"Error message in format 'Category: detail'","example":"Invalid parameters: parameter 'first_frame_image' is required","type":"string"}},"required":["code","message"],"type":"object"}}},"description":"Too many requests - Rate limit exceeded","headers":{"X-RateLimit-Limit":{"description":"Maximum requests per minute","schema":{"example":100,"type":"integer"}},"X-RateLimit-Remaining":{"description":"Remaining quota in current window","schema":{"example":0,"type":"integer"}},"X-RateLimit-Reset":{"description":"Rate limit window reset time (Unix timestamp)","schema":{"example":1704067260,"type":"integer"}}}},"500":{"content":{"application/json":{"example":{"code":500,"message":"Internal server error"},"schema":{"properties":{"code":{"description":"Error code (equals HTTP status code)","example":400,"type":"integer"},"message":{"description":"Error message in format 'Category: detail'","example":"Invalid parameters: parameter 'first_frame_image' is required","type":"string"}},"required":["code","message"],"type":"object"}}},"description":"Internal server error"}},"summary":"Hailuo 2.3 I2V","x-mint":{"href":"minimax/hailuo-2-3-i2v"}}}