/** * @license * Copyright 2025 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ export declare const AspectRatioSchema: { readonly type: "string"; readonly title: "Aspect Ratio"; readonly description: "Output image aspect ratio. Mapped per-provider to the nearest supported size."; readonly enum: readonly ["1:1", "16:9", "9:16", "4:3", "3:4"]; readonly default: "1:1"; }; export declare const QualitySchema: { readonly type: "string"; readonly title: "Quality"; readonly description: "Generation quality. Only honored by providers that support it (gpt-image-2)."; readonly enum: readonly ["low", "medium", "high"]; readonly "x-ui-group": "Configuration"; }; /** * Properties shared by ImageGenerateTask and ImageEditTask. Inlined into each * task's input schema (rather than referenced via $ref) to keep the per-task * schema simple to inspect and serialize. */ export declare const AiImageOptionsProperties: { readonly aspectRatio: { readonly type: "string"; readonly title: "Aspect Ratio"; readonly description: "Output image aspect ratio. Mapped per-provider to the nearest supported size."; readonly enum: readonly ["1:1", "16:9", "9:16", "4:3", "3:4"]; readonly default: "1:1"; }; readonly quality: { readonly type: "string"; readonly title: "Quality"; readonly description: "Generation quality. Only honored by providers that support it (gpt-image-2)."; readonly enum: readonly ["low", "medium", "high"]; readonly "x-ui-group": "Configuration"; }; readonly seed: { readonly type: "number"; readonly title: "Seed"; readonly description: "Random seed for reproducibility. When unset, results are non-deterministic and the task is treated as not cacheable."; readonly "x-ui-group": "Configuration"; }; readonly negativePrompt: { readonly type: "string"; readonly title: "Negative Prompt"; readonly description: "What the model should avoid. Honored by providers that support it (Imagen, HF diffusion models)."; readonly "x-ui-group": "Configuration"; }; readonly providerOptions: { readonly type: "object"; readonly title: "Provider Options"; readonly description: "Provider-specific options that don't normalize across providers (e.g., DALL-E style, HF guidance scale)."; readonly additionalProperties: true; readonly "x-ui-group": "Advanced"; }; }; /** * Output schema shared by ImageGenerateTask and ImageEditTask. Marked with * x-stream: "replace" so each provider snapshot replaces the prior partial. */ export declare const AiImageOutputSchema: { readonly type: "object"; readonly properties: { readonly image: { readonly oneOf: readonly [{ readonly type: "string"; readonly format: "image:data-uri"; }, { readonly type: "object"; readonly format: "image"; }]; readonly title: "Image"; readonly description: "Image"; readonly format: "image"; }; }; readonly required: readonly ["image"]; readonly additionalProperties: false; }; //# sourceMappingURL=AiImageSchemas.d.ts.map