{"info":{"title":"ModelRunner OpenAPI schema for wan/v2.7/text-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"],"properties":{"seed":{"type":"integer","title":"Seed","x-order":6,"description":"Random seed for reproducible results. Omit for a random seed each run."},"prompt":{"type":"string","title":"Prompt","x-order":0,"maxLength":5000,"description":"Text description of the video to generate."},"duration":{"type":"integer","title":"Duration","default":5,"maximum":15,"minimum":2,"x-order":2,"description":"Length of the generated video in seconds (2-15)."},"resolution":{"allOf":[{"$ref":"#/components/schemas/ResolutionEnum"}],"title":"Resolution","default":"1080p","x-order":1,"description":"Output video resolution. 720p bills at $0.10/second; 1080p (default) bills at $0.15/second."},"aspect_ratio":{"allOf":[{"$ref":"#/components/schemas/AspectRatioEnum"}],"title":"Aspect Ratio","default":"16:9","x-order":3,"description":"The aspect ratio of the generated video frame."},"negative_prompt":{"type":"string","title":"Negative Prompt","x-order":4,"maxLength":500,"description":"Describe content to avoid in the generated video."},"enable_prompt_expansion":{"type":"boolean","title":"Enable Prompt Expansion","default":true,"x-order":5,"description":"When enabled, an LLM rewrites and enriches your prompt before generation. Disable to follow your exact wording."}},"x-fal-order-properties":["prompt","resolution","duration","aspect_ratio","negative_prompt","enable_prompt_expansion","seed"]},"Output":{"type":"string","title":"Output","format":"uri","description":"Generated video file URL."},"ResolutionEnum":{"enum":["720p","1080p"],"type":"string","title":"ResolutionEnum","description":"An enumeration."},"AspectRatioEnum":{"enum":["16:9","9:16","1:1","4:3","3:4"],"type":"string","title":"AspectRatioEnum","description":"An enumeration."}}}}