{"info":{"title":"ModelRunner OpenAPI schema for happy-horse/v1.1/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":["start_image_url"],"properties":{"seed":{"type":"integer","title":"Seed","maximum":2147483647,"minimum":0,"x-order":4,"description":"Random seed for reproducible results. Omit for a different clip each run."},"prompt":{"type":"string","title":"Prompt","x-order":1,"maxLength":5000,"description":"Optional. Describe what happens next - the movement, the camera, any spoken line, and the sound you want. The scene is already fixed by the image, so describe the action rather than re-describing the picture. Any language, up to 5000 characters (2500 for Chinese). Leave it empty to let the model animate the image on its own."},"duration":{"type":"integer","title":"Duration","default":5,"maximum":15,"minimum":3,"x-order":3,"description":"Length of the generated video in whole seconds (3-15). Cost scales directly with this value."},"resolution":{"allOf":[{"$ref":"#/components/schemas/ResolutionEnum"}],"title":"Resolution","default":"1080P","x-order":2,"description":"Output video resolution. 720P bills at $0.14 per second of finished video; 1080P (default) bills at $0.18 per second."},"start_image_url":{"type":"string","title":"Start Image Url","format":"uri","x-order":0,"description":"The photo to animate. It becomes the opening frame, and the finished clip takes its frame shape from this image, so upload it already cropped to the proportions you want. JPEG, JPG, PNG or WEBP; at least 300 px on each side, aspect ratio between 1:2.5 and 2.5:1, up to 20 MB."}}},"Output":{"type":"string","title":"Output","format":"uri","description":"Generated video file URL (MP4)."},"ResolutionEnum":{"enum":["720P","1080P"],"type":"string","title":"ResolutionEnum","description":"An enumeration."}}}}