{"info":{"title":"ModelRunner OpenAPI schema for wan-vace/video-edit","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","video_url"],"properties":{"prompt":{"type":"string","title":"Prompt","x-order":0,"examples":["replace him with a large anthropomorphic polar bear"],"description":"Prompt describing how to edit the video, in plain language (e.g. 'replace him with a large anthropomorphic polar bear')."},"video_url":{"type":"string","title":"Video URL","format":"uri","x-order":1,"description":"URL of the input video to edit."},"image_urls":{"type":"array","items":{"type":"string","format":"uri"},"title":"Image URLs","default":[],"x-order":4,"description":"URLs of input images to use as visual references for the edit."},"resolution":{"allOf":[{"$ref":"#/components/schemas/ResolutionEnum"}],"title":"Resolution","default":"720p","x-order":2,"description":"Output resolution. 480p bills at $0.05/second, 580p at $0.075/second, 720p (default) at $0.10/second."},"video_type":{"allOf":[{"$ref":"#/components/schemas/VideoTypeEnum"}],"title":"Video Type","default":"auto","x-order":3,"description":"The type of video you're editing. Use 'general' for most videos, and 'human' for videos emphasizing human subjects and motions. The default 'auto' lets the model guess based on the first frame."},"acceleration":{"allOf":[{"$ref":"#/components/schemas/AccelerationEnum"}],"title":"Acceleration","default":"regular","x-order":5,"description":"Acceleration to use for inference. Accelerated inference very slightly affects the output but is significantly faster."},"aspect_ratio":{"allOf":[{"$ref":"#/components/schemas/AspectRatioEnum"}],"title":"Aspect Ratio","default":"auto","x-order":7,"description":"Aspect ratio of the edited video."},"return_frames_zip":{"type":"boolean","title":"Return Frames ZIP","default":false,"x-order":9,"description":"Whether to also return a ZIP archive containing all generated frames."},"enable_auto_downsample":{"type":"boolean","title":"Enable Auto Downsampling","default":true,"x-order":6,"description":"Whether to enable automatic downsampling for high frame rate or long videos. The video is interpolated back to the original frame rate after generation."},"auto_downsample_min_fps":{"type":"number","title":"Auto Downsample Min FPS","default":15,"maximum":60,"minimum":1,"x-order":8,"description":"The minimum frames per second to downsample the video to."}},"x-fal-order-properties":["prompt","video_url","resolution","video_type","image_urls","acceleration","enable_auto_downsample","aspect_ratio","auto_downsample_min_fps","return_frames_zip"]},"Output":{"type":"string","title":"Output","format":"uri","description":"The edited video file URL."},"VideoTypeEnum":{"enum":["auto","general","human"],"type":"string","title":"VideoTypeEnum","description":"An enumeration."},"ResolutionEnum":{"enum":["480p","580p","720p"],"type":"string","title":"ResolutionEnum","description":"An enumeration."},"AspectRatioEnum":{"enum":["auto","16:9","9:16","1:1"],"type":"string","title":"AspectRatioEnum","description":"An enumeration."},"AccelerationEnum":{"enum":["none","low","regular"],"type":"string","title":"AccelerationEnum","description":"An enumeration."}}}}