import * as z from "zod"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; export type ControlImage = { fileName: string; content: ReadableStream | Blob | ArrayBuffer | Uint8Array; }; export type BodyControlNetGen = { /** * The control image to use as guidance. */ controlImage: ControlImage | Blob; /** * The text prompt to guide the image transformation. */ prompt: string; /** * Configuration scale for the image diffusion process. */ cfgScale?: number | undefined; /** * The scale of conditioning for the control image. */ conditioningScale?: number | undefined; /** * The name of the ControlNet model to use. */ controlNetName?: string | undefined; /** * The height of the generated image. */ height?: number | undefined; /** * The text prompt to guide the image transformation. */ negativePrompt?: 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 ControlImage$inboundSchema: z.ZodType; /** @internal */ export type ControlImage$Outbound = { fileName: string; content: ReadableStream | Blob | ArrayBuffer | Uint8Array; }; /** @internal */ export declare const ControlImage$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 ControlImage$ { /** @deprecated use `ControlImage$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ControlImage$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ControlImage$Outbound` instead. */ type Outbound = ControlImage$Outbound; } export declare function controlImageToJSON(controlImage: ControlImage): string; export declare function controlImageFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const BodyControlNetGen$inboundSchema: z.ZodType; /** @internal */ export type BodyControlNetGen$Outbound = { control_image: ControlImage$Outbound | Blob; prompt: string; cfg_scale?: number | undefined; conditioning_scale?: number | undefined; control_net_name?: string | undefined; height?: number | undefined; negative_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 BodyControlNetGen$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 BodyControlNetGen$ { /** @deprecated use `BodyControlNetGen$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `BodyControlNetGen$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `BodyControlNetGen$Outbound` instead. */ type Outbound = BodyControlNetGen$Outbound; } export declare function bodyControlNetGenToJSON(bodyControlNetGen: BodyControlNetGen): string; export declare function bodyControlNetGenFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=bodycontrolnetgen.d.ts.map