import type * as Hedra from "../index.js"; /** * Model-specific inputs for `minimax-hailuo-02`. * * Accepted field combinations (one per input mode): * (1) requires: prompt, start_image; must omit: aspect_ratio, end_image; accepts duration_ms: 6000; quality: pro; resolution: 1080p * (2) requires: end_image, prompt, start_image; must omit: aspect_ratio; accepts duration_ms: 6000; quality: pro; resolution: 1080p * (3) requires: prompt; must omit: end_image, start_image; accepts duration_ms: 6000; quality: pro; resolution: 1080p * (4) requires: duration_ms, prompt, start_image; must omit: aspect_ratio, end_image; accepts quality: standard; resolution: 768p * (5) requires: duration_ms, end_image, prompt, start_image; must omit: aspect_ratio; accepts quality: standard; resolution: 768p * (6) requires: duration_ms, prompt; must omit: end_image, start_image; accepts quality: standard; resolution: 768p */ export interface InputMinimaxHailuo02 { /** Number of outputs generated per job. Only 1 is supported. */ num_outputs?: number | undefined; /** Generation prompt. At most 2000 characters. */ prompt: string; /** Output resolution. */ resolution?: InputMinimaxHailuo02.Resolution | undefined; /** Duration in ms. */ duration_ms: number; /** Start frame. The output video follows this image's aspect ratio. At most 20 MB. */ start_image?: Hedra.InputMinimaxHailuo02StartImage | undefined; /** End frame. At most 20 MB. */ end_image?: Hedra.InputMinimaxHailuo02EndImage | undefined; /** Output aspect ratio. */ aspect_ratio?: InputMinimaxHailuo02.AspectRatio | undefined; /** Quality level to generate at. `standard` — 768p, for everyday motion. `pro` — 1080p, with smoother motion and sharper detail. */ quality?: InputMinimaxHailuo02.Quality | undefined; } export declare namespace InputMinimaxHailuo02 { /** Output resolution. */ const Resolution: { readonly OneThousandEightyP: "1080p"; readonly SevenHundredSixtyEightP: "768p"; }; type Resolution = (typeof Resolution)[keyof typeof Resolution]; /** Output aspect ratio. */ const AspectRatio: { readonly Sixteen9: "16:9"; }; type AspectRatio = (typeof AspectRatio)[keyof typeof AspectRatio]; /** Quality level to generate at. `standard` — 768p, for everyday motion. `pro` — 1080p, with smoother motion and sharper detail. */ const Quality: { readonly Standard: "standard"; readonly Pro: "pro"; }; type Quality = (typeof Quality)[keyof typeof Quality]; }