import * as z from "zod"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; export type InitImage = { fileName: string; content: ReadableStream | Blob | ArrayBuffer | Uint8Array; }; export type BodyImage2imageGen = { /** * The initial image to transform. */ initImage: InitImage | Blob; /** * Configuration scale for the image diffusion process. */ cfgScale?: number | undefined; /** * The height of the generated image. */ height?: number | undefined; /** * The strength of the initial image. */ imageStrength?: number | undefined; /** * The mode for initializing the image transformation process. */ initImageMode?: string | undefined; /** * The text prompt to guide the image transformation. */ negativePrompt?: string | undefined; /** * The text prompt to guide the image transformation. */ prompt?: string | undefined; /** * Enable a safety check for each response. */ safetyCheck?: boolean | undefined; /** * The sampler to use for the image generation process. */ sampler?: string | undefined; /** * The number of samples to generate. */ samples?: number | undefined; /** * Random noise seed (omit this option or use `0` for a random seed). */ seed?: number | undefined; /** * The end value for the step schedule. */ stepScheduleEnd?: number | undefined; /** * The start value for the step schedule. */ stepScheduleStart?: number | undefined; /** * Number of diffusion steps to run. */ steps?: number | undefined; /** * The width of the generated image. */ width?: number | undefined; }; /** @internal */ export declare const InitImage$inboundSchema: z.ZodType; /** @internal */ export type InitImage$Outbound = { fileName: string; content: ReadableStream | Blob | ArrayBuffer | Uint8Array; }; /** @internal */ export declare const InitImage$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace InitImage$ { /** @deprecated use `InitImage$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `InitImage$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `InitImage$Outbound` instead. */ type Outbound = InitImage$Outbound; } export declare function initImageToJSON(initImage: InitImage): string; export declare function initImageFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const BodyImage2imageGen$inboundSchema: z.ZodType; /** @internal */ export type BodyImage2imageGen$Outbound = { init_image: InitImage$Outbound | Blob; cfg_scale?: number | undefined; height?: number | undefined; image_strength?: number | undefined; init_image_mode?: string | undefined; negative_prompt?: string | undefined; prompt?: string | undefined; safety_check?: boolean | undefined; sampler?: string | undefined; samples?: number | undefined; seed?: number | undefined; step_schedule_end?: number | undefined; step_schedule_start?: number | undefined; steps?: number | undefined; width?: number | undefined; }; /** @internal */ export declare const BodyImage2imageGen$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace BodyImage2imageGen$ { /** @deprecated use `BodyImage2imageGen$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `BodyImage2imageGen$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `BodyImage2imageGen$Outbound` instead. */ type Outbound = BodyImage2imageGen$Outbound; } export declare function bodyImage2imageGenToJSON(bodyImage2imageGen: BodyImage2imageGen): string; export declare function bodyImage2imageGenFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=bodyimage2imagegen.d.ts.map