import type * as Hedra from "../index.js"; /** * Model-specific inputs for `ltx-2-5`. * * Accepted field combinations (one per input mode): * (1) requires: aspect_ratio, audio, prompt; must omit: duration_ms, end_image, generate_audio; accepts resolution: 1080p * (2) requires: aspect_ratio, duration_ms, prompt, resolution, start_image; must omit: audio; accepts quality: fast * (3) requires: aspect_ratio, duration_ms, prompt, resolution; must omit: audio, end_image, start_image; accepts aspect_ratio: 16:9 | 9:16; quality: fast * (4) requires: aspect_ratio, duration_ms, prompt, resolution, start_image; must omit: audio; accepts duration_ms: 6000 | 8000 | 10000; quality: pro; resolution: 1080p | 720p * (5) requires: aspect_ratio, duration_ms, prompt, resolution; must omit: audio, end_image, start_image; accepts aspect_ratio: 16:9 | 9:16; duration_ms: 6000 | 8000 | 10000; quality: pro; resolution: 1080p | 720p */ export interface InputLtx25 { /** Number of outputs generated per job. Only 1 is supported. */ num_outputs?: number | undefined; /** Generation prompt. From 1 to 5000 characters. */ prompt: string; /** Output resolution. */ resolution: InputLtx25.Resolution; /** Output aspect ratio. */ aspect_ratio: InputLtx25.AspectRatio; /** Driving audio. From 2s to 20s and at most 104.8 MB. */ audio?: Hedra.InputLtx25Audio | undefined; /** Start frame. At most 10.4 MB. */ start_image?: Hedra.InputLtx25StartImage | undefined; /** Whether to generate native audio for the video. */ generate_audio?: boolean | undefined; /** Duration in ms. */ duration_ms?: number | undefined; /** End frame. At most 10.4 MB. */ end_image?: Hedra.InputLtx25EndImage | undefined; /** Quality level to generate at. `fast` — tuned for turnaround, and the only level that renders 1440p, 2160p, or clips past 10 seconds. `pro` — the higher-fidelity tier, for final output at 720p or 1080p, and the level that caps both the clip it renders and the audio driving it at 10 seconds. */ quality?: InputLtx25.Quality | undefined; } export declare namespace InputLtx25 { /** Output resolution. */ const Resolution: { readonly OneThousandEightyP: "1080p"; readonly SevenHundredTwentyP: "720p"; readonly OneThousandFourHundredFortyP: "1440p"; readonly TwoThousandOneHundredSixtyP: "2160p"; }; type Resolution = (typeof Resolution)[keyof typeof Resolution]; /** Output aspect ratio. */ const AspectRatio: { readonly Auto: "auto"; readonly Sixteen9: "16:9"; readonly Nine16: "9:16"; }; type AspectRatio = (typeof AspectRatio)[keyof typeof AspectRatio]; /** Quality level to generate at. `fast` — tuned for turnaround, and the only level that renders 1440p, 2160p, or clips past 10 seconds. `pro` — the higher-fidelity tier, for final output at 720p or 1080p, and the level that caps both the clip it renders and the audio driving it at 10 seconds. */ const Quality: { readonly Fast: "fast"; readonly Pro: "pro"; }; type Quality = (typeof Quality)[keyof typeof Quality]; }