{"info":{"title":"ModelRunner OpenAPI schema for kling-video/v2.1-master/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":2500,"description":"Text description of the motion/action to animate in the video."},"duration":{"allOf":[{"$ref":"#/components/schemas/duration"}],"title":"Duration","default":"5","x-order":2,"description":"Length of the generated video in seconds."},"cfg_scale":{"type":"number","title":"CFG Scale","default":0.5,"maximum":1,"minimum":0,"x-order":4,"description":"How strongly the video follows the prompt. Higher values increase prompt adherence; lower values allow more creative motion."},"image_url":{"type":"string","title":"Image Url","format":"uri","x-order":1,"description":"The source frame the video animates from. Use a JPEG image (min 300x300px, aspect ratio roughly 0.4-2.5)."},"negative_prompt":{"type":"string","title":"Negative Prompt","default":"blur, distort, and low quality","x-order":3,"maxLength":2500,"description":"Describe content to avoid in the generated video."}}},"Output":{"type":"string","title":"Output","format":"uri","description":"Generated video file URL."},"duration":{"enum":["5","10"],"type":"string","title":"duration","default":"5","description":"An enumeration."}}}}