import type * as Hedra from "../index.js"; /** * Model-specific inputs for `wan-2-7`. * * Accepted field combinations (one per input mode): * (1) requires: duration_ms, prompt, resolution, start_image; must omit: aspect_ratio, images * (2) requires: aspect_ratio, duration_ms, images, prompt, resolution; must omit: end_image, start_image; accepts duration_ms: 2000 | 3000 | 4000 | 5000 | 6000 | 7000 | 8000 | 9000 | 10000 * (3) requires: aspect_ratio, duration_ms, prompt, resolution; must omit: end_image, images, start_image */ export interface InputWan27 { /** Number of outputs generated per job. Only 1 is supported. */ num_outputs?: number | undefined; /** Generation prompt. At most 5000 characters. */ prompt: string; /** What to avoid in the generated video. At most 500 characters. */ negative_prompt?: string | undefined; /** Seed for reproducible output; omit for a random seed. From 0 to 2147483647. */ seed?: number | undefined; /** Output resolution. */ resolution: InputWan27.Resolution; /** Duration in ms. */ duration_ms: number; /** Start frame. At most 20 MB. */ start_image?: Hedra.InputWan27StartImage | undefined; /** End frame. At most 20 MB. */ end_image?: Hedra.InputWan27EndImage | undefined; /** Output aspect ratio. */ aspect_ratio?: InputWan27.AspectRatio | undefined; /** Reference images. 1 to 4 images, each at most 20 MB. */ images?: Hedra.InputWan27ImagesItem[] | undefined; } export declare namespace InputWan27 { /** Output resolution. */ const Resolution: { readonly SevenHundredTwentyP: "720p"; readonly OneThousandEightyP: "1080p"; }; type Resolution = (typeof Resolution)[keyof typeof Resolution]; /** Output aspect ratio. */ const AspectRatio: { readonly Sixteen9: "16:9"; readonly Nine16: "9:16"; readonly Four3: "4:3"; readonly Three4: "3:4"; readonly One1: "1:1"; }; type AspectRatio = (typeof AspectRatio)[keyof typeof AspectRatio]; }