{"info":{"title":"ModelRunner OpenAPI schema for wan/v2.7/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":7,"description":"Random seed for reproducible results. Omit for a random seed each run."},"prompt":{"type":"string","title":"Prompt","x-order":1,"maxLength":5000,"description":"Optional description of the motion and camera movement to animate. The scene is already fixed by the start image, so describe what moves rather than re-describing the picture. Chinese and English are supported."},"duration":{"type":"integer","title":"Duration","default":5,"maximum":15,"minimum":2,"x-order":4,"description":"Length of the generated video in seconds (2-15)."},"resolution":{"allOf":[{"$ref":"#/components/schemas/ResolutionEnum"}],"title":"Resolution","default":"1080P","x-order":3,"description":"Output video resolution. 720P bills at $0.10 per second of finished video; 1080P (default) bills at $0.15 per second."},"end_image_url":{"type":"string","title":"End Image Url","format":"uri","x-order":2,"description":"Optional closing frame. Supply it to generate the transition from the start frame to this one; it cannot be used on its own, without a start frame. Same formats and size limits as the start frame, and it should share the start frame's aspect ratio."},"negative_prompt":{"type":"string","title":"Negative Prompt","x-order":5,"maxLength":500,"description":"Describe content to avoid in the generated video."},"start_image_url":{"type":"string","title":"Start Image Url","format":"uri","x-order":0,"description":"The opening frame the video animates from. JPEG, JPG, PNG (alpha channel not supported), BMP or WEBP; width and height each between 240 and 8000 px, aspect ratio between 1:8 and 8:1, up to 20 MB. The finished clip takes its frame shape from this image."},"enable_prompt_expansion":{"type":"boolean","title":"Enable Prompt Expansion","default":true,"x-order":6,"description":"When enabled, an LLM rewrites and enriches your prompt before generation. Disable to follow your exact wording."}}},"Output":{"type":"string","title":"Output","format":"uri","description":"Generated video file URL."},"ResolutionEnum":{"enum":["720P","1080P"],"type":"string","title":"ResolutionEnum","description":"An enumeration."}}}}