{"info":{"title":"ModelRunner OpenAPI schema for hailuo-02/standard/image-to-video","version":"0.1.0"},"paths":{"/health-check":{"get":{"summary":"Healthcheck","responses":{"200":{"content":{"application/json":{"schema":{"title":"Response Healthcheck Health Check Get"}}},"description":"Successful Response"}},"operationId":"healthcheck_health_check_get"}}},"openapi":"3.1.0","components":{"schemas":{"Input":{"type":"object","title":"Input","required":["prompt","image_url"],"properties":{"prompt":{"type":"string","title":"Prompt","x-order":0,"maxLength":2000,"minLength":1,"description":"Text description of the motion and action to animate in the video."},"duration":{"allOf":[{"$ref":"#/components/schemas/DurationEnum"}],"title":"Duration","default":"6","x-order":2,"description":"Length of the generated video in seconds."},"image_url":{"type":"string","title":"Image URL","format":"uri","x-order":1,"description":"URL of the source image to animate into a video. Aspect ratio must be between 2:5 and 5:2, at least 300px on the shorter side, and under 20MB."},"resolution":{"allOf":[{"$ref":"#/components/schemas/ResolutionEnum"}],"title":"Resolution","default":"768P","x-order":3,"description":"Output video resolution. 512P bills at a lower per-second rate; 768P (default) is the higher-quality tier."},"end_image_url":{"type":"string","title":"End Image URL","format":"uri","x-order":5,"description":"Optional URL of an image to use as the last frame of the video."},"prompt_optimizer":{"type":"boolean","title":"Prompt Optimizer","default":true,"x-order":4,"description":"Whether to use the model's prompt optimizer to expand and refine a short prompt."}}},"Output":{"type":"string","title":"Output","format":"uri","description":"Generated video file URL."},"DurationEnum":{"enum":["6","10"],"type":"string","title":"DurationEnum","description":"An enumeration."},"ResolutionEnum":{"enum":["512P","768P"],"type":"string","title":"ResolutionEnum","description":"An enumeration."}}}}