import type * as Hedra from "../index.mjs"; /** * Model-specific inputs for `qwen-image-2-1`. * * Accepted field combinations (one per input mode): * (1) requires: aspect_ratio, images, prompt, resolution * (2) requires: aspect_ratio, prompt, resolution; must omit: images */ export interface InputQwenImage21 { /** Generation prompt. At least 1 character. */ 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: InputQwenImage21.AspectRatio; /** Output resolution. */ resolution: InputQwenImage21.Resolution; /** Output image format. */ output_format?: InputQwenImage21.OutputFormat | undefined; /** What to avoid in the generated image. */ negative_prompt?: string | undefined; /** Images to edit or blend. 1 to 10 images, each at most 30 MB. */ images?: Hedra.InputQwenImage21ImagesItem[] | undefined; /** Seed for reproducible output; omit for a random seed. From 0 to 2147483646. */ seed?: number | undefined; /** How closely the model follows the prompt. From 1 to 10. */ guidance_scale?: number | undefined; } export declare namespace InputQwenImage21 { /** 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 FiveHundredFortyP: "540p"; readonly SevenHundredTwentyP: "720p"; readonly OneThousandEightyP: "1080p"; readonly OneThousandFourHundredFortyP2KQhd: "1440p (2K QHD)"; }; 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]; }