/** * Model-specific inputs for `ideogram-v4`. */ export interface InputIdeogramV4 { /** 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; /** Output aspect ratio. */ aspect_ratio: InputIdeogramV4.AspectRatio; /** Output resolution. */ resolution: InputIdeogramV4.Resolution; /** Output image format. */ output_format?: InputIdeogramV4.OutputFormat | undefined; /** Seed for reproducible output; omit for a random seed. */ seed?: number | undefined; /** Quality level to generate at. `turbo` — the least rendering effort, for quick exploration. `balanced` — middle rendering effort, the everyday choice. `quality` — the most rendering effort, for poster-ready text and layout. */ quality?: InputIdeogramV4.Quality | undefined; } export declare namespace InputIdeogramV4 { /** Output aspect ratio. */ const AspectRatio: { readonly Sixteen9: "16:9"; readonly Nine16: "9:16"; readonly Four3: "4:3"; readonly Three4: "3:4"; readonly One1: "1:1"; }; type AspectRatio = (typeof AspectRatio)[keyof typeof AspectRatio]; /** Output resolution. */ const Resolution: { readonly SevenHundredTwentyP: "720p"; readonly OneThousandFourHundredFortyP2KQhd: "1440p (2K QHD)"; readonly TwoThousandOneHundredSixtyP4KUhd: "2160p (4K UHD)"; }; type Resolution = (typeof Resolution)[keyof typeof Resolution]; /** Output image format. */ const OutputFormat: { readonly Jpeg: "jpeg"; readonly Png: "png"; }; type OutputFormat = (typeof OutputFormat)[keyof typeof OutputFormat]; /** Quality level to generate at. `turbo` — the least rendering effort, for quick exploration. `balanced` — middle rendering effort, the everyday choice. `quality` — the most rendering effort, for poster-ready text and layout. */ const Quality: { readonly Turbo: "turbo"; readonly Balanced: "balanced"; readonly Quality: "quality"; }; type Quality = (typeof Quality)[keyof typeof Quality]; }