import type * as Hedra from "../index.mjs"; /** * Model-specific inputs for `flux-kontext-pro`. * * Accepted field combinations (one per input mode): * (1) requires: images, prompt; must omit: aspect_ratio, resolution * (2) requires: aspect_ratio, prompt; must omit: images */ export interface InputFluxKontextPro { /** Generation prompt. */ prompt: string; /** Number of outputs generated per job. Only 1 is supported. */ num_outputs?: number | undefined; /** Rewrite the prompt before generation. An LLM expands it into a fuller description and the model receives that text instead of the submitted one; the result's `prompt` reports what ran. */ enhance_prompt?: boolean | undefined; /** The single source image to edit. Exactly 1 image, at most 30 MB. */ images?: Hedra.InputFluxKontextProImagesItem[] | undefined; /** Output image format. */ output_format?: InputFluxKontextPro.OutputFormat | undefined; /** Seed for reproducible output; omit for a random seed. */ seed?: number | undefined; /** Output aspect ratio. */ aspect_ratio?: InputFluxKontextPro.AspectRatio | undefined; /** Output resolution. */ resolution?: InputFluxKontextPro.Resolution | undefined; } export declare namespace InputFluxKontextPro { /** Output image format. */ const OutputFormat: { readonly Jpeg: "jpeg"; readonly Png: "png"; }; type OutputFormat = (typeof OutputFormat)[keyof typeof OutputFormat]; /** Output aspect ratio. */ const AspectRatio: { readonly Sixteen9: "16:9"; readonly Nine16: "9:16"; readonly One1: "1:1"; readonly Four3: "4:3"; readonly Three4: "3:4"; readonly TwentyOne9: "21:9"; readonly Nine21: "9:21"; readonly Three2: "3:2"; readonly Two3: "2:3"; }; type AspectRatio = (typeof AspectRatio)[keyof typeof AspectRatio]; /** Output resolution. */ const Resolution: { readonly Fixed: "fixed"; }; type Resolution = (typeof Resolution)[keyof typeof Resolution]; }