123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325import * as SDModels from './SDModels.ts';
export interface SDClient { /** * get / * Main */ $get(): Promise<string>; /** * head / * Main */ $head(): Promise<string>; /* Path: /user */ user: { /** * get /user * Get Current User */ $get(): Promise<unknown>; }; /* Path: /login_check */ login_check: { /** * get /login_check * Login Check */ $get(): Promise<unknown>; }; /* Path: /token */ token: { /** * get /token * Get Token */ $get(): Promise<unknown>; }; /* Path: /app_id */ app_id: { /** * get /app_id * App Id */ $get(): Promise<unknown>; }; /* Path: /login */ login: { /** * post /login * Login */ $postx(body: SDModels.Body_login_login_post): Promise<unknown>; }; /* Path: /config */ config: { /** * get /config * Get Config */ $get(): Promise<unknown>; }; /* Path: /static */ static: { /* Path: /static/{path} */ "$"(path: string): { /** * get /static/{path} * Static Resource */ $get(): Promise<unknown>; }; }; /* Path: /assets */ assets: { /* Path: /assets/{path} */ "$"(path: string): { /** * get /assets/{path} * Build Resource */ $get(): Promise<unknown>; }; }; /* Path: /file={path} */ "$file="(path: string): { /** * get /file={path} * File */ $get(): Promise<unknown>; }; /* Path: /file */ file: { /* Path: /file/{path} */ "$"(path: string): { /** * get /file/{path} * File Deprecated */ $get(): Promise<unknown>; }; }; /* Path: /reset */ reset: { /** * post /reset * Reset Iterator */ $post(body: SDModels.ResetBody): Promise<unknown>; }; /* Path: /api */ api: { /* Path: /api/{api_name} */ "$"(api_name: string): { /** * post /api/{api_name} * Predict */ $post(body: SDModels.PredictBody): Promise<unknown>; }; }; /* Path: /run */ run: { /* Path: /run/{api_name} */ "$"(api_name: string): { /** * post /run/{api_name} * Predict */ $post(body: SDModels.PredictBody): Promise<unknown>; }; }; /* Path: /queue */ queue: { /* Path: /queue/status */ status: { /** * get /queue/status * Get Queue Status */ $get(): Promise<SDModels.Estimation>; }; }; /* Path: /startup-events */ "startup-events": { /** * get /startup-events * Startup Events */ $get(): Promise<unknown>; }; /* Path: /sdapi */ sdapi: { /* Path: /sdapi/v1 */ v1: { /* Path: /sdapi/v1/txt2img */ txt2img: { /** * post /sdapi/v1/txt2img * Text2Imgapi */ $post(body: SDModels.StableDiffusionProcessingTxt2Img): Promise<SDModels.TextToImageResponse>; }; /* Path: /sdapi/v1/img2img */ img2img: { /** * post /sdapi/v1/img2img * Img2Imgapi */ $post(body: SDModels.StableDiffusionProcessingImg2Img): Promise<SDModels.ImageToImageResponse>; }; /* Path: /sdapi/v1/extra-single-image */ "extra-single-image": { /** * post /sdapi/v1/extra-single-image * Extras Single Image Api */ $post(body: SDModels.ExtrasSingleImageRequest): Promise<SDModels.ExtrasSingleImageResponse>; }; /* Path: /sdapi/v1/extra-batch-images */ "extra-batch-images": { /** * post /sdapi/v1/extra-batch-images * Extras Batch Images Api */ $post(body: SDModels.ExtrasBatchImagesRequest): Promise<SDModels.ExtrasBatchImagesResponse>; }; /* Path: /sdapi/v1/png-info */ "png-info": { /** * post /sdapi/v1/png-info * Pnginfoapi */ $post(body: SDModels.PNGInfoRequest): Promise<SDModels.PNGInfoResponse>; }; /* Path: /sdapi/v1/progress */ progress: { /** * get /sdapi/v1/progress * Progressapi */ $get(): Promise<SDModels.ProgressResponse>; }; /* Path: /sdapi/v1/interrogate */ interrogate: { /** * post /sdapi/v1/interrogate * Interrogateapi */ $post(body: SDModels.InterrogateRequest): Promise<unknown>; }; /* Path: /sdapi/v1/interrupt */ interrupt: { /** * post /sdapi/v1/interrupt * Interruptapi */ $post(): Promise<unknown>; }; /* Path: /sdapi/v1/skip */ skip: { /** * post /sdapi/v1/skip * Skip */ $post(): Promise<unknown>; }; /* Path: /sdapi/v1/options */ options: { /** * get /sdapi/v1/options * Get Config */ $get(): Promise<SDModels.Options>; /** * post /sdapi/v1/options * Set Config */ // deno-lint-ignore no-explicit-any $post(body: any): Promise<unknown>; }; /* Path: /sdapi/v1/cmd-flags */ "cmd-flags": { /** * get /sdapi/v1/cmd-flags * Get Cmd Flags */ $get(): Promise<SDModels.Flags>; }; /* Path: /sdapi/v1/samplers */ samplers: { /** * get /sdapi/v1/samplers * Get Samplers */ $get(): Promise<Array<SDModels.SamplerItem>>; }; /* Path: /sdapi/v1/upscalers */ upscalers: { /** * get /sdapi/v1/upscalers * Get Upscalers */ $get(): Promise<Array<SDModels.UpscalerItem>>; }; /* Path: /sdapi/v1/sd-models */ "sd-models": { /** * get /sdapi/v1/sd-models * Get Sd Models */ $get(): Promise<Array<SDModels.SDModelItem>>; }; /* Path: /sdapi/v1/hypernetworks */ hypernetworks: { /** * get /sdapi/v1/hypernetworks * Get Hypernetworks */ $get(): Promise<Array<SDModels.HypernetworkItem>>; }; /* Path: /sdapi/v1/face-restorers */ "face-restorers": { /** * get /sdapi/v1/face-restorers * Get Face Restorers */ $get(): Promise<Array<SDModels.FaceRestorerItem>>; }; /* Path: /sdapi/v1/realesrgan-models */ "realesrgan-models": { /** * get /sdapi/v1/realesrgan-models * Get Realesrgan Models */ $get(): Promise<Array<SDModels.RealesrganItem>>; }; /* Path: /sdapi/v1/prompt-styles */ "prompt-styles": { /** * get /sdapi/v1/prompt-styles * Get Promp Styles */ $get(): Promise<Array<SDModels.PromptStyleItem>>; }; /* Path: /sdapi/v1/artist-categories */ "artist-categories": { /** * get /sdapi/v1/artist-categories * Get Artists Categories */ $get(): Promise<Array<string>>; }; /* Path: /sdapi/v1/artists */ artists: { /** * get /sdapi/v1/artists * Get Artists */ $get(): Promise<Array<SDModels.ArtistItem>>; }; }; };}