{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"aspect_ratio":{"default":"16:9","description":"Video aspect ratio. Ignored if an image is used.","enum":["16:9","4:3","1:1","3:4","9:16","21:9","9:21"],"type":"string"},"camera_fixed":{"default":false,"description":"Whether to fix camera position","type":"boolean"},"duration":{"default":5,"description":"Video duration in seconds","maximum":12,"minimum":4,"type":"integer"},"fps":{"const":24,"default":24,"description":"Frame rate (frames per second)","type":"number"},"generate_audio":{"description":"Whether to generate audio with the video","type":"boolean"},"image":{"description":"Reference image (HTTP(S) URL or base64 data URI) for image-to-video","type":"string"},"last_frame_image":{"description":"Reference image (HTTP(S) URL or base64 data URI) for last-frame guidance. Only works if an image start frame is also given.","type":"string"},"prompt":{"description":"Text prompt describing the video to generate","maxLength":2000,"type":"string"},"reference_images":{"description":"Reference images (1-4, HTTP(S) URLs or base64 data URIs) to guide video generation for characters, avatars, clothing, or environments. Cannot be used with 1080p resolution or first/last frame images.","items":{"type":"string"},"maxItems":4,"type":"array"},"reference_video":{"description":"Reference video (HTTP(S) URL or base64 data URI) for style/motion guidance","type":"string"},"resolution":{"default":"720p","description":"Video resolution","enum":["480p","720p","1080p"],"type":"string"},"seed":{"description":"Random seed for reproducible generation","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"watermark":{"default":false,"description":"Whether to add a watermark to the output video","type":"boolean"}},"required":["prompt","duration","resolution","aspect_ratio","fps","camera_fixed","watermark"],"type":"object"}