{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"prompt":{"description":"Text prompt for video generation.","type":"string"},"image":{"description":"Input image to generate video from (image-to-video). HTTP(S) URL or data URI. Supports jpg, jpeg, png, webp. When provided, aspect_ratio is ignored.","type":"string"},"audio":{"description":"Input audio to condition video generation. HTTP(S) URL or data URI. Supports flac, mp3, wav. When provided, duration is ignored.","type":"string"},"duration":{"description":"Duration of the video in seconds (1-20). Ignored when audio is provided.","default":5,"type":"integer","minimum":1,"maximum":20},"resolution":{"description":"Video resolution.","default":"720p","type":"string","enum":["720p","1080p"]},"fps":{"description":"Frames per second: 24 or 48.","default":24,"anyOf":[{"type":"number","const":24},{"type":"number","const":48}]},"aspect_ratio":{"description":"Aspect ratio of the video. Ignored when an input image is provided.","default":"16:9","type":"string","enum":["16:9","9:16","4:3","3:4","3:2","2:3","1:1"]},"seed":{"description":"Random seed for reproducible generation.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"draft":{"description":"Draft mode. Generates a lower-quality preview of the video.","default":false,"type":"boolean"},"save_audio":{"description":"Save the video with audio.","default":true,"type":"boolean"},"last_frame_image":{"description":"Reference image for the last frame of the video. HTTP(S) URL or data URI.","type":"string"},"prompt_upsampling":{"description":"Use prompt upsampling to enhance the prompt.","default":true,"type":"boolean"},"disable_safety_filter":{"description":"Disable safety filter for prompts and input images.","default":true,"type":"boolean"}},"required":["prompt","duration","resolution","fps","aspect_ratio","draft","save_audio","prompt_upsampling","disable_safety_filter"],"additionalProperties":{}}