{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":26000,"description":"Text prompt describing the video, up to 26,000 English characters. Refer to keyframes as @image_1, @image_2, and so on, numbered first frame, middle frames, then last frame."},"first_frame":{"description":"Image the video starts from. An https URL, a data URI, or raw base64 (JPG or PNG, up to 30 MB, at least 300 px per side, aspect ratio between 2:5 and 5:2)","type":"string","minLength":1},"middle_frames":{"description":"Keyframes the video passes through, in order","maxItems":9,"type":"array","items":{"type":"string","minLength":1,"description":"An https URL, a data URI, or raw base64 (JPG or PNG, up to 30 MB, at least 300 px per side, aspect ratio between 2:5 and 5:2)"}},"last_frame":{"description":"Image the video ends on. An https URL, a data URI, or raw base64 (JPG or PNG, up to 30 MB, at least 300 px per side, aspect ratio between 2:5 and 5:2)","type":"string","minLength":1},"duration":{"default":5,"description":"Video duration in seconds","type":"integer","minimum":3,"maximum":30},"aspect_ratio":{"default":"16:9","description":"Video aspect ratio. Ignored when keyframes are given.","type":"string","enum":["21:9","16:9","9:16","1:1"]},"resolution":{"default":"1080p","description":"Output resolution","type":"string","enum":["720p","1080p"]}},"required":["prompt","duration","aspect_ratio","resolution"],"additionalProperties":false}