import type * as Hedra from "../index.js"; /** * Model-specific inputs for `gpt-image-15`. * * Accepted field combinations (one per input mode): * (1) requires: aspect_ratio, images, prompt * (2) requires: aspect_ratio, prompt; must omit: images */ export interface InputGptImage15 { /** Generation prompt. At most 32000 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: InputGptImage15.AspectRatio; /** Output resolution. */ resolution?: InputGptImage15.Resolution | undefined; /** Images to edit or blend. 1 to 16 images, each at most 30 MB. */ images?: Hedra.InputGptImage15ImagesItem[] | undefined; /** Output image format. */ output_format?: InputGptImage15.OutputFormat | undefined; } export declare namespace InputGptImage15 { /** Output aspect ratio. */ const AspectRatio: { readonly One1: "1:1"; 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]; /** Output image format. */ const OutputFormat: { readonly Jpeg: "jpeg"; readonly Png: "png"; readonly Webp: "webp"; }; type OutputFormat = (typeof OutputFormat)[keyof typeof OutputFormat]; }