{"info":{"title":"ModelRunner OpenAPI schema for wan/v3.0/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","maximum":2147483647,"minimum":0,"x-order":5,"description":"Random seed for reproducible results. Omit for a different clip each run."},"audio":{"type":"boolean","title":"Audio","default":true,"x-order":4,"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":0,"maxLength":20000,"description":"Text description of the video to generate. Chinese and English are supported, up to 20,000 characters, so there is room to describe a long scene beat by beat."},"duration":{"type":"integer","title":"Duration","default":5,"maximum":30,"minimum":2,"x-order":2,"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":1,"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":3,"description":"Frame shape of the generated video. Pick a fixed ratio when the delivery slot is known; the default `adaptive` leaves the choice to the model rather than pinning one."}}},"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."}}}}