import type * as Hedra from "../index.js"; /** * Model-specific inputs for `grok-imagine-20`. */ export interface InputGrokImagine20 { /** Generation prompt. At most 8000 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; /** Images to edit or blend; omit to render from the prompt alone. 1 to 3 images, each at most 30 MB. */ images?: Hedra.InputGrokImagine20ImagesItem[] | undefined; /** Output aspect ratio. */ aspect_ratio: InputGrokImagine20.AspectRatio; /** Output resolution. */ resolution: InputGrokImagine20.Resolution; /** Output image format. */ output_format?: InputGrokImagine20.OutputFormat | undefined; } export declare namespace InputGrokImagine20 { /** Output aspect ratio. */ const AspectRatio: { readonly Two1: "2:1"; readonly Twenty9: "20:9"; readonly Nineteen59: "19.5:9"; readonly Sixteen9: "16:9"; readonly Four3: "4:3"; readonly Three2: "3:2"; readonly One1: "1:1"; readonly Two3: "2:3"; readonly Three4: "3:4"; readonly Nine16: "9:16"; readonly Nine195: "9:19.5"; readonly Nine20: "9:20"; readonly One2: "1:2"; }; type AspectRatio = (typeof AspectRatio)[keyof typeof AspectRatio]; /** Output resolution. */ const Resolution: { readonly OneK: "1k"; readonly TwoK: "2k"; }; 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]; }