{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"video_uri":{"type":"string","format":"uri","description":"HTTPS URL of the source video: MP4, MOV or MKV (H.264/H.265), up to 4K, at least 73 frames, up to 32 MB"},"start_time":{"type":"number","minimum":0,"description":"Start of the section to re-generate, in seconds. At least 2 seconds must follow it"},"duration":{"type":"number","minimum":2,"description":"Length of the section to re-generate, in seconds (minimum 2)"},"prompt":{"type":"string","minLength":1,"maxLength":5000,"description":"What should happen in the re-generated section"},"mode":{"default":"replace_audio_and_video","description":"Re-generate the audio, the picture, or both","type":"string","enum":["replace_audio","replace_video","replace_audio_and_video"]},"resolution":{"description":"Output resolution. The input is center-cropped to fit","type":"string","enum":["1920x1080","1080x1920"]}},"required":["video_uri","start_time","duration","prompt","mode"],"additionalProperties":false}