import type * as Hedra from "../index.js"; /** * Model-specific inputs for `mai-image-2-5`. * * Accepted field combinations (one per input mode): * (1) requires: aspect_ratio, images, prompt * (2) requires: aspect_ratio, prompt; must omit: images */ export interface InputMaiImage25 { /** Generation prompt. From 3 to 5000 characters. */ 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; /** Output aspect ratio. */ aspect_ratio: InputMaiImage25.AspectRatio; /** The single source image to edit. Exactly 1 image, at most 30 MB. */ images?: Hedra.InputMaiImage25ImagesItem[] | undefined; /** Output image format. */ output_format?: InputMaiImage25.OutputFormat | undefined; /** Quality level to generate at. `standard` — photorealistic generation and editing at the base rate. `pro` — the higher-fidelity tier, for final deliverables that need maximum detail and text rendering. */ quality?: InputMaiImage25.Quality | undefined; } export declare namespace InputMaiImage25 { /** Output aspect ratio. */ const AspectRatio: { readonly One1: "1:1"; readonly Four3: "4:3"; readonly Three4: "3:4"; readonly Sixteen9: "16:9"; readonly Nine16: "9:16"; readonly Three2: "3:2"; readonly Two3: "2:3"; }; type AspectRatio = (typeof AspectRatio)[keyof typeof AspectRatio]; /** Output image format. */ const OutputFormat: { readonly Jpeg: "jpeg"; readonly Png: "png"; readonly Webp: "webp"; }; type OutputFormat = (typeof OutputFormat)[keyof typeof OutputFormat]; /** Quality level to generate at. `standard` — photorealistic generation and editing at the base rate. `pro` — the higher-fidelity tier, for final deliverables that need maximum detail and text rendering. */ const Quality: { readonly Standard: "standard"; readonly Pro: "pro"; }; type Quality = (typeof Quality)[keyof typeof Quality]; }