{"info":{"title":"ModelRunner OpenAPI schema for wan/v3.0/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 different clip each run."},"audio":{"type":"boolean","title":"Audio","default":true,"x-order":6,"description":"Whether the delivered clip carries an audio track. On by default; set it to false for a silent video. The price is the same either way."},"prompt":{"type":"string","title":"Prompt","x-order":1,"maxLength":20000,"description":"Optional description of the motion and camera movement to animate. The scene is already fixed by the opening frame, so describe what moves rather than re-describing the picture. Chinese and English are supported, up to 20,000 characters."},"duration":{"type":"integer","title":"Duration","default":5,"maximum":30,"minimum":2,"x-order":4,"description":"Length of the generated video in whole seconds (2-30). Cost scales directly with this value."},"resolution":{"allOf":[{"$ref":"#/components/schemas/ResolutionEnum"}],"title":"Resolution","default":"1080P","x-order":3,"description":"Output video resolution. 480P bills at $0.05 per second of finished video, 720P at $0.10, and 1080P (the default) at $0.20, so draft at 480P and re-run the keeper higher."},"aspect_ratio":{"allOf":[{"$ref":"#/components/schemas/AspectRatioEnum"}],"title":"Aspect Ratio","default":"adaptive","x-order":5,"description":"Frame shape of the generated video. The default `adaptive` pins no particular shape; set an explicit ratio when the delivery slot is fixed."},"end_image_url":{"type":"string","title":"End Image Url","format":"uri","x-order":2,"description":"Optional closing frame. Supply it and the model generates the transition from the opening frame to this one; it cannot be used on its own, without an opening frame. Same formats and size limits as the opening frame, and it should share its aspect ratio."},"start_image_url":{"type":"string","title":"Start Image Url","format":"uri","x-order":0,"description":"The opening frame the video animates from. JPEG or PNG (alpha channel not supported); width and height each between 240 and 8000 px, aspect ratio between 1:8 and 8:1, up to 20 MB."}}},"Output":{"type":"string","title":"Output","format":"uri","description":"Generated video file URL (MP4)."},"ResolutionEnum":{"enum":["480P","720P","1080P"],"type":"string","title":"ResolutionEnum","description":"An enumeration."},"AspectRatioEnum":{"enum":["16:9","9:16","1:1","4:3","3:4","adaptive"],"type":"string","title":"AspectRatioEnum","description":"An enumeration."}}}}