{"info":{"title":"ModelRunner OpenAPI schema for wan/v2.7/video-extend","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":["video_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 how the clip should continue - the motion and camera movement to carry on with. The scene is already fixed by the source clip, so describe what happens next rather than re-describing the picture. Chinese and English are supported."},"duration":{"type":"integer","title":"Duration","default":10,"maximum":15,"minimum":2,"x-order":4,"description":"Total length of the video you get back, in seconds (2-15). The source clip is INCLUDED in this number, not added to it: with a 5-second source clip, duration 10 returns a 10-second video - your original 5 seconds followed by 5 newly generated ones - and is billed as 10 seconds. Set it clearly above your source clip's length; at or below that length there is no room for new footage and you still pay for the full duration."},"video_url":{"type":"string","title":"Video Url","format":"uri","x-order":0,"description":"The video clip to continue. The delivered video opens with this clip and carries its motion, subject and setting onward. MP4 or MOV; 2 to 10 seconds long; width and height each between 240 and 4096 px; aspect ratio between 1:8 and 8:1; up to 100 MB. The finished video takes its frame shape from this clip."},"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. This picks the pixel tier only - the frame shape is inherited from your source clip."},"end_image_url":{"type":"string","title":"End Image Url","format":"uri","x-order":2,"description":"Optional closing frame. Supply it and the continuation is steered to end on this image; it cannot be used on its own, without a source video. 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. It should share the source clip's aspect ratio."},"negative_prompt":{"type":"string","title":"Negative Prompt","x-order":5,"maxLength":500,"description":"Describe content to avoid in the generated continuation."},"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, which suits short prompts but adds some processing time. 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."}}}}