/** * Model-specific inputs for `flux-dev`. */ export interface InputFluxDev { /** 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: InputFluxDev.AspectRatio; /** Output resolution. */ resolution: InputFluxDev.Resolution; /** Output image format. */ output_format?: InputFluxDev.OutputFormat | undefined; /** Seed for reproducible output; omit for a random seed. */ seed?: number | undefined; /** How closely the model follows the prompt. From 1 to 20. */ guidance_scale?: number | undefined; /** Denoising steps to run. From 1 to 50. */ num_inference_steps?: number | undefined; } export declare namespace InputFluxDev { /** Output aspect ratio. */ const AspectRatio: { readonly One1: "1:1"; readonly One3: "1:3"; readonly Two3: "2:3"; readonly Three1: "3:1"; readonly Three2: "3:2"; readonly Three4: "3:4"; readonly Four3: "4:3"; readonly Sixteen9: "16:9"; readonly Nine16: "9:16"; readonly Ten16: "10:16"; readonly Sixteen10: "16:10"; }; type AspectRatio = (typeof AspectRatio)[keyof typeof AspectRatio]; /** Output resolution. */ const Resolution: { readonly FiveHundredFortyP: "540p"; readonly SevenHundredTwentyP: "720p"; readonly OneThousandEightyP: "1080p"; 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]; }