Documentation
¶
Overview ¶
Package gen provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen/v2 version v2.1.0 DO NOT EDIT.
Index ¶
- func NewApiInfoInfoGetRequest(server string, params *ApiInfoInfoGetParams) (*http.Request, error)
- func NewAppIdAppIdGetRequest(server string) (*http.Request, error)
- func NewBuildResourceAssetsPathGetRequest(server string, path string) (*http.Request, error)
- func NewCreateEmbeddingSdapiV1CreateEmbeddingPostRequest(server string, body CreateEmbeddingSdapiV1CreateEmbeddingPostJSONRequestBody) (*http.Request, error)
- func NewCreateEmbeddingSdapiV1CreateEmbeddingPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateHypernetworkSdapiV1CreateHypernetworkPostRequest(server string, ...) (*http.Request, error)
- func NewCreateHypernetworkSdapiV1CreateHypernetworkPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDownloadSysinfoInternalSysinfoGetRequest(server string, params *DownloadSysinfoInternalSysinfoGetParams) (*http.Request, error)
- func NewExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostRequest(server string, ...) (*http.Request, error)
- func NewExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewExtrasSingleImageApiSdapiV1ExtraSingleImagePostRequest(server string, ...) (*http.Request, error)
- func NewExtrasSingleImageApiSdapiV1ExtraSingleImagePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewFaviconFaviconIcoGetRequest(server string) (*http.Request, error)
- func NewFetchFileSdExtraNetworksThumbGetRequest(server string, params *FetchFileSdExtraNetworksThumbGetParams) (*http.Request, error)
- func NewFileDeprecatedFilePathGetRequest(server string, path string) (*http.Request, error)
- func NewFileFilePathOrUrlGetRequest(server string, pathOrUrl string) (*http.Request, error)
- func NewFileFilePathOrUrlHeadRequest(server string, pathOrUrl string) (*http.Request, error)
- func NewGetCmdFlagsSdapiV1CmdFlagsGetRequest(server string) (*http.Request, error)
- func NewGetConfigConfigGetRequest(server string) (*http.Request, error)
- func NewGetConfigSdapiV1OptionsGetRequest(server string) (*http.Request, error)
- func NewGetCurrentUserUserGetRequest(server string) (*http.Request, error)
- func NewGetEmbeddingsSdapiV1EmbeddingsGetRequest(server string) (*http.Request, error)
- func NewGetExtensionsListSdapiV1ExtensionsGetRequest(server string) (*http.Request, error)
- func NewGetFaceRestorersSdapiV1FaceRestorersGetRequest(server string) (*http.Request, error)
- func NewGetHypernetworksSdapiV1HypernetworksGetRequest(server string) (*http.Request, error)
- func NewGetLatentUpscaleModesSdapiV1LatentUpscaleModesGetRequest(server string) (*http.Request, error)
- func NewGetLorasSdapiV1LorasGetRequest(server string) (*http.Request, error)
- func NewGetMemorySdapiV1MemoryGetRequest(server string) (*http.Request, error)
- func NewGetMetadataSdExtraNetworksMetadataGetRequest(server string, params *GetMetadataSdExtraNetworksMetadataGetParams) (*http.Request, error)
- func NewGetPromptStylesSdapiV1PromptStylesGetRequest(server string) (*http.Request, error)
- func NewGetQueueStatusQueueStatusGetRequest(server string) (*http.Request, error)
- func NewGetRealesrganModelsSdapiV1RealesrganModelsGetRequest(server string) (*http.Request, error)
- func NewGetSamplersSdapiV1SamplersGetRequest(server string) (*http.Request, error)
- func NewGetScriptInfoSdapiV1ScriptInfoGetRequest(server string) (*http.Request, error)
- func NewGetScriptsListSdapiV1ScriptsGetRequest(server string) (*http.Request, error)
- func NewGetSdModelsSdapiV1SdModelsGetRequest(server string) (*http.Request, error)
- func NewGetSdVaesSdapiV1SdVaeGetRequest(server string) (*http.Request, error)
- func NewGetSingleCardSdExtraNetworksGetSingleCardGetRequest(server string, params *GetSingleCardSdExtraNetworksGetSingleCardGetParams) (*http.Request, error)
- func NewGetTokenTokenGetRequest(server string) (*http.Request, error)
- func NewGetUpscalersSdapiV1UpscalersGetRequest(server string) (*http.Request, error)
- func NewImg2imgapiSdapiV1Img2imgPostRequest(server string, body Img2imgapiSdapiV1Img2imgPostJSONRequestBody) (*http.Request, error)
- func NewImg2imgapiSdapiV1Img2imgPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewInterrogateapiSdapiV1InterrogatePostRequest(server string, body InterrogateapiSdapiV1InterrogatePostJSONRequestBody) (*http.Request, error)
- func NewInterrogateapiSdapiV1InterrogatePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewInterruptapiSdapiV1InterruptPostRequest(server string) (*http.Request, error)
- func NewLambdaInternalPingGetRequest(server string) (*http.Request, error)
- func NewLambdaInternalProfileStartupGetRequest(server string) (*http.Request, error)
- func NewLambdaInternalSysinfoDownloadGetRequest(server string) (*http.Request, error)
- func NewLoginCheckLoginCheckGetRequest(server string) (*http.Request, error)
- func NewLoginLoginPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewLoginLoginPostRequestWithFormdataBody(server string, body LoginLoginPostFormdataRequestBody) (*http.Request, error)
- func NewMainGetRequest(server string) (*http.Request, error)
- func NewMainHeadRequest(server string) (*http.Request, error)
- func NewPnginfoapiSdapiV1PngInfoPostRequest(server string, body PnginfoapiSdapiV1PngInfoPostJSONRequestBody) (*http.Request, error)
- func NewPnginfoapiSdapiV1PngInfoPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPredictApiApiNamePostRequest(server string, apiName string, body PredictApiApiNamePostJSONRequestBody) (*http.Request, error)
- func NewPredictApiApiNamePostRequestWithBody(server string, apiName string, contentType string, body io.Reader) (*http.Request, error)
- func NewPredictRunApiNamePostRequest(server string, apiName string, body PredictRunApiNamePostJSONRequestBody) (*http.Request, error)
- func NewPredictRunApiNamePostRequestWithBody(server string, apiName string, contentType string, body io.Reader) (*http.Request, error)
- func NewProgressapiInternalProgressPostRequest(server string, body ProgressapiInternalProgressPostJSONRequestBody) (*http.Request, error)
- func NewProgressapiInternalProgressPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewProgressapiSdapiV1ProgressGetRequest(server string, params *ProgressapiSdapiV1ProgressGetParams) (*http.Request, error)
- func NewQuicksettingsHintInternalQuicksettingsHintGetRequest(server string) (*http.Request, error)
- func NewRefreshCheckpointsSdapiV1RefreshCheckpointsPostRequest(server string) (*http.Request, error)
- func NewRefreshLorasSdapiV1RefreshLorasPostRequest(server string) (*http.Request, error)
- func NewRefreshVaeSdapiV1RefreshVaePostRequest(server string) (*http.Request, error)
- func NewReloadapiSdapiV1ReloadCheckpointPostRequest(server string) (*http.Request, error)
- func NewResetIteratorResetPostRequest(server string, body ResetIteratorResetPostJSONRequestBody) (*http.Request, error)
- func NewResetIteratorResetPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewReverseProxyProxyUrlPathGetRequest(server string, urlPath string) (*http.Request, error)
- func NewReverseProxyProxyUrlPathHeadRequest(server string, urlPath string) (*http.Request, error)
- func NewRobotsTxtRobotsTxtGetRequest(server string) (*http.Request, error)
- func NewSetConfigSdapiV1OptionsPostRequest(server string, body SetConfigSdapiV1OptionsPostJSONRequestBody) (*http.Request, error)
- func NewSetConfigSdapiV1OptionsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSkipSdapiV1SkipPostRequest(server string) (*http.Request, error)
- func NewStartupEventsStartupEventsGetRequest(server string) (*http.Request, error)
- func NewStaticResourceStaticPathGetRequest(server string, path string) (*http.Request, error)
- func NewStreamStreamSessionHashRunComponentIdGetRequest(server string, sessionHash string, run int, componentId int) (*http.Request, error)
- func NewText2imgapiSdapiV1Txt2imgPostRequest(server string, body Text2imgapiSdapiV1Txt2imgPostJSONRequestBody) (*http.Request, error)
- func NewText2imgapiSdapiV1Txt2imgPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewThemeCssThemeCssGetRequest(server string) (*http.Request, error)
- func NewTrainEmbeddingSdapiV1TrainEmbeddingPostRequest(server string, body TrainEmbeddingSdapiV1TrainEmbeddingPostJSONRequestBody) (*http.Request, error)
- func NewTrainEmbeddingSdapiV1TrainEmbeddingPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTrainHypernetworkSdapiV1TrainHypernetworkPostRequest(server string, ...) (*http.Request, error)
- func NewTrainHypernetworkSdapiV1TrainHypernetworkPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUnloadapiSdapiV1UnloadCheckpointPostRequest(server string) (*http.Request, error)
- func NewUploadFileUploadPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- type ApiInfoInfoGetParams
- type ApiInfoInfoGetResponse
- type AppIdAppIdGetResponse
- type BodyLoginLoginPost1
- type BodyUploadFileUploadPost
- type BuildResourceAssetsPathGetResponse
- type Client
- func (c *Client) ApiInfoInfoGet(ctx context.Context, params *ApiInfoInfoGetParams, ...) (*http.Response, error)
- func (c *Client) AppIdAppIdGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) BuildResourceAssetsPathGet(ctx context.Context, path string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CreateEmbeddingSdapiV1CreateEmbeddingPost(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) CreateEmbeddingSdapiV1CreateEmbeddingPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateHypernetworkSdapiV1CreateHypernetworkPost(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) CreateHypernetworkSdapiV1CreateHypernetworkPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DownloadSysinfoInternalSysinfoGet(ctx context.Context, params *DownloadSysinfoInternalSysinfoGetParams, ...) (*http.Response, error)
- func (c *Client) ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPost(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ExtrasSingleImageApiSdapiV1ExtraSingleImagePost(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) ExtrasSingleImageApiSdapiV1ExtraSingleImagePostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) FaviconFaviconIcoGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) FetchFileSdExtraNetworksThumbGet(ctx context.Context, params *FetchFileSdExtraNetworksThumbGetParams, ...) (*http.Response, error)
- func (c *Client) FileDeprecatedFilePathGet(ctx context.Context, path string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) FileFilePathOrUrlGet(ctx context.Context, pathOrUrl string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) FileFilePathOrUrlHead(ctx context.Context, pathOrUrl string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCmdFlagsSdapiV1CmdFlagsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetConfigConfigGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetConfigSdapiV1OptionsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCurrentUserUserGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEmbeddingsSdapiV1EmbeddingsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetExtensionsListSdapiV1ExtensionsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFaceRestorersSdapiV1FaceRestorersGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetHypernetworksSdapiV1HypernetworksGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetLatentUpscaleModesSdapiV1LatentUpscaleModesGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetLorasSdapiV1LorasGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMemorySdapiV1MemoryGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMetadataSdExtraNetworksMetadataGet(ctx context.Context, params *GetMetadataSdExtraNetworksMetadataGetParams, ...) (*http.Response, error)
- func (c *Client) GetPromptStylesSdapiV1PromptStylesGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetQueueStatusQueueStatusGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetRealesrganModelsSdapiV1RealesrganModelsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSamplersSdapiV1SamplersGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetScriptInfoSdapiV1ScriptInfoGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetScriptsListSdapiV1ScriptsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSdModelsSdapiV1SdModelsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSdVaesSdapiV1SdVaeGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSingleCardSdExtraNetworksGetSingleCardGet(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) GetTokenTokenGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUpscalersSdapiV1UpscalersGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Img2imgapiSdapiV1Img2imgPost(ctx context.Context, body Img2imgapiSdapiV1Img2imgPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) Img2imgapiSdapiV1Img2imgPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) InterrogateapiSdapiV1InterrogatePost(ctx context.Context, body InterrogateapiSdapiV1InterrogatePostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) InterrogateapiSdapiV1InterrogatePostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) InterruptapiSdapiV1InterruptPost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LambdaInternalPingGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LambdaInternalProfileStartupGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LambdaInternalSysinfoDownloadGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LoginCheckLoginCheckGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LoginLoginPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) LoginLoginPostWithFormdataBody(ctx context.Context, body LoginLoginPostFormdataRequestBody, ...) (*http.Response, error)
- func (c *Client) MainGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MainHead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PnginfoapiSdapiV1PngInfoPost(ctx context.Context, body PnginfoapiSdapiV1PngInfoPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PnginfoapiSdapiV1PngInfoPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PredictApiApiNamePost(ctx context.Context, apiName string, body PredictApiApiNamePostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PredictApiApiNamePostWithBody(ctx context.Context, apiName string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PredictRunApiNamePost(ctx context.Context, apiName string, body PredictRunApiNamePostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PredictRunApiNamePostWithBody(ctx context.Context, apiName string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ProgressapiInternalProgressPost(ctx context.Context, body ProgressapiInternalProgressPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ProgressapiInternalProgressPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ProgressapiSdapiV1ProgressGet(ctx context.Context, params *ProgressapiSdapiV1ProgressGetParams, ...) (*http.Response, error)
- func (c *Client) QuicksettingsHintInternalQuicksettingsHintGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RefreshCheckpointsSdapiV1RefreshCheckpointsPost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RefreshLorasSdapiV1RefreshLorasPost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RefreshVaeSdapiV1RefreshVaePost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ReloadapiSdapiV1ReloadCheckpointPost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ResetIteratorResetPost(ctx context.Context, body ResetIteratorResetPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ResetIteratorResetPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ReverseProxyProxyUrlPathGet(ctx context.Context, urlPath string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ReverseProxyProxyUrlPathHead(ctx context.Context, urlPath string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RobotsTxtRobotsTxtGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SetConfigSdapiV1OptionsPost(ctx context.Context, body SetConfigSdapiV1OptionsPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SetConfigSdapiV1OptionsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SkipSdapiV1SkipPost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) StartupEventsStartupEventsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) StaticResourceStaticPathGet(ctx context.Context, path string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) StreamStreamSessionHashRunComponentIdGet(ctx context.Context, sessionHash string, run int, componentId int, ...) (*http.Response, error)
- func (c *Client) Text2imgapiSdapiV1Txt2imgPost(ctx context.Context, body Text2imgapiSdapiV1Txt2imgPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) Text2imgapiSdapiV1Txt2imgPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ThemeCssThemeCssGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TrainEmbeddingSdapiV1TrainEmbeddingPost(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) TrainEmbeddingSdapiV1TrainEmbeddingPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TrainHypernetworkSdapiV1TrainHypernetworkPost(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) TrainHypernetworkSdapiV1TrainHypernetworkPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UnloadapiSdapiV1UnloadCheckpointPost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UploadFileUploadPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) ApiInfoInfoGetWithResponse(ctx context.Context, params *ApiInfoInfoGetParams, ...) (*ApiInfoInfoGetResponse, error)
- func (c *ClientWithResponses) AppIdAppIdGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppIdAppIdGetResponse, error)
- func (c *ClientWithResponses) BuildResourceAssetsPathGetWithResponse(ctx context.Context, path string, reqEditors ...RequestEditorFn) (*BuildResourceAssetsPathGetResponse, error)
- func (c *ClientWithResponses) CreateEmbeddingSdapiV1CreateEmbeddingPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateEmbeddingSdapiV1CreateEmbeddingPostResponse, error)
- func (c *ClientWithResponses) CreateEmbeddingSdapiV1CreateEmbeddingPostWithResponse(ctx context.Context, ...) (*CreateEmbeddingSdapiV1CreateEmbeddingPostResponse, error)
- func (c *ClientWithResponses) CreateHypernetworkSdapiV1CreateHypernetworkPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateHypernetworkSdapiV1CreateHypernetworkPostResponse, error)
- func (c *ClientWithResponses) CreateHypernetworkSdapiV1CreateHypernetworkPostWithResponse(ctx context.Context, ...) (*CreateHypernetworkSdapiV1CreateHypernetworkPostResponse, error)
- func (c *ClientWithResponses) DownloadSysinfoInternalSysinfoGetWithResponse(ctx context.Context, params *DownloadSysinfoInternalSysinfoGetParams, ...) (*DownloadSysinfoInternalSysinfoGetResponse, error)
- func (c *ClientWithResponses) ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostResponse, error)
- func (c *ClientWithResponses) ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostWithResponse(ctx context.Context, ...) (*ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostResponse, error)
- func (c *ClientWithResponses) ExtrasSingleImageApiSdapiV1ExtraSingleImagePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ExtrasSingleImageApiSdapiV1ExtraSingleImagePostResponse, error)
- func (c *ClientWithResponses) ExtrasSingleImageApiSdapiV1ExtraSingleImagePostWithResponse(ctx context.Context, ...) (*ExtrasSingleImageApiSdapiV1ExtraSingleImagePostResponse, error)
- func (c *ClientWithResponses) FaviconFaviconIcoGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*FaviconFaviconIcoGetResponse, error)
- func (c *ClientWithResponses) FetchFileSdExtraNetworksThumbGetWithResponse(ctx context.Context, params *FetchFileSdExtraNetworksThumbGetParams, ...) (*FetchFileSdExtraNetworksThumbGetResponse, error)
- func (c *ClientWithResponses) FileDeprecatedFilePathGetWithResponse(ctx context.Context, path string, reqEditors ...RequestEditorFn) (*FileDeprecatedFilePathGetResponse, error)
- func (c *ClientWithResponses) FileFilePathOrUrlGetWithResponse(ctx context.Context, pathOrUrl string, reqEditors ...RequestEditorFn) (*FileFilePathOrUrlGetResponse, error)
- func (c *ClientWithResponses) FileFilePathOrUrlHeadWithResponse(ctx context.Context, pathOrUrl string, reqEditors ...RequestEditorFn) (*FileFilePathOrUrlHeadResponse, error)
- func (c *ClientWithResponses) GetCmdFlagsSdapiV1CmdFlagsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCmdFlagsSdapiV1CmdFlagsGetResponse, error)
- func (c *ClientWithResponses) GetConfigConfigGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConfigConfigGetResponse, error)
- func (c *ClientWithResponses) GetConfigSdapiV1OptionsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConfigSdapiV1OptionsGetResponse, error)
- func (c *ClientWithResponses) GetCurrentUserUserGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserUserGetResponse, error)
- func (c *ClientWithResponses) GetEmbeddingsSdapiV1EmbeddingsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEmbeddingsSdapiV1EmbeddingsGetResponse, error)
- func (c *ClientWithResponses) GetExtensionsListSdapiV1ExtensionsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetExtensionsListSdapiV1ExtensionsGetResponse, error)
- func (c *ClientWithResponses) GetFaceRestorersSdapiV1FaceRestorersGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFaceRestorersSdapiV1FaceRestorersGetResponse, error)
- func (c *ClientWithResponses) GetHypernetworksSdapiV1HypernetworksGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHypernetworksSdapiV1HypernetworksGetResponse, error)
- func (c *ClientWithResponses) GetLatentUpscaleModesSdapiV1LatentUpscaleModesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLatentUpscaleModesSdapiV1LatentUpscaleModesGetResponse, error)
- func (c *ClientWithResponses) GetLorasSdapiV1LorasGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLorasSdapiV1LorasGetResponse, error)
- func (c *ClientWithResponses) GetMemorySdapiV1MemoryGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMemorySdapiV1MemoryGetResponse, error)
- func (c *ClientWithResponses) GetMetadataSdExtraNetworksMetadataGetWithResponse(ctx context.Context, params *GetMetadataSdExtraNetworksMetadataGetParams, ...) (*GetMetadataSdExtraNetworksMetadataGetResponse, error)
- func (c *ClientWithResponses) GetPromptStylesSdapiV1PromptStylesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPromptStylesSdapiV1PromptStylesGetResponse, error)
- func (c *ClientWithResponses) GetQueueStatusQueueStatusGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetQueueStatusQueueStatusGetResponse, error)
- func (c *ClientWithResponses) GetRealesrganModelsSdapiV1RealesrganModelsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetRealesrganModelsSdapiV1RealesrganModelsGetResponse, error)
- func (c *ClientWithResponses) GetSamplersSdapiV1SamplersGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSamplersSdapiV1SamplersGetResponse, error)
- func (c *ClientWithResponses) GetScriptInfoSdapiV1ScriptInfoGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetScriptInfoSdapiV1ScriptInfoGetResponse, error)
- func (c *ClientWithResponses) GetScriptsListSdapiV1ScriptsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetScriptsListSdapiV1ScriptsGetResponse, error)
- func (c *ClientWithResponses) GetSdModelsSdapiV1SdModelsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSdModelsSdapiV1SdModelsGetResponse, error)
- func (c *ClientWithResponses) GetSdVaesSdapiV1SdVaeGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSdVaesSdapiV1SdVaeGetResponse, error)
- func (c *ClientWithResponses) GetSingleCardSdExtraNetworksGetSingleCardGetWithResponse(ctx context.Context, ...) (*GetSingleCardSdExtraNetworksGetSingleCardGetResponse, error)
- func (c *ClientWithResponses) GetTokenTokenGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTokenTokenGetResponse, error)
- func (c *ClientWithResponses) GetUpscalersSdapiV1UpscalersGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUpscalersSdapiV1UpscalersGetResponse, error)
- func (c *ClientWithResponses) Img2imgapiSdapiV1Img2imgPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*Img2imgapiSdapiV1Img2imgPostResponse, error)
- func (c *ClientWithResponses) Img2imgapiSdapiV1Img2imgPostWithResponse(ctx context.Context, body Img2imgapiSdapiV1Img2imgPostJSONRequestBody, ...) (*Img2imgapiSdapiV1Img2imgPostResponse, error)
- func (c *ClientWithResponses) InterrogateapiSdapiV1InterrogatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*InterrogateapiSdapiV1InterrogatePostResponse, error)
- func (c *ClientWithResponses) InterrogateapiSdapiV1InterrogatePostWithResponse(ctx context.Context, body InterrogateapiSdapiV1InterrogatePostJSONRequestBody, ...) (*InterrogateapiSdapiV1InterrogatePostResponse, error)
- func (c *ClientWithResponses) InterruptapiSdapiV1InterruptPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*InterruptapiSdapiV1InterruptPostResponse, error)
- func (c *ClientWithResponses) LambdaInternalPingGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LambdaInternalPingGetResponse, error)
- func (c *ClientWithResponses) LambdaInternalProfileStartupGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LambdaInternalProfileStartupGetResponse, error)
- func (c *ClientWithResponses) LambdaInternalSysinfoDownloadGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LambdaInternalSysinfoDownloadGetResponse, error)
- func (c *ClientWithResponses) LoginCheckLoginCheckGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LoginCheckLoginCheckGetResponse, error)
- func (c *ClientWithResponses) LoginLoginPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*LoginLoginPostResponse, error)
- func (c *ClientWithResponses) LoginLoginPostWithFormdataBodyWithResponse(ctx context.Context, body LoginLoginPostFormdataRequestBody, ...) (*LoginLoginPostResponse, error)
- func (c *ClientWithResponses) MainGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MainGetResponse, error)
- func (c *ClientWithResponses) MainHeadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MainHeadResponse, error)
- func (c *ClientWithResponses) PnginfoapiSdapiV1PngInfoPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PnginfoapiSdapiV1PngInfoPostResponse, error)
- func (c *ClientWithResponses) PnginfoapiSdapiV1PngInfoPostWithResponse(ctx context.Context, body PnginfoapiSdapiV1PngInfoPostJSONRequestBody, ...) (*PnginfoapiSdapiV1PngInfoPostResponse, error)
- func (c *ClientWithResponses) PredictApiApiNamePostWithBodyWithResponse(ctx context.Context, apiName string, contentType string, body io.Reader, ...) (*PredictApiApiNamePostResponse, error)
- func (c *ClientWithResponses) PredictApiApiNamePostWithResponse(ctx context.Context, apiName string, body PredictApiApiNamePostJSONRequestBody, ...) (*PredictApiApiNamePostResponse, error)
- func (c *ClientWithResponses) PredictRunApiNamePostWithBodyWithResponse(ctx context.Context, apiName string, contentType string, body io.Reader, ...) (*PredictRunApiNamePostResponse, error)
- func (c *ClientWithResponses) PredictRunApiNamePostWithResponse(ctx context.Context, apiName string, body PredictRunApiNamePostJSONRequestBody, ...) (*PredictRunApiNamePostResponse, error)
- func (c *ClientWithResponses) ProgressapiInternalProgressPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ProgressapiInternalProgressPostResponse, error)
- func (c *ClientWithResponses) ProgressapiInternalProgressPostWithResponse(ctx context.Context, body ProgressapiInternalProgressPostJSONRequestBody, ...) (*ProgressapiInternalProgressPostResponse, error)
- func (c *ClientWithResponses) ProgressapiSdapiV1ProgressGetWithResponse(ctx context.Context, params *ProgressapiSdapiV1ProgressGetParams, ...) (*ProgressapiSdapiV1ProgressGetResponse, error)
- func (c *ClientWithResponses) QuicksettingsHintInternalQuicksettingsHintGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*QuicksettingsHintInternalQuicksettingsHintGetResponse, error)
- func (c *ClientWithResponses) RefreshCheckpointsSdapiV1RefreshCheckpointsPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshCheckpointsSdapiV1RefreshCheckpointsPostResponse, error)
- func (c *ClientWithResponses) RefreshLorasSdapiV1RefreshLorasPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshLorasSdapiV1RefreshLorasPostResponse, error)
- func (c *ClientWithResponses) RefreshVaeSdapiV1RefreshVaePostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshVaeSdapiV1RefreshVaePostResponse, error)
- func (c *ClientWithResponses) ReloadapiSdapiV1ReloadCheckpointPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReloadapiSdapiV1ReloadCheckpointPostResponse, error)
- func (c *ClientWithResponses) ResetIteratorResetPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ResetIteratorResetPostResponse, error)
- func (c *ClientWithResponses) ResetIteratorResetPostWithResponse(ctx context.Context, body ResetIteratorResetPostJSONRequestBody, ...) (*ResetIteratorResetPostResponse, error)
- func (c *ClientWithResponses) ReverseProxyProxyUrlPathGetWithResponse(ctx context.Context, urlPath string, reqEditors ...RequestEditorFn) (*ReverseProxyProxyUrlPathGetResponse, error)
- func (c *ClientWithResponses) ReverseProxyProxyUrlPathHeadWithResponse(ctx context.Context, urlPath string, reqEditors ...RequestEditorFn) (*ReverseProxyProxyUrlPathHeadResponse, error)
- func (c *ClientWithResponses) RobotsTxtRobotsTxtGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RobotsTxtRobotsTxtGetResponse, error)
- func (c *ClientWithResponses) SetConfigSdapiV1OptionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SetConfigSdapiV1OptionsPostResponse, error)
- func (c *ClientWithResponses) SetConfigSdapiV1OptionsPostWithResponse(ctx context.Context, body SetConfigSdapiV1OptionsPostJSONRequestBody, ...) (*SetConfigSdapiV1OptionsPostResponse, error)
- func (c *ClientWithResponses) SkipSdapiV1SkipPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SkipSdapiV1SkipPostResponse, error)
- func (c *ClientWithResponses) StartupEventsStartupEventsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*StartupEventsStartupEventsGetResponse, error)
- func (c *ClientWithResponses) StaticResourceStaticPathGetWithResponse(ctx context.Context, path string, reqEditors ...RequestEditorFn) (*StaticResourceStaticPathGetResponse, error)
- func (c *ClientWithResponses) StreamStreamSessionHashRunComponentIdGetWithResponse(ctx context.Context, sessionHash string, run int, componentId int, ...) (*StreamStreamSessionHashRunComponentIdGetResponse, error)
- func (c *ClientWithResponses) Text2imgapiSdapiV1Txt2imgPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*Text2imgapiSdapiV1Txt2imgPostResponse, error)
- func (c *ClientWithResponses) Text2imgapiSdapiV1Txt2imgPostWithResponse(ctx context.Context, body Text2imgapiSdapiV1Txt2imgPostJSONRequestBody, ...) (*Text2imgapiSdapiV1Txt2imgPostResponse, error)
- func (c *ClientWithResponses) ThemeCssThemeCssGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ThemeCssThemeCssGetResponse, error)
- func (c *ClientWithResponses) TrainEmbeddingSdapiV1TrainEmbeddingPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TrainEmbeddingSdapiV1TrainEmbeddingPostResponse, error)
- func (c *ClientWithResponses) TrainEmbeddingSdapiV1TrainEmbeddingPostWithResponse(ctx context.Context, ...) (*TrainEmbeddingSdapiV1TrainEmbeddingPostResponse, error)
- func (c *ClientWithResponses) TrainHypernetworkSdapiV1TrainHypernetworkPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TrainHypernetworkSdapiV1TrainHypernetworkPostResponse, error)
- func (c *ClientWithResponses) TrainHypernetworkSdapiV1TrainHypernetworkPostWithResponse(ctx context.Context, ...) (*TrainHypernetworkSdapiV1TrainHypernetworkPostResponse, error)
- func (c *ClientWithResponses) UnloadapiSdapiV1UnloadCheckpointPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UnloadapiSdapiV1UnloadCheckpointPostResponse, error)
- func (c *ClientWithResponses) UploadFileUploadPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UploadFileUploadPostResponse, error)
- type ClientWithResponsesInterface
- type CreateEmbeddingSdapiV1CreateEmbeddingPostJSONBody
- type CreateEmbeddingSdapiV1CreateEmbeddingPostJSONRequestBody
- type CreateEmbeddingSdapiV1CreateEmbeddingPostResponse
- type CreateHypernetworkSdapiV1CreateHypernetworkPostJSONBody
- type CreateHypernetworkSdapiV1CreateHypernetworkPostJSONRequestBody
- type CreateHypernetworkSdapiV1CreateHypernetworkPostResponse
- type CreateResponse
- type DownloadSysinfoInternalSysinfoGetParams
- type DownloadSysinfoInternalSysinfoGetResponse
- type EmbeddingItem
- type EmbeddingsResponse
- type Estimation
- type ExtensionItem
- type ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostJSONRequestBody
- type ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostResponse
- type ExtrasBatchImagesRequest
- type ExtrasBatchImagesRequestResizeMode
- type ExtrasBatchImagesResponse
- type ExtrasSingleImageApiSdapiV1ExtraSingleImagePostJSONRequestBody
- type ExtrasSingleImageApiSdapiV1ExtraSingleImagePostResponse
- type ExtrasSingleImageRequest
- type ExtrasSingleImageRequestResizeMode
- type ExtrasSingleImageResponse
- type FaceRestorerItem
- type FaviconFaviconIcoGetResponse
- type FetchFileSdExtraNetworksThumbGetParams
- type FetchFileSdExtraNetworksThumbGetResponse
- type FileData
- type FileDeprecatedFilePathGetResponse
- type FileFilePathOrUrlGetResponse
- type FileFilePathOrUrlHeadResponse
- type Flags
- type GetCmdFlagsSdapiV1CmdFlagsGetResponse
- type GetConfigConfigGetResponse
- type GetConfigSdapiV1OptionsGetResponse
- type GetCurrentUserUserGetResponse
- type GetEmbeddingsSdapiV1EmbeddingsGetResponse
- type GetExtensionsListSdapiV1ExtensionsGetResponse
- type GetFaceRestorersSdapiV1FaceRestorersGetResponse
- type GetHypernetworksSdapiV1HypernetworksGetResponse
- type GetLatentUpscaleModesSdapiV1LatentUpscaleModesGetResponse
- type GetLorasSdapiV1LorasGetResponse
- type GetMemorySdapiV1MemoryGetResponse
- type GetMetadataSdExtraNetworksMetadataGetParams
- type GetMetadataSdExtraNetworksMetadataGetResponse
- type GetPromptStylesSdapiV1PromptStylesGetResponse
- type GetQueueStatusQueueStatusGetResponse
- type GetRealesrganModelsSdapiV1RealesrganModelsGetResponse
- type GetSamplersSdapiV1SamplersGetResponse
- type GetScriptInfoSdapiV1ScriptInfoGetResponse
- type GetScriptsListSdapiV1ScriptsGetResponse
- type GetSdModelsSdapiV1SdModelsGetResponse
- type GetSdVaesSdapiV1SdVaeGetResponse
- type GetSingleCardSdExtraNetworksGetSingleCardGetParams
- type GetSingleCardSdExtraNetworksGetSingleCardGetResponse
- type GetTokenTokenGetResponse
- type GetUpscalersSdapiV1UpscalersGetResponse
- type HTTPValidationError
- type HttpRequestDoer
- type HypernetworkItem
- type ImageToImageResponse
- type Img2imgapiSdapiV1Img2imgPostJSONRequestBody
- type Img2imgapiSdapiV1Img2imgPostResponse
- type InterrogateRequest
- type InterrogateapiSdapiV1InterrogatePostJSONRequestBody
- type InterrogateapiSdapiV1InterrogatePostResponse
- type InterruptapiSdapiV1InterruptPostResponse
- type LambdaInternalPingGetResponse
- type LambdaInternalProfileStartupGetResponse
- type LambdaInternalSysinfoDownloadGetResponse
- type LatentUpscalerModeItem
- type LoginCheckLoginCheckGetResponse
- type LoginLoginPostFormdataRequestBody
- type LoginLoginPostResponse
- type MainGetResponse
- type MainHeadResponse
- type MemoryResponse
- type ModulesApiModelsProgressResponse
- type ModulesProgressProgressResponse
- type Options
- type PNGInfoRequest
- type PNGInfoResponse
- type PnginfoapiSdapiV1PngInfoPostJSONRequestBody
- type PnginfoapiSdapiV1PngInfoPostResponse
- type PredictApiApiNamePostJSONRequestBody
- type PredictApiApiNamePostResponse
- type PredictBody
- type PredictBodyRequest0
- type PredictBodyRequest1
- type PredictBody_Request
- func (t PredictBody_Request) AsPredictBodyRequest0() (PredictBodyRequest0, error)
- func (t PredictBody_Request) AsPredictBodyRequest1() (PredictBodyRequest1, error)
- func (t *PredictBody_Request) FromPredictBodyRequest0(v PredictBodyRequest0) error
- func (t *PredictBody_Request) FromPredictBodyRequest1(v PredictBodyRequest1) error
- func (t PredictBody_Request) MarshalJSON() ([]byte, error)
- func (t *PredictBody_Request) MergePredictBodyRequest0(v PredictBodyRequest0) error
- func (t *PredictBody_Request) MergePredictBodyRequest1(v PredictBodyRequest1) error
- func (t *PredictBody_Request) UnmarshalJSON(b []byte) error
- type PredictRunApiNamePostJSONRequestBody
- type PredictRunApiNamePostResponse
- type ProgressRequest
- type ProgressapiInternalProgressPostJSONRequestBody
- type ProgressapiInternalProgressPostResponse
- type ProgressapiSdapiV1ProgressGetParams
- type ProgressapiSdapiV1ProgressGetResponse
- type PromptStyleItem
- type QuicksettingsHint
- type QuicksettingsHintInternalQuicksettingsHintGetResponse
- type RealesrganItem
- type RefreshCheckpointsSdapiV1RefreshCheckpointsPostResponse
- type RefreshLorasSdapiV1RefreshLorasPostResponse
- type RefreshVaeSdapiV1RefreshVaePostResponse
- type ReloadapiSdapiV1ReloadCheckpointPostResponse
- type RequestEditorFn
- type ResetBody
- type ResetIteratorResetPostJSONRequestBody
- type ResetIteratorResetPostResponse
- type ReverseProxyProxyUrlPathGetResponse
- type ReverseProxyProxyUrlPathHeadResponse
- type RobotsTxtRobotsTxtGetResponse
- type SDModelItem
- type SDVaeItem
- type SamplerItem
- type ScriptArg
- type ScriptInfo
- type ScriptsList
- type SetConfigSdapiV1OptionsPostJSONBody
- type SetConfigSdapiV1OptionsPostJSONRequestBody
- type SetConfigSdapiV1OptionsPostResponse
- type SkipSdapiV1SkipPostResponse
- type StableDiffusionProcessingImg2Img
- type StableDiffusionProcessingTxt2Img
- type StartupEventsStartupEventsGetResponse
- type StaticResourceStaticPathGetResponse
- type StreamStreamSessionHashRunComponentIdGetResponse
- type Text2imgapiSdapiV1Txt2imgPostJSONRequestBody
- type Text2imgapiSdapiV1Txt2imgPostResponse
- type TextToImageResponse
- type ThemeCssThemeCssGetResponse
- type TrainEmbeddingSdapiV1TrainEmbeddingPostJSONBody
- type TrainEmbeddingSdapiV1TrainEmbeddingPostJSONRequestBody
- type TrainEmbeddingSdapiV1TrainEmbeddingPostResponse
- type TrainHypernetworkSdapiV1TrainHypernetworkPostJSONBody
- type TrainHypernetworkSdapiV1TrainHypernetworkPostJSONRequestBody
- type TrainHypernetworkSdapiV1TrainHypernetworkPostResponse
- type TrainResponse
- type UnloadapiSdapiV1UnloadCheckpointPostResponse
- type UploadFileUploadPostMultipartRequestBody
- type UploadFileUploadPostResponse
- type UpscalerItem
- type ValidationError
- type ValidationErrorLoc0
- type ValidationErrorLoc1
- type ValidationError_Loc_Item
- func (t ValidationError_Loc_Item) AsValidationErrorLoc0() (ValidationErrorLoc0, error)
- func (t ValidationError_Loc_Item) AsValidationErrorLoc1() (ValidationErrorLoc1, error)
- func (t *ValidationError_Loc_Item) FromValidationErrorLoc0(v ValidationErrorLoc0) error
- func (t *ValidationError_Loc_Item) FromValidationErrorLoc1(v ValidationErrorLoc1) error
- func (t ValidationError_Loc_Item) MarshalJSON() ([]byte, error)
- func (t *ValidationError_Loc_Item) MergeValidationErrorLoc0(v ValidationErrorLoc0) error
- func (t *ValidationError_Loc_Item) MergeValidationErrorLoc1(v ValidationErrorLoc1) error
- func (t *ValidationError_Loc_Item) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApiInfoInfoGetRequest ¶
func NewApiInfoInfoGetRequest(server string, params *ApiInfoInfoGetParams) (*http.Request, error)
NewApiInfoInfoGetRequest generates requests for ApiInfoInfoGet
func NewAppIdAppIdGetRequest ¶
NewAppIdAppIdGetRequest generates requests for AppIdAppIdGet
func NewBuildResourceAssetsPathGetRequest ¶
NewBuildResourceAssetsPathGetRequest generates requests for BuildResourceAssetsPathGet
func NewCreateEmbeddingSdapiV1CreateEmbeddingPostRequest ¶
func NewCreateEmbeddingSdapiV1CreateEmbeddingPostRequest(server string, body CreateEmbeddingSdapiV1CreateEmbeddingPostJSONRequestBody) (*http.Request, error)
NewCreateEmbeddingSdapiV1CreateEmbeddingPostRequest calls the generic CreateEmbeddingSdapiV1CreateEmbeddingPost builder with application/json body
func NewCreateEmbeddingSdapiV1CreateEmbeddingPostRequestWithBody ¶
func NewCreateEmbeddingSdapiV1CreateEmbeddingPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateEmbeddingSdapiV1CreateEmbeddingPostRequestWithBody generates requests for CreateEmbeddingSdapiV1CreateEmbeddingPost with any type of body
func NewCreateHypernetworkSdapiV1CreateHypernetworkPostRequest ¶
func NewCreateHypernetworkSdapiV1CreateHypernetworkPostRequest(server string, body CreateHypernetworkSdapiV1CreateHypernetworkPostJSONRequestBody) (*http.Request, error)
NewCreateHypernetworkSdapiV1CreateHypernetworkPostRequest calls the generic CreateHypernetworkSdapiV1CreateHypernetworkPost builder with application/json body
func NewCreateHypernetworkSdapiV1CreateHypernetworkPostRequestWithBody ¶
func NewCreateHypernetworkSdapiV1CreateHypernetworkPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateHypernetworkSdapiV1CreateHypernetworkPostRequestWithBody generates requests for CreateHypernetworkSdapiV1CreateHypernetworkPost with any type of body
func NewDownloadSysinfoInternalSysinfoGetRequest ¶
func NewDownloadSysinfoInternalSysinfoGetRequest(server string, params *DownloadSysinfoInternalSysinfoGetParams) (*http.Request, error)
NewDownloadSysinfoInternalSysinfoGetRequest generates requests for DownloadSysinfoInternalSysinfoGet
func NewExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostRequest ¶
func NewExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostRequest(server string, body ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostJSONRequestBody) (*http.Request, error)
NewExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostRequest calls the generic ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPost builder with application/json body
func NewExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostRequestWithBody ¶
func NewExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostRequestWithBody generates requests for ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPost with any type of body
func NewExtrasSingleImageApiSdapiV1ExtraSingleImagePostRequest ¶
func NewExtrasSingleImageApiSdapiV1ExtraSingleImagePostRequest(server string, body ExtrasSingleImageApiSdapiV1ExtraSingleImagePostJSONRequestBody) (*http.Request, error)
NewExtrasSingleImageApiSdapiV1ExtraSingleImagePostRequest calls the generic ExtrasSingleImageApiSdapiV1ExtraSingleImagePost builder with application/json body
func NewExtrasSingleImageApiSdapiV1ExtraSingleImagePostRequestWithBody ¶
func NewExtrasSingleImageApiSdapiV1ExtraSingleImagePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewExtrasSingleImageApiSdapiV1ExtraSingleImagePostRequestWithBody generates requests for ExtrasSingleImageApiSdapiV1ExtraSingleImagePost with any type of body
func NewFaviconFaviconIcoGetRequest ¶
NewFaviconFaviconIcoGetRequest generates requests for FaviconFaviconIcoGet
func NewFetchFileSdExtraNetworksThumbGetRequest ¶
func NewFetchFileSdExtraNetworksThumbGetRequest(server string, params *FetchFileSdExtraNetworksThumbGetParams) (*http.Request, error)
NewFetchFileSdExtraNetworksThumbGetRequest generates requests for FetchFileSdExtraNetworksThumbGet
func NewFileDeprecatedFilePathGetRequest ¶
NewFileDeprecatedFilePathGetRequest generates requests for FileDeprecatedFilePathGet
func NewFileFilePathOrUrlGetRequest ¶
NewFileFilePathOrUrlGetRequest generates requests for FileFilePathOrUrlGet
func NewFileFilePathOrUrlHeadRequest ¶
NewFileFilePathOrUrlHeadRequest generates requests for FileFilePathOrUrlHead
func NewGetCmdFlagsSdapiV1CmdFlagsGetRequest ¶
NewGetCmdFlagsSdapiV1CmdFlagsGetRequest generates requests for GetCmdFlagsSdapiV1CmdFlagsGet
func NewGetConfigConfigGetRequest ¶
NewGetConfigConfigGetRequest generates requests for GetConfigConfigGet
func NewGetConfigSdapiV1OptionsGetRequest ¶
NewGetConfigSdapiV1OptionsGetRequest generates requests for GetConfigSdapiV1OptionsGet
func NewGetCurrentUserUserGetRequest ¶
NewGetCurrentUserUserGetRequest generates requests for GetCurrentUserUserGet
func NewGetEmbeddingsSdapiV1EmbeddingsGetRequest ¶
NewGetEmbeddingsSdapiV1EmbeddingsGetRequest generates requests for GetEmbeddingsSdapiV1EmbeddingsGet
func NewGetExtensionsListSdapiV1ExtensionsGetRequest ¶
NewGetExtensionsListSdapiV1ExtensionsGetRequest generates requests for GetExtensionsListSdapiV1ExtensionsGet
func NewGetFaceRestorersSdapiV1FaceRestorersGetRequest ¶
NewGetFaceRestorersSdapiV1FaceRestorersGetRequest generates requests for GetFaceRestorersSdapiV1FaceRestorersGet
func NewGetHypernetworksSdapiV1HypernetworksGetRequest ¶
NewGetHypernetworksSdapiV1HypernetworksGetRequest generates requests for GetHypernetworksSdapiV1HypernetworksGet
func NewGetLatentUpscaleModesSdapiV1LatentUpscaleModesGetRequest ¶
func NewGetLatentUpscaleModesSdapiV1LatentUpscaleModesGetRequest(server string) (*http.Request, error)
NewGetLatentUpscaleModesSdapiV1LatentUpscaleModesGetRequest generates requests for GetLatentUpscaleModesSdapiV1LatentUpscaleModesGet
func NewGetLorasSdapiV1LorasGetRequest ¶
NewGetLorasSdapiV1LorasGetRequest generates requests for GetLorasSdapiV1LorasGet
func NewGetMemorySdapiV1MemoryGetRequest ¶
NewGetMemorySdapiV1MemoryGetRequest generates requests for GetMemorySdapiV1MemoryGet
func NewGetMetadataSdExtraNetworksMetadataGetRequest ¶
func NewGetMetadataSdExtraNetworksMetadataGetRequest(server string, params *GetMetadataSdExtraNetworksMetadataGetParams) (*http.Request, error)
NewGetMetadataSdExtraNetworksMetadataGetRequest generates requests for GetMetadataSdExtraNetworksMetadataGet
func NewGetPromptStylesSdapiV1PromptStylesGetRequest ¶
NewGetPromptStylesSdapiV1PromptStylesGetRequest generates requests for GetPromptStylesSdapiV1PromptStylesGet
func NewGetQueueStatusQueueStatusGetRequest ¶
NewGetQueueStatusQueueStatusGetRequest generates requests for GetQueueStatusQueueStatusGet
func NewGetRealesrganModelsSdapiV1RealesrganModelsGetRequest ¶
NewGetRealesrganModelsSdapiV1RealesrganModelsGetRequest generates requests for GetRealesrganModelsSdapiV1RealesrganModelsGet
func NewGetSamplersSdapiV1SamplersGetRequest ¶
NewGetSamplersSdapiV1SamplersGetRequest generates requests for GetSamplersSdapiV1SamplersGet
func NewGetScriptInfoSdapiV1ScriptInfoGetRequest ¶
NewGetScriptInfoSdapiV1ScriptInfoGetRequest generates requests for GetScriptInfoSdapiV1ScriptInfoGet
func NewGetScriptsListSdapiV1ScriptsGetRequest ¶
NewGetScriptsListSdapiV1ScriptsGetRequest generates requests for GetScriptsListSdapiV1ScriptsGet
func NewGetSdModelsSdapiV1SdModelsGetRequest ¶
NewGetSdModelsSdapiV1SdModelsGetRequest generates requests for GetSdModelsSdapiV1SdModelsGet
func NewGetSdVaesSdapiV1SdVaeGetRequest ¶
NewGetSdVaesSdapiV1SdVaeGetRequest generates requests for GetSdVaesSdapiV1SdVaeGet
func NewGetSingleCardSdExtraNetworksGetSingleCardGetRequest ¶
func NewGetSingleCardSdExtraNetworksGetSingleCardGetRequest(server string, params *GetSingleCardSdExtraNetworksGetSingleCardGetParams) (*http.Request, error)
NewGetSingleCardSdExtraNetworksGetSingleCardGetRequest generates requests for GetSingleCardSdExtraNetworksGetSingleCardGet
func NewGetTokenTokenGetRequest ¶
NewGetTokenTokenGetRequest generates requests for GetTokenTokenGet
func NewGetUpscalersSdapiV1UpscalersGetRequest ¶
NewGetUpscalersSdapiV1UpscalersGetRequest generates requests for GetUpscalersSdapiV1UpscalersGet
func NewImg2imgapiSdapiV1Img2imgPostRequest ¶
func NewImg2imgapiSdapiV1Img2imgPostRequest(server string, body Img2imgapiSdapiV1Img2imgPostJSONRequestBody) (*http.Request, error)
NewImg2imgapiSdapiV1Img2imgPostRequest calls the generic Img2imgapiSdapiV1Img2imgPost builder with application/json body
func NewImg2imgapiSdapiV1Img2imgPostRequestWithBody ¶
func NewImg2imgapiSdapiV1Img2imgPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewImg2imgapiSdapiV1Img2imgPostRequestWithBody generates requests for Img2imgapiSdapiV1Img2imgPost with any type of body
func NewInterrogateapiSdapiV1InterrogatePostRequest ¶
func NewInterrogateapiSdapiV1InterrogatePostRequest(server string, body InterrogateapiSdapiV1InterrogatePostJSONRequestBody) (*http.Request, error)
NewInterrogateapiSdapiV1InterrogatePostRequest calls the generic InterrogateapiSdapiV1InterrogatePost builder with application/json body
func NewInterrogateapiSdapiV1InterrogatePostRequestWithBody ¶
func NewInterrogateapiSdapiV1InterrogatePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewInterrogateapiSdapiV1InterrogatePostRequestWithBody generates requests for InterrogateapiSdapiV1InterrogatePost with any type of body
func NewInterruptapiSdapiV1InterruptPostRequest ¶
NewInterruptapiSdapiV1InterruptPostRequest generates requests for InterruptapiSdapiV1InterruptPost
func NewLambdaInternalPingGetRequest ¶
NewLambdaInternalPingGetRequest generates requests for LambdaInternalPingGet
func NewLambdaInternalProfileStartupGetRequest ¶
NewLambdaInternalProfileStartupGetRequest generates requests for LambdaInternalProfileStartupGet
func NewLambdaInternalSysinfoDownloadGetRequest ¶
NewLambdaInternalSysinfoDownloadGetRequest generates requests for LambdaInternalSysinfoDownloadGet
func NewLoginCheckLoginCheckGetRequest ¶
NewLoginCheckLoginCheckGetRequest generates requests for LoginCheckLoginCheckGet
func NewLoginLoginPostRequestWithBody ¶
func NewLoginLoginPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewLoginLoginPostRequestWithBody generates requests for LoginLoginPost with any type of body
func NewLoginLoginPostRequestWithFormdataBody ¶
func NewLoginLoginPostRequestWithFormdataBody(server string, body LoginLoginPostFormdataRequestBody) (*http.Request, error)
NewLoginLoginPostRequestWithFormdataBody calls the generic LoginLoginPost builder with application/x-www-form-urlencoded body
func NewMainGetRequest ¶
NewMainGetRequest generates requests for MainGet
func NewMainHeadRequest ¶
NewMainHeadRequest generates requests for MainHead
func NewPnginfoapiSdapiV1PngInfoPostRequest ¶
func NewPnginfoapiSdapiV1PngInfoPostRequest(server string, body PnginfoapiSdapiV1PngInfoPostJSONRequestBody) (*http.Request, error)
NewPnginfoapiSdapiV1PngInfoPostRequest calls the generic PnginfoapiSdapiV1PngInfoPost builder with application/json body
func NewPnginfoapiSdapiV1PngInfoPostRequestWithBody ¶
func NewPnginfoapiSdapiV1PngInfoPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPnginfoapiSdapiV1PngInfoPostRequestWithBody generates requests for PnginfoapiSdapiV1PngInfoPost with any type of body
func NewPredictApiApiNamePostRequest ¶
func NewPredictApiApiNamePostRequest(server string, apiName string, body PredictApiApiNamePostJSONRequestBody) (*http.Request, error)
NewPredictApiApiNamePostRequest calls the generic PredictApiApiNamePost builder with application/json body
func NewPredictApiApiNamePostRequestWithBody ¶
func NewPredictApiApiNamePostRequestWithBody(server string, apiName string, contentType string, body io.Reader) (*http.Request, error)
NewPredictApiApiNamePostRequestWithBody generates requests for PredictApiApiNamePost with any type of body
func NewPredictRunApiNamePostRequest ¶
func NewPredictRunApiNamePostRequest(server string, apiName string, body PredictRunApiNamePostJSONRequestBody) (*http.Request, error)
NewPredictRunApiNamePostRequest calls the generic PredictRunApiNamePost builder with application/json body
func NewPredictRunApiNamePostRequestWithBody ¶
func NewPredictRunApiNamePostRequestWithBody(server string, apiName string, contentType string, body io.Reader) (*http.Request, error)
NewPredictRunApiNamePostRequestWithBody generates requests for PredictRunApiNamePost with any type of body
func NewProgressapiInternalProgressPostRequest ¶
func NewProgressapiInternalProgressPostRequest(server string, body ProgressapiInternalProgressPostJSONRequestBody) (*http.Request, error)
NewProgressapiInternalProgressPostRequest calls the generic ProgressapiInternalProgressPost builder with application/json body
func NewProgressapiInternalProgressPostRequestWithBody ¶
func NewProgressapiInternalProgressPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewProgressapiInternalProgressPostRequestWithBody generates requests for ProgressapiInternalProgressPost with any type of body
func NewProgressapiSdapiV1ProgressGetRequest ¶
func NewProgressapiSdapiV1ProgressGetRequest(server string, params *ProgressapiSdapiV1ProgressGetParams) (*http.Request, error)
NewProgressapiSdapiV1ProgressGetRequest generates requests for ProgressapiSdapiV1ProgressGet
func NewQuicksettingsHintInternalQuicksettingsHintGetRequest ¶
NewQuicksettingsHintInternalQuicksettingsHintGetRequest generates requests for QuicksettingsHintInternalQuicksettingsHintGet
func NewRefreshCheckpointsSdapiV1RefreshCheckpointsPostRequest ¶
func NewRefreshCheckpointsSdapiV1RefreshCheckpointsPostRequest(server string) (*http.Request, error)
NewRefreshCheckpointsSdapiV1RefreshCheckpointsPostRequest generates requests for RefreshCheckpointsSdapiV1RefreshCheckpointsPost
func NewRefreshLorasSdapiV1RefreshLorasPostRequest ¶
NewRefreshLorasSdapiV1RefreshLorasPostRequest generates requests for RefreshLorasSdapiV1RefreshLorasPost
func NewRefreshVaeSdapiV1RefreshVaePostRequest ¶
NewRefreshVaeSdapiV1RefreshVaePostRequest generates requests for RefreshVaeSdapiV1RefreshVaePost
func NewReloadapiSdapiV1ReloadCheckpointPostRequest ¶
NewReloadapiSdapiV1ReloadCheckpointPostRequest generates requests for ReloadapiSdapiV1ReloadCheckpointPost
func NewResetIteratorResetPostRequest ¶
func NewResetIteratorResetPostRequest(server string, body ResetIteratorResetPostJSONRequestBody) (*http.Request, error)
NewResetIteratorResetPostRequest calls the generic ResetIteratorResetPost builder with application/json body
func NewResetIteratorResetPostRequestWithBody ¶
func NewResetIteratorResetPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewResetIteratorResetPostRequestWithBody generates requests for ResetIteratorResetPost with any type of body
func NewReverseProxyProxyUrlPathGetRequest ¶
NewReverseProxyProxyUrlPathGetRequest generates requests for ReverseProxyProxyUrlPathGet
func NewReverseProxyProxyUrlPathHeadRequest ¶
NewReverseProxyProxyUrlPathHeadRequest generates requests for ReverseProxyProxyUrlPathHead
func NewRobotsTxtRobotsTxtGetRequest ¶
NewRobotsTxtRobotsTxtGetRequest generates requests for RobotsTxtRobotsTxtGet
func NewSetConfigSdapiV1OptionsPostRequest ¶
func NewSetConfigSdapiV1OptionsPostRequest(server string, body SetConfigSdapiV1OptionsPostJSONRequestBody) (*http.Request, error)
NewSetConfigSdapiV1OptionsPostRequest calls the generic SetConfigSdapiV1OptionsPost builder with application/json body
func NewSetConfigSdapiV1OptionsPostRequestWithBody ¶
func NewSetConfigSdapiV1OptionsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSetConfigSdapiV1OptionsPostRequestWithBody generates requests for SetConfigSdapiV1OptionsPost with any type of body
func NewSkipSdapiV1SkipPostRequest ¶
NewSkipSdapiV1SkipPostRequest generates requests for SkipSdapiV1SkipPost
func NewStartupEventsStartupEventsGetRequest ¶
NewStartupEventsStartupEventsGetRequest generates requests for StartupEventsStartupEventsGet
func NewStaticResourceStaticPathGetRequest ¶
NewStaticResourceStaticPathGetRequest generates requests for StaticResourceStaticPathGet
func NewStreamStreamSessionHashRunComponentIdGetRequest ¶
func NewStreamStreamSessionHashRunComponentIdGetRequest(server string, sessionHash string, run int, componentId int) (*http.Request, error)
NewStreamStreamSessionHashRunComponentIdGetRequest generates requests for StreamStreamSessionHashRunComponentIdGet
func NewText2imgapiSdapiV1Txt2imgPostRequest ¶
func NewText2imgapiSdapiV1Txt2imgPostRequest(server string, body Text2imgapiSdapiV1Txt2imgPostJSONRequestBody) (*http.Request, error)
NewText2imgapiSdapiV1Txt2imgPostRequest calls the generic Text2imgapiSdapiV1Txt2imgPost builder with application/json body
func NewText2imgapiSdapiV1Txt2imgPostRequestWithBody ¶
func NewText2imgapiSdapiV1Txt2imgPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewText2imgapiSdapiV1Txt2imgPostRequestWithBody generates requests for Text2imgapiSdapiV1Txt2imgPost with any type of body
func NewThemeCssThemeCssGetRequest ¶
NewThemeCssThemeCssGetRequest generates requests for ThemeCssThemeCssGet
func NewTrainEmbeddingSdapiV1TrainEmbeddingPostRequest ¶
func NewTrainEmbeddingSdapiV1TrainEmbeddingPostRequest(server string, body TrainEmbeddingSdapiV1TrainEmbeddingPostJSONRequestBody) (*http.Request, error)
NewTrainEmbeddingSdapiV1TrainEmbeddingPostRequest calls the generic TrainEmbeddingSdapiV1TrainEmbeddingPost builder with application/json body
func NewTrainEmbeddingSdapiV1TrainEmbeddingPostRequestWithBody ¶
func NewTrainEmbeddingSdapiV1TrainEmbeddingPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTrainEmbeddingSdapiV1TrainEmbeddingPostRequestWithBody generates requests for TrainEmbeddingSdapiV1TrainEmbeddingPost with any type of body
func NewTrainHypernetworkSdapiV1TrainHypernetworkPostRequest ¶
func NewTrainHypernetworkSdapiV1TrainHypernetworkPostRequest(server string, body TrainHypernetworkSdapiV1TrainHypernetworkPostJSONRequestBody) (*http.Request, error)
NewTrainHypernetworkSdapiV1TrainHypernetworkPostRequest calls the generic TrainHypernetworkSdapiV1TrainHypernetworkPost builder with application/json body
func NewTrainHypernetworkSdapiV1TrainHypernetworkPostRequestWithBody ¶
func NewTrainHypernetworkSdapiV1TrainHypernetworkPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTrainHypernetworkSdapiV1TrainHypernetworkPostRequestWithBody generates requests for TrainHypernetworkSdapiV1TrainHypernetworkPost with any type of body
func NewUnloadapiSdapiV1UnloadCheckpointPostRequest ¶
NewUnloadapiSdapiV1UnloadCheckpointPostRequest generates requests for UnloadapiSdapiV1UnloadCheckpointPost
Types ¶
type ApiInfoInfoGetParams ¶
type ApiInfoInfoGetParams struct {
Serialize *bool `form:"serialize,omitempty" json:"serialize,omitempty"`
}
ApiInfoInfoGetParams defines parameters for ApiInfoInfoGet.
type ApiInfoInfoGetResponse ¶
type ApiInfoInfoGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParseApiInfoInfoGetResponse ¶
func ParseApiInfoInfoGetResponse(rsp *http.Response) (*ApiInfoInfoGetResponse, error)
ParseApiInfoInfoGetResponse parses an HTTP response from a ApiInfoInfoGetWithResponse call
func (ApiInfoInfoGetResponse) Status ¶
func (r ApiInfoInfoGetResponse) Status() string
Status returns HTTPResponse.Status
func (ApiInfoInfoGetResponse) StatusCode ¶
func (r ApiInfoInfoGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppIdAppIdGetResponse ¶
type AppIdAppIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *map[string]interface{}
}
func ParseAppIdAppIdGetResponse ¶
func ParseAppIdAppIdGetResponse(rsp *http.Response) (*AppIdAppIdGetResponse, error)
ParseAppIdAppIdGetResponse parses an HTTP response from a AppIdAppIdGetWithResponse call
func (AppIdAppIdGetResponse) Status ¶
func (r AppIdAppIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (AppIdAppIdGetResponse) StatusCode ¶
func (r AppIdAppIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BodyLoginLoginPost1 ¶
type BodyLoginLoginPost1 struct {
ClientId *string `json:"client_id,omitempty"`
ClientSecret *string `json:"client_secret,omitempty"`
GrantType *string `json:"grant_type,omitempty"`
Password string `json:"password"`
Scope *string `json:"scope,omitempty"`
Username string `json:"username"`
}
BodyLoginLoginPost1 defines model for Body_login_login__post.
type BodyUploadFileUploadPost ¶
type BodyUploadFileUploadPost struct {
Files []openapi_types.File `json:"files"`
}
BodyUploadFileUploadPost defines model for Body_upload_file_upload_post.
type BuildResourceAssetsPathGetResponse ¶
type BuildResourceAssetsPathGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParseBuildResourceAssetsPathGetResponse ¶
func ParseBuildResourceAssetsPathGetResponse(rsp *http.Response) (*BuildResourceAssetsPathGetResponse, error)
ParseBuildResourceAssetsPathGetResponse parses an HTTP response from a BuildResourceAssetsPathGetWithResponse call
func (BuildResourceAssetsPathGetResponse) Status ¶
func (r BuildResourceAssetsPathGetResponse) Status() string
Status returns HTTPResponse.Status
func (BuildResourceAssetsPathGetResponse) StatusCode ¶
func (r BuildResourceAssetsPathGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) ApiInfoInfoGet ¶
func (c *Client) ApiInfoInfoGet(ctx context.Context, params *ApiInfoInfoGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AppIdAppIdGet ¶
func (*Client) BuildResourceAssetsPathGet ¶
func (*Client) CreateEmbeddingSdapiV1CreateEmbeddingPost ¶
func (c *Client) CreateEmbeddingSdapiV1CreateEmbeddingPost(ctx context.Context, body CreateEmbeddingSdapiV1CreateEmbeddingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateEmbeddingSdapiV1CreateEmbeddingPostWithBody ¶
func (*Client) CreateHypernetworkSdapiV1CreateHypernetworkPost ¶
func (c *Client) CreateHypernetworkSdapiV1CreateHypernetworkPost(ctx context.Context, body CreateHypernetworkSdapiV1CreateHypernetworkPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateHypernetworkSdapiV1CreateHypernetworkPostWithBody ¶
func (*Client) DownloadSysinfoInternalSysinfoGet ¶
func (c *Client) DownloadSysinfoInternalSysinfoGet(ctx context.Context, params *DownloadSysinfoInternalSysinfoGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPost ¶
func (c *Client) ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPost(ctx context.Context, body ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostWithBody ¶
func (*Client) ExtrasSingleImageApiSdapiV1ExtraSingleImagePost ¶
func (c *Client) ExtrasSingleImageApiSdapiV1ExtraSingleImagePost(ctx context.Context, body ExtrasSingleImageApiSdapiV1ExtraSingleImagePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ExtrasSingleImageApiSdapiV1ExtraSingleImagePostWithBody ¶
func (*Client) FaviconFaviconIcoGet ¶
func (*Client) FetchFileSdExtraNetworksThumbGet ¶
func (c *Client) FetchFileSdExtraNetworksThumbGet(ctx context.Context, params *FetchFileSdExtraNetworksThumbGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) FileDeprecatedFilePathGet ¶
func (*Client) FileFilePathOrUrlGet ¶
func (*Client) FileFilePathOrUrlHead ¶
func (*Client) GetCmdFlagsSdapiV1CmdFlagsGet ¶
func (*Client) GetConfigConfigGet ¶
func (*Client) GetConfigSdapiV1OptionsGet ¶
func (*Client) GetCurrentUserUserGet ¶
func (*Client) GetEmbeddingsSdapiV1EmbeddingsGet ¶
func (*Client) GetExtensionsListSdapiV1ExtensionsGet ¶
func (*Client) GetFaceRestorersSdapiV1FaceRestorersGet ¶
func (*Client) GetHypernetworksSdapiV1HypernetworksGet ¶
func (*Client) GetLatentUpscaleModesSdapiV1LatentUpscaleModesGet ¶
func (*Client) GetLorasSdapiV1LorasGet ¶
func (*Client) GetMemorySdapiV1MemoryGet ¶
func (*Client) GetMetadataSdExtraNetworksMetadataGet ¶
func (c *Client) GetMetadataSdExtraNetworksMetadataGet(ctx context.Context, params *GetMetadataSdExtraNetworksMetadataGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetPromptStylesSdapiV1PromptStylesGet ¶
func (*Client) GetQueueStatusQueueStatusGet ¶
func (*Client) GetRealesrganModelsSdapiV1RealesrganModelsGet ¶
func (*Client) GetSamplersSdapiV1SamplersGet ¶
func (*Client) GetScriptInfoSdapiV1ScriptInfoGet ¶
func (*Client) GetScriptsListSdapiV1ScriptsGet ¶
func (*Client) GetSdModelsSdapiV1SdModelsGet ¶
func (*Client) GetSdVaesSdapiV1SdVaeGet ¶
func (*Client) GetSingleCardSdExtraNetworksGetSingleCardGet ¶
func (c *Client) GetSingleCardSdExtraNetworksGetSingleCardGet(ctx context.Context, params *GetSingleCardSdExtraNetworksGetSingleCardGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetTokenTokenGet ¶
func (*Client) GetUpscalersSdapiV1UpscalersGet ¶
func (*Client) Img2imgapiSdapiV1Img2imgPost ¶
func (c *Client) Img2imgapiSdapiV1Img2imgPost(ctx context.Context, body Img2imgapiSdapiV1Img2imgPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) Img2imgapiSdapiV1Img2imgPostWithBody ¶
func (*Client) InterrogateapiSdapiV1InterrogatePost ¶
func (c *Client) InterrogateapiSdapiV1InterrogatePost(ctx context.Context, body InterrogateapiSdapiV1InterrogatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InterrogateapiSdapiV1InterrogatePostWithBody ¶
func (*Client) InterruptapiSdapiV1InterruptPost ¶
func (*Client) LambdaInternalPingGet ¶
func (*Client) LambdaInternalProfileStartupGet ¶
func (*Client) LambdaInternalSysinfoDownloadGet ¶
func (*Client) LoginCheckLoginCheckGet ¶
func (*Client) LoginLoginPostWithBody ¶
func (*Client) LoginLoginPostWithFormdataBody ¶
func (c *Client) LoginLoginPostWithFormdataBody(ctx context.Context, body LoginLoginPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PnginfoapiSdapiV1PngInfoPost ¶
func (c *Client) PnginfoapiSdapiV1PngInfoPost(ctx context.Context, body PnginfoapiSdapiV1PngInfoPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PnginfoapiSdapiV1PngInfoPostWithBody ¶
func (*Client) PredictApiApiNamePost ¶
func (c *Client) PredictApiApiNamePost(ctx context.Context, apiName string, body PredictApiApiNamePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PredictApiApiNamePostWithBody ¶
func (*Client) PredictRunApiNamePost ¶
func (c *Client) PredictRunApiNamePost(ctx context.Context, apiName string, body PredictRunApiNamePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PredictRunApiNamePostWithBody ¶
func (*Client) ProgressapiInternalProgressPost ¶
func (c *Client) ProgressapiInternalProgressPost(ctx context.Context, body ProgressapiInternalProgressPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ProgressapiInternalProgressPostWithBody ¶
func (*Client) ProgressapiSdapiV1ProgressGet ¶
func (c *Client) ProgressapiSdapiV1ProgressGet(ctx context.Context, params *ProgressapiSdapiV1ProgressGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) QuicksettingsHintInternalQuicksettingsHintGet ¶
func (*Client) RefreshCheckpointsSdapiV1RefreshCheckpointsPost ¶
func (*Client) RefreshLorasSdapiV1RefreshLorasPost ¶
func (*Client) RefreshVaeSdapiV1RefreshVaePost ¶
func (*Client) ReloadapiSdapiV1ReloadCheckpointPost ¶
func (*Client) ResetIteratorResetPost ¶
func (c *Client) ResetIteratorResetPost(ctx context.Context, body ResetIteratorResetPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResetIteratorResetPostWithBody ¶
func (*Client) ReverseProxyProxyUrlPathGet ¶
func (*Client) ReverseProxyProxyUrlPathHead ¶
func (*Client) RobotsTxtRobotsTxtGet ¶
func (*Client) SetConfigSdapiV1OptionsPost ¶
func (c *Client) SetConfigSdapiV1OptionsPost(ctx context.Context, body SetConfigSdapiV1OptionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SetConfigSdapiV1OptionsPostWithBody ¶
func (*Client) SkipSdapiV1SkipPost ¶
func (*Client) StartupEventsStartupEventsGet ¶
func (*Client) StaticResourceStaticPathGet ¶
func (*Client) StreamStreamSessionHashRunComponentIdGet ¶
func (*Client) Text2imgapiSdapiV1Txt2imgPost ¶
func (c *Client) Text2imgapiSdapiV1Txt2imgPost(ctx context.Context, body Text2imgapiSdapiV1Txt2imgPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) Text2imgapiSdapiV1Txt2imgPostWithBody ¶
func (*Client) ThemeCssThemeCssGet ¶
func (*Client) TrainEmbeddingSdapiV1TrainEmbeddingPost ¶
func (c *Client) TrainEmbeddingSdapiV1TrainEmbeddingPost(ctx context.Context, body TrainEmbeddingSdapiV1TrainEmbeddingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TrainEmbeddingSdapiV1TrainEmbeddingPostWithBody ¶
func (*Client) TrainHypernetworkSdapiV1TrainHypernetworkPost ¶
func (c *Client) TrainHypernetworkSdapiV1TrainHypernetworkPost(ctx context.Context, body TrainHypernetworkSdapiV1TrainHypernetworkPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TrainHypernetworkSdapiV1TrainHypernetworkPostWithBody ¶
func (*Client) UnloadapiSdapiV1UnloadCheckpointPost ¶
type ClientInterface ¶
type ClientInterface interface {
// MainGet request
MainGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// MainHead request
MainHead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PredictApiApiNamePostWithBody request with any body
PredictApiApiNamePostWithBody(ctx context.Context, apiName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PredictApiApiNamePost(ctx context.Context, apiName string, body PredictApiApiNamePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppIdAppIdGet request
AppIdAppIdGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// BuildResourceAssetsPathGet request
BuildResourceAssetsPathGet(ctx context.Context, path string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetConfigConfigGet request
GetConfigConfigGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// FaviconFaviconIcoGet request
FaviconFaviconIcoGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// FileDeprecatedFilePathGet request
FileDeprecatedFilePathGet(ctx context.Context, path string, reqEditors ...RequestEditorFn) (*http.Response, error)
// FileFilePathOrUrlGet request
FileFilePathOrUrlGet(ctx context.Context, pathOrUrl string, reqEditors ...RequestEditorFn) (*http.Response, error)
// FileFilePathOrUrlHead request
FileFilePathOrUrlHead(ctx context.Context, pathOrUrl string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ApiInfoInfoGet request
ApiInfoInfoGet(ctx context.Context, params *ApiInfoInfoGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LambdaInternalPingGet request
LambdaInternalPingGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// LambdaInternalProfileStartupGet request
LambdaInternalProfileStartupGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProgressapiInternalProgressPostWithBody request with any body
ProgressapiInternalProgressPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProgressapiInternalProgressPost(ctx context.Context, body ProgressapiInternalProgressPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// QuicksettingsHintInternalQuicksettingsHintGet request
QuicksettingsHintInternalQuicksettingsHintGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadSysinfoInternalSysinfoGet request
DownloadSysinfoInternalSysinfoGet(ctx context.Context, params *DownloadSysinfoInternalSysinfoGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LambdaInternalSysinfoDownloadGet request
LambdaInternalSysinfoDownloadGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// LoginLoginPostWithBody request with any body
LoginLoginPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LoginLoginPostWithFormdataBody(ctx context.Context, body LoginLoginPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// LoginCheckLoginCheckGet request
LoginCheckLoginCheckGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReverseProxyProxyUrlPathGet request
ReverseProxyProxyUrlPathGet(ctx context.Context, urlPath string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReverseProxyProxyUrlPathHead request
ReverseProxyProxyUrlPathHead(ctx context.Context, urlPath string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetQueueStatusQueueStatusGet request
GetQueueStatusQueueStatusGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResetIteratorResetPostWithBody request with any body
ResetIteratorResetPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ResetIteratorResetPost(ctx context.Context, body ResetIteratorResetPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RobotsTxtRobotsTxtGet request
RobotsTxtRobotsTxtGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PredictRunApiNamePostWithBody request with any body
PredictRunApiNamePostWithBody(ctx context.Context, apiName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PredictRunApiNamePost(ctx context.Context, apiName string, body PredictRunApiNamePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSingleCardSdExtraNetworksGetSingleCardGet request
GetSingleCardSdExtraNetworksGetSingleCardGet(ctx context.Context, params *GetSingleCardSdExtraNetworksGetSingleCardGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMetadataSdExtraNetworksMetadataGet request
GetMetadataSdExtraNetworksMetadataGet(ctx context.Context, params *GetMetadataSdExtraNetworksMetadataGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// FetchFileSdExtraNetworksThumbGet request
FetchFileSdExtraNetworksThumbGet(ctx context.Context, params *FetchFileSdExtraNetworksThumbGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCmdFlagsSdapiV1CmdFlagsGet request
GetCmdFlagsSdapiV1CmdFlagsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEmbeddingSdapiV1CreateEmbeddingPostWithBody request with any body
CreateEmbeddingSdapiV1CreateEmbeddingPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateEmbeddingSdapiV1CreateEmbeddingPost(ctx context.Context, body CreateEmbeddingSdapiV1CreateEmbeddingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateHypernetworkSdapiV1CreateHypernetworkPostWithBody request with any body
CreateHypernetworkSdapiV1CreateHypernetworkPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateHypernetworkSdapiV1CreateHypernetworkPost(ctx context.Context, body CreateHypernetworkSdapiV1CreateHypernetworkPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEmbeddingsSdapiV1EmbeddingsGet request
GetEmbeddingsSdapiV1EmbeddingsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetExtensionsListSdapiV1ExtensionsGet request
GetExtensionsListSdapiV1ExtensionsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostWithBody request with any body
ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPost(ctx context.Context, body ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExtrasSingleImageApiSdapiV1ExtraSingleImagePostWithBody request with any body
ExtrasSingleImageApiSdapiV1ExtraSingleImagePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ExtrasSingleImageApiSdapiV1ExtraSingleImagePost(ctx context.Context, body ExtrasSingleImageApiSdapiV1ExtraSingleImagePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFaceRestorersSdapiV1FaceRestorersGet request
GetFaceRestorersSdapiV1FaceRestorersGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetHypernetworksSdapiV1HypernetworksGet request
GetHypernetworksSdapiV1HypernetworksGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// Img2imgapiSdapiV1Img2imgPostWithBody request with any body
Img2imgapiSdapiV1Img2imgPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
Img2imgapiSdapiV1Img2imgPost(ctx context.Context, body Img2imgapiSdapiV1Img2imgPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// InterrogateapiSdapiV1InterrogatePostWithBody request with any body
InterrogateapiSdapiV1InterrogatePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
InterrogateapiSdapiV1InterrogatePost(ctx context.Context, body InterrogateapiSdapiV1InterrogatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// InterruptapiSdapiV1InterruptPost request
InterruptapiSdapiV1InterruptPost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLatentUpscaleModesSdapiV1LatentUpscaleModesGet request
GetLatentUpscaleModesSdapiV1LatentUpscaleModesGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLorasSdapiV1LorasGet request
GetLorasSdapiV1LorasGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMemorySdapiV1MemoryGet request
GetMemorySdapiV1MemoryGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetConfigSdapiV1OptionsGet request
GetConfigSdapiV1OptionsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetConfigSdapiV1OptionsPostWithBody request with any body
SetConfigSdapiV1OptionsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetConfigSdapiV1OptionsPost(ctx context.Context, body SetConfigSdapiV1OptionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PnginfoapiSdapiV1PngInfoPostWithBody request with any body
PnginfoapiSdapiV1PngInfoPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PnginfoapiSdapiV1PngInfoPost(ctx context.Context, body PnginfoapiSdapiV1PngInfoPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProgressapiSdapiV1ProgressGet request
ProgressapiSdapiV1ProgressGet(ctx context.Context, params *ProgressapiSdapiV1ProgressGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPromptStylesSdapiV1PromptStylesGet request
GetPromptStylesSdapiV1PromptStylesGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRealesrganModelsSdapiV1RealesrganModelsGet request
GetRealesrganModelsSdapiV1RealesrganModelsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// RefreshCheckpointsSdapiV1RefreshCheckpointsPost request
RefreshCheckpointsSdapiV1RefreshCheckpointsPost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// RefreshLorasSdapiV1RefreshLorasPost request
RefreshLorasSdapiV1RefreshLorasPost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// RefreshVaeSdapiV1RefreshVaePost request
RefreshVaeSdapiV1RefreshVaePost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReloadapiSdapiV1ReloadCheckpointPost request
ReloadapiSdapiV1ReloadCheckpointPost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSamplersSdapiV1SamplersGet request
GetSamplersSdapiV1SamplersGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetScriptInfoSdapiV1ScriptInfoGet request
GetScriptInfoSdapiV1ScriptInfoGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetScriptsListSdapiV1ScriptsGet request
GetScriptsListSdapiV1ScriptsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSdModelsSdapiV1SdModelsGet request
GetSdModelsSdapiV1SdModelsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSdVaesSdapiV1SdVaeGet request
GetSdVaesSdapiV1SdVaeGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// SkipSdapiV1SkipPost request
SkipSdapiV1SkipPost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// TrainEmbeddingSdapiV1TrainEmbeddingPostWithBody request with any body
TrainEmbeddingSdapiV1TrainEmbeddingPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TrainEmbeddingSdapiV1TrainEmbeddingPost(ctx context.Context, body TrainEmbeddingSdapiV1TrainEmbeddingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TrainHypernetworkSdapiV1TrainHypernetworkPostWithBody request with any body
TrainHypernetworkSdapiV1TrainHypernetworkPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TrainHypernetworkSdapiV1TrainHypernetworkPost(ctx context.Context, body TrainHypernetworkSdapiV1TrainHypernetworkPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// Text2imgapiSdapiV1Txt2imgPostWithBody request with any body
Text2imgapiSdapiV1Txt2imgPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
Text2imgapiSdapiV1Txt2imgPost(ctx context.Context, body Text2imgapiSdapiV1Txt2imgPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnloadapiSdapiV1UnloadCheckpointPost request
UnloadapiSdapiV1UnloadCheckpointPost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUpscalersSdapiV1UpscalersGet request
GetUpscalersSdapiV1UpscalersGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// StartupEventsStartupEventsGet request
StartupEventsStartupEventsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// StaticResourceStaticPathGet request
StaticResourceStaticPathGet(ctx context.Context, path string, reqEditors ...RequestEditorFn) (*http.Response, error)
// StreamStreamSessionHashRunComponentIdGet request
StreamStreamSessionHashRunComponentIdGet(ctx context.Context, sessionHash string, run int, componentId int, reqEditors ...RequestEditorFn) (*http.Response, error)
// ThemeCssThemeCssGet request
ThemeCssThemeCssGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTokenTokenGet request
GetTokenTokenGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadFileUploadPostWithBody request with any body
UploadFileUploadPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCurrentUserUserGet request
GetCurrentUserUserGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) ApiInfoInfoGetWithResponse ¶
func (c *ClientWithResponses) ApiInfoInfoGetWithResponse(ctx context.Context, params *ApiInfoInfoGetParams, reqEditors ...RequestEditorFn) (*ApiInfoInfoGetResponse, error)
ApiInfoInfoGetWithResponse request returning *ApiInfoInfoGetResponse
func (*ClientWithResponses) AppIdAppIdGetWithResponse ¶
func (c *ClientWithResponses) AppIdAppIdGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppIdAppIdGetResponse, error)
AppIdAppIdGetWithResponse request returning *AppIdAppIdGetResponse
func (*ClientWithResponses) BuildResourceAssetsPathGetWithResponse ¶
func (c *ClientWithResponses) BuildResourceAssetsPathGetWithResponse(ctx context.Context, path string, reqEditors ...RequestEditorFn) (*BuildResourceAssetsPathGetResponse, error)
BuildResourceAssetsPathGetWithResponse request returning *BuildResourceAssetsPathGetResponse
func (*ClientWithResponses) CreateEmbeddingSdapiV1CreateEmbeddingPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateEmbeddingSdapiV1CreateEmbeddingPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEmbeddingSdapiV1CreateEmbeddingPostResponse, error)
CreateEmbeddingSdapiV1CreateEmbeddingPostWithBodyWithResponse request with arbitrary body returning *CreateEmbeddingSdapiV1CreateEmbeddingPostResponse
func (*ClientWithResponses) CreateEmbeddingSdapiV1CreateEmbeddingPostWithResponse ¶
func (c *ClientWithResponses) CreateEmbeddingSdapiV1CreateEmbeddingPostWithResponse(ctx context.Context, body CreateEmbeddingSdapiV1CreateEmbeddingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEmbeddingSdapiV1CreateEmbeddingPostResponse, error)
func (*ClientWithResponses) CreateHypernetworkSdapiV1CreateHypernetworkPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateHypernetworkSdapiV1CreateHypernetworkPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateHypernetworkSdapiV1CreateHypernetworkPostResponse, error)
CreateHypernetworkSdapiV1CreateHypernetworkPostWithBodyWithResponse request with arbitrary body returning *CreateHypernetworkSdapiV1CreateHypernetworkPostResponse
func (*ClientWithResponses) CreateHypernetworkSdapiV1CreateHypernetworkPostWithResponse ¶
func (c *ClientWithResponses) CreateHypernetworkSdapiV1CreateHypernetworkPostWithResponse(ctx context.Context, body CreateHypernetworkSdapiV1CreateHypernetworkPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateHypernetworkSdapiV1CreateHypernetworkPostResponse, error)
func (*ClientWithResponses) DownloadSysinfoInternalSysinfoGetWithResponse ¶
func (c *ClientWithResponses) DownloadSysinfoInternalSysinfoGetWithResponse(ctx context.Context, params *DownloadSysinfoInternalSysinfoGetParams, reqEditors ...RequestEditorFn) (*DownloadSysinfoInternalSysinfoGetResponse, error)
DownloadSysinfoInternalSysinfoGetWithResponse request returning *DownloadSysinfoInternalSysinfoGetResponse
func (*ClientWithResponses) ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostWithBodyWithResponse ¶
func (c *ClientWithResponses) ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostResponse, error)
ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostWithBodyWithResponse request with arbitrary body returning *ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostResponse
func (*ClientWithResponses) ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostWithResponse ¶
func (c *ClientWithResponses) ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostWithResponse(ctx context.Context, body ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostResponse, error)
func (*ClientWithResponses) ExtrasSingleImageApiSdapiV1ExtraSingleImagePostWithBodyWithResponse ¶
func (c *ClientWithResponses) ExtrasSingleImageApiSdapiV1ExtraSingleImagePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSingleImageApiSdapiV1ExtraSingleImagePostResponse, error)
ExtrasSingleImageApiSdapiV1ExtraSingleImagePostWithBodyWithResponse request with arbitrary body returning *ExtrasSingleImageApiSdapiV1ExtraSingleImagePostResponse
func (*ClientWithResponses) ExtrasSingleImageApiSdapiV1ExtraSingleImagePostWithResponse ¶
func (c *ClientWithResponses) ExtrasSingleImageApiSdapiV1ExtraSingleImagePostWithResponse(ctx context.Context, body ExtrasSingleImageApiSdapiV1ExtraSingleImagePostJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSingleImageApiSdapiV1ExtraSingleImagePostResponse, error)
func (*ClientWithResponses) FaviconFaviconIcoGetWithResponse ¶
func (c *ClientWithResponses) FaviconFaviconIcoGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*FaviconFaviconIcoGetResponse, error)
FaviconFaviconIcoGetWithResponse request returning *FaviconFaviconIcoGetResponse
func (*ClientWithResponses) FetchFileSdExtraNetworksThumbGetWithResponse ¶
func (c *ClientWithResponses) FetchFileSdExtraNetworksThumbGetWithResponse(ctx context.Context, params *FetchFileSdExtraNetworksThumbGetParams, reqEditors ...RequestEditorFn) (*FetchFileSdExtraNetworksThumbGetResponse, error)
FetchFileSdExtraNetworksThumbGetWithResponse request returning *FetchFileSdExtraNetworksThumbGetResponse
func (*ClientWithResponses) FileDeprecatedFilePathGetWithResponse ¶
func (c *ClientWithResponses) FileDeprecatedFilePathGetWithResponse(ctx context.Context, path string, reqEditors ...RequestEditorFn) (*FileDeprecatedFilePathGetResponse, error)
FileDeprecatedFilePathGetWithResponse request returning *FileDeprecatedFilePathGetResponse
func (*ClientWithResponses) FileFilePathOrUrlGetWithResponse ¶
func (c *ClientWithResponses) FileFilePathOrUrlGetWithResponse(ctx context.Context, pathOrUrl string, reqEditors ...RequestEditorFn) (*FileFilePathOrUrlGetResponse, error)
FileFilePathOrUrlGetWithResponse request returning *FileFilePathOrUrlGetResponse
func (*ClientWithResponses) FileFilePathOrUrlHeadWithResponse ¶
func (c *ClientWithResponses) FileFilePathOrUrlHeadWithResponse(ctx context.Context, pathOrUrl string, reqEditors ...RequestEditorFn) (*FileFilePathOrUrlHeadResponse, error)
FileFilePathOrUrlHeadWithResponse request returning *FileFilePathOrUrlHeadResponse
func (*ClientWithResponses) GetCmdFlagsSdapiV1CmdFlagsGetWithResponse ¶
func (c *ClientWithResponses) GetCmdFlagsSdapiV1CmdFlagsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCmdFlagsSdapiV1CmdFlagsGetResponse, error)
GetCmdFlagsSdapiV1CmdFlagsGetWithResponse request returning *GetCmdFlagsSdapiV1CmdFlagsGetResponse
func (*ClientWithResponses) GetConfigConfigGetWithResponse ¶
func (c *ClientWithResponses) GetConfigConfigGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConfigConfigGetResponse, error)
GetConfigConfigGetWithResponse request returning *GetConfigConfigGetResponse
func (*ClientWithResponses) GetConfigSdapiV1OptionsGetWithResponse ¶
func (c *ClientWithResponses) GetConfigSdapiV1OptionsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConfigSdapiV1OptionsGetResponse, error)
GetConfigSdapiV1OptionsGetWithResponse request returning *GetConfigSdapiV1OptionsGetResponse
func (*ClientWithResponses) GetCurrentUserUserGetWithResponse ¶
func (c *ClientWithResponses) GetCurrentUserUserGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserUserGetResponse, error)
GetCurrentUserUserGetWithResponse request returning *GetCurrentUserUserGetResponse
func (*ClientWithResponses) GetEmbeddingsSdapiV1EmbeddingsGetWithResponse ¶
func (c *ClientWithResponses) GetEmbeddingsSdapiV1EmbeddingsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEmbeddingsSdapiV1EmbeddingsGetResponse, error)
GetEmbeddingsSdapiV1EmbeddingsGetWithResponse request returning *GetEmbeddingsSdapiV1EmbeddingsGetResponse
func (*ClientWithResponses) GetExtensionsListSdapiV1ExtensionsGetWithResponse ¶
func (c *ClientWithResponses) GetExtensionsListSdapiV1ExtensionsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetExtensionsListSdapiV1ExtensionsGetResponse, error)
GetExtensionsListSdapiV1ExtensionsGetWithResponse request returning *GetExtensionsListSdapiV1ExtensionsGetResponse
func (*ClientWithResponses) GetFaceRestorersSdapiV1FaceRestorersGetWithResponse ¶
func (c *ClientWithResponses) GetFaceRestorersSdapiV1FaceRestorersGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFaceRestorersSdapiV1FaceRestorersGetResponse, error)
GetFaceRestorersSdapiV1FaceRestorersGetWithResponse request returning *GetFaceRestorersSdapiV1FaceRestorersGetResponse
func (*ClientWithResponses) GetHypernetworksSdapiV1HypernetworksGetWithResponse ¶
func (c *ClientWithResponses) GetHypernetworksSdapiV1HypernetworksGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHypernetworksSdapiV1HypernetworksGetResponse, error)
GetHypernetworksSdapiV1HypernetworksGetWithResponse request returning *GetHypernetworksSdapiV1HypernetworksGetResponse
func (*ClientWithResponses) GetLatentUpscaleModesSdapiV1LatentUpscaleModesGetWithResponse ¶
func (c *ClientWithResponses) GetLatentUpscaleModesSdapiV1LatentUpscaleModesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLatentUpscaleModesSdapiV1LatentUpscaleModesGetResponse, error)
GetLatentUpscaleModesSdapiV1LatentUpscaleModesGetWithResponse request returning *GetLatentUpscaleModesSdapiV1LatentUpscaleModesGetResponse
func (*ClientWithResponses) GetLorasSdapiV1LorasGetWithResponse ¶
func (c *ClientWithResponses) GetLorasSdapiV1LorasGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLorasSdapiV1LorasGetResponse, error)
GetLorasSdapiV1LorasGetWithResponse request returning *GetLorasSdapiV1LorasGetResponse
func (*ClientWithResponses) GetMemorySdapiV1MemoryGetWithResponse ¶
func (c *ClientWithResponses) GetMemorySdapiV1MemoryGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMemorySdapiV1MemoryGetResponse, error)
GetMemorySdapiV1MemoryGetWithResponse request returning *GetMemorySdapiV1MemoryGetResponse
func (*ClientWithResponses) GetMetadataSdExtraNetworksMetadataGetWithResponse ¶
func (c *ClientWithResponses) GetMetadataSdExtraNetworksMetadataGetWithResponse(ctx context.Context, params *GetMetadataSdExtraNetworksMetadataGetParams, reqEditors ...RequestEditorFn) (*GetMetadataSdExtraNetworksMetadataGetResponse, error)
GetMetadataSdExtraNetworksMetadataGetWithResponse request returning *GetMetadataSdExtraNetworksMetadataGetResponse
func (*ClientWithResponses) GetPromptStylesSdapiV1PromptStylesGetWithResponse ¶
func (c *ClientWithResponses) GetPromptStylesSdapiV1PromptStylesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPromptStylesSdapiV1PromptStylesGetResponse, error)
GetPromptStylesSdapiV1PromptStylesGetWithResponse request returning *GetPromptStylesSdapiV1PromptStylesGetResponse
func (*ClientWithResponses) GetQueueStatusQueueStatusGetWithResponse ¶
func (c *ClientWithResponses) GetQueueStatusQueueStatusGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetQueueStatusQueueStatusGetResponse, error)
GetQueueStatusQueueStatusGetWithResponse request returning *GetQueueStatusQueueStatusGetResponse
func (*ClientWithResponses) GetRealesrganModelsSdapiV1RealesrganModelsGetWithResponse ¶
func (c *ClientWithResponses) GetRealesrganModelsSdapiV1RealesrganModelsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetRealesrganModelsSdapiV1RealesrganModelsGetResponse, error)
GetRealesrganModelsSdapiV1RealesrganModelsGetWithResponse request returning *GetRealesrganModelsSdapiV1RealesrganModelsGetResponse
func (*ClientWithResponses) GetSamplersSdapiV1SamplersGetWithResponse ¶
func (c *ClientWithResponses) GetSamplersSdapiV1SamplersGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSamplersSdapiV1SamplersGetResponse, error)
GetSamplersSdapiV1SamplersGetWithResponse request returning *GetSamplersSdapiV1SamplersGetResponse
func (*ClientWithResponses) GetScriptInfoSdapiV1ScriptInfoGetWithResponse ¶
func (c *ClientWithResponses) GetScriptInfoSdapiV1ScriptInfoGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetScriptInfoSdapiV1ScriptInfoGetResponse, error)
GetScriptInfoSdapiV1ScriptInfoGetWithResponse request returning *GetScriptInfoSdapiV1ScriptInfoGetResponse
func (*ClientWithResponses) GetScriptsListSdapiV1ScriptsGetWithResponse ¶
func (c *ClientWithResponses) GetScriptsListSdapiV1ScriptsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetScriptsListSdapiV1ScriptsGetResponse, error)
GetScriptsListSdapiV1ScriptsGetWithResponse request returning *GetScriptsListSdapiV1ScriptsGetResponse
func (*ClientWithResponses) GetSdModelsSdapiV1SdModelsGetWithResponse ¶
func (c *ClientWithResponses) GetSdModelsSdapiV1SdModelsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSdModelsSdapiV1SdModelsGetResponse, error)
GetSdModelsSdapiV1SdModelsGetWithResponse request returning *GetSdModelsSdapiV1SdModelsGetResponse
func (*ClientWithResponses) GetSdVaesSdapiV1SdVaeGetWithResponse ¶
func (c *ClientWithResponses) GetSdVaesSdapiV1SdVaeGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSdVaesSdapiV1SdVaeGetResponse, error)
GetSdVaesSdapiV1SdVaeGetWithResponse request returning *GetSdVaesSdapiV1SdVaeGetResponse
func (*ClientWithResponses) GetSingleCardSdExtraNetworksGetSingleCardGetWithResponse ¶
func (c *ClientWithResponses) GetSingleCardSdExtraNetworksGetSingleCardGetWithResponse(ctx context.Context, params *GetSingleCardSdExtraNetworksGetSingleCardGetParams, reqEditors ...RequestEditorFn) (*GetSingleCardSdExtraNetworksGetSingleCardGetResponse, error)
GetSingleCardSdExtraNetworksGetSingleCardGetWithResponse request returning *GetSingleCardSdExtraNetworksGetSingleCardGetResponse
func (*ClientWithResponses) GetTokenTokenGetWithResponse ¶
func (c *ClientWithResponses) GetTokenTokenGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTokenTokenGetResponse, error)
GetTokenTokenGetWithResponse request returning *GetTokenTokenGetResponse
func (*ClientWithResponses) GetUpscalersSdapiV1UpscalersGetWithResponse ¶
func (c *ClientWithResponses) GetUpscalersSdapiV1UpscalersGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUpscalersSdapiV1UpscalersGetResponse, error)
GetUpscalersSdapiV1UpscalersGetWithResponse request returning *GetUpscalersSdapiV1UpscalersGetResponse
func (*ClientWithResponses) Img2imgapiSdapiV1Img2imgPostWithBodyWithResponse ¶
func (c *ClientWithResponses) Img2imgapiSdapiV1Img2imgPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*Img2imgapiSdapiV1Img2imgPostResponse, error)
Img2imgapiSdapiV1Img2imgPostWithBodyWithResponse request with arbitrary body returning *Img2imgapiSdapiV1Img2imgPostResponse
func (*ClientWithResponses) Img2imgapiSdapiV1Img2imgPostWithResponse ¶
func (c *ClientWithResponses) Img2imgapiSdapiV1Img2imgPostWithResponse(ctx context.Context, body Img2imgapiSdapiV1Img2imgPostJSONRequestBody, reqEditors ...RequestEditorFn) (*Img2imgapiSdapiV1Img2imgPostResponse, error)
func (*ClientWithResponses) InterrogateapiSdapiV1InterrogatePostWithBodyWithResponse ¶
func (c *ClientWithResponses) InterrogateapiSdapiV1InterrogatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InterrogateapiSdapiV1InterrogatePostResponse, error)
InterrogateapiSdapiV1InterrogatePostWithBodyWithResponse request with arbitrary body returning *InterrogateapiSdapiV1InterrogatePostResponse
func (*ClientWithResponses) InterrogateapiSdapiV1InterrogatePostWithResponse ¶
func (c *ClientWithResponses) InterrogateapiSdapiV1InterrogatePostWithResponse(ctx context.Context, body InterrogateapiSdapiV1InterrogatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*InterrogateapiSdapiV1InterrogatePostResponse, error)
func (*ClientWithResponses) InterruptapiSdapiV1InterruptPostWithResponse ¶
func (c *ClientWithResponses) InterruptapiSdapiV1InterruptPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*InterruptapiSdapiV1InterruptPostResponse, error)
InterruptapiSdapiV1InterruptPostWithResponse request returning *InterruptapiSdapiV1InterruptPostResponse
func (*ClientWithResponses) LambdaInternalPingGetWithResponse ¶
func (c *ClientWithResponses) LambdaInternalPingGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LambdaInternalPingGetResponse, error)
LambdaInternalPingGetWithResponse request returning *LambdaInternalPingGetResponse
func (*ClientWithResponses) LambdaInternalProfileStartupGetWithResponse ¶
func (c *ClientWithResponses) LambdaInternalProfileStartupGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LambdaInternalProfileStartupGetResponse, error)
LambdaInternalProfileStartupGetWithResponse request returning *LambdaInternalProfileStartupGetResponse
func (*ClientWithResponses) LambdaInternalSysinfoDownloadGetWithResponse ¶
func (c *ClientWithResponses) LambdaInternalSysinfoDownloadGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LambdaInternalSysinfoDownloadGetResponse, error)
LambdaInternalSysinfoDownloadGetWithResponse request returning *LambdaInternalSysinfoDownloadGetResponse
func (*ClientWithResponses) LoginCheckLoginCheckGetWithResponse ¶
func (c *ClientWithResponses) LoginCheckLoginCheckGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LoginCheckLoginCheckGetResponse, error)
LoginCheckLoginCheckGetWithResponse request returning *LoginCheckLoginCheckGetResponse
func (*ClientWithResponses) LoginLoginPostWithBodyWithResponse ¶
func (c *ClientWithResponses) LoginLoginPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginLoginPostResponse, error)
LoginLoginPostWithBodyWithResponse request with arbitrary body returning *LoginLoginPostResponse
func (*ClientWithResponses) LoginLoginPostWithFormdataBodyWithResponse ¶
func (c *ClientWithResponses) LoginLoginPostWithFormdataBodyWithResponse(ctx context.Context, body LoginLoginPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*LoginLoginPostResponse, error)
func (*ClientWithResponses) MainGetWithResponse ¶
func (c *ClientWithResponses) MainGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MainGetResponse, error)
MainGetWithResponse request returning *MainGetResponse
func (*ClientWithResponses) MainHeadWithResponse ¶
func (c *ClientWithResponses) MainHeadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MainHeadResponse, error)
MainHeadWithResponse request returning *MainHeadResponse
func (*ClientWithResponses) PnginfoapiSdapiV1PngInfoPostWithBodyWithResponse ¶
func (c *ClientWithResponses) PnginfoapiSdapiV1PngInfoPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PnginfoapiSdapiV1PngInfoPostResponse, error)
PnginfoapiSdapiV1PngInfoPostWithBodyWithResponse request with arbitrary body returning *PnginfoapiSdapiV1PngInfoPostResponse
func (*ClientWithResponses) PnginfoapiSdapiV1PngInfoPostWithResponse ¶
func (c *ClientWithResponses) PnginfoapiSdapiV1PngInfoPostWithResponse(ctx context.Context, body PnginfoapiSdapiV1PngInfoPostJSONRequestBody, reqEditors ...RequestEditorFn) (*PnginfoapiSdapiV1PngInfoPostResponse, error)
func (*ClientWithResponses) PredictApiApiNamePostWithBodyWithResponse ¶
func (c *ClientWithResponses) PredictApiApiNamePostWithBodyWithResponse(ctx context.Context, apiName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PredictApiApiNamePostResponse, error)
PredictApiApiNamePostWithBodyWithResponse request with arbitrary body returning *PredictApiApiNamePostResponse
func (*ClientWithResponses) PredictApiApiNamePostWithResponse ¶
func (c *ClientWithResponses) PredictApiApiNamePostWithResponse(ctx context.Context, apiName string, body PredictApiApiNamePostJSONRequestBody, reqEditors ...RequestEditorFn) (*PredictApiApiNamePostResponse, error)
func (*ClientWithResponses) PredictRunApiNamePostWithBodyWithResponse ¶
func (c *ClientWithResponses) PredictRunApiNamePostWithBodyWithResponse(ctx context.Context, apiName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PredictRunApiNamePostResponse, error)
PredictRunApiNamePostWithBodyWithResponse request with arbitrary body returning *PredictRunApiNamePostResponse
func (*ClientWithResponses) PredictRunApiNamePostWithResponse ¶
func (c *ClientWithResponses) PredictRunApiNamePostWithResponse(ctx context.Context, apiName string, body PredictRunApiNamePostJSONRequestBody, reqEditors ...RequestEditorFn) (*PredictRunApiNamePostResponse, error)
func (*ClientWithResponses) ProgressapiInternalProgressPostWithBodyWithResponse ¶
func (c *ClientWithResponses) ProgressapiInternalProgressPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProgressapiInternalProgressPostResponse, error)
ProgressapiInternalProgressPostWithBodyWithResponse request with arbitrary body returning *ProgressapiInternalProgressPostResponse
func (*ClientWithResponses) ProgressapiInternalProgressPostWithResponse ¶
func (c *ClientWithResponses) ProgressapiInternalProgressPostWithResponse(ctx context.Context, body ProgressapiInternalProgressPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ProgressapiInternalProgressPostResponse, error)
func (*ClientWithResponses) ProgressapiSdapiV1ProgressGetWithResponse ¶
func (c *ClientWithResponses) ProgressapiSdapiV1ProgressGetWithResponse(ctx context.Context, params *ProgressapiSdapiV1ProgressGetParams, reqEditors ...RequestEditorFn) (*ProgressapiSdapiV1ProgressGetResponse, error)
ProgressapiSdapiV1ProgressGetWithResponse request returning *ProgressapiSdapiV1ProgressGetResponse
func (*ClientWithResponses) QuicksettingsHintInternalQuicksettingsHintGetWithResponse ¶
func (c *ClientWithResponses) QuicksettingsHintInternalQuicksettingsHintGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*QuicksettingsHintInternalQuicksettingsHintGetResponse, error)
QuicksettingsHintInternalQuicksettingsHintGetWithResponse request returning *QuicksettingsHintInternalQuicksettingsHintGetResponse
func (*ClientWithResponses) RefreshCheckpointsSdapiV1RefreshCheckpointsPostWithResponse ¶
func (c *ClientWithResponses) RefreshCheckpointsSdapiV1RefreshCheckpointsPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshCheckpointsSdapiV1RefreshCheckpointsPostResponse, error)
RefreshCheckpointsSdapiV1RefreshCheckpointsPostWithResponse request returning *RefreshCheckpointsSdapiV1RefreshCheckpointsPostResponse
func (*ClientWithResponses) RefreshLorasSdapiV1RefreshLorasPostWithResponse ¶
func (c *ClientWithResponses) RefreshLorasSdapiV1RefreshLorasPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshLorasSdapiV1RefreshLorasPostResponse, error)
RefreshLorasSdapiV1RefreshLorasPostWithResponse request returning *RefreshLorasSdapiV1RefreshLorasPostResponse
func (*ClientWithResponses) RefreshVaeSdapiV1RefreshVaePostWithResponse ¶
func (c *ClientWithResponses) RefreshVaeSdapiV1RefreshVaePostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshVaeSdapiV1RefreshVaePostResponse, error)
RefreshVaeSdapiV1RefreshVaePostWithResponse request returning *RefreshVaeSdapiV1RefreshVaePostResponse
func (*ClientWithResponses) ReloadapiSdapiV1ReloadCheckpointPostWithResponse ¶
func (c *ClientWithResponses) ReloadapiSdapiV1ReloadCheckpointPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReloadapiSdapiV1ReloadCheckpointPostResponse, error)
ReloadapiSdapiV1ReloadCheckpointPostWithResponse request returning *ReloadapiSdapiV1ReloadCheckpointPostResponse
func (*ClientWithResponses) ResetIteratorResetPostWithBodyWithResponse ¶
func (c *ClientWithResponses) ResetIteratorResetPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResetIteratorResetPostResponse, error)
ResetIteratorResetPostWithBodyWithResponse request with arbitrary body returning *ResetIteratorResetPostResponse
func (*ClientWithResponses) ResetIteratorResetPostWithResponse ¶
func (c *ClientWithResponses) ResetIteratorResetPostWithResponse(ctx context.Context, body ResetIteratorResetPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ResetIteratorResetPostResponse, error)
func (*ClientWithResponses) ReverseProxyProxyUrlPathGetWithResponse ¶
func (c *ClientWithResponses) ReverseProxyProxyUrlPathGetWithResponse(ctx context.Context, urlPath string, reqEditors ...RequestEditorFn) (*ReverseProxyProxyUrlPathGetResponse, error)
ReverseProxyProxyUrlPathGetWithResponse request returning *ReverseProxyProxyUrlPathGetResponse
func (*ClientWithResponses) ReverseProxyProxyUrlPathHeadWithResponse ¶
func (c *ClientWithResponses) ReverseProxyProxyUrlPathHeadWithResponse(ctx context.Context, urlPath string, reqEditors ...RequestEditorFn) (*ReverseProxyProxyUrlPathHeadResponse, error)
ReverseProxyProxyUrlPathHeadWithResponse request returning *ReverseProxyProxyUrlPathHeadResponse
func (*ClientWithResponses) RobotsTxtRobotsTxtGetWithResponse ¶
func (c *ClientWithResponses) RobotsTxtRobotsTxtGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RobotsTxtRobotsTxtGetResponse, error)
RobotsTxtRobotsTxtGetWithResponse request returning *RobotsTxtRobotsTxtGetResponse
func (*ClientWithResponses) SetConfigSdapiV1OptionsPostWithBodyWithResponse ¶
func (c *ClientWithResponses) SetConfigSdapiV1OptionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetConfigSdapiV1OptionsPostResponse, error)
SetConfigSdapiV1OptionsPostWithBodyWithResponse request with arbitrary body returning *SetConfigSdapiV1OptionsPostResponse
func (*ClientWithResponses) SetConfigSdapiV1OptionsPostWithResponse ¶
func (c *ClientWithResponses) SetConfigSdapiV1OptionsPostWithResponse(ctx context.Context, body SetConfigSdapiV1OptionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*SetConfigSdapiV1OptionsPostResponse, error)
func (*ClientWithResponses) SkipSdapiV1SkipPostWithResponse ¶
func (c *ClientWithResponses) SkipSdapiV1SkipPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SkipSdapiV1SkipPostResponse, error)
SkipSdapiV1SkipPostWithResponse request returning *SkipSdapiV1SkipPostResponse
func (*ClientWithResponses) StartupEventsStartupEventsGetWithResponse ¶
func (c *ClientWithResponses) StartupEventsStartupEventsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*StartupEventsStartupEventsGetResponse, error)
StartupEventsStartupEventsGetWithResponse request returning *StartupEventsStartupEventsGetResponse
func (*ClientWithResponses) StaticResourceStaticPathGetWithResponse ¶
func (c *ClientWithResponses) StaticResourceStaticPathGetWithResponse(ctx context.Context, path string, reqEditors ...RequestEditorFn) (*StaticResourceStaticPathGetResponse, error)
StaticResourceStaticPathGetWithResponse request returning *StaticResourceStaticPathGetResponse
func (*ClientWithResponses) StreamStreamSessionHashRunComponentIdGetWithResponse ¶
func (c *ClientWithResponses) StreamStreamSessionHashRunComponentIdGetWithResponse(ctx context.Context, sessionHash string, run int, componentId int, reqEditors ...RequestEditorFn) (*StreamStreamSessionHashRunComponentIdGetResponse, error)
StreamStreamSessionHashRunComponentIdGetWithResponse request returning *StreamStreamSessionHashRunComponentIdGetResponse
func (*ClientWithResponses) Text2imgapiSdapiV1Txt2imgPostWithBodyWithResponse ¶
func (c *ClientWithResponses) Text2imgapiSdapiV1Txt2imgPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*Text2imgapiSdapiV1Txt2imgPostResponse, error)
Text2imgapiSdapiV1Txt2imgPostWithBodyWithResponse request with arbitrary body returning *Text2imgapiSdapiV1Txt2imgPostResponse
func (*ClientWithResponses) Text2imgapiSdapiV1Txt2imgPostWithResponse ¶
func (c *ClientWithResponses) Text2imgapiSdapiV1Txt2imgPostWithResponse(ctx context.Context, body Text2imgapiSdapiV1Txt2imgPostJSONRequestBody, reqEditors ...RequestEditorFn) (*Text2imgapiSdapiV1Txt2imgPostResponse, error)
func (*ClientWithResponses) ThemeCssThemeCssGetWithResponse ¶
func (c *ClientWithResponses) ThemeCssThemeCssGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ThemeCssThemeCssGetResponse, error)
ThemeCssThemeCssGetWithResponse request returning *ThemeCssThemeCssGetResponse
func (*ClientWithResponses) TrainEmbeddingSdapiV1TrainEmbeddingPostWithBodyWithResponse ¶
func (c *ClientWithResponses) TrainEmbeddingSdapiV1TrainEmbeddingPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TrainEmbeddingSdapiV1TrainEmbeddingPostResponse, error)
TrainEmbeddingSdapiV1TrainEmbeddingPostWithBodyWithResponse request with arbitrary body returning *TrainEmbeddingSdapiV1TrainEmbeddingPostResponse
func (*ClientWithResponses) TrainEmbeddingSdapiV1TrainEmbeddingPostWithResponse ¶
func (c *ClientWithResponses) TrainEmbeddingSdapiV1TrainEmbeddingPostWithResponse(ctx context.Context, body TrainEmbeddingSdapiV1TrainEmbeddingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*TrainEmbeddingSdapiV1TrainEmbeddingPostResponse, error)
func (*ClientWithResponses) TrainHypernetworkSdapiV1TrainHypernetworkPostWithBodyWithResponse ¶
func (c *ClientWithResponses) TrainHypernetworkSdapiV1TrainHypernetworkPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TrainHypernetworkSdapiV1TrainHypernetworkPostResponse, error)
TrainHypernetworkSdapiV1TrainHypernetworkPostWithBodyWithResponse request with arbitrary body returning *TrainHypernetworkSdapiV1TrainHypernetworkPostResponse
func (*ClientWithResponses) TrainHypernetworkSdapiV1TrainHypernetworkPostWithResponse ¶
func (c *ClientWithResponses) TrainHypernetworkSdapiV1TrainHypernetworkPostWithResponse(ctx context.Context, body TrainHypernetworkSdapiV1TrainHypernetworkPostJSONRequestBody, reqEditors ...RequestEditorFn) (*TrainHypernetworkSdapiV1TrainHypernetworkPostResponse, error)
func (*ClientWithResponses) UnloadapiSdapiV1UnloadCheckpointPostWithResponse ¶
func (c *ClientWithResponses) UnloadapiSdapiV1UnloadCheckpointPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UnloadapiSdapiV1UnloadCheckpointPostResponse, error)
UnloadapiSdapiV1UnloadCheckpointPostWithResponse request returning *UnloadapiSdapiV1UnloadCheckpointPostResponse
func (*ClientWithResponses) UploadFileUploadPostWithBodyWithResponse ¶
func (c *ClientWithResponses) UploadFileUploadPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadFileUploadPostResponse, error)
UploadFileUploadPostWithBodyWithResponse request with arbitrary body returning *UploadFileUploadPostResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// MainGetWithResponse request
MainGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MainGetResponse, error)
// MainHeadWithResponse request
MainHeadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MainHeadResponse, error)
// PredictApiApiNamePostWithBodyWithResponse request with any body
PredictApiApiNamePostWithBodyWithResponse(ctx context.Context, apiName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PredictApiApiNamePostResponse, error)
PredictApiApiNamePostWithResponse(ctx context.Context, apiName string, body PredictApiApiNamePostJSONRequestBody, reqEditors ...RequestEditorFn) (*PredictApiApiNamePostResponse, error)
// AppIdAppIdGetWithResponse request
AppIdAppIdGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppIdAppIdGetResponse, error)
// BuildResourceAssetsPathGetWithResponse request
BuildResourceAssetsPathGetWithResponse(ctx context.Context, path string, reqEditors ...RequestEditorFn) (*BuildResourceAssetsPathGetResponse, error)
// GetConfigConfigGetWithResponse request
GetConfigConfigGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConfigConfigGetResponse, error)
// FaviconFaviconIcoGetWithResponse request
FaviconFaviconIcoGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*FaviconFaviconIcoGetResponse, error)
// FileDeprecatedFilePathGetWithResponse request
FileDeprecatedFilePathGetWithResponse(ctx context.Context, path string, reqEditors ...RequestEditorFn) (*FileDeprecatedFilePathGetResponse, error)
// FileFilePathOrUrlGetWithResponse request
FileFilePathOrUrlGetWithResponse(ctx context.Context, pathOrUrl string, reqEditors ...RequestEditorFn) (*FileFilePathOrUrlGetResponse, error)
// FileFilePathOrUrlHeadWithResponse request
FileFilePathOrUrlHeadWithResponse(ctx context.Context, pathOrUrl string, reqEditors ...RequestEditorFn) (*FileFilePathOrUrlHeadResponse, error)
// ApiInfoInfoGetWithResponse request
ApiInfoInfoGetWithResponse(ctx context.Context, params *ApiInfoInfoGetParams, reqEditors ...RequestEditorFn) (*ApiInfoInfoGetResponse, error)
// LambdaInternalPingGetWithResponse request
LambdaInternalPingGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LambdaInternalPingGetResponse, error)
// LambdaInternalProfileStartupGetWithResponse request
LambdaInternalProfileStartupGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LambdaInternalProfileStartupGetResponse, error)
// ProgressapiInternalProgressPostWithBodyWithResponse request with any body
ProgressapiInternalProgressPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProgressapiInternalProgressPostResponse, error)
ProgressapiInternalProgressPostWithResponse(ctx context.Context, body ProgressapiInternalProgressPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ProgressapiInternalProgressPostResponse, error)
// QuicksettingsHintInternalQuicksettingsHintGetWithResponse request
QuicksettingsHintInternalQuicksettingsHintGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*QuicksettingsHintInternalQuicksettingsHintGetResponse, error)
// DownloadSysinfoInternalSysinfoGetWithResponse request
DownloadSysinfoInternalSysinfoGetWithResponse(ctx context.Context, params *DownloadSysinfoInternalSysinfoGetParams, reqEditors ...RequestEditorFn) (*DownloadSysinfoInternalSysinfoGetResponse, error)
// LambdaInternalSysinfoDownloadGetWithResponse request
LambdaInternalSysinfoDownloadGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LambdaInternalSysinfoDownloadGetResponse, error)
// LoginLoginPostWithBodyWithResponse request with any body
LoginLoginPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginLoginPostResponse, error)
LoginLoginPostWithFormdataBodyWithResponse(ctx context.Context, body LoginLoginPostFormdataRequestBody, reqEditors ...RequestEditorFn) (*LoginLoginPostResponse, error)
// LoginCheckLoginCheckGetWithResponse request
LoginCheckLoginCheckGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LoginCheckLoginCheckGetResponse, error)
// ReverseProxyProxyUrlPathGetWithResponse request
ReverseProxyProxyUrlPathGetWithResponse(ctx context.Context, urlPath string, reqEditors ...RequestEditorFn) (*ReverseProxyProxyUrlPathGetResponse, error)
// ReverseProxyProxyUrlPathHeadWithResponse request
ReverseProxyProxyUrlPathHeadWithResponse(ctx context.Context, urlPath string, reqEditors ...RequestEditorFn) (*ReverseProxyProxyUrlPathHeadResponse, error)
// GetQueueStatusQueueStatusGetWithResponse request
GetQueueStatusQueueStatusGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetQueueStatusQueueStatusGetResponse, error)
// ResetIteratorResetPostWithBodyWithResponse request with any body
ResetIteratorResetPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResetIteratorResetPostResponse, error)
ResetIteratorResetPostWithResponse(ctx context.Context, body ResetIteratorResetPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ResetIteratorResetPostResponse, error)
// RobotsTxtRobotsTxtGetWithResponse request
RobotsTxtRobotsTxtGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RobotsTxtRobotsTxtGetResponse, error)
// PredictRunApiNamePostWithBodyWithResponse request with any body
PredictRunApiNamePostWithBodyWithResponse(ctx context.Context, apiName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PredictRunApiNamePostResponse, error)
PredictRunApiNamePostWithResponse(ctx context.Context, apiName string, body PredictRunApiNamePostJSONRequestBody, reqEditors ...RequestEditorFn) (*PredictRunApiNamePostResponse, error)
// GetSingleCardSdExtraNetworksGetSingleCardGetWithResponse request
GetSingleCardSdExtraNetworksGetSingleCardGetWithResponse(ctx context.Context, params *GetSingleCardSdExtraNetworksGetSingleCardGetParams, reqEditors ...RequestEditorFn) (*GetSingleCardSdExtraNetworksGetSingleCardGetResponse, error)
// GetMetadataSdExtraNetworksMetadataGetWithResponse request
GetMetadataSdExtraNetworksMetadataGetWithResponse(ctx context.Context, params *GetMetadataSdExtraNetworksMetadataGetParams, reqEditors ...RequestEditorFn) (*GetMetadataSdExtraNetworksMetadataGetResponse, error)
// FetchFileSdExtraNetworksThumbGetWithResponse request
FetchFileSdExtraNetworksThumbGetWithResponse(ctx context.Context, params *FetchFileSdExtraNetworksThumbGetParams, reqEditors ...RequestEditorFn) (*FetchFileSdExtraNetworksThumbGetResponse, error)
// GetCmdFlagsSdapiV1CmdFlagsGetWithResponse request
GetCmdFlagsSdapiV1CmdFlagsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCmdFlagsSdapiV1CmdFlagsGetResponse, error)
// CreateEmbeddingSdapiV1CreateEmbeddingPostWithBodyWithResponse request with any body
CreateEmbeddingSdapiV1CreateEmbeddingPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEmbeddingSdapiV1CreateEmbeddingPostResponse, error)
CreateEmbeddingSdapiV1CreateEmbeddingPostWithResponse(ctx context.Context, body CreateEmbeddingSdapiV1CreateEmbeddingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEmbeddingSdapiV1CreateEmbeddingPostResponse, error)
// CreateHypernetworkSdapiV1CreateHypernetworkPostWithBodyWithResponse request with any body
CreateHypernetworkSdapiV1CreateHypernetworkPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateHypernetworkSdapiV1CreateHypernetworkPostResponse, error)
CreateHypernetworkSdapiV1CreateHypernetworkPostWithResponse(ctx context.Context, body CreateHypernetworkSdapiV1CreateHypernetworkPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateHypernetworkSdapiV1CreateHypernetworkPostResponse, error)
// GetEmbeddingsSdapiV1EmbeddingsGetWithResponse request
GetEmbeddingsSdapiV1EmbeddingsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEmbeddingsSdapiV1EmbeddingsGetResponse, error)
// GetExtensionsListSdapiV1ExtensionsGetWithResponse request
GetExtensionsListSdapiV1ExtensionsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetExtensionsListSdapiV1ExtensionsGetResponse, error)
// ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostWithBodyWithResponse request with any body
ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostResponse, error)
ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostWithResponse(ctx context.Context, body ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostResponse, error)
// ExtrasSingleImageApiSdapiV1ExtraSingleImagePostWithBodyWithResponse request with any body
ExtrasSingleImageApiSdapiV1ExtraSingleImagePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSingleImageApiSdapiV1ExtraSingleImagePostResponse, error)
ExtrasSingleImageApiSdapiV1ExtraSingleImagePostWithResponse(ctx context.Context, body ExtrasSingleImageApiSdapiV1ExtraSingleImagePostJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSingleImageApiSdapiV1ExtraSingleImagePostResponse, error)
// GetFaceRestorersSdapiV1FaceRestorersGetWithResponse request
GetFaceRestorersSdapiV1FaceRestorersGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFaceRestorersSdapiV1FaceRestorersGetResponse, error)
// GetHypernetworksSdapiV1HypernetworksGetWithResponse request
GetHypernetworksSdapiV1HypernetworksGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHypernetworksSdapiV1HypernetworksGetResponse, error)
// Img2imgapiSdapiV1Img2imgPostWithBodyWithResponse request with any body
Img2imgapiSdapiV1Img2imgPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*Img2imgapiSdapiV1Img2imgPostResponse, error)
Img2imgapiSdapiV1Img2imgPostWithResponse(ctx context.Context, body Img2imgapiSdapiV1Img2imgPostJSONRequestBody, reqEditors ...RequestEditorFn) (*Img2imgapiSdapiV1Img2imgPostResponse, error)
// InterrogateapiSdapiV1InterrogatePostWithBodyWithResponse request with any body
InterrogateapiSdapiV1InterrogatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InterrogateapiSdapiV1InterrogatePostResponse, error)
InterrogateapiSdapiV1InterrogatePostWithResponse(ctx context.Context, body InterrogateapiSdapiV1InterrogatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*InterrogateapiSdapiV1InterrogatePostResponse, error)
// InterruptapiSdapiV1InterruptPostWithResponse request
InterruptapiSdapiV1InterruptPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*InterruptapiSdapiV1InterruptPostResponse, error)
// GetLatentUpscaleModesSdapiV1LatentUpscaleModesGetWithResponse request
GetLatentUpscaleModesSdapiV1LatentUpscaleModesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLatentUpscaleModesSdapiV1LatentUpscaleModesGetResponse, error)
// GetLorasSdapiV1LorasGetWithResponse request
GetLorasSdapiV1LorasGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLorasSdapiV1LorasGetResponse, error)
// GetMemorySdapiV1MemoryGetWithResponse request
GetMemorySdapiV1MemoryGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMemorySdapiV1MemoryGetResponse, error)
// GetConfigSdapiV1OptionsGetWithResponse request
GetConfigSdapiV1OptionsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConfigSdapiV1OptionsGetResponse, error)
// SetConfigSdapiV1OptionsPostWithBodyWithResponse request with any body
SetConfigSdapiV1OptionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetConfigSdapiV1OptionsPostResponse, error)
SetConfigSdapiV1OptionsPostWithResponse(ctx context.Context, body SetConfigSdapiV1OptionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*SetConfigSdapiV1OptionsPostResponse, error)
// PnginfoapiSdapiV1PngInfoPostWithBodyWithResponse request with any body
PnginfoapiSdapiV1PngInfoPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PnginfoapiSdapiV1PngInfoPostResponse, error)
PnginfoapiSdapiV1PngInfoPostWithResponse(ctx context.Context, body PnginfoapiSdapiV1PngInfoPostJSONRequestBody, reqEditors ...RequestEditorFn) (*PnginfoapiSdapiV1PngInfoPostResponse, error)
// ProgressapiSdapiV1ProgressGetWithResponse request
ProgressapiSdapiV1ProgressGetWithResponse(ctx context.Context, params *ProgressapiSdapiV1ProgressGetParams, reqEditors ...RequestEditorFn) (*ProgressapiSdapiV1ProgressGetResponse, error)
// GetPromptStylesSdapiV1PromptStylesGetWithResponse request
GetPromptStylesSdapiV1PromptStylesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPromptStylesSdapiV1PromptStylesGetResponse, error)
// GetRealesrganModelsSdapiV1RealesrganModelsGetWithResponse request
GetRealesrganModelsSdapiV1RealesrganModelsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetRealesrganModelsSdapiV1RealesrganModelsGetResponse, error)
// RefreshCheckpointsSdapiV1RefreshCheckpointsPostWithResponse request
RefreshCheckpointsSdapiV1RefreshCheckpointsPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshCheckpointsSdapiV1RefreshCheckpointsPostResponse, error)
// RefreshLorasSdapiV1RefreshLorasPostWithResponse request
RefreshLorasSdapiV1RefreshLorasPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshLorasSdapiV1RefreshLorasPostResponse, error)
// RefreshVaeSdapiV1RefreshVaePostWithResponse request
RefreshVaeSdapiV1RefreshVaePostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshVaeSdapiV1RefreshVaePostResponse, error)
// ReloadapiSdapiV1ReloadCheckpointPostWithResponse request
ReloadapiSdapiV1ReloadCheckpointPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReloadapiSdapiV1ReloadCheckpointPostResponse, error)
// GetSamplersSdapiV1SamplersGetWithResponse request
GetSamplersSdapiV1SamplersGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSamplersSdapiV1SamplersGetResponse, error)
// GetScriptInfoSdapiV1ScriptInfoGetWithResponse request
GetScriptInfoSdapiV1ScriptInfoGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetScriptInfoSdapiV1ScriptInfoGetResponse, error)
// GetScriptsListSdapiV1ScriptsGetWithResponse request
GetScriptsListSdapiV1ScriptsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetScriptsListSdapiV1ScriptsGetResponse, error)
// GetSdModelsSdapiV1SdModelsGetWithResponse request
GetSdModelsSdapiV1SdModelsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSdModelsSdapiV1SdModelsGetResponse, error)
// GetSdVaesSdapiV1SdVaeGetWithResponse request
GetSdVaesSdapiV1SdVaeGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSdVaesSdapiV1SdVaeGetResponse, error)
// SkipSdapiV1SkipPostWithResponse request
SkipSdapiV1SkipPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SkipSdapiV1SkipPostResponse, error)
// TrainEmbeddingSdapiV1TrainEmbeddingPostWithBodyWithResponse request with any body
TrainEmbeddingSdapiV1TrainEmbeddingPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TrainEmbeddingSdapiV1TrainEmbeddingPostResponse, error)
TrainEmbeddingSdapiV1TrainEmbeddingPostWithResponse(ctx context.Context, body TrainEmbeddingSdapiV1TrainEmbeddingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*TrainEmbeddingSdapiV1TrainEmbeddingPostResponse, error)
// TrainHypernetworkSdapiV1TrainHypernetworkPostWithBodyWithResponse request with any body
TrainHypernetworkSdapiV1TrainHypernetworkPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TrainHypernetworkSdapiV1TrainHypernetworkPostResponse, error)
TrainHypernetworkSdapiV1TrainHypernetworkPostWithResponse(ctx context.Context, body TrainHypernetworkSdapiV1TrainHypernetworkPostJSONRequestBody, reqEditors ...RequestEditorFn) (*TrainHypernetworkSdapiV1TrainHypernetworkPostResponse, error)
// Text2imgapiSdapiV1Txt2imgPostWithBodyWithResponse request with any body
Text2imgapiSdapiV1Txt2imgPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*Text2imgapiSdapiV1Txt2imgPostResponse, error)
Text2imgapiSdapiV1Txt2imgPostWithResponse(ctx context.Context, body Text2imgapiSdapiV1Txt2imgPostJSONRequestBody, reqEditors ...RequestEditorFn) (*Text2imgapiSdapiV1Txt2imgPostResponse, error)
// UnloadapiSdapiV1UnloadCheckpointPostWithResponse request
UnloadapiSdapiV1UnloadCheckpointPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UnloadapiSdapiV1UnloadCheckpointPostResponse, error)
// GetUpscalersSdapiV1UpscalersGetWithResponse request
GetUpscalersSdapiV1UpscalersGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUpscalersSdapiV1UpscalersGetResponse, error)
// StartupEventsStartupEventsGetWithResponse request
StartupEventsStartupEventsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*StartupEventsStartupEventsGetResponse, error)
// StaticResourceStaticPathGetWithResponse request
StaticResourceStaticPathGetWithResponse(ctx context.Context, path string, reqEditors ...RequestEditorFn) (*StaticResourceStaticPathGetResponse, error)
// StreamStreamSessionHashRunComponentIdGetWithResponse request
StreamStreamSessionHashRunComponentIdGetWithResponse(ctx context.Context, sessionHash string, run int, componentId int, reqEditors ...RequestEditorFn) (*StreamStreamSessionHashRunComponentIdGetResponse, error)
// ThemeCssThemeCssGetWithResponse request
ThemeCssThemeCssGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ThemeCssThemeCssGetResponse, error)
// GetTokenTokenGetWithResponse request
GetTokenTokenGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTokenTokenGetResponse, error)
// UploadFileUploadPostWithBodyWithResponse request with any body
UploadFileUploadPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadFileUploadPostResponse, error)
// GetCurrentUserUserGetWithResponse request
GetCurrentUserUserGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserUserGetResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateEmbeddingSdapiV1CreateEmbeddingPostJSONBody ¶
type CreateEmbeddingSdapiV1CreateEmbeddingPostJSONBody = map[string]interface{}
CreateEmbeddingSdapiV1CreateEmbeddingPostJSONBody defines parameters for CreateEmbeddingSdapiV1CreateEmbeddingPost.
type CreateEmbeddingSdapiV1CreateEmbeddingPostJSONRequestBody ¶
type CreateEmbeddingSdapiV1CreateEmbeddingPostJSONRequestBody = CreateEmbeddingSdapiV1CreateEmbeddingPostJSONBody
CreateEmbeddingSdapiV1CreateEmbeddingPostJSONRequestBody defines body for CreateEmbeddingSdapiV1CreateEmbeddingPost for application/json ContentType.
type CreateEmbeddingSdapiV1CreateEmbeddingPostResponse ¶
type CreateEmbeddingSdapiV1CreateEmbeddingPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CreateResponse
JSON422 *HTTPValidationError
}
func ParseCreateEmbeddingSdapiV1CreateEmbeddingPostResponse ¶
func ParseCreateEmbeddingSdapiV1CreateEmbeddingPostResponse(rsp *http.Response) (*CreateEmbeddingSdapiV1CreateEmbeddingPostResponse, error)
ParseCreateEmbeddingSdapiV1CreateEmbeddingPostResponse parses an HTTP response from a CreateEmbeddingSdapiV1CreateEmbeddingPostWithResponse call
func (CreateEmbeddingSdapiV1CreateEmbeddingPostResponse) Status ¶
func (r CreateEmbeddingSdapiV1CreateEmbeddingPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateEmbeddingSdapiV1CreateEmbeddingPostResponse) StatusCode ¶
func (r CreateEmbeddingSdapiV1CreateEmbeddingPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateHypernetworkSdapiV1CreateHypernetworkPostJSONBody ¶
type CreateHypernetworkSdapiV1CreateHypernetworkPostJSONBody = map[string]interface{}
CreateHypernetworkSdapiV1CreateHypernetworkPostJSONBody defines parameters for CreateHypernetworkSdapiV1CreateHypernetworkPost.
type CreateHypernetworkSdapiV1CreateHypernetworkPostJSONRequestBody ¶
type CreateHypernetworkSdapiV1CreateHypernetworkPostJSONRequestBody = CreateHypernetworkSdapiV1CreateHypernetworkPostJSONBody
CreateHypernetworkSdapiV1CreateHypernetworkPostJSONRequestBody defines body for CreateHypernetworkSdapiV1CreateHypernetworkPost for application/json ContentType.
type CreateHypernetworkSdapiV1CreateHypernetworkPostResponse ¶
type CreateHypernetworkSdapiV1CreateHypernetworkPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CreateResponse
JSON422 *HTTPValidationError
}
func ParseCreateHypernetworkSdapiV1CreateHypernetworkPostResponse ¶
func ParseCreateHypernetworkSdapiV1CreateHypernetworkPostResponse(rsp *http.Response) (*CreateHypernetworkSdapiV1CreateHypernetworkPostResponse, error)
ParseCreateHypernetworkSdapiV1CreateHypernetworkPostResponse parses an HTTP response from a CreateHypernetworkSdapiV1CreateHypernetworkPostWithResponse call
func (CreateHypernetworkSdapiV1CreateHypernetworkPostResponse) Status ¶
func (r CreateHypernetworkSdapiV1CreateHypernetworkPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateHypernetworkSdapiV1CreateHypernetworkPostResponse) StatusCode ¶
func (r CreateHypernetworkSdapiV1CreateHypernetworkPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateResponse ¶
type CreateResponse struct {
// Info Response string from create embedding or hypernetwork task.
Info string `json:"info"`
}
CreateResponse defines model for CreateResponse.
type DownloadSysinfoInternalSysinfoGetParams ¶
type DownloadSysinfoInternalSysinfoGetParams struct {
Attachment *interface{} `form:"attachment,omitempty" json:"attachment,omitempty"`
}
DownloadSysinfoInternalSysinfoGetParams defines parameters for DownloadSysinfoInternalSysinfoGet.
type DownloadSysinfoInternalSysinfoGetResponse ¶
type DownloadSysinfoInternalSysinfoGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParseDownloadSysinfoInternalSysinfoGetResponse ¶
func ParseDownloadSysinfoInternalSysinfoGetResponse(rsp *http.Response) (*DownloadSysinfoInternalSysinfoGetResponse, error)
ParseDownloadSysinfoInternalSysinfoGetResponse parses an HTTP response from a DownloadSysinfoInternalSysinfoGetWithResponse call
func (DownloadSysinfoInternalSysinfoGetResponse) Status ¶
func (r DownloadSysinfoInternalSysinfoGetResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadSysinfoInternalSysinfoGetResponse) StatusCode ¶
func (r DownloadSysinfoInternalSysinfoGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EmbeddingItem ¶
type EmbeddingItem struct {
// SdCheckpoint The hash of the checkpoint this embedding was trained on, if available
SdCheckpoint *string `json:"sd_checkpoint,omitempty"`
// SdCheckpointName The name of the checkpoint this embedding was trained on, if available. Note that this is the name that was used by the trainer; for a stable identifier, use `sd_checkpoint` instead
SdCheckpointName *string `json:"sd_checkpoint_name,omitempty"`
// Shape The length of each individual vector in the embedding
Shape int `json:"shape"`
// Step The number of steps that were used to train this embedding, if available
Step *int `json:"step,omitempty"`
// Vectors The number of vectors in the embedding
Vectors int `json:"vectors"`
}
EmbeddingItem defines model for EmbeddingItem.
type EmbeddingsResponse ¶
type EmbeddingsResponse struct {
// Loaded Embeddings loaded for the current model
Loaded map[string]EmbeddingItem `json:"loaded"`
// Skipped Embeddings skipped for the current model (likely due to architecture incompatibility)
Skipped map[string]EmbeddingItem `json:"skipped"`
}
EmbeddingsResponse defines model for EmbeddingsResponse.
type Estimation ¶
type Estimation struct {
AvgEventConcurrentProcessTime *float32 `json:"avg_event_concurrent_process_time,omitempty"`
AvgEventProcessTime *float32 `json:"avg_event_process_time,omitempty"`
Msg *string `json:"msg,omitempty"`
QueueEta float32 `json:"queue_eta"`
QueueSize int `json:"queue_size"`
Rank *int `json:"rank,omitempty"`
RankEta *float32 `json:"rank_eta,omitempty"`
}
Estimation defines model for Estimation.
type ExtensionItem ¶
type ExtensionItem struct {
// Branch Extension Repository Branch
Branch string `json:"branch"`
// CommitDate Extension Repository Commit Date
CommitDate string `json:"commit_date"`
// CommitHash Extension Repository Commit Hash
CommitHash string `json:"commit_hash"`
// Enabled Flag specifying whether this extension is enabled
Enabled bool `json:"enabled"`
// Name Extension name
Name string `json:"name"`
// Remote Extension Repository URL
Remote string `json:"remote"`
// Version Extension Version
Version string `json:"version"`
}
ExtensionItem defines model for ExtensionItem.
type ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostJSONRequestBody ¶
type ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostJSONRequestBody = ExtrasBatchImagesRequest
ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostJSONRequestBody defines body for ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPost for application/json ContentType.
type ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostResponse ¶
type ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ExtrasBatchImagesResponse
JSON422 *HTTPValidationError
}
func ParseExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostResponse ¶
func ParseExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostResponse(rsp *http.Response) (*ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostResponse, error)
ParseExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostResponse parses an HTTP response from a ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostWithResponse call
func (ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostResponse) Status ¶
func (r ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostResponse) Status() string
Status returns HTTPResponse.Status
func (ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostResponse) StatusCode ¶
func (r ExtrasBatchImagesApiSdapiV1ExtraBatchImagesPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExtrasBatchImagesRequest ¶
type ExtrasBatchImagesRequest struct {
// CodeformerVisibility Sets the visibility of CodeFormer, values should be between 0 and 1.
CodeformerVisibility *float32 `json:"codeformer_visibility,omitempty"`
// CodeformerWeight Sets the weight of CodeFormer, values should be between 0 and 1.
CodeformerWeight *float32 `json:"codeformer_weight,omitempty"`
// ExtrasUpscaler2Visibility Sets the visibility of secondary upscaler, values should be between 0 and 1.
ExtrasUpscaler2Visibility *float32 `json:"extras_upscaler_2_visibility,omitempty"`
// GfpganVisibility Sets the visibility of GFPGAN, values should be between 0 and 1.
GfpganVisibility *float32 `json:"gfpgan_visibility,omitempty"`
// ImageList List of images to work on. Must be Base64 strings
ImageList []FileData `json:"imageList"`
// ResizeMode Sets the resize mode: 0 to upscale by upscaling_resize amount, 1 to upscale up to upscaling_resize_h x upscaling_resize_w.
ResizeMode *ExtrasBatchImagesRequestResizeMode `json:"resize_mode,omitempty"`
// ShowExtrasResults Should the backend return the generated image?
ShowExtrasResults *bool `json:"show_extras_results,omitempty"`
// UpscaleFirst Should the upscaler run before restoring faces?
UpscaleFirst *bool `json:"upscale_first,omitempty"`
// Upscaler1 The name of the main upscaler to use, it has to be one of this list: None , Lanczos , Nearest , ESRGAN_4x , LDSR , R-ESRGAN 4x+ , R-ESRGAN 4x+ Anime6B , ScuNET GAN , ScuNET PSNR , SwinIR 4x
Upscaler1 *string `json:"upscaler_1,omitempty"`
// Upscaler2 The name of the secondary upscaler to use, it has to be one of this list: None , Lanczos , Nearest , ESRGAN_4x , LDSR , R-ESRGAN 4x+ , R-ESRGAN 4x+ Anime6B , ScuNET GAN , ScuNET PSNR , SwinIR 4x
Upscaler2 *string `json:"upscaler_2,omitempty"`
// UpscalingCrop Should the upscaler crop the image to fit in the chosen size?
UpscalingCrop *bool `json:"upscaling_crop,omitempty"`
// UpscalingResize By how much to upscale the image, only used when resize_mode=0.
UpscalingResize *float32 `json:"upscaling_resize,omitempty"`
// UpscalingResizeH Target height for the upscaler to hit. Only used when resize_mode=1.
UpscalingResizeH *int `json:"upscaling_resize_h,omitempty"`
// UpscalingResizeW Target width for the upscaler to hit. Only used when resize_mode=1.
UpscalingResizeW *int `json:"upscaling_resize_w,omitempty"`
}
ExtrasBatchImagesRequest defines model for ExtrasBatchImagesRequest.
type ExtrasBatchImagesRequestResizeMode ¶
type ExtrasBatchImagesRequestResizeMode int
ExtrasBatchImagesRequestResizeMode Sets the resize mode: 0 to upscale by upscaling_resize amount, 1 to upscale up to upscaling_resize_h x upscaling_resize_w.
const ( ExtrasBatchImagesRequestResizeModeN0 ExtrasBatchImagesRequestResizeMode = 0 ExtrasBatchImagesRequestResizeModeN1 ExtrasBatchImagesRequestResizeMode = 1 )
Defines values for ExtrasBatchImagesRequestResizeMode.
type ExtrasBatchImagesResponse ¶
type ExtrasBatchImagesResponse struct {
// HtmlInfo A series of HTML tags containing the process info.
HtmlInfo string `json:"html_info"`
// Images The generated images in base64 format.
Images []string `json:"images"`
}
ExtrasBatchImagesResponse defines model for ExtrasBatchImagesResponse.
type ExtrasSingleImageApiSdapiV1ExtraSingleImagePostJSONRequestBody ¶
type ExtrasSingleImageApiSdapiV1ExtraSingleImagePostJSONRequestBody = ExtrasSingleImageRequest
ExtrasSingleImageApiSdapiV1ExtraSingleImagePostJSONRequestBody defines body for ExtrasSingleImageApiSdapiV1ExtraSingleImagePost for application/json ContentType.
type ExtrasSingleImageApiSdapiV1ExtraSingleImagePostResponse ¶
type ExtrasSingleImageApiSdapiV1ExtraSingleImagePostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ExtrasSingleImageResponse
JSON422 *HTTPValidationError
}
func ParseExtrasSingleImageApiSdapiV1ExtraSingleImagePostResponse ¶
func ParseExtrasSingleImageApiSdapiV1ExtraSingleImagePostResponse(rsp *http.Response) (*ExtrasSingleImageApiSdapiV1ExtraSingleImagePostResponse, error)
ParseExtrasSingleImageApiSdapiV1ExtraSingleImagePostResponse parses an HTTP response from a ExtrasSingleImageApiSdapiV1ExtraSingleImagePostWithResponse call
func (ExtrasSingleImageApiSdapiV1ExtraSingleImagePostResponse) Status ¶
func (r ExtrasSingleImageApiSdapiV1ExtraSingleImagePostResponse) Status() string
Status returns HTTPResponse.Status
func (ExtrasSingleImageApiSdapiV1ExtraSingleImagePostResponse) StatusCode ¶
func (r ExtrasSingleImageApiSdapiV1ExtraSingleImagePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExtrasSingleImageRequest ¶
type ExtrasSingleImageRequest struct {
// CodeformerVisibility Sets the visibility of CodeFormer, values should be between 0 and 1.
CodeformerVisibility *float32 `json:"codeformer_visibility,omitempty"`
// CodeformerWeight Sets the weight of CodeFormer, values should be between 0 and 1.
CodeformerWeight *float32 `json:"codeformer_weight,omitempty"`
// ExtrasUpscaler2Visibility Sets the visibility of secondary upscaler, values should be between 0 and 1.
ExtrasUpscaler2Visibility *float32 `json:"extras_upscaler_2_visibility,omitempty"`
// GfpganVisibility Sets the visibility of GFPGAN, values should be between 0 and 1.
GfpganVisibility *float32 `json:"gfpgan_visibility,omitempty"`
// Image Image to work on, must be a Base64 string containing the image's data.
Image *string `json:"image,omitempty"`
// ResizeMode Sets the resize mode: 0 to upscale by upscaling_resize amount, 1 to upscale up to upscaling_resize_h x upscaling_resize_w.
ResizeMode *ExtrasSingleImageRequestResizeMode `json:"resize_mode,omitempty"`
// ShowExtrasResults Should the backend return the generated image?
ShowExtrasResults *bool `json:"show_extras_results,omitempty"`
// UpscaleFirst Should the upscaler run before restoring faces?
UpscaleFirst *bool `json:"upscale_first,omitempty"`
// Upscaler1 The name of the main upscaler to use, it has to be one of this list: None , Lanczos , Nearest , ESRGAN_4x , LDSR , R-ESRGAN 4x+ , R-ESRGAN 4x+ Anime6B , ScuNET GAN , ScuNET PSNR , SwinIR 4x
Upscaler1 *string `json:"upscaler_1,omitempty"`
// Upscaler2 The name of the secondary upscaler to use, it has to be one of this list: None , Lanczos , Nearest , ESRGAN_4x , LDSR , R-ESRGAN 4x+ , R-ESRGAN 4x+ Anime6B , ScuNET GAN , ScuNET PSNR , SwinIR 4x
Upscaler2 *string `json:"upscaler_2,omitempty"`
// UpscalingCrop Should the upscaler crop the image to fit in the chosen size?
UpscalingCrop *bool `json:"upscaling_crop,omitempty"`
// UpscalingResize By how much to upscale the image, only used when resize_mode=0.
UpscalingResize *float32 `json:"upscaling_resize,omitempty"`
// UpscalingResizeH Target height for the upscaler to hit. Only used when resize_mode=1.
UpscalingResizeH *int `json:"upscaling_resize_h,omitempty"`
// UpscalingResizeW Target width for the upscaler to hit. Only used when resize_mode=1.
UpscalingResizeW *int `json:"upscaling_resize_w,omitempty"`
}
ExtrasSingleImageRequest defines model for ExtrasSingleImageRequest.
type ExtrasSingleImageRequestResizeMode ¶
type ExtrasSingleImageRequestResizeMode int
ExtrasSingleImageRequestResizeMode Sets the resize mode: 0 to upscale by upscaling_resize amount, 1 to upscale up to upscaling_resize_h x upscaling_resize_w.
const ( ExtrasSingleImageRequestResizeModeN0 ExtrasSingleImageRequestResizeMode = 0 ExtrasSingleImageRequestResizeModeN1 ExtrasSingleImageRequestResizeMode = 1 )
Defines values for ExtrasSingleImageRequestResizeMode.
type ExtrasSingleImageResponse ¶
type ExtrasSingleImageResponse struct {
// HtmlInfo A series of HTML tags containing the process info.
HtmlInfo string `json:"html_info"`
// Image The generated image in base64 format.
Image *string `json:"image,omitempty"`
}
ExtrasSingleImageResponse defines model for ExtrasSingleImageResponse.
type FaceRestorerItem ¶
type FaceRestorerItem struct {
CmdDir *string `json:"cmd_dir,omitempty"`
Name string `json:"name"`
}
FaceRestorerItem defines model for FaceRestorerItem.
type FaviconFaviconIcoGetResponse ¶
type FaviconFaviconIcoGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
}
func ParseFaviconFaviconIcoGetResponse ¶
func ParseFaviconFaviconIcoGetResponse(rsp *http.Response) (*FaviconFaviconIcoGetResponse, error)
ParseFaviconFaviconIcoGetResponse parses an HTTP response from a FaviconFaviconIcoGetWithResponse call
func (FaviconFaviconIcoGetResponse) Status ¶
func (r FaviconFaviconIcoGetResponse) Status() string
Status returns HTTPResponse.Status
func (FaviconFaviconIcoGetResponse) StatusCode ¶
func (r FaviconFaviconIcoGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FetchFileSdExtraNetworksThumbGetParams ¶
type FetchFileSdExtraNetworksThumbGetParams struct {
Filename *string `form:"filename,omitempty" json:"filename,omitempty"`
}
FetchFileSdExtraNetworksThumbGetParams defines parameters for FetchFileSdExtraNetworksThumbGet.
type FetchFileSdExtraNetworksThumbGetResponse ¶
type FetchFileSdExtraNetworksThumbGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParseFetchFileSdExtraNetworksThumbGetResponse ¶
func ParseFetchFileSdExtraNetworksThumbGetResponse(rsp *http.Response) (*FetchFileSdExtraNetworksThumbGetResponse, error)
ParseFetchFileSdExtraNetworksThumbGetResponse parses an HTTP response from a FetchFileSdExtraNetworksThumbGetWithResponse call
func (FetchFileSdExtraNetworksThumbGetResponse) Status ¶
func (r FetchFileSdExtraNetworksThumbGetResponse) Status() string
Status returns HTTPResponse.Status
func (FetchFileSdExtraNetworksThumbGetResponse) StatusCode ¶
func (r FetchFileSdExtraNetworksThumbGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FileData ¶
type FileData struct {
// Data Base64 representation of the file
Data string `json:"data"`
Name string `json:"name"`
}
FileData defines model for FileData.
type FileDeprecatedFilePathGetResponse ¶
type FileDeprecatedFilePathGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParseFileDeprecatedFilePathGetResponse ¶
func ParseFileDeprecatedFilePathGetResponse(rsp *http.Response) (*FileDeprecatedFilePathGetResponse, error)
ParseFileDeprecatedFilePathGetResponse parses an HTTP response from a FileDeprecatedFilePathGetWithResponse call
func (FileDeprecatedFilePathGetResponse) Status ¶
func (r FileDeprecatedFilePathGetResponse) Status() string
Status returns HTTPResponse.Status
func (FileDeprecatedFilePathGetResponse) StatusCode ¶
func (r FileDeprecatedFilePathGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FileFilePathOrUrlGetResponse ¶
type FileFilePathOrUrlGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParseFileFilePathOrUrlGetResponse ¶
func ParseFileFilePathOrUrlGetResponse(rsp *http.Response) (*FileFilePathOrUrlGetResponse, error)
ParseFileFilePathOrUrlGetResponse parses an HTTP response from a FileFilePathOrUrlGetWithResponse call
func (FileFilePathOrUrlGetResponse) Status ¶
func (r FileFilePathOrUrlGetResponse) Status() string
Status returns HTTPResponse.Status
func (FileFilePathOrUrlGetResponse) StatusCode ¶
func (r FileFilePathOrUrlGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FileFilePathOrUrlHeadResponse ¶
type FileFilePathOrUrlHeadResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParseFileFilePathOrUrlHeadResponse ¶
func ParseFileFilePathOrUrlHeadResponse(rsp *http.Response) (*FileFilePathOrUrlHeadResponse, error)
ParseFileFilePathOrUrlHeadResponse parses an HTTP response from a FileFilePathOrUrlHeadWithResponse call
func (FileFilePathOrUrlHeadResponse) Status ¶
func (r FileFilePathOrUrlHeadResponse) Status() string
Status returns HTTPResponse.Status
func (FileFilePathOrUrlHeadResponse) StatusCode ¶
func (r FileFilePathOrUrlHeadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Flags ¶
type Flags struct {
// AddStopRoute does not do anything
AddStopRoute *bool `json:"add_stop_route,omitempty"`
// Administrator Administrator rights
Administrator *bool `json:"administrator,omitempty"`
// AllowCode allow custom script execution from webui
AllowCode *bool `json:"allow_code,omitempty"`
// AlwaysBatchCondUncond does not do anything
AlwaysBatchCondUncond *bool `json:"always_batch_cond_uncond,omitempty"`
// Api use api=True to launch the API together with the webui (use --nowebui instead for only the API)
Api *bool `json:"api,omitempty"`
// ApiAuth Set authentication for API like "username:password"; or comma-delimit multiple like "u1:p1,u2:p2,u3:p3"
ApiAuth *string `json:"api_auth,omitempty"`
// ApiLog use api-log=True to enable logging of all API requests
ApiLog *bool `json:"api_log,omitempty"`
// ApiServerStop enable server stop/restart/kill via api
ApiServerStop *bool `json:"api_server_stop,omitempty"`
// Autolaunch open the webui URL in the system's default browser upon launch
Autolaunch *bool `json:"autolaunch,omitempty"`
// BsrganModelsPath Path to directory with BSRGAN model file(s).
BsrganModelsPath *string `json:"bsrgan_models_path,omitempty"`
// Ckpt path to checkpoint of stable diffusion model; if specified, this checkpoint will be added to the list of checkpoints and loaded
Ckpt *string `json:"ckpt,omitempty"`
// CkptDir Path to directory with stable diffusion checkpoints
CkptDir *string `json:"ckpt_dir,omitempty"`
// ClipModelsPath Path to directory with CLIP model file(s).
ClipModelsPath *string `json:"clip_models_path,omitempty"`
// CodeformerModelsPath Path to directory with codeformer model file(s).
CodeformerModelsPath *string `json:"codeformer_models_path,omitempty"`
// Config path to config which constructs model
Config *string `json:"config,omitempty"`
// CorsAllowOrigins Allowed CORS origin(s) in the form of a comma-separated list (no spaces)
CorsAllowOrigins *string `json:"cors_allow_origins,omitempty"`
// CorsAllowOriginsRegex Allowed CORS origin(s) in the form of a single regular expression
CorsAllowOriginsRegex *string `json:"cors_allow_origins_regex,omitempty"`
// DataDir base path where all user data is stored
DataDir *string `json:"data_dir,omitempty"`
// Deepdanbooru does not do anything
Deepdanbooru *bool `json:"deepdanbooru,omitempty"`
// DeviceId Select the default CUDA device to use (export CUDA_VISIBLE_DEVICES=0,1,etc might be needed before)
DeviceId *string `json:"device_id,omitempty"`
// DisableAllExtensions prevent all extensions from running regardless of any other settings
DisableAllExtensions *bool `json:"disable_all_extensions,omitempty"`
// DisableConsoleProgressbars do not output progressbars to console
DisableConsoleProgressbars *bool `json:"disable_console_progressbars,omitempty"`
// DisableExtraExtensions prevent all extensions except built-in from running regardless of any other settings
DisableExtraExtensions *bool `json:"disable_extra_extensions,omitempty"`
// DisableModelLoadingRamOptimization disable an optimization that reduces RAM use when loading a model
DisableModelLoadingRamOptimization *bool `json:"disable_model_loading_ram_optimization,omitempty"`
// DisableNanCheck do not check if produced images/latent spaces have nans; useful for running without a checkpoint in CI
DisableNanCheck *bool `json:"disable_nan_check,omitempty"`
// DisableOptSplitAttention prefer no cross-attention layer optimization for automatic choice of optimization
DisableOptSplitAttention *bool `json:"disable_opt_split_attention,omitempty"`
// DisableSafeUnpickle disable checking pytorch models for malicious code
DisableSafeUnpickle *bool `json:"disable_safe_unpickle,omitempty"`
// DisableTlsVerify When passed, enables the use of self-signed certificates.
DisableTlsVerify *string `json:"disable_tls_verify,omitempty"`
// DoNotDownloadClip do not download CLIP model even if it's not included in the checkpoint
DoNotDownloadClip *bool `json:"do_not_download_clip,omitempty"`
// DumpSysinfo launch.py argument: dump limited sysinfo file (without information about extensions, options) to disk and quit
DumpSysinfo *bool `json:"dump_sysinfo,omitempty"`
// EmbeddingsDir embeddings directory for textual inversion (default: embeddings)
EmbeddingsDir *string `json:"embeddings_dir,omitempty"`
// EnableConsolePrompts does not do anything
EnableConsolePrompts *bool `json:"enable_console_prompts,omitempty"`
// EnableInsecureExtensionAccess enable extensions tab regardless of other options
EnableInsecureExtensionAccess *bool `json:"enable_insecure_extension_access,omitempty"`
// EsrganModelsPath Path to directory with ESRGAN model file(s).
EsrganModelsPath *string `json:"esrgan_models_path,omitempty"`
// F ==SUPPRESS==
F *bool `json:"f,omitempty"`
// ForceEnableXformers enable xformers for cross attention layers regardless of whether the checking code thinks you can run it; do not make bug reports if this fails to work
ForceEnableXformers *bool `json:"force_enable_xformers,omitempty"`
// FreezeSettings disable editing settings
FreezeSettings *bool `json:"freeze_settings,omitempty"`
// GfpganDir GFPGAN directory
GfpganDir *string `json:"gfpgan_dir,omitempty"`
// GfpganModel GFPGAN model file name
GfpganModel *string `json:"gfpgan_model,omitempty"`
// GfpganModelsPath Path to directory with GFPGAN model file(s).
GfpganModelsPath *string `json:"gfpgan_models_path,omitempty"`
// GradioAllowedPath add path to gradio's allowed_paths, make it possible to serve files from it
GradioAllowedPath *[]interface{} `json:"gradio_allowed_path,omitempty"`
// GradioAuth set gradio authentication like "username:password"; or comma-delimit multiple like "u1:p1,u2:p2,u3:p3"
GradioAuth *string `json:"gradio_auth,omitempty"`
// GradioAuthPath set gradio authentication file path ex. "/path/to/auth/file" same auth format as --gradio-auth
GradioAuthPath *string `json:"gradio_auth_path,omitempty"`
// GradioDebug launch gradio with --debug option
GradioDebug *bool `json:"gradio_debug,omitempty"`
// GradioImg2imgTool does not do anything
GradioImg2imgTool *string `json:"gradio_img2img_tool,omitempty"`
// GradioInpaintTool does not do anything
GradioInpaintTool *string `json:"gradio_inpaint_tool,omitempty"`
// GradioQueue does not do anything
GradioQueue *bool `json:"gradio_queue,omitempty"`
// HideUiDirConfig hide directory configuration from webui
HideUiDirConfig *bool `json:"hide_ui_dir_config,omitempty"`
// HypernetworkDir hypernetwork directory
HypernetworkDir *string `json:"hypernetwork_dir,omitempty"`
// LdsrModelsPath Path to directory with LDSR model file(s).
LdsrModelsPath *string `json:"ldsr_models_path,omitempty"`
// Listen launch gradio with 0.0.0.0 as server name, allowing to respond to network requests
Listen *bool `json:"listen,omitempty"`
// LocalizationsDir localizations directory
LocalizationsDir *string `json:"localizations_dir,omitempty"`
// LogStartup launch.py argument: print a detailed log of what's happening at startup
LogStartup *bool `json:"log_startup,omitempty"`
// Loglevel log level; one of: CRITICAL, ERROR, WARNING, INFO, DEBUG
Loglevel *string `json:"loglevel,omitempty"`
// LoraDir Path to directory with Lora networks.
LoraDir *string `json:"lora_dir,omitempty"`
// Lowram load stable diffusion checkpoint weights to VRAM instead of RAM
Lowram *bool `json:"lowram,omitempty"`
// Lowvram enable stable diffusion model optimizations for sacrificing a lot of speed for very low VRM usage
Lowvram *bool `json:"lowvram,omitempty"`
// LycoDirBackcompat Path to directory with LyCORIS networks (for backawards compatibility; can also use --lyco-dir).
LycoDirBackcompat *string `json:"lyco_dir_backcompat,omitempty"`
// MaxBatchCount maximum batch count value for the UI
MaxBatchCount *int `json:"max_batch_count,omitempty"`
// Medvram enable stable diffusion model optimizations for sacrificing a little speed for low VRM usage
Medvram *bool `json:"medvram,omitempty"`
// MedvramSdxl enable --medvram optimization just for SDXL models
MedvramSdxl *bool `json:"medvram_sdxl,omitempty"`
// Ngrok ngrok authtoken, alternative to gradio --share
Ngrok *string `json:"ngrok,omitempty"`
// NgrokOptions The options to pass to ngrok in JSON format, e.g.: '{"authtoken_from_env":true, "basic_auth":"user:password", "oauth_provider":"google", "oauth_allow_emails":"user@asdf.com"}'
NgrokOptions *map[string]interface{} `json:"ngrok_options,omitempty"`
// NgrokRegion does not do anything.
NgrokRegion *string `json:"ngrok_region,omitempty"`
// NoDownloadSdModel don't download SD1.5 model even if no model is found in --ckpt-dir
NoDownloadSdModel *bool `json:"no_download_sd_model,omitempty"`
// NoGradioQueue Disables gradio queue; causes the webpage to use http requests instead of websockets; was the default in earlier versions
NoGradioQueue *bool `json:"no_gradio_queue,omitempty"`
// NoHalf do not switch the model to 16-bit floats
NoHalf *bool `json:"no_half,omitempty"`
// NoHalfVae do not switch the VAE model to 16-bit floats
NoHalfVae *bool `json:"no_half_vae,omitempty"`
// NoHashing disable sha256 hashing of checkpoints to help loading performance
NoHashing *bool `json:"no_hashing,omitempty"`
// NoProgressbarHiding do not hide progressbar in gradio UI (we hide it because it slows down ML if you have hardware acceleration in browser)
NoProgressbarHiding *bool `json:"no_progressbar_hiding,omitempty"`
// Nowebui use api=True to launch the API instead of the webui
Nowebui *bool `json:"nowebui,omitempty"`
// OptChannelslast change memory type for stable diffusion to channels last
OptChannelslast *bool `json:"opt_channelslast,omitempty"`
// OptSdpAttention prefer scaled dot product cross-attention layer optimization for automatic choice of optimization; requires PyTorch 2.*
OptSdpAttention *bool `json:"opt_sdp_attention,omitempty"`
// OptSdpNoMemAttention prefer scaled dot product cross-attention layer optimization without memory efficient attention for automatic choice of optimization, makes image generation deterministic; requires PyTorch 2.*
OptSdpNoMemAttention *bool `json:"opt_sdp_no_mem_attention,omitempty"`
// OptSplitAttention prefer Doggettx's cross-attention layer optimization for automatic choice of optimization
OptSplitAttention *bool `json:"opt_split_attention,omitempty"`
// OptSplitAttentionInvokeai prefer InvokeAI's cross-attention layer optimization for automatic choice of optimization
OptSplitAttentionInvokeai *bool `json:"opt_split_attention_invokeai,omitempty"`
// OptSplitAttentionV1 prefer older version of split attention optimization for automatic choice of optimization
OptSplitAttentionV1 *bool `json:"opt_split_attention_v1,omitempty"`
// OptSubQuadAttention prefer memory efficient sub-quadratic cross-attention layer optimization for automatic choice of optimization
OptSubQuadAttention *bool `json:"opt_sub_quad_attention,omitempty"`
// Port launch gradio with given server port, you need root/admin rights for ports < 1024, defaults to 7860 if available
Port *string `json:"port,omitempty"`
// Precision evaluate at this precision
Precision *string `json:"precision,omitempty"`
// RealesrganModelsPath Path to directory with RealESRGAN model file(s).
RealesrganModelsPath *string `json:"realesrgan_models_path,omitempty"`
// ReinstallTorch launch.py argument: install the appropriate version of torch even if you have some version already installed
ReinstallTorch *bool `json:"reinstall_torch,omitempty"`
// ReinstallXformers launch.py argument: install the appropriate version of xformers even if you have some version already installed
ReinstallXformers *bool `json:"reinstall_xformers,omitempty"`
// ScunetModelsPath Path to directory with ScuNET model file(s).
ScunetModelsPath *string `json:"scunet_models_path,omitempty"`
// ServerName Sets hostname of server
ServerName *string `json:"server_name,omitempty"`
Share *bool `json:"share,omitempty"`
// ShowNegativePrompt does not do anything
ShowNegativePrompt *bool `json:"show_negative_prompt,omitempty"`
// SkipInstall launch.py argument: skip installation of packages
SkipInstall *bool `json:"skip_install,omitempty"`
// SkipLoadModelAtStart if load a model at web start, only take effect when --nowebui
SkipLoadModelAtStart *bool `json:"skip_load_model_at_start,omitempty"`
// SkipPrepareEnvironment launch.py argument: skip all environment preparation
SkipPrepareEnvironment *bool `json:"skip_prepare_environment,omitempty"`
// SkipPythonVersionCheck launch.py argument: do not check python version
SkipPythonVersionCheck *bool `json:"skip_python_version_check,omitempty"`
// SkipTorchCudaTest launch.py argument: do not check if CUDA is able to work properly
SkipTorchCudaTest *bool `json:"skip_torch_cuda_test,omitempty"`
// SkipVersionCheck Do not check versions of torch and xformers
SkipVersionCheck *bool `json:"skip_version_check,omitempty"`
// StylesFile filename to use for styles
StylesFile *string `json:"styles_file,omitempty"`
// SubQuadChunkThreshold the percentage of VRAM threshold for the sub-quadratic cross-attention layer optimization to use chunking
SubQuadChunkThreshold *string `json:"sub_quad_chunk_threshold,omitempty"`
// SubQuadKvChunkSize kv chunk size for the sub-quadratic cross-attention layer optimization to use
SubQuadKvChunkSize *string `json:"sub_quad_kv_chunk_size,omitempty"`
// SubQuadQChunkSize query chunk size for the sub-quadratic cross-attention layer optimization to use
SubQuadQChunkSize *int `json:"sub_quad_q_chunk_size,omitempty"`
// Subpath customize the subpath for gradio, use with reverse proxy
Subpath *string `json:"subpath,omitempty"`
// SwinirModelsPath Path to directory with SwinIR model file(s).
SwinirModelsPath *string `json:"swinir_models_path,omitempty"`
// TestServer launch.py argument: configure server for testing
TestServer *bool `json:"test_server,omitempty"`
// TextualInversionTemplatesDir directory with textual inversion templates
TextualInversionTemplatesDir *string `json:"textual_inversion_templates_dir,omitempty"`
// Theme launches the UI with light or dark theme
Theme *string `json:"theme,omitempty"`
// TimeoutKeepAlive set timeout_keep_alive for uvicorn
TimeoutKeepAlive *int `json:"timeout_keep_alive,omitempty"`
// TlsCertfile Partially enables TLS, requires --tls-keyfile to fully function
TlsCertfile *string `json:"tls_certfile,omitempty"`
// TlsKeyfile Partially enables TLS, requires --tls-certfile to fully function
TlsKeyfile *string `json:"tls_keyfile,omitempty"`
// UiConfigFile filename to use for ui configuration
UiConfigFile *string `json:"ui_config_file,omitempty"`
// UiDebugMode Don't load model to quickly launch UI
UiDebugMode *bool `json:"ui_debug_mode,omitempty"`
// UiSettingsFile filename to use for ui settings
UiSettingsFile *string `json:"ui_settings_file,omitempty"`
// UnloadGfpgan does not do anything.
UnloadGfpgan *bool `json:"unload_gfpgan,omitempty"`
// UpcastSampling upcast sampling. No effect with --no-half. Usually produces similar results to --no-half with better performance while using less memory.
UpcastSampling *bool `json:"upcast_sampling,omitempty"`
// UpdateAllExtensions launch.py argument: download updates for all extensions when starting the program
UpdateAllExtensions *bool `json:"update_all_extensions,omitempty"`
// UpdateCheck launch.py argument: check for updates at startup
UpdateCheck *bool `json:"update_check,omitempty"`
// UseCpu use CPU as torch device for specified modules
UseCpu *[]interface{} `json:"use_cpu,omitempty"`
// UseIpex use Intel XPU as torch device
UseIpex *bool `json:"use_ipex,omitempty"`
// UseTextboxSeed use textbox for seeds in UI (no up/down, but possible to input long seeds)
UseTextboxSeed *bool `json:"use_textbox_seed,omitempty"`
// VaeDir Path to directory with VAE files
VaeDir *string `json:"vae_dir,omitempty"`
// VaePath Checkpoint to use as VAE; setting this argument disables all settings related to VAE
VaePath *string `json:"vae_path,omitempty"`
// Xformers enable xformers for cross attention layers
Xformers *bool `json:"xformers,omitempty"`
// XformersFlashAttention enable xformers with Flash Attention to improve reproducibility (supported for SD2.x or variant only)
XformersFlashAttention *bool `json:"xformers_flash_attention,omitempty"`
}
Flags defines model for Flags.
type GetCmdFlagsSdapiV1CmdFlagsGetResponse ¶
type GetCmdFlagsSdapiV1CmdFlagsGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Flags
}
func ParseGetCmdFlagsSdapiV1CmdFlagsGetResponse ¶
func ParseGetCmdFlagsSdapiV1CmdFlagsGetResponse(rsp *http.Response) (*GetCmdFlagsSdapiV1CmdFlagsGetResponse, error)
ParseGetCmdFlagsSdapiV1CmdFlagsGetResponse parses an HTTP response from a GetCmdFlagsSdapiV1CmdFlagsGetWithResponse call
func (GetCmdFlagsSdapiV1CmdFlagsGetResponse) Status ¶
func (r GetCmdFlagsSdapiV1CmdFlagsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetCmdFlagsSdapiV1CmdFlagsGetResponse) StatusCode ¶
func (r GetCmdFlagsSdapiV1CmdFlagsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetConfigConfigGetResponse ¶
type GetConfigConfigGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
}
func ParseGetConfigConfigGetResponse ¶
func ParseGetConfigConfigGetResponse(rsp *http.Response) (*GetConfigConfigGetResponse, error)
ParseGetConfigConfigGetResponse parses an HTTP response from a GetConfigConfigGetWithResponse call
func (GetConfigConfigGetResponse) Status ¶
func (r GetConfigConfigGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetConfigConfigGetResponse) StatusCode ¶
func (r GetConfigConfigGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetConfigSdapiV1OptionsGetResponse ¶
type GetConfigSdapiV1OptionsGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Options
}
func ParseGetConfigSdapiV1OptionsGetResponse ¶
func ParseGetConfigSdapiV1OptionsGetResponse(rsp *http.Response) (*GetConfigSdapiV1OptionsGetResponse, error)
ParseGetConfigSdapiV1OptionsGetResponse parses an HTTP response from a GetConfigSdapiV1OptionsGetWithResponse call
func (GetConfigSdapiV1OptionsGetResponse) Status ¶
func (r GetConfigSdapiV1OptionsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetConfigSdapiV1OptionsGetResponse) StatusCode ¶
func (r GetConfigSdapiV1OptionsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCurrentUserUserGetResponse ¶
type GetCurrentUserUserGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *string
}
func ParseGetCurrentUserUserGetResponse ¶
func ParseGetCurrentUserUserGetResponse(rsp *http.Response) (*GetCurrentUserUserGetResponse, error)
ParseGetCurrentUserUserGetResponse parses an HTTP response from a GetCurrentUserUserGetWithResponse call
func (GetCurrentUserUserGetResponse) Status ¶
func (r GetCurrentUserUserGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetCurrentUserUserGetResponse) StatusCode ¶
func (r GetCurrentUserUserGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEmbeddingsSdapiV1EmbeddingsGetResponse ¶
type GetEmbeddingsSdapiV1EmbeddingsGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *EmbeddingsResponse
}
func ParseGetEmbeddingsSdapiV1EmbeddingsGetResponse ¶
func ParseGetEmbeddingsSdapiV1EmbeddingsGetResponse(rsp *http.Response) (*GetEmbeddingsSdapiV1EmbeddingsGetResponse, error)
ParseGetEmbeddingsSdapiV1EmbeddingsGetResponse parses an HTTP response from a GetEmbeddingsSdapiV1EmbeddingsGetWithResponse call
func (GetEmbeddingsSdapiV1EmbeddingsGetResponse) Status ¶
func (r GetEmbeddingsSdapiV1EmbeddingsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetEmbeddingsSdapiV1EmbeddingsGetResponse) StatusCode ¶
func (r GetEmbeddingsSdapiV1EmbeddingsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetExtensionsListSdapiV1ExtensionsGetResponse ¶
type GetExtensionsListSdapiV1ExtensionsGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]ExtensionItem
}
func ParseGetExtensionsListSdapiV1ExtensionsGetResponse ¶
func ParseGetExtensionsListSdapiV1ExtensionsGetResponse(rsp *http.Response) (*GetExtensionsListSdapiV1ExtensionsGetResponse, error)
ParseGetExtensionsListSdapiV1ExtensionsGetResponse parses an HTTP response from a GetExtensionsListSdapiV1ExtensionsGetWithResponse call
func (GetExtensionsListSdapiV1ExtensionsGetResponse) Status ¶
func (r GetExtensionsListSdapiV1ExtensionsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetExtensionsListSdapiV1ExtensionsGetResponse) StatusCode ¶
func (r GetExtensionsListSdapiV1ExtensionsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFaceRestorersSdapiV1FaceRestorersGetResponse ¶
type GetFaceRestorersSdapiV1FaceRestorersGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]FaceRestorerItem
}
func ParseGetFaceRestorersSdapiV1FaceRestorersGetResponse ¶
func ParseGetFaceRestorersSdapiV1FaceRestorersGetResponse(rsp *http.Response) (*GetFaceRestorersSdapiV1FaceRestorersGetResponse, error)
ParseGetFaceRestorersSdapiV1FaceRestorersGetResponse parses an HTTP response from a GetFaceRestorersSdapiV1FaceRestorersGetWithResponse call
func (GetFaceRestorersSdapiV1FaceRestorersGetResponse) Status ¶
func (r GetFaceRestorersSdapiV1FaceRestorersGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetFaceRestorersSdapiV1FaceRestorersGetResponse) StatusCode ¶
func (r GetFaceRestorersSdapiV1FaceRestorersGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetHypernetworksSdapiV1HypernetworksGetResponse ¶
type GetHypernetworksSdapiV1HypernetworksGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]HypernetworkItem
}
func ParseGetHypernetworksSdapiV1HypernetworksGetResponse ¶
func ParseGetHypernetworksSdapiV1HypernetworksGetResponse(rsp *http.Response) (*GetHypernetworksSdapiV1HypernetworksGetResponse, error)
ParseGetHypernetworksSdapiV1HypernetworksGetResponse parses an HTTP response from a GetHypernetworksSdapiV1HypernetworksGetWithResponse call
func (GetHypernetworksSdapiV1HypernetworksGetResponse) Status ¶
func (r GetHypernetworksSdapiV1HypernetworksGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetHypernetworksSdapiV1HypernetworksGetResponse) StatusCode ¶
func (r GetHypernetworksSdapiV1HypernetworksGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLatentUpscaleModesSdapiV1LatentUpscaleModesGetResponse ¶
type GetLatentUpscaleModesSdapiV1LatentUpscaleModesGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]LatentUpscalerModeItem
}
func ParseGetLatentUpscaleModesSdapiV1LatentUpscaleModesGetResponse ¶
func ParseGetLatentUpscaleModesSdapiV1LatentUpscaleModesGetResponse(rsp *http.Response) (*GetLatentUpscaleModesSdapiV1LatentUpscaleModesGetResponse, error)
ParseGetLatentUpscaleModesSdapiV1LatentUpscaleModesGetResponse parses an HTTP response from a GetLatentUpscaleModesSdapiV1LatentUpscaleModesGetWithResponse call
func (GetLatentUpscaleModesSdapiV1LatentUpscaleModesGetResponse) Status ¶
func (r GetLatentUpscaleModesSdapiV1LatentUpscaleModesGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetLatentUpscaleModesSdapiV1LatentUpscaleModesGetResponse) StatusCode ¶
func (r GetLatentUpscaleModesSdapiV1LatentUpscaleModesGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLorasSdapiV1LorasGetResponse ¶
type GetLorasSdapiV1LorasGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
}
func ParseGetLorasSdapiV1LorasGetResponse ¶
func ParseGetLorasSdapiV1LorasGetResponse(rsp *http.Response) (*GetLorasSdapiV1LorasGetResponse, error)
ParseGetLorasSdapiV1LorasGetResponse parses an HTTP response from a GetLorasSdapiV1LorasGetWithResponse call
func (GetLorasSdapiV1LorasGetResponse) Status ¶
func (r GetLorasSdapiV1LorasGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetLorasSdapiV1LorasGetResponse) StatusCode ¶
func (r GetLorasSdapiV1LorasGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMemorySdapiV1MemoryGetResponse ¶
type GetMemorySdapiV1MemoryGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MemoryResponse
}
func ParseGetMemorySdapiV1MemoryGetResponse ¶
func ParseGetMemorySdapiV1MemoryGetResponse(rsp *http.Response) (*GetMemorySdapiV1MemoryGetResponse, error)
ParseGetMemorySdapiV1MemoryGetResponse parses an HTTP response from a GetMemorySdapiV1MemoryGetWithResponse call
func (GetMemorySdapiV1MemoryGetResponse) Status ¶
func (r GetMemorySdapiV1MemoryGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetMemorySdapiV1MemoryGetResponse) StatusCode ¶
func (r GetMemorySdapiV1MemoryGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMetadataSdExtraNetworksMetadataGetParams ¶
type GetMetadataSdExtraNetworksMetadataGetParams struct {
Page *string `form:"page,omitempty" json:"page,omitempty"`
Item *string `form:"item,omitempty" json:"item,omitempty"`
}
GetMetadataSdExtraNetworksMetadataGetParams defines parameters for GetMetadataSdExtraNetworksMetadataGet.
type GetMetadataSdExtraNetworksMetadataGetResponse ¶
type GetMetadataSdExtraNetworksMetadataGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParseGetMetadataSdExtraNetworksMetadataGetResponse ¶
func ParseGetMetadataSdExtraNetworksMetadataGetResponse(rsp *http.Response) (*GetMetadataSdExtraNetworksMetadataGetResponse, error)
ParseGetMetadataSdExtraNetworksMetadataGetResponse parses an HTTP response from a GetMetadataSdExtraNetworksMetadataGetWithResponse call
func (GetMetadataSdExtraNetworksMetadataGetResponse) Status ¶
func (r GetMetadataSdExtraNetworksMetadataGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetMetadataSdExtraNetworksMetadataGetResponse) StatusCode ¶
func (r GetMetadataSdExtraNetworksMetadataGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPromptStylesSdapiV1PromptStylesGetResponse ¶
type GetPromptStylesSdapiV1PromptStylesGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]PromptStyleItem
}
func ParseGetPromptStylesSdapiV1PromptStylesGetResponse ¶
func ParseGetPromptStylesSdapiV1PromptStylesGetResponse(rsp *http.Response) (*GetPromptStylesSdapiV1PromptStylesGetResponse, error)
ParseGetPromptStylesSdapiV1PromptStylesGetResponse parses an HTTP response from a GetPromptStylesSdapiV1PromptStylesGetWithResponse call
func (GetPromptStylesSdapiV1PromptStylesGetResponse) Status ¶
func (r GetPromptStylesSdapiV1PromptStylesGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetPromptStylesSdapiV1PromptStylesGetResponse) StatusCode ¶
func (r GetPromptStylesSdapiV1PromptStylesGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetQueueStatusQueueStatusGetResponse ¶
type GetQueueStatusQueueStatusGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Estimation
}
func ParseGetQueueStatusQueueStatusGetResponse ¶
func ParseGetQueueStatusQueueStatusGetResponse(rsp *http.Response) (*GetQueueStatusQueueStatusGetResponse, error)
ParseGetQueueStatusQueueStatusGetResponse parses an HTTP response from a GetQueueStatusQueueStatusGetWithResponse call
func (GetQueueStatusQueueStatusGetResponse) Status ¶
func (r GetQueueStatusQueueStatusGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetQueueStatusQueueStatusGetResponse) StatusCode ¶
func (r GetQueueStatusQueueStatusGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRealesrganModelsSdapiV1RealesrganModelsGetResponse ¶
type GetRealesrganModelsSdapiV1RealesrganModelsGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]RealesrganItem
}
func ParseGetRealesrganModelsSdapiV1RealesrganModelsGetResponse ¶
func ParseGetRealesrganModelsSdapiV1RealesrganModelsGetResponse(rsp *http.Response) (*GetRealesrganModelsSdapiV1RealesrganModelsGetResponse, error)
ParseGetRealesrganModelsSdapiV1RealesrganModelsGetResponse parses an HTTP response from a GetRealesrganModelsSdapiV1RealesrganModelsGetWithResponse call
func (GetRealesrganModelsSdapiV1RealesrganModelsGetResponse) Status ¶
func (r GetRealesrganModelsSdapiV1RealesrganModelsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetRealesrganModelsSdapiV1RealesrganModelsGetResponse) StatusCode ¶
func (r GetRealesrganModelsSdapiV1RealesrganModelsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSamplersSdapiV1SamplersGetResponse ¶
type GetSamplersSdapiV1SamplersGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]SamplerItem
}
func ParseGetSamplersSdapiV1SamplersGetResponse ¶
func ParseGetSamplersSdapiV1SamplersGetResponse(rsp *http.Response) (*GetSamplersSdapiV1SamplersGetResponse, error)
ParseGetSamplersSdapiV1SamplersGetResponse parses an HTTP response from a GetSamplersSdapiV1SamplersGetWithResponse call
func (GetSamplersSdapiV1SamplersGetResponse) Status ¶
func (r GetSamplersSdapiV1SamplersGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetSamplersSdapiV1SamplersGetResponse) StatusCode ¶
func (r GetSamplersSdapiV1SamplersGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetScriptInfoSdapiV1ScriptInfoGetResponse ¶
type GetScriptInfoSdapiV1ScriptInfoGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]ScriptInfo
}
func ParseGetScriptInfoSdapiV1ScriptInfoGetResponse ¶
func ParseGetScriptInfoSdapiV1ScriptInfoGetResponse(rsp *http.Response) (*GetScriptInfoSdapiV1ScriptInfoGetResponse, error)
ParseGetScriptInfoSdapiV1ScriptInfoGetResponse parses an HTTP response from a GetScriptInfoSdapiV1ScriptInfoGetWithResponse call
func (GetScriptInfoSdapiV1ScriptInfoGetResponse) Status ¶
func (r GetScriptInfoSdapiV1ScriptInfoGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetScriptInfoSdapiV1ScriptInfoGetResponse) StatusCode ¶
func (r GetScriptInfoSdapiV1ScriptInfoGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetScriptsListSdapiV1ScriptsGetResponse ¶
type GetScriptsListSdapiV1ScriptsGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScriptsList
}
func ParseGetScriptsListSdapiV1ScriptsGetResponse ¶
func ParseGetScriptsListSdapiV1ScriptsGetResponse(rsp *http.Response) (*GetScriptsListSdapiV1ScriptsGetResponse, error)
ParseGetScriptsListSdapiV1ScriptsGetResponse parses an HTTP response from a GetScriptsListSdapiV1ScriptsGetWithResponse call
func (GetScriptsListSdapiV1ScriptsGetResponse) Status ¶
func (r GetScriptsListSdapiV1ScriptsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetScriptsListSdapiV1ScriptsGetResponse) StatusCode ¶
func (r GetScriptsListSdapiV1ScriptsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSdModelsSdapiV1SdModelsGetResponse ¶
type GetSdModelsSdapiV1SdModelsGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]SDModelItem
}
func ParseGetSdModelsSdapiV1SdModelsGetResponse ¶
func ParseGetSdModelsSdapiV1SdModelsGetResponse(rsp *http.Response) (*GetSdModelsSdapiV1SdModelsGetResponse, error)
ParseGetSdModelsSdapiV1SdModelsGetResponse parses an HTTP response from a GetSdModelsSdapiV1SdModelsGetWithResponse call
func (GetSdModelsSdapiV1SdModelsGetResponse) Status ¶
func (r GetSdModelsSdapiV1SdModelsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetSdModelsSdapiV1SdModelsGetResponse) StatusCode ¶
func (r GetSdModelsSdapiV1SdModelsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSdVaesSdapiV1SdVaeGetResponse ¶
type GetSdVaesSdapiV1SdVaeGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]SDVaeItem
}
func ParseGetSdVaesSdapiV1SdVaeGetResponse ¶
func ParseGetSdVaesSdapiV1SdVaeGetResponse(rsp *http.Response) (*GetSdVaesSdapiV1SdVaeGetResponse, error)
ParseGetSdVaesSdapiV1SdVaeGetResponse parses an HTTP response from a GetSdVaesSdapiV1SdVaeGetWithResponse call
func (GetSdVaesSdapiV1SdVaeGetResponse) Status ¶
func (r GetSdVaesSdapiV1SdVaeGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetSdVaesSdapiV1SdVaeGetResponse) StatusCode ¶
func (r GetSdVaesSdapiV1SdVaeGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSingleCardSdExtraNetworksGetSingleCardGetParams ¶
type GetSingleCardSdExtraNetworksGetSingleCardGetParams struct {
Page *string `form:"page,omitempty" json:"page,omitempty"`
Tabname *string `form:"tabname,omitempty" json:"tabname,omitempty"`
Name *string `form:"name,omitempty" json:"name,omitempty"`
}
GetSingleCardSdExtraNetworksGetSingleCardGetParams defines parameters for GetSingleCardSdExtraNetworksGetSingleCardGet.
type GetSingleCardSdExtraNetworksGetSingleCardGetResponse ¶
type GetSingleCardSdExtraNetworksGetSingleCardGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParseGetSingleCardSdExtraNetworksGetSingleCardGetResponse ¶
func ParseGetSingleCardSdExtraNetworksGetSingleCardGetResponse(rsp *http.Response) (*GetSingleCardSdExtraNetworksGetSingleCardGetResponse, error)
ParseGetSingleCardSdExtraNetworksGetSingleCardGetResponse parses an HTTP response from a GetSingleCardSdExtraNetworksGetSingleCardGetWithResponse call
func (GetSingleCardSdExtraNetworksGetSingleCardGetResponse) Status ¶
func (r GetSingleCardSdExtraNetworksGetSingleCardGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetSingleCardSdExtraNetworksGetSingleCardGetResponse) StatusCode ¶
func (r GetSingleCardSdExtraNetworksGetSingleCardGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTokenTokenGetResponse ¶
type GetTokenTokenGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *map[string]interface{}
}
func ParseGetTokenTokenGetResponse ¶
func ParseGetTokenTokenGetResponse(rsp *http.Response) (*GetTokenTokenGetResponse, error)
ParseGetTokenTokenGetResponse parses an HTTP response from a GetTokenTokenGetWithResponse call
func (GetTokenTokenGetResponse) Status ¶
func (r GetTokenTokenGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetTokenTokenGetResponse) StatusCode ¶
func (r GetTokenTokenGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUpscalersSdapiV1UpscalersGetResponse ¶
type GetUpscalersSdapiV1UpscalersGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]UpscalerItem
}
func ParseGetUpscalersSdapiV1UpscalersGetResponse ¶
func ParseGetUpscalersSdapiV1UpscalersGetResponse(rsp *http.Response) (*GetUpscalersSdapiV1UpscalersGetResponse, error)
ParseGetUpscalersSdapiV1UpscalersGetResponse parses an HTTP response from a GetUpscalersSdapiV1UpscalersGetWithResponse call
func (GetUpscalersSdapiV1UpscalersGetResponse) Status ¶
func (r GetUpscalersSdapiV1UpscalersGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetUpscalersSdapiV1UpscalersGetResponse) StatusCode ¶
func (r GetUpscalersSdapiV1UpscalersGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HTTPValidationError ¶
type HTTPValidationError struct {
Detail *[]ValidationError `json:"detail,omitempty"`
}
HTTPValidationError defines model for HTTPValidationError.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type HypernetworkItem ¶
HypernetworkItem defines model for HypernetworkItem.
type ImageToImageResponse ¶
type ImageToImageResponse struct {
// Images The generated image in base64 format.
Images *[]string `json:"images,omitempty"`
Info string `json:"info"`
Parameters map[string]interface{} `json:"parameters"`
}
ImageToImageResponse defines model for ImageToImageResponse.
type Img2imgapiSdapiV1Img2imgPostJSONRequestBody ¶
type Img2imgapiSdapiV1Img2imgPostJSONRequestBody = StableDiffusionProcessingImg2Img
Img2imgapiSdapiV1Img2imgPostJSONRequestBody defines body for Img2imgapiSdapiV1Img2imgPost for application/json ContentType.
type Img2imgapiSdapiV1Img2imgPostResponse ¶
type Img2imgapiSdapiV1Img2imgPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ImageToImageResponse
JSON422 *HTTPValidationError
}
func ParseImg2imgapiSdapiV1Img2imgPostResponse ¶
func ParseImg2imgapiSdapiV1Img2imgPostResponse(rsp *http.Response) (*Img2imgapiSdapiV1Img2imgPostResponse, error)
ParseImg2imgapiSdapiV1Img2imgPostResponse parses an HTTP response from a Img2imgapiSdapiV1Img2imgPostWithResponse call
func (Img2imgapiSdapiV1Img2imgPostResponse) Status ¶
func (r Img2imgapiSdapiV1Img2imgPostResponse) Status() string
Status returns HTTPResponse.Status
func (Img2imgapiSdapiV1Img2imgPostResponse) StatusCode ¶
func (r Img2imgapiSdapiV1Img2imgPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InterrogateRequest ¶
type InterrogateRequest struct {
// Image Image to work on, must be a Base64 string containing the image's data.
Image *string `json:"image,omitempty"`
// Model The interrogate model used.
Model *string `json:"model,omitempty"`
}
InterrogateRequest defines model for InterrogateRequest.
type InterrogateapiSdapiV1InterrogatePostJSONRequestBody ¶
type InterrogateapiSdapiV1InterrogatePostJSONRequestBody = InterrogateRequest
InterrogateapiSdapiV1InterrogatePostJSONRequestBody defines body for InterrogateapiSdapiV1InterrogatePost for application/json ContentType.
type InterrogateapiSdapiV1InterrogatePostResponse ¶
type InterrogateapiSdapiV1InterrogatePostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParseInterrogateapiSdapiV1InterrogatePostResponse ¶
func ParseInterrogateapiSdapiV1InterrogatePostResponse(rsp *http.Response) (*InterrogateapiSdapiV1InterrogatePostResponse, error)
ParseInterrogateapiSdapiV1InterrogatePostResponse parses an HTTP response from a InterrogateapiSdapiV1InterrogatePostWithResponse call
func (InterrogateapiSdapiV1InterrogatePostResponse) Status ¶
func (r InterrogateapiSdapiV1InterrogatePostResponse) Status() string
Status returns HTTPResponse.Status
func (InterrogateapiSdapiV1InterrogatePostResponse) StatusCode ¶
func (r InterrogateapiSdapiV1InterrogatePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InterruptapiSdapiV1InterruptPostResponse ¶
type InterruptapiSdapiV1InterruptPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
}
func ParseInterruptapiSdapiV1InterruptPostResponse ¶
func ParseInterruptapiSdapiV1InterruptPostResponse(rsp *http.Response) (*InterruptapiSdapiV1InterruptPostResponse, error)
ParseInterruptapiSdapiV1InterruptPostResponse parses an HTTP response from a InterruptapiSdapiV1InterruptPostWithResponse call
func (InterruptapiSdapiV1InterruptPostResponse) Status ¶
func (r InterruptapiSdapiV1InterruptPostResponse) Status() string
Status returns HTTPResponse.Status
func (InterruptapiSdapiV1InterruptPostResponse) StatusCode ¶
func (r InterruptapiSdapiV1InterruptPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LambdaInternalPingGetResponse ¶
type LambdaInternalPingGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
}
func ParseLambdaInternalPingGetResponse ¶
func ParseLambdaInternalPingGetResponse(rsp *http.Response) (*LambdaInternalPingGetResponse, error)
ParseLambdaInternalPingGetResponse parses an HTTP response from a LambdaInternalPingGetWithResponse call
func (LambdaInternalPingGetResponse) Status ¶
func (r LambdaInternalPingGetResponse) Status() string
Status returns HTTPResponse.Status
func (LambdaInternalPingGetResponse) StatusCode ¶
func (r LambdaInternalPingGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LambdaInternalProfileStartupGetResponse ¶
type LambdaInternalProfileStartupGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
}
func ParseLambdaInternalProfileStartupGetResponse ¶
func ParseLambdaInternalProfileStartupGetResponse(rsp *http.Response) (*LambdaInternalProfileStartupGetResponse, error)
ParseLambdaInternalProfileStartupGetResponse parses an HTTP response from a LambdaInternalProfileStartupGetWithResponse call
func (LambdaInternalProfileStartupGetResponse) Status ¶
func (r LambdaInternalProfileStartupGetResponse) Status() string
Status returns HTTPResponse.Status
func (LambdaInternalProfileStartupGetResponse) StatusCode ¶
func (r LambdaInternalProfileStartupGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LambdaInternalSysinfoDownloadGetResponse ¶
type LambdaInternalSysinfoDownloadGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
}
func ParseLambdaInternalSysinfoDownloadGetResponse ¶
func ParseLambdaInternalSysinfoDownloadGetResponse(rsp *http.Response) (*LambdaInternalSysinfoDownloadGetResponse, error)
ParseLambdaInternalSysinfoDownloadGetResponse parses an HTTP response from a LambdaInternalSysinfoDownloadGetWithResponse call
func (LambdaInternalSysinfoDownloadGetResponse) Status ¶
func (r LambdaInternalSysinfoDownloadGetResponse) Status() string
Status returns HTTPResponse.Status
func (LambdaInternalSysinfoDownloadGetResponse) StatusCode ¶
func (r LambdaInternalSysinfoDownloadGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LatentUpscalerModeItem ¶
type LatentUpscalerModeItem struct {
Name string `json:"name"`
}
LatentUpscalerModeItem defines model for LatentUpscalerModeItem.
type LoginCheckLoginCheckGetResponse ¶
type LoginCheckLoginCheckGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
}
func ParseLoginCheckLoginCheckGetResponse ¶
func ParseLoginCheckLoginCheckGetResponse(rsp *http.Response) (*LoginCheckLoginCheckGetResponse, error)
ParseLoginCheckLoginCheckGetResponse parses an HTTP response from a LoginCheckLoginCheckGetWithResponse call
func (LoginCheckLoginCheckGetResponse) Status ¶
func (r LoginCheckLoginCheckGetResponse) Status() string
Status returns HTTPResponse.Status
func (LoginCheckLoginCheckGetResponse) StatusCode ¶
func (r LoginCheckLoginCheckGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LoginLoginPostFormdataRequestBody ¶
type LoginLoginPostFormdataRequestBody = BodyLoginLoginPost1
LoginLoginPostFormdataRequestBody defines body for LoginLoginPost for application/x-www-form-urlencoded ContentType.
type LoginLoginPostResponse ¶
type LoginLoginPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParseLoginLoginPostResponse ¶
func ParseLoginLoginPostResponse(rsp *http.Response) (*LoginLoginPostResponse, error)
ParseLoginLoginPostResponse parses an HTTP response from a LoginLoginPostWithResponse call
func (LoginLoginPostResponse) Status ¶
func (r LoginLoginPostResponse) Status() string
Status returns HTTPResponse.Status
func (LoginLoginPostResponse) StatusCode ¶
func (r LoginLoginPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MainGetResponse ¶
func ParseMainGetResponse ¶
func ParseMainGetResponse(rsp *http.Response) (*MainGetResponse, error)
ParseMainGetResponse parses an HTTP response from a MainGetWithResponse call
func (MainGetResponse) Status ¶
func (r MainGetResponse) Status() string
Status returns HTTPResponse.Status
func (MainGetResponse) StatusCode ¶
func (r MainGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MainHeadResponse ¶
func ParseMainHeadResponse ¶
func ParseMainHeadResponse(rsp *http.Response) (*MainHeadResponse, error)
ParseMainHeadResponse parses an HTTP response from a MainHeadWithResponse call
func (MainHeadResponse) Status ¶
func (r MainHeadResponse) Status() string
Status returns HTTPResponse.Status
func (MainHeadResponse) StatusCode ¶
func (r MainHeadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MemoryResponse ¶
type MemoryResponse struct {
// Cuda nVidia CUDA memory stats
Cuda map[string]interface{} `json:"cuda"`
// Ram System memory stats
Ram map[string]interface{} `json:"ram"`
}
MemoryResponse defines model for MemoryResponse.
type ModulesApiModelsProgressResponse ¶
type ModulesApiModelsProgressResponse struct {
// CurrentImage The current image in base64 format. opts.show_progress_every_n_steps is required for this to work.
CurrentImage *string `json:"current_image,omitempty"`
EtaRelative float32 `json:"eta_relative"`
// Progress The progress with a range of 0 to 1
Progress float32 `json:"progress"`
// State The current state snapshot
State map[string]interface{} `json:"state"`
// Textinfo Info text used by WebUI.
Textinfo *string `json:"textinfo,omitempty"`
}
ModulesApiModelsProgressResponse defines model for modules__api__models__ProgressResponse.
type ModulesProgressProgressResponse ¶
type ModulesProgressProgressResponse struct {
Active bool `json:"active"`
Completed bool `json:"completed"`
Eta *float32 `json:"eta,omitempty"`
// IdLivePreview Send this together with next request to prevent receiving same image
IdLivePreview *int `json:"id_live_preview,omitempty"`
// LivePreview Current live preview; a data: uri
LivePreview *string `json:"live_preview,omitempty"`
// Progress The progress with a range of 0 to 1
Progress *float32 `json:"progress,omitempty"`
Queued bool `json:"queued"`
// Textinfo Info text used by WebUI.
Textinfo *string `json:"textinfo,omitempty"`
}
ModulesProgressProgressResponse defines model for modules__progress__ProgressResponse.
type Options ¶
type Options struct {
// CLIPStopAtLastLayers Clip skip
CLIPStopAtLastLayers *float32 `json:"CLIP_stop_at_last_layers,omitempty"`
// ESRGANTile Tile size for ESRGAN upscalers.
ESRGANTile *float32 `json:"ESRGAN_tile,omitempty"`
// ESRGANTileOverlap Tile overlap for ESRGAN upscalers.
ESRGANTileOverlap *float32 `json:"ESRGAN_tile_overlap,omitempty"`
// AddModelHashToInfo Add model hash to infotext
AddModelHashToInfo *bool `json:"add_model_hash_to_info,omitempty"`
// AddModelNameToInfo Add model name to infotext
AddModelNameToInfo *bool `json:"add_model_name_to_info,omitempty"`
// AddUserNameToInfo Add user name to infotext when authenticated
AddUserNameToInfo *interface{} `json:"add_user_name_to_info,omitempty"`
// AddVaeHashToInfo Add VAE hash to infotext
AddVaeHashToInfo *bool `json:"add_vae_hash_to_info,omitempty"`
// AddVaeNameToInfo Add VAE name to infotext
AddVaeNameToInfo *bool `json:"add_vae_name_to_info,omitempty"`
// AddVersionToInfotext Add program version to infotext
AddVersionToInfotext *bool `json:"add_version_to_infotext,omitempty"`
// AlwaysDiscardNextToLastSigma Always discard next-to-last sigma
AlwaysDiscardNextToLastSigma *interface{} `json:"always_discard_next_to_last_sigma,omitempty"`
// ApiEnableRequests Allow http:// and https:// URLs for input images in API
ApiEnableRequests *bool `json:"api_enable_requests,omitempty"`
// ApiForbidLocalRequests Forbid URLs to local resources
ApiForbidLocalRequests *bool `json:"api_forbid_local_requests,omitempty"`
// ApiUseragent User agent for requests
ApiUseragent *interface{} `json:"api_useragent,omitempty"`
// AutoLaunchBrowser Automatically open webui in browser on startup
AutoLaunchBrowser *string `json:"auto_launch_browser,omitempty"`
// AutoVaePrecision Automatically revert VAE to 32-bit floats
AutoVaePrecision *bool `json:"auto_vae_precision,omitempty"`
// BatchCondUncond Batch cond/uncond
BatchCondUncond *bool `json:"batch_cond_uncond,omitempty"`
// CanvasAutoExpand Automatically expands an image that does not fit completely in the canvas area, similar to manually pressing the S and R buttons
CanvasAutoExpand *bool `json:"canvas_auto_expand,omitempty"`
// CanvasBlurPrompt Take the focus off the prompt when working with a canvas
CanvasBlurPrompt *interface{} `json:"canvas_blur_prompt,omitempty"`
// CanvasDisabledFunctions Disable function that you don't use
CanvasDisabledFunctions *[]interface{} `json:"canvas_disabled_functions,omitempty"`
// CanvasHotkeyAdjust Adjust brush size
CanvasHotkeyAdjust *string `json:"canvas_hotkey_adjust,omitempty"`
// CanvasHotkeyFullscreen Fullscreen Mode, maximizes the picture so that it fits into the screen and stretches it to its full width
CanvasHotkeyFullscreen *string `json:"canvas_hotkey_fullscreen,omitempty"`
// CanvasHotkeyMove Moving the canvas
CanvasHotkeyMove *string `json:"canvas_hotkey_move,omitempty"`
// CanvasHotkeyOverlap Toggle overlap
CanvasHotkeyOverlap *string `json:"canvas_hotkey_overlap,omitempty"`
// CanvasHotkeyReset Reset zoom and canvas positon
CanvasHotkeyReset *string `json:"canvas_hotkey_reset,omitempty"`
// CanvasHotkeyZoom Zoom canvas
CanvasHotkeyZoom *string `json:"canvas_hotkey_zoom,omitempty"`
// CanvasShowTooltip Enable tooltip on the canvas
CanvasShowTooltip *bool `json:"canvas_show_tooltip,omitempty"`
// CleanTempDirAtStart Cleanup non-default temporary directory when starting webui
CleanTempDirAtStart *interface{} `json:"clean_temp_dir_at_start,omitempty"`
// CodeFormerWeight CodeFormer weight
CodeFormerWeight *float32 `json:"code_former_weight,omitempty"`
// CommaPaddingBacktrack Prompt word wrap length limit
CommaPaddingBacktrack *float32 `json:"comma_padding_backtrack,omitempty"`
// CompactPromptBox Compact prompt layout
CompactPromptBox *interface{} `json:"compact_prompt_box,omitempty"`
// CrossAttentionOptimization Cross attention optimization
CrossAttentionOptimization *string `json:"cross_attention_optimization,omitempty"`
// DatasetFilenameJoinString Filename join string
DatasetFilenameJoinString *string `json:"dataset_filename_join_string,omitempty"`
// DatasetFilenameWordRegex Filename word regex
DatasetFilenameWordRegex *interface{} `json:"dataset_filename_word_regex,omitempty"`
// DdimDiscretize img2img DDIM discretize
DdimDiscretize *string `json:"ddim_discretize,omitempty"`
// DeepbooruEscape deepbooru: escape (\) brackets
DeepbooruEscape *bool `json:"deepbooru_escape,omitempty"`
// DeepbooruFilterTags deepbooru: filter out those tags
DeepbooruFilterTags *interface{} `json:"deepbooru_filter_tags,omitempty"`
// DeepbooruSortAlpha deepbooru: sort tags alphabetically
DeepbooruSortAlpha *bool `json:"deepbooru_sort_alpha,omitempty"`
// DeepbooruUseSpaces deepbooru: use spaces in tags
DeepbooruUseSpaces *bool `json:"deepbooru_use_spaces,omitempty"`
// DimensionsAndBatchTogether Show Width/Height and Batch sliders in same row
DimensionsAndBatchTogether *bool `json:"dimensions_and_batch_together,omitempty"`
// DirectoriesFilenamePattern Directory name pattern
DirectoriesFilenamePattern *string `json:"directories_filename_pattern,omitempty"`
// DirectoriesMaxPromptWords Max prompt words for [prompt_words] pattern
DirectoriesMaxPromptWords *float32 `json:"directories_max_prompt_words,omitempty"`
// DisableAllExtensions Disable all extensions (preserves the list of disabled extensions)
DisableAllExtensions *string `json:"disable_all_extensions,omitempty"`
// DisableMmapLoadSafetensors Disable memmapping for loading .safetensors files.
DisableMmapLoadSafetensors *interface{} `json:"disable_mmap_load_safetensors,omitempty"`
// DisableTokenCounters Disable prompt token counters
DisableTokenCounters *interface{} `json:"disable_token_counters,omitempty"`
// DisableWeightsAutoSwap Disregard checkpoint information from pasted infotext
DisableWeightsAutoSwap *bool `json:"disable_weights_auto_swap,omitempty"`
// DisabledExtensions Disable these extensions
DisabledExtensions *interface{} `json:"disabled_extensions,omitempty"`
// DoNotShowImages Do not show any images in gallery
DoNotShowImages *interface{} `json:"do_not_show_images,omitempty"`
// DontFixSecondOrderSamplersSchedule Do not fix prompt schedule for second order samplers.
DontFixSecondOrderSamplersSchedule *interface{} `json:"dont_fix_second_order_samplers_schedule,omitempty"`
// DumpStacksOnSignal Print stack traces before exiting the program with ctrl+c.
DumpStacksOnSignal *interface{} `json:"dump_stacks_on_signal,omitempty"`
// EnableBatchSeeds Make K-diffusion samplers produce same images in a batch as when making a single image
EnableBatchSeeds *bool `json:"enable_batch_seeds,omitempty"`
// EnableConsolePrompts Print prompts to console when generating with txt2img and img2img.
EnableConsolePrompts *interface{} `json:"enable_console_prompts,omitempty"`
// EnableEmphasis Enable emphasis
EnableEmphasis *bool `json:"enable_emphasis,omitempty"`
// EnablePnginfo Write infotext to metadata of the generated image
EnablePnginfo *bool `json:"enable_pnginfo,omitempty"`
// EnableQuantization Enable quantization in K samplers for sharper and cleaner results. This may change existing seeds
EnableQuantization *interface{} `json:"enable_quantization,omitempty"`
// EtaAncestral Eta for k-diffusion samplers
EtaAncestral *float32 `json:"eta_ancestral,omitempty"`
// EtaDdim Eta for DDIM
EtaDdim *interface{} `json:"eta_ddim,omitempty"`
// EtaNoiseSeedDelta Eta noise seed delta
EtaNoiseSeedDelta *interface{} `json:"eta_noise_seed_delta,omitempty"`
// ExportFor4chan Save copy of large images as JPG
ExportFor4chan *bool `json:"export_for_4chan,omitempty"`
// ExtraNetworksAddTextSeparator Extra networks separator
ExtraNetworksAddTextSeparator *string `json:"extra_networks_add_text_separator,omitempty"`
// ExtraNetworksCardHeight Card height for Extra Networks
ExtraNetworksCardHeight *interface{} `json:"extra_networks_card_height,omitempty"`
// ExtraNetworksCardOrder Default order for Extra Networks cards
ExtraNetworksCardOrder *string `json:"extra_networks_card_order,omitempty"`
// ExtraNetworksCardOrderField Default order field for Extra Networks cards
ExtraNetworksCardOrderField *string `json:"extra_networks_card_order_field,omitempty"`
// ExtraNetworksCardShowDesc Show description on card
ExtraNetworksCardShowDesc *bool `json:"extra_networks_card_show_desc,omitempty"`
// ExtraNetworksCardTextScale Card text scale
ExtraNetworksCardTextScale *float32 `json:"extra_networks_card_text_scale,omitempty"`
// ExtraNetworksCardWidth Card width for Extra Networks
ExtraNetworksCardWidth *interface{} `json:"extra_networks_card_width,omitempty"`
// ExtraNetworksDefaultMultiplier Default multiplier for extra networks
ExtraNetworksDefaultMultiplier *float32 `json:"extra_networks_default_multiplier,omitempty"`
// ExtraNetworksDirButtonFunction Add a '/' to the beginning of directory buttons
ExtraNetworksDirButtonFunction *interface{} `json:"extra_networks_dir_button_function,omitempty"`
// ExtraNetworksHiddenModels Show cards for models in hidden directories
ExtraNetworksHiddenModels *string `json:"extra_networks_hidden_models,omitempty"`
// ExtraNetworksShowHiddenDirectories Show hidden directories
ExtraNetworksShowHiddenDirectories *bool `json:"extra_networks_show_hidden_directories,omitempty"`
// ExtraOptionsAccordion Place added settings into an accordion
ExtraOptionsAccordion *interface{} `json:"extra_options_accordion,omitempty"`
// ExtraOptionsCols Number of columns for added settings
ExtraOptionsCols *float32 `json:"extra_options_cols,omitempty"`
// ExtraOptionsImg2img Settings for img2img
ExtraOptionsImg2img *interface{} `json:"extra_options_img2img,omitempty"`
// ExtraOptionsTxt2img Settings for txt2img
ExtraOptionsTxt2img *interface{} `json:"extra_options_txt2img,omitempty"`
// FaceRestoration Restore faces
FaceRestoration *interface{} `json:"face_restoration,omitempty"`
// FaceRestorationModel Face restoration model
FaceRestorationModel *string `json:"face_restoration_model,omitempty"`
// FaceRestorationUnload Move face restoration model from VRAM into RAM after processing
FaceRestorationUnload *interface{} `json:"face_restoration_unload,omitempty"`
// Font Font for image grids that have text
Font *interface{} `json:"font,omitempty"`
// GalleryHeight Gallery height
GalleryHeight *interface{} `json:"gallery_height,omitempty"`
// GradioTheme Gradio theme
GradioTheme *string `json:"gradio_theme,omitempty"`
// GradioThemesCache Cache gradio themes locally
GradioThemesCache *bool `json:"gradio_themes_cache,omitempty"`
// GridBackgroundColor Background color for image grids
GridBackgroundColor *string `json:"grid_background_color,omitempty"`
// GridExtendedFilename Add extended info (seed, prompt) to filename when saving grid
GridExtendedFilename *interface{} `json:"grid_extended_filename,omitempty"`
// GridFormat File format for grids
GridFormat *string `json:"grid_format,omitempty"`
// GridOnlyIfMultiple Do not save grids consisting of one picture
GridOnlyIfMultiple *bool `json:"grid_only_if_multiple,omitempty"`
// GridPreventEmptySpots Prevent empty spots in grid (when set to autodetect)
GridPreventEmptySpots *interface{} `json:"grid_prevent_empty_spots,omitempty"`
// GridSave Always save all generated image grids
GridSave *bool `json:"grid_save,omitempty"`
// GridSaveToDirs Save grids to a subdirectory
GridSaveToDirs *bool `json:"grid_save_to_dirs,omitempty"`
// GridTextActiveColor Text color for image grids
GridTextActiveColor *string `json:"grid_text_active_color,omitempty"`
// GridTextInactiveColor Inactive text color for image grids
GridTextInactiveColor *string `json:"grid_text_inactive_color,omitempty"`
// GridZipFilenamePattern Archive filename pattern
GridZipFilenamePattern *interface{} `json:"grid_zip_filename_pattern,omitempty"`
// HiddenTabs Hidden UI tabs
HiddenTabs *interface{} `json:"hidden_tabs,omitempty"`
// HideLdmPrints Prevent Stability-AI's ldm/sgm modules from printing noise to console.
HideLdmPrints *bool `json:"hide_ldm_prints,omitempty"`
// HideSamplers Hide samplers in user interface
HideSamplers *interface{} `json:"hide_samplers,omitempty"`
// HiresFixRefinerPass Hires fix: which pass to enable refiner for
HiresFixRefinerPass *string `json:"hires_fix_refiner_pass,omitempty"`
// HiresFixShowPrompts Hires fix: show hires prompt and negative prompt
HiresFixShowPrompts *interface{} `json:"hires_fix_show_prompts,omitempty"`
// HiresFixShowSampler Hires fix: show hires checkpoint and sampler selection
HiresFixShowSampler *interface{} `json:"hires_fix_show_sampler,omitempty"`
// HiresFixUseFirstpassConds For hires fix, calculate conds of second pass using extra networks of first pass.
HiresFixUseFirstpassConds *interface{} `json:"hires_fix_use_firstpass_conds,omitempty"`
// Img2imgBackgroundColor With img2img, fill transparent parts of the input image with this color.
Img2imgBackgroundColor *string `json:"img2img_background_color,omitempty"`
// Img2imgBatchShowResultsLimit Show the first N batch img2img results in UI
Img2imgBatchShowResultsLimit *float32 `json:"img2img_batch_show_results_limit,omitempty"`
// Img2imgColorCorrection Apply color correction to img2img results to match original colors.
Img2imgColorCorrection *interface{} `json:"img2img_color_correction,omitempty"`
// Img2imgEditorHeight Height of the image editor
Img2imgEditorHeight *float32 `json:"img2img_editor_height,omitempty"`
// Img2imgExtraNoise Extra noise multiplier for img2img and hires fix
Img2imgExtraNoise *interface{} `json:"img2img_extra_noise,omitempty"`
// Img2imgFixSteps With img2img, do exactly the amount of steps the slider specifies.
Img2imgFixSteps *interface{} `json:"img2img_fix_steps,omitempty"`
// Img2imgInpaintMaskBrushColor Inpaint mask brush color
Img2imgInpaintMaskBrushColor *string `json:"img2img_inpaint_mask_brush_color,omitempty"`
// Img2imgInpaintSketchDefaultBrushColor Inpaint sketch initial brush color
Img2imgInpaintSketchDefaultBrushColor *string `json:"img2img_inpaint_sketch_default_brush_color,omitempty"`
// Img2imgSettingsAccordion Settings in img2img hidden under Accordion
Img2imgSettingsAccordion *interface{} `json:"img2img_settings_accordion,omitempty"`
// Img2imgSketchDefaultBrushColor Sketch initial brush color
Img2imgSketchDefaultBrushColor *string `json:"img2img_sketch_default_brush_color,omitempty"`
// ImgDownscaleThreshold File size limit for the above option, MB
ImgDownscaleThreshold *float32 `json:"img_downscale_threshold,omitempty"`
// ImgMaxSizeMp Maximum image size
ImgMaxSizeMp *float32 `json:"img_max_size_mp,omitempty"`
InfotextExplanation *string `json:"infotext_explanation,omitempty"`
// InfotextSkipPasting Disregard fields from pasted infotext
InfotextSkipPasting *interface{} `json:"infotext_skip_pasting,omitempty"`
// InfotextStyles Infer styles from prompts of pasted infotext
InfotextStyles *string `json:"infotext_styles,omitempty"`
// InitialNoiseMultiplier Noise multiplier for img2img
InitialNoiseMultiplier *float32 `json:"initial_noise_multiplier,omitempty"`
// InpaintingMaskWeight Inpainting conditioning mask strength
InpaintingMaskWeight *float32 `json:"inpainting_mask_weight,omitempty"`
// InterrogateClipDictLimit CLIP: maximum number of lines in text file
InterrogateClipDictLimit *float32 `json:"interrogate_clip_dict_limit,omitempty"`
// InterrogateClipMaxLength BLIP: maximum description length
InterrogateClipMaxLength *float32 `json:"interrogate_clip_max_length,omitempty"`
// InterrogateClipMinLength BLIP: minimum description length
InterrogateClipMinLength *float32 `json:"interrogate_clip_min_length,omitempty"`
// InterrogateClipNumBeams BLIP: num_beams
InterrogateClipNumBeams *float32 `json:"interrogate_clip_num_beams,omitempty"`
// InterrogateClipSkipCategories CLIP: skip inquire categories
InterrogateClipSkipCategories *interface{} `json:"interrogate_clip_skip_categories,omitempty"`
// InterrogateDeepbooruScoreThreshold deepbooru: score threshold
InterrogateDeepbooruScoreThreshold *float32 `json:"interrogate_deepbooru_score_threshold,omitempty"`
// InterrogateKeepModelsInMemory Keep models in VRAM
InterrogateKeepModelsInMemory *interface{} `json:"interrogate_keep_models_in_memory,omitempty"`
// InterrogateReturnRanks Include ranks of model tags matches in results.
InterrogateReturnRanks *interface{} `json:"interrogate_return_ranks,omitempty"`
// JpegQuality Quality for saved jpeg images
JpegQuality *float32 `json:"jpeg_quality,omitempty"`
// JsLivePreviewInModalLightbox Show Live preview in full page image viewer
JsLivePreviewInModalLightbox *interface{} `json:"js_live_preview_in_modal_lightbox,omitempty"`
// JsModalLightbox Full page image viewer: enable
JsModalLightbox *bool `json:"js_modal_lightbox,omitempty"`
// JsModalLightboxGamepad Full page image viewer: navigate with gamepad
JsModalLightboxGamepad *interface{} `json:"js_modal_lightbox_gamepad,omitempty"`
// JsModalLightboxGamepadRepeat Full page image viewer: gamepad repeat period
JsModalLightboxGamepadRepeat *float32 `json:"js_modal_lightbox_gamepad_repeat,omitempty"`
// JsModalLightboxInitiallyZoomed Full page image viewer: show images zoomed in by default
JsModalLightboxInitiallyZoomed *bool `json:"js_modal_lightbox_initially_zoomed,omitempty"`
// KSchedType Scheduler type
KSchedType *string `json:"k_sched_type,omitempty"`
// KeyeditDelimiters Word delimiters when editing the prompt with Ctrl+up/down
KeyeditDelimiters *string `json:"keyedit_delimiters,omitempty"`
// KeyeditDelimitersWhitespace Ctrl+up/down whitespace delimiters
KeyeditDelimitersWhitespace *[]interface{} `json:"keyedit_delimiters_whitespace,omitempty"`
// KeyeditMove Alt+left/right moves prompt elements
KeyeditMove *bool `json:"keyedit_move,omitempty"`
// KeyeditPrecisionAttention Precision for (attention:1.1) when editing the prompt with Ctrl+up/down
KeyeditPrecisionAttention *float32 `json:"keyedit_precision_attention,omitempty"`
// KeyeditPrecisionExtra Precision for <extra networks:0.9> when editing the prompt with Ctrl+up/down
KeyeditPrecisionExtra *float32 `json:"keyedit_precision_extra,omitempty"`
// ListHiddenFiles Load models/files in hidden directories
ListHiddenFiles *bool `json:"list_hidden_files,omitempty"`
// LivePreviewAllowLowvramFull Allow Full live preview method with lowvram/medvram
LivePreviewAllowLowvramFull *interface{} `json:"live_preview_allow_lowvram_full,omitempty"`
// LivePreviewContent Live preview subject
LivePreviewContent *string `json:"live_preview_content,omitempty"`
// LivePreviewFastInterrupt Return image with chosen live preview method on interrupt
LivePreviewFastInterrupt *interface{} `json:"live_preview_fast_interrupt,omitempty"`
// LivePreviewRefreshPeriod Progressbar and preview update period
LivePreviewRefreshPeriod *float32 `json:"live_preview_refresh_period,omitempty"`
// LivePreviewsEnable Show live previews of the created image
LivePreviewsEnable *bool `json:"live_previews_enable,omitempty"`
// LivePreviewsImageFormat Live preview file format
LivePreviewsImageFormat *string `json:"live_previews_image_format,omitempty"`
// Localization Localization
Localization *string `json:"localization,omitempty"`
// LoraAddHashesToInfotext Add Lora hashes to infotext
LoraAddHashesToInfotext *bool `json:"lora_add_hashes_to_infotext,omitempty"`
// LoraFunctional Lora/Networks: use old method that takes longer when you have multiple Loras active and produces same results as kohya-ss/sd-webui-additional-networks extension
LoraFunctional *interface{} `json:"lora_functional,omitempty"`
// LoraHideUnknownForVersions Hide networks of unknown versions for model versions
LoraHideUnknownForVersions *interface{} `json:"lora_hide_unknown_for_versions,omitempty"`
// LoraInMemoryLimit Number of Lora networks to keep cached in memory
LoraInMemoryLimit *interface{} `json:"lora_in_memory_limit,omitempty"`
// LoraPreferredName When adding to prompt, refer to Lora by
LoraPreferredName *string `json:"lora_preferred_name,omitempty"`
// LoraShowAll Always show all networks on the Lora page
LoraShowAll *interface{} `json:"lora_show_all,omitempty"`
// MemmonPollRate VRAM usage polls per second during generation.
MemmonPollRate *float32 `json:"memmon_poll_rate,omitempty"`
// MultipleTqdm Add a second progress bar to the console that shows progress for an entire job.
MultipleTqdm *bool `json:"multiple_tqdm,omitempty"`
// NRows Grid row count; use -1 for autodetect and 0 for it to be same as batch size
NRows *float32 `json:"n_rows,omitempty"`
// NoDpmppSdeBatchDeterminism Do not make DPM++ SDE deterministic across different batch sizes.
NoDpmppSdeBatchDeterminism *interface{} `json:"no_dpmpp_sde_batch_determinism,omitempty"`
// NotificationAudio Play notification sound after image generation
NotificationAudio *bool `json:"notification_audio,omitempty"`
// NotificationVolume Notification sound volume
NotificationVolume *float32 `json:"notification_volume,omitempty"`
// OutdirExtrasSamples Output directory for images from extras tab
OutdirExtrasSamples *string `json:"outdir_extras_samples,omitempty"`
// OutdirGrids Output directory for grids; if empty, defaults to two directories below
OutdirGrids *interface{} `json:"outdir_grids,omitempty"`
// OutdirImg2imgGrids Output directory for img2img grids
OutdirImg2imgGrids *string `json:"outdir_img2img_grids,omitempty"`
// OutdirImg2imgSamples Output directory for img2img images
OutdirImg2imgSamples *string `json:"outdir_img2img_samples,omitempty"`
// OutdirInitImages Directory for saving init images when using img2img
OutdirInitImages *string `json:"outdir_init_images,omitempty"`
// OutdirSamples Output directory for images; if empty, defaults to three directories below
OutdirSamples *interface{} `json:"outdir_samples,omitempty"`
// OutdirSave Directory for saving images using the Save button
OutdirSave *string `json:"outdir_save,omitempty"`
// OutdirTxt2imgGrids Output directory for txt2img grids
OutdirTxt2imgGrids *string `json:"outdir_txt2img_grids,omitempty"`
// OutdirTxt2imgSamples Output directory for txt2img images
OutdirTxt2imgSamples *string `json:"outdir_txt2img_samples,omitempty"`
// PadCondUncond Pad prompt/negative prompt to be same length
PadCondUncond *interface{} `json:"pad_cond_uncond,omitempty"`
// PersistentCondCache Persistent cond cache
PersistentCondCache *bool `json:"persistent_cond_cache,omitempty"`
// PinMemory Turn on pin_memory for DataLoader. Makes training slightly faster but can increase memory usage.
PinMemory *interface{} `json:"pin_memory,omitempty"`
// PostprocessingEnableInMainUi Enable postprocessing operations in txt2img and img2img tabs
PostprocessingEnableInMainUi *interface{} `json:"postprocessing_enable_in_main_ui,omitempty"`
// PostprocessingExistingCaptionAction Action for existing captions
PostprocessingExistingCaptionAction *string `json:"postprocessing_existing_caption_action,omitempty"`
// PostprocessingOperationOrder Postprocessing operation order
PostprocessingOperationOrder *interface{} `json:"postprocessing_operation_order,omitempty"`
// PrintHypernetExtra Print extra hypernetwork information to console.
PrintHypernetExtra *interface{} `json:"print_hypernet_extra,omitempty"`
// QuicksettingsList Quicksettings list
QuicksettingsList *[]interface{} `json:"quicksettings_list,omitempty"`
// RandnSource Random number generator source.
RandnSource *string `json:"randn_source,omitempty"`
// RealesrganEnabledModels Select which Real-ESRGAN models to show in the web UI.
RealesrganEnabledModels *[]interface{} `json:"realesrgan_enabled_models,omitempty"`
// RestoreConfigStateFile Config state file to restore from, under 'config-states/' folder
RestoreConfigStateFile *interface{} `json:"restore_config_state_file,omitempty"`
// ReturnGrid Show grid in gallery
ReturnGrid *bool `json:"return_grid,omitempty"`
// ReturnMask For inpainting, include the greyscale mask in results for web
ReturnMask *interface{} `json:"return_mask,omitempty"`
// ReturnMaskComposite For inpainting, include masked composite in results for web
ReturnMaskComposite *interface{} `json:"return_mask_composite,omitempty"`
// Rho rho
Rho *interface{} `json:"rho,omitempty"`
// SChurn sigma churn
SChurn *interface{} `json:"s_churn,omitempty"`
// SMinUncond Negative Guidance minimum sigma
SMinUncond *interface{} `json:"s_min_uncond,omitempty"`
// SNoise sigma noise
SNoise *float32 `json:"s_noise,omitempty"`
// STmax sigma tmax
STmax *interface{} `json:"s_tmax,omitempty"`
// STmin sigma tmin
STmin *interface{} `json:"s_tmin,omitempty"`
// SamplersInDropdown Use dropdown for sampler selection instead of radio group
SamplersInDropdown *bool `json:"samplers_in_dropdown,omitempty"`
// SamplesFilenamePattern Images filename pattern
SamplesFilenamePattern *interface{} `json:"samples_filename_pattern,omitempty"`
// SamplesFormat File format for images
SamplesFormat *string `json:"samples_format,omitempty"`
// SamplesLogStdout Always print all generation info to standard output
SamplesLogStdout *interface{} `json:"samples_log_stdout,omitempty"`
// SamplesSave Always save all generated images
SamplesSave *bool `json:"samples_save,omitempty"`
// SaveImagesAddNumber Add number to filename when saving
SaveImagesAddNumber *bool `json:"save_images_add_number,omitempty"`
// SaveImagesBeforeColorCorrection Save a copy of image before applying color correction to img2img results
SaveImagesBeforeColorCorrection *interface{} `json:"save_images_before_color_correction,omitempty"`
// SaveImagesBeforeFaceRestoration Save a copy of image before doing face restoration.
SaveImagesBeforeFaceRestoration *interface{} `json:"save_images_before_face_restoration,omitempty"`
// SaveImagesBeforeHighresFix Save a copy of image before applying highres fix.
SaveImagesBeforeHighresFix *interface{} `json:"save_images_before_highres_fix,omitempty"`
// SaveImagesReplaceAction Saving the image to an existing file
SaveImagesReplaceAction *string `json:"save_images_replace_action,omitempty"`
// SaveIncompleteImages Save incomplete images
SaveIncompleteImages *interface{} `json:"save_incomplete_images,omitempty"`
// SaveInitImg Save init images when using img2img
SaveInitImg *interface{} `json:"save_init_img,omitempty"`
// SaveMask For inpainting, save a copy of the greyscale mask
SaveMask *interface{} `json:"save_mask,omitempty"`
// SaveMaskComposite For inpainting, save a masked composite
SaveMaskComposite *interface{} `json:"save_mask_composite,omitempty"`
// SaveOptimizerState Saves Optimizer state as separate *.optim file. Training of embedding or HN can be resumed with the matching optim file.
SaveOptimizerState *interface{} `json:"save_optimizer_state,omitempty"`
// SaveSelectedOnly When using 'Save' button, only save a single selected image
SaveSelectedOnly *bool `json:"save_selected_only,omitempty"`
// SaveToDirs Save images to a subdirectory
SaveToDirs *bool `json:"save_to_dirs,omitempty"`
// SaveTrainingSettingsToTxt Save textual inversion and hypernet settings to a text file whenever training starts.
SaveTrainingSettingsToTxt *bool `json:"save_training_settings_to_txt,omitempty"`
// SaveTxt Create a text file with infotext next to every generated image
SaveTxt *interface{} `json:"save_txt,omitempty"`
// SdCheckpointCache Checkpoints to cache in RAM
SdCheckpointCache *interface{} `json:"sd_checkpoint_cache,omitempty"`
// SdCheckpointDropdownUseShort Checkpoint dropdown: use filenames without paths
SdCheckpointDropdownUseShort *interface{} `json:"sd_checkpoint_dropdown_use_short,omitempty"`
// SdCheckpointHash SHA256 hash of the current checkpoint
SdCheckpointHash *interface{} `json:"sd_checkpoint_hash,omitempty"`
// SdCheckpointsKeepInCpu Only keep one model on device
SdCheckpointsKeepInCpu *bool `json:"sd_checkpoints_keep_in_cpu,omitempty"`
// SdCheckpointsLimit Maximum number of checkpoints loaded at the same time
SdCheckpointsLimit *float32 `json:"sd_checkpoints_limit,omitempty"`
// SdHypernetwork Add hypernetwork to prompt
SdHypernetwork *string `json:"sd_hypernetwork,omitempty"`
// SdLora Add network to prompt
SdLora *string `json:"sd_lora,omitempty"`
// SdModelCheckpoint Stable Diffusion checkpoint
SdModelCheckpoint *interface{} `json:"sd_model_checkpoint,omitempty"`
// SdUnet SD Unet
SdUnet *string `json:"sd_unet,omitempty"`
// SdVae SD VAE
SdVae *string `json:"sd_vae,omitempty"`
// SdVaeCheckpointCache VAE Checkpoints to cache in RAM
SdVaeCheckpointCache *interface{} `json:"sd_vae_checkpoint_cache,omitempty"`
// SdVaeDecodeMethod VAE type for decode
SdVaeDecodeMethod *string `json:"sd_vae_decode_method,omitempty"`
// SdVaeEncodeMethod VAE type for encode
SdVaeEncodeMethod *string `json:"sd_vae_encode_method,omitempty"`
SdVaeExplanation *string `json:"sd_vae_explanation,omitempty"`
// SdVaeOverridesPerModelPreferences Selected VAE overrides per-model preferences
SdVaeOverridesPerModelPreferences *bool `json:"sd_vae_overrides_per_model_preferences,omitempty"`
// SdxlCropLeft crop left coordinate
SdxlCropLeft *interface{} `json:"sdxl_crop_left,omitempty"`
// SdxlCropTop crop top coordinate
SdxlCropTop *interface{} `json:"sdxl_crop_top,omitempty"`
// SdxlRefinerHighAestheticScore SDXL high aesthetic score
SdxlRefinerHighAestheticScore *float32 `json:"sdxl_refiner_high_aesthetic_score,omitempty"`
// SdxlRefinerLowAestheticScore SDXL low aesthetic score
SdxlRefinerLowAestheticScore *float32 `json:"sdxl_refiner_low_aesthetic_score,omitempty"`
// SendSeed Send seed when sending prompt or image to other interface
SendSeed *bool `json:"send_seed,omitempty"`
// SendSize Send size when sending prompt or image to another interface
SendSize *bool `json:"send_size,omitempty"`
SettingsInUi *string `json:"settings_in_ui,omitempty"`
// SgmNoiseMultiplier SGM noise multiplier
SgmNoiseMultiplier *interface{} `json:"sgm_noise_multiplier,omitempty"`
// ShowGradioDeprecationWarnings Show gradio deprecation warnings in console.
ShowGradioDeprecationWarnings *bool `json:"show_gradio_deprecation_warnings,omitempty"`
// ShowProgressEveryNSteps Live preview display period
ShowProgressEveryNSteps *float32 `json:"show_progress_every_n_steps,omitempty"`
// ShowProgressGrid Show previews of all images generated in a batch as a grid
ShowProgressGrid *bool `json:"show_progress_grid,omitempty"`
// ShowProgressInTitle Show generation progress in window title.
ShowProgressInTitle *bool `json:"show_progress_in_title,omitempty"`
// ShowProgressType Live preview method
ShowProgressType *string `json:"show_progress_type,omitempty"`
// ShowProgressbar Show progressbar
ShowProgressbar *bool `json:"show_progressbar,omitempty"`
// ShowWarnings Show warnings in console.
ShowWarnings *interface{} `json:"show_warnings,omitempty"`
// SigmaMax sigma max
SigmaMax *interface{} `json:"sigma_max,omitempty"`
// SigmaMin sigma min
SigmaMin *interface{} `json:"sigma_min,omitempty"`
// TargetSideLength Width/height limit for the above option, in pixels
TargetSideLength *float32 `json:"target_side_length,omitempty"`
// TempDir Directory for temporary images; leave empty for default
TempDir *interface{} `json:"temp_dir,omitempty"`
// TextualInversionAddHashesToInfotext Add Textual Inversion hashes to infotext
TextualInversionAddHashesToInfotext *bool `json:"textual_inversion_add_hashes_to_infotext,omitempty"`
// TextualInversionPrintAtLoad Print a list of Textual Inversion embeddings when loading model
TextualInversionPrintAtLoad *interface{} `json:"textual_inversion_print_at_load,omitempty"`
// Tiling Tiling
Tiling *interface{} `json:"tiling,omitempty"`
// TokenMergingRatio Token merging ratio
TokenMergingRatio *interface{} `json:"token_merging_ratio,omitempty"`
// TokenMergingRatioHr Token merging ratio for high-res pass
TokenMergingRatioHr *interface{} `json:"token_merging_ratio_hr,omitempty"`
// TokenMergingRatioImg2img Token merging ratio for img2img
TokenMergingRatioImg2img *interface{} `json:"token_merging_ratio_img2img,omitempty"`
// TrainingEnableTensorboard Enable tensorboard logging.
TrainingEnableTensorboard *interface{} `json:"training_enable_tensorboard,omitempty"`
// TrainingImageRepeatsPerEpoch Number of repeats for a single input image per epoch; used only for displaying epoch number
TrainingImageRepeatsPerEpoch *float32 `json:"training_image_repeats_per_epoch,omitempty"`
// TrainingTensorboardFlushEvery How often, in seconds, to flush the pending tensorboard events and summaries to disk.
TrainingTensorboardFlushEvery *float32 `json:"training_tensorboard_flush_every,omitempty"`
// TrainingTensorboardSaveImages Save generated images within tensorboard.
TrainingTensorboardSaveImages *interface{} `json:"training_tensorboard_save_images,omitempty"`
// TrainingWriteCsvEvery Save an csv containing the loss to log directory every N steps, 0 to disable
TrainingWriteCsvEvery *float32 `json:"training_write_csv_every,omitempty"`
// TrainingXattentionOptimizations Use cross attention optimizations while training
TrainingXattentionOptimizations *interface{} `json:"training_xattention_optimizations,omitempty"`
// Txt2imgSettingsAccordion Settings in txt2img hidden under Accordion
Txt2imgSettingsAccordion *interface{} `json:"txt2img_settings_accordion,omitempty"`
// UiExtraNetworksTabReorder Extra networks tab order
UiExtraNetworksTabReorder *interface{} `json:"ui_extra_networks_tab_reorder,omitempty"`
// UiReorderList UI item order for txt2img/img2img tabs
UiReorderList *interface{} `json:"ui_reorder_list,omitempty"`
// UiTabOrder UI tab order
UiTabOrder *interface{} `json:"ui_tab_order,omitempty"`
// UniPcLowerOrderFinal UniPC lower order final
UniPcLowerOrderFinal *bool `json:"uni_pc_lower_order_final,omitempty"`
// UniPcOrder UniPC order
UniPcOrder *float32 `json:"uni_pc_order,omitempty"`
// UniPcSkipType UniPC skip type
UniPcSkipType *string `json:"uni_pc_skip_type,omitempty"`
// UniPcVariant UniPC variant
UniPcVariant *string `json:"uni_pc_variant,omitempty"`
// UnloadModelsWhenTraining Move VAE and CLIP to RAM when training if possible. Saves VRAM.
UnloadModelsWhenTraining *interface{} `json:"unload_models_when_training,omitempty"`
// UpcastAttn Upcast cross attention layer to float32
UpcastAttn *interface{} `json:"upcast_attn,omitempty"`
// UpscalerForImg2img Upscaler for img2img
UpscalerForImg2img *interface{} `json:"upscaler_for_img2img,omitempty"`
// UpscalingMaxImagesInCache Maximum number of images in upscaling cache
UpscalingMaxImagesInCache *float32 `json:"upscaling_max_images_in_cache,omitempty"`
// UseOldEmphasisImplementation Use old emphasis implementation. Can be useful to reproduce old seeds.
UseOldEmphasisImplementation *interface{} `json:"use_old_emphasis_implementation,omitempty"`
// UseOldHiresFixWidthHeight For hires fix, use width/height sliders to set final resolution rather than first pass (disables Upscale by, Resize width/height to).
UseOldHiresFixWidthHeight *interface{} `json:"use_old_hires_fix_width_height,omitempty"`
// UseOldKarrasSchedulerSigmas Use old karras scheduler sigmas (0.1 to 10).
UseOldKarrasSchedulerSigmas *interface{} `json:"use_old_karras_scheduler_sigmas,omitempty"`
// UseOldScheduling Use old prompt editing timelines.
UseOldScheduling *interface{} `json:"use_old_scheduling,omitempty"`
// UseOriginalNameBatch Use original name for output filename during batch process in extras tab
UseOriginalNameBatch *bool `json:"use_original_name_batch,omitempty"`
// UseSaveToDirsForUi When using "Save" button, save images to a subdirectory
UseSaveToDirsForUi *interface{} `json:"use_save_to_dirs_for_ui,omitempty"`
// UseUpscalerNameAsSuffix Use upscaler name as filename suffix in the extras tab
UseUpscalerNameAsSuffix *interface{} `json:"use_upscaler_name_as_suffix,omitempty"`
// WebpLossless Use lossless compression for webp images
WebpLossless *interface{} `json:"webp_lossless,omitempty"`
}
Options defines model for Options.
type PNGInfoRequest ¶
type PNGInfoRequest struct {
// Image The base64 encoded PNG image
Image string `json:"image"`
}
PNGInfoRequest defines model for PNGInfoRequest.
type PNGInfoResponse ¶
type PNGInfoResponse struct {
// Info A string with the parameters used to generate the image
Info string `json:"info"`
// Items A dictionary containing all the other fields the image had
Items map[string]interface{} `json:"items"`
// Parameters A dictionary with parsed generation info fields
Parameters map[string]interface{} `json:"parameters"`
}
PNGInfoResponse defines model for PNGInfoResponse.
type PnginfoapiSdapiV1PngInfoPostJSONRequestBody ¶
type PnginfoapiSdapiV1PngInfoPostJSONRequestBody = PNGInfoRequest
PnginfoapiSdapiV1PngInfoPostJSONRequestBody defines body for PnginfoapiSdapiV1PngInfoPost for application/json ContentType.
type PnginfoapiSdapiV1PngInfoPostResponse ¶
type PnginfoapiSdapiV1PngInfoPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PNGInfoResponse
JSON422 *HTTPValidationError
}
func ParsePnginfoapiSdapiV1PngInfoPostResponse ¶
func ParsePnginfoapiSdapiV1PngInfoPostResponse(rsp *http.Response) (*PnginfoapiSdapiV1PngInfoPostResponse, error)
ParsePnginfoapiSdapiV1PngInfoPostResponse parses an HTTP response from a PnginfoapiSdapiV1PngInfoPostWithResponse call
func (PnginfoapiSdapiV1PngInfoPostResponse) Status ¶
func (r PnginfoapiSdapiV1PngInfoPostResponse) Status() string
Status returns HTTPResponse.Status
func (PnginfoapiSdapiV1PngInfoPostResponse) StatusCode ¶
func (r PnginfoapiSdapiV1PngInfoPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PredictApiApiNamePostJSONRequestBody ¶
type PredictApiApiNamePostJSONRequestBody = PredictBody
PredictApiApiNamePostJSONRequestBody defines body for PredictApiApiNamePost for application/json ContentType.
type PredictApiApiNamePostResponse ¶
type PredictApiApiNamePostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParsePredictApiApiNamePostResponse ¶
func ParsePredictApiApiNamePostResponse(rsp *http.Response) (*PredictApiApiNamePostResponse, error)
ParsePredictApiApiNamePostResponse parses an HTTP response from a PredictApiApiNamePostWithResponse call
func (PredictApiApiNamePostResponse) Status ¶
func (r PredictApiApiNamePostResponse) Status() string
Status returns HTTPResponse.Status
func (PredictApiApiNamePostResponse) StatusCode ¶
func (r PredictApiApiNamePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PredictBody ¶
type PredictBody struct {
Batched *bool `json:"batched,omitempty"`
Data []interface{} `json:"data"`
EventData *interface{} `json:"event_data,omitempty"`
EventId *string `json:"event_id,omitempty"`
FnIndex *int `json:"fn_index,omitempty"`
Request *PredictBody_Request `json:"request,omitempty"`
SessionHash *string `json:"session_hash,omitempty"`
}
PredictBody defines model for PredictBody.
type PredictBodyRequest0 ¶
type PredictBodyRequest0 = map[string]interface{}
PredictBodyRequest0 defines model for .
type PredictBodyRequest1 ¶
type PredictBodyRequest1 = []map[string]interface{}
PredictBodyRequest1 defines model for .
type PredictBody_Request ¶
type PredictBody_Request struct {
// contains filtered or unexported fields
}
PredictBody_Request defines model for PredictBody.Request.
func (PredictBody_Request) AsPredictBodyRequest0 ¶
func (t PredictBody_Request) AsPredictBodyRequest0() (PredictBodyRequest0, error)
AsPredictBodyRequest0 returns the union data inside the PredictBody_Request as a PredictBodyRequest0
func (PredictBody_Request) AsPredictBodyRequest1 ¶
func (t PredictBody_Request) AsPredictBodyRequest1() (PredictBodyRequest1, error)
AsPredictBodyRequest1 returns the union data inside the PredictBody_Request as a PredictBodyRequest1
func (*PredictBody_Request) FromPredictBodyRequest0 ¶
func (t *PredictBody_Request) FromPredictBodyRequest0(v PredictBodyRequest0) error
FromPredictBodyRequest0 overwrites any union data inside the PredictBody_Request as the provided PredictBodyRequest0
func (*PredictBody_Request) FromPredictBodyRequest1 ¶
func (t *PredictBody_Request) FromPredictBodyRequest1(v PredictBodyRequest1) error
FromPredictBodyRequest1 overwrites any union data inside the PredictBody_Request as the provided PredictBodyRequest1
func (PredictBody_Request) MarshalJSON ¶
func (t PredictBody_Request) MarshalJSON() ([]byte, error)
func (*PredictBody_Request) MergePredictBodyRequest0 ¶
func (t *PredictBody_Request) MergePredictBodyRequest0(v PredictBodyRequest0) error
MergePredictBodyRequest0 performs a merge with any union data inside the PredictBody_Request, using the provided PredictBodyRequest0
func (*PredictBody_Request) MergePredictBodyRequest1 ¶
func (t *PredictBody_Request) MergePredictBodyRequest1(v PredictBodyRequest1) error
MergePredictBodyRequest1 performs a merge with any union data inside the PredictBody_Request, using the provided PredictBodyRequest1
func (*PredictBody_Request) UnmarshalJSON ¶
func (t *PredictBody_Request) UnmarshalJSON(b []byte) error
type PredictRunApiNamePostJSONRequestBody ¶
type PredictRunApiNamePostJSONRequestBody = PredictBody
PredictRunApiNamePostJSONRequestBody defines body for PredictRunApiNamePost for application/json ContentType.
type PredictRunApiNamePostResponse ¶
type PredictRunApiNamePostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParsePredictRunApiNamePostResponse ¶
func ParsePredictRunApiNamePostResponse(rsp *http.Response) (*PredictRunApiNamePostResponse, error)
ParsePredictRunApiNamePostResponse parses an HTTP response from a PredictRunApiNamePostWithResponse call
func (PredictRunApiNamePostResponse) Status ¶
func (r PredictRunApiNamePostResponse) Status() string
Status returns HTTPResponse.Status
func (PredictRunApiNamePostResponse) StatusCode ¶
func (r PredictRunApiNamePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProgressRequest ¶
type ProgressRequest struct {
// IdLivePreview id of last received last preview image
IdLivePreview *int `json:"id_live_preview,omitempty"`
// IdTask id of the task to get progress for
IdTask *string `json:"id_task,omitempty"`
// LivePreview boolean flag indicating whether to include the live preview image
LivePreview *bool `json:"live_preview,omitempty"`
}
ProgressRequest defines model for ProgressRequest.
type ProgressapiInternalProgressPostJSONRequestBody ¶
type ProgressapiInternalProgressPostJSONRequestBody = ProgressRequest
ProgressapiInternalProgressPostJSONRequestBody defines body for ProgressapiInternalProgressPost for application/json ContentType.
type ProgressapiInternalProgressPostResponse ¶
type ProgressapiInternalProgressPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ModulesProgressProgressResponse
JSON422 *HTTPValidationError
}
func ParseProgressapiInternalProgressPostResponse ¶
func ParseProgressapiInternalProgressPostResponse(rsp *http.Response) (*ProgressapiInternalProgressPostResponse, error)
ParseProgressapiInternalProgressPostResponse parses an HTTP response from a ProgressapiInternalProgressPostWithResponse call
func (ProgressapiInternalProgressPostResponse) Status ¶
func (r ProgressapiInternalProgressPostResponse) Status() string
Status returns HTTPResponse.Status
func (ProgressapiInternalProgressPostResponse) StatusCode ¶
func (r ProgressapiInternalProgressPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProgressapiSdapiV1ProgressGetParams ¶
type ProgressapiSdapiV1ProgressGetParams struct {
SkipCurrentImage *bool `form:"skip_current_image,omitempty" json:"skip_current_image,omitempty"`
}
ProgressapiSdapiV1ProgressGetParams defines parameters for ProgressapiSdapiV1ProgressGet.
type ProgressapiSdapiV1ProgressGetResponse ¶
type ProgressapiSdapiV1ProgressGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ModulesApiModelsProgressResponse
JSON422 *HTTPValidationError
}
func ParseProgressapiSdapiV1ProgressGetResponse ¶
func ParseProgressapiSdapiV1ProgressGetResponse(rsp *http.Response) (*ProgressapiSdapiV1ProgressGetResponse, error)
ParseProgressapiSdapiV1ProgressGetResponse parses an HTTP response from a ProgressapiSdapiV1ProgressGetWithResponse call
func (ProgressapiSdapiV1ProgressGetResponse) Status ¶
func (r ProgressapiSdapiV1ProgressGetResponse) Status() string
Status returns HTTPResponse.Status
func (ProgressapiSdapiV1ProgressGetResponse) StatusCode ¶
func (r ProgressapiSdapiV1ProgressGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PromptStyleItem ¶
type PromptStyleItem struct {
Name string `json:"name"`
NegativePrompt *string `json:"negative_prompt,omitempty"`
Prompt *string `json:"prompt,omitempty"`
}
PromptStyleItem defines model for PromptStyleItem.
type QuicksettingsHint ¶
QuicksettingsHint defines model for QuicksettingsHint.
type QuicksettingsHintInternalQuicksettingsHintGetResponse ¶
type QuicksettingsHintInternalQuicksettingsHintGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]QuicksettingsHint
}
func ParseQuicksettingsHintInternalQuicksettingsHintGetResponse ¶
func ParseQuicksettingsHintInternalQuicksettingsHintGetResponse(rsp *http.Response) (*QuicksettingsHintInternalQuicksettingsHintGetResponse, error)
ParseQuicksettingsHintInternalQuicksettingsHintGetResponse parses an HTTP response from a QuicksettingsHintInternalQuicksettingsHintGetWithResponse call
func (QuicksettingsHintInternalQuicksettingsHintGetResponse) Status ¶
func (r QuicksettingsHintInternalQuicksettingsHintGetResponse) Status() string
Status returns HTTPResponse.Status
func (QuicksettingsHintInternalQuicksettingsHintGetResponse) StatusCode ¶
func (r QuicksettingsHintInternalQuicksettingsHintGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RealesrganItem ¶
type RealesrganItem struct {
Name string `json:"name"`
Path *string `json:"path,omitempty"`
Scale *int `json:"scale,omitempty"`
}
RealesrganItem defines model for RealesrganItem.
type RefreshCheckpointsSdapiV1RefreshCheckpointsPostResponse ¶
type RefreshCheckpointsSdapiV1RefreshCheckpointsPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
}
func ParseRefreshCheckpointsSdapiV1RefreshCheckpointsPostResponse ¶
func ParseRefreshCheckpointsSdapiV1RefreshCheckpointsPostResponse(rsp *http.Response) (*RefreshCheckpointsSdapiV1RefreshCheckpointsPostResponse, error)
ParseRefreshCheckpointsSdapiV1RefreshCheckpointsPostResponse parses an HTTP response from a RefreshCheckpointsSdapiV1RefreshCheckpointsPostWithResponse call
func (RefreshCheckpointsSdapiV1RefreshCheckpointsPostResponse) Status ¶
func (r RefreshCheckpointsSdapiV1RefreshCheckpointsPostResponse) Status() string
Status returns HTTPResponse.Status
func (RefreshCheckpointsSdapiV1RefreshCheckpointsPostResponse) StatusCode ¶
func (r RefreshCheckpointsSdapiV1RefreshCheckpointsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RefreshLorasSdapiV1RefreshLorasPostResponse ¶
type RefreshLorasSdapiV1RefreshLorasPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
}
func ParseRefreshLorasSdapiV1RefreshLorasPostResponse ¶
func ParseRefreshLorasSdapiV1RefreshLorasPostResponse(rsp *http.Response) (*RefreshLorasSdapiV1RefreshLorasPostResponse, error)
ParseRefreshLorasSdapiV1RefreshLorasPostResponse parses an HTTP response from a RefreshLorasSdapiV1RefreshLorasPostWithResponse call
func (RefreshLorasSdapiV1RefreshLorasPostResponse) Status ¶
func (r RefreshLorasSdapiV1RefreshLorasPostResponse) Status() string
Status returns HTTPResponse.Status
func (RefreshLorasSdapiV1RefreshLorasPostResponse) StatusCode ¶
func (r RefreshLorasSdapiV1RefreshLorasPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RefreshVaeSdapiV1RefreshVaePostResponse ¶
type RefreshVaeSdapiV1RefreshVaePostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
}
func ParseRefreshVaeSdapiV1RefreshVaePostResponse ¶
func ParseRefreshVaeSdapiV1RefreshVaePostResponse(rsp *http.Response) (*RefreshVaeSdapiV1RefreshVaePostResponse, error)
ParseRefreshVaeSdapiV1RefreshVaePostResponse parses an HTTP response from a RefreshVaeSdapiV1RefreshVaePostWithResponse call
func (RefreshVaeSdapiV1RefreshVaePostResponse) Status ¶
func (r RefreshVaeSdapiV1RefreshVaePostResponse) Status() string
Status returns HTTPResponse.Status
func (RefreshVaeSdapiV1RefreshVaePostResponse) StatusCode ¶
func (r RefreshVaeSdapiV1RefreshVaePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReloadapiSdapiV1ReloadCheckpointPostResponse ¶
type ReloadapiSdapiV1ReloadCheckpointPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
}
func ParseReloadapiSdapiV1ReloadCheckpointPostResponse ¶
func ParseReloadapiSdapiV1ReloadCheckpointPostResponse(rsp *http.Response) (*ReloadapiSdapiV1ReloadCheckpointPostResponse, error)
ParseReloadapiSdapiV1ReloadCheckpointPostResponse parses an HTTP response from a ReloadapiSdapiV1ReloadCheckpointPostWithResponse call
func (ReloadapiSdapiV1ReloadCheckpointPostResponse) Status ¶
func (r ReloadapiSdapiV1ReloadCheckpointPostResponse) Status() string
Status returns HTTPResponse.Status
func (ReloadapiSdapiV1ReloadCheckpointPostResponse) StatusCode ¶
func (r ReloadapiSdapiV1ReloadCheckpointPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResetIteratorResetPostJSONRequestBody ¶
type ResetIteratorResetPostJSONRequestBody = ResetBody
ResetIteratorResetPostJSONRequestBody defines body for ResetIteratorResetPost for application/json ContentType.
type ResetIteratorResetPostResponse ¶
type ResetIteratorResetPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParseResetIteratorResetPostResponse ¶
func ParseResetIteratorResetPostResponse(rsp *http.Response) (*ResetIteratorResetPostResponse, error)
ParseResetIteratorResetPostResponse parses an HTTP response from a ResetIteratorResetPostWithResponse call
func (ResetIteratorResetPostResponse) Status ¶
func (r ResetIteratorResetPostResponse) Status() string
Status returns HTTPResponse.Status
func (ResetIteratorResetPostResponse) StatusCode ¶
func (r ResetIteratorResetPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReverseProxyProxyUrlPathGetResponse ¶
type ReverseProxyProxyUrlPathGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParseReverseProxyProxyUrlPathGetResponse ¶
func ParseReverseProxyProxyUrlPathGetResponse(rsp *http.Response) (*ReverseProxyProxyUrlPathGetResponse, error)
ParseReverseProxyProxyUrlPathGetResponse parses an HTTP response from a ReverseProxyProxyUrlPathGetWithResponse call
func (ReverseProxyProxyUrlPathGetResponse) Status ¶
func (r ReverseProxyProxyUrlPathGetResponse) Status() string
Status returns HTTPResponse.Status
func (ReverseProxyProxyUrlPathGetResponse) StatusCode ¶
func (r ReverseProxyProxyUrlPathGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReverseProxyProxyUrlPathHeadResponse ¶
type ReverseProxyProxyUrlPathHeadResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParseReverseProxyProxyUrlPathHeadResponse ¶
func ParseReverseProxyProxyUrlPathHeadResponse(rsp *http.Response) (*ReverseProxyProxyUrlPathHeadResponse, error)
ParseReverseProxyProxyUrlPathHeadResponse parses an HTTP response from a ReverseProxyProxyUrlPathHeadWithResponse call
func (ReverseProxyProxyUrlPathHeadResponse) Status ¶
func (r ReverseProxyProxyUrlPathHeadResponse) Status() string
Status returns HTTPResponse.Status
func (ReverseProxyProxyUrlPathHeadResponse) StatusCode ¶
func (r ReverseProxyProxyUrlPathHeadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RobotsTxtRobotsTxtGetResponse ¶
func ParseRobotsTxtRobotsTxtGetResponse ¶
func ParseRobotsTxtRobotsTxtGetResponse(rsp *http.Response) (*RobotsTxtRobotsTxtGetResponse, error)
ParseRobotsTxtRobotsTxtGetResponse parses an HTTP response from a RobotsTxtRobotsTxtGetWithResponse call
func (RobotsTxtRobotsTxtGetResponse) Status ¶
func (r RobotsTxtRobotsTxtGetResponse) Status() string
Status returns HTTPResponse.Status
func (RobotsTxtRobotsTxtGetResponse) StatusCode ¶
func (r RobotsTxtRobotsTxtGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SDModelItem ¶
type SDModelItem struct {
Config *string `json:"config,omitempty"`
Filename string `json:"filename"`
Hash *string `json:"hash,omitempty"`
ModelName string `json:"model_name"`
Sha256 *string `json:"sha256,omitempty"`
Title string `json:"title"`
}
SDModelItem defines model for SDModelItem.
type SamplerItem ¶
type SamplerItem struct {
Aliases []string `json:"aliases"`
Name string `json:"name"`
Options map[string]string `json:"options"`
}
SamplerItem defines model for SamplerItem.
type ScriptArg ¶
type ScriptArg struct {
// Choices Possible values for the argument
Choices *[]string `json:"choices,omitempty"`
// Label Name of the argument in UI
Label *string `json:"label,omitempty"`
// Maximum Maximum allowed value for the argumentin UI
Maximum *interface{} `json:"maximum,omitempty"`
// Minimum Minimum allowed value for the argumentin UI
Minimum *interface{} `json:"minimum,omitempty"`
// Step Step for changing value of the argumentin UI
Step *interface{} `json:"step,omitempty"`
// Value Default value of the argument
Value *interface{} `json:"value,omitempty"`
}
ScriptArg defines model for ScriptArg.
type ScriptInfo ¶
type ScriptInfo struct {
// Args List of script's arguments
Args []ScriptArg `json:"args"`
// IsAlwayson Flag specifying whether this script is an alwayson script
IsAlwayson *bool `json:"is_alwayson,omitempty"`
// IsImg2img Flag specifying whether this script is an img2img script
IsImg2img *bool `json:"is_img2img,omitempty"`
// Name Script name
Name *string `json:"name,omitempty"`
}
ScriptInfo defines model for ScriptInfo.
type ScriptsList ¶
type ScriptsList struct {
// Img2img Titles of scripts (img2img)
Img2img *[]interface{} `json:"img2img,omitempty"`
// Txt2img Titles of scripts (txt2img)
Txt2img *[]interface{} `json:"txt2img,omitempty"`
}
ScriptsList defines model for ScriptsList.
type SetConfigSdapiV1OptionsPostJSONBody ¶
type SetConfigSdapiV1OptionsPostJSONBody = map[string]interface{}
SetConfigSdapiV1OptionsPostJSONBody defines parameters for SetConfigSdapiV1OptionsPost.
type SetConfigSdapiV1OptionsPostJSONRequestBody ¶
type SetConfigSdapiV1OptionsPostJSONRequestBody = SetConfigSdapiV1OptionsPostJSONBody
SetConfigSdapiV1OptionsPostJSONRequestBody defines body for SetConfigSdapiV1OptionsPost for application/json ContentType.
type SetConfigSdapiV1OptionsPostResponse ¶
type SetConfigSdapiV1OptionsPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParseSetConfigSdapiV1OptionsPostResponse ¶
func ParseSetConfigSdapiV1OptionsPostResponse(rsp *http.Response) (*SetConfigSdapiV1OptionsPostResponse, error)
ParseSetConfigSdapiV1OptionsPostResponse parses an HTTP response from a SetConfigSdapiV1OptionsPostWithResponse call
func (SetConfigSdapiV1OptionsPostResponse) Status ¶
func (r SetConfigSdapiV1OptionsPostResponse) Status() string
Status returns HTTPResponse.Status
func (SetConfigSdapiV1OptionsPostResponse) StatusCode ¶
func (r SetConfigSdapiV1OptionsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SkipSdapiV1SkipPostResponse ¶
type SkipSdapiV1SkipPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
}
func ParseSkipSdapiV1SkipPostResponse ¶
func ParseSkipSdapiV1SkipPostResponse(rsp *http.Response) (*SkipSdapiV1SkipPostResponse, error)
ParseSkipSdapiV1SkipPostResponse parses an HTTP response from a SkipSdapiV1SkipPostWithResponse call
func (SkipSdapiV1SkipPostResponse) Status ¶
func (r SkipSdapiV1SkipPostResponse) Status() string
Status returns HTTPResponse.Status
func (SkipSdapiV1SkipPostResponse) StatusCode ¶
func (r SkipSdapiV1SkipPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StableDiffusionProcessingImg2Img ¶
type StableDiffusionProcessingImg2Img struct {
AlwaysonScripts *map[string]interface{} `json:"alwayson_scripts,omitempty"`
BatchSize *int `json:"batch_size,omitempty"`
CfgScale *float32 `json:"cfg_scale,omitempty"`
Comments *map[string]interface{} `json:"comments,omitempty"`
DenoisingStrength *float32 `json:"denoising_strength,omitempty"`
DisableExtraNetworks *bool `json:"disable_extra_networks,omitempty"`
DoNotSaveGrid *bool `json:"do_not_save_grid,omitempty"`
DoNotSaveSamples *bool `json:"do_not_save_samples,omitempty"`
Eta *float32 `json:"eta,omitempty"`
Height *int `json:"height,omitempty"`
ImageCfgScale *float32 `json:"image_cfg_scale,omitempty"`
IncludeInitImages *bool `json:"include_init_images,omitempty"`
InitImages *[]interface{} `json:"init_images,omitempty"`
InitialNoiseMultiplier *float32 `json:"initial_noise_multiplier,omitempty"`
InpaintFullRes *bool `json:"inpaint_full_res,omitempty"`
InpaintFullResPadding *int `json:"inpaint_full_res_padding,omitempty"`
InpaintingFill *int `json:"inpainting_fill,omitempty"`
InpaintingMaskInvert *int `json:"inpainting_mask_invert,omitempty"`
LatentMask *string `json:"latent_mask,omitempty"`
Mask *string `json:"mask,omitempty"`
MaskBlur *int `json:"mask_blur,omitempty"`
MaskBlurX *int `json:"mask_blur_x,omitempty"`
MaskBlurY *int `json:"mask_blur_y,omitempty"`
NIter *int `json:"n_iter,omitempty"`
NegativePrompt *string `json:"negative_prompt,omitempty"`
OverrideSettings *map[string]interface{} `json:"override_settings,omitempty"`
OverrideSettingsRestoreAfterwards *bool `json:"override_settings_restore_afterwards,omitempty"`
Prompt *string `json:"prompt,omitempty"`
RefinerCheckpoint *string `json:"refiner_checkpoint,omitempty"`
RefinerSwitchAt *float32 `json:"refiner_switch_at,omitempty"`
ResizeMode *int `json:"resize_mode,omitempty"`
RestoreFaces *bool `json:"restore_faces,omitempty"`
SChurn *float32 `json:"s_churn,omitempty"`
SMinUncond *float32 `json:"s_min_uncond,omitempty"`
SNoise *float32 `json:"s_noise,omitempty"`
STmax *float32 `json:"s_tmax,omitempty"`
STmin *float32 `json:"s_tmin,omitempty"`
SamplerIndex *string `json:"sampler_index,omitempty"`
SamplerName *string `json:"sampler_name,omitempty"`
SaveImages *bool `json:"save_images,omitempty"`
ScriptArgs *[]interface{} `json:"script_args,omitempty"`
ScriptName *string `json:"script_name,omitempty"`
Seed *int `json:"seed,omitempty"`
SeedResizeFromH *int `json:"seed_resize_from_h,omitempty"`
SeedResizeFromW *int `json:"seed_resize_from_w,omitempty"`
SendImages *bool `json:"send_images,omitempty"`
Steps *int `json:"steps,omitempty"`
Styles *[]string `json:"styles,omitempty"`
Subseed *int `json:"subseed,omitempty"`
SubseedStrength *float32 `json:"subseed_strength,omitempty"`
Tiling *bool `json:"tiling,omitempty"`
Width *int `json:"width,omitempty"`
}
StableDiffusionProcessingImg2Img defines model for StableDiffusionProcessingImg2Img.
type StableDiffusionProcessingTxt2Img ¶
type StableDiffusionProcessingTxt2Img struct {
AlwaysonScripts *map[string]interface{} `json:"alwayson_scripts,omitempty"`
BatchSize *int `json:"batch_size,omitempty"`
CfgScale *float32 `json:"cfg_scale,omitempty"`
Comments *map[string]interface{} `json:"comments,omitempty"`
DenoisingStrength *float32 `json:"denoising_strength,omitempty"`
DisableExtraNetworks *bool `json:"disable_extra_networks,omitempty"`
DoNotSaveGrid *bool `json:"do_not_save_grid,omitempty"`
DoNotSaveSamples *bool `json:"do_not_save_samples,omitempty"`
EnableHr *bool `json:"enable_hr,omitempty"`
Eta *float32 `json:"eta,omitempty"`
FirstphaseHeight *int `json:"firstphase_height,omitempty"`
FirstphaseWidth *int `json:"firstphase_width,omitempty"`
Height *int `json:"height,omitempty"`
HrCheckpointName *string `json:"hr_checkpoint_name,omitempty"`
HrNegativePrompt *string `json:"hr_negative_prompt,omitempty"`
HrPrompt *string `json:"hr_prompt,omitempty"`
HrResizeX *int `json:"hr_resize_x,omitempty"`
HrResizeY *int `json:"hr_resize_y,omitempty"`
HrSamplerName *string `json:"hr_sampler_name,omitempty"`
HrScale *float32 `json:"hr_scale,omitempty"`
HrSecondPassSteps *int `json:"hr_second_pass_steps,omitempty"`
HrUpscaler *string `json:"hr_upscaler,omitempty"`
NIter *int `json:"n_iter,omitempty"`
NegativePrompt *string `json:"negative_prompt,omitempty"`
OverrideSettings *map[string]interface{} `json:"override_settings,omitempty"`
OverrideSettingsRestoreAfterwards *bool `json:"override_settings_restore_afterwards,omitempty"`
Prompt *string `json:"prompt,omitempty"`
RefinerCheckpoint *string `json:"refiner_checkpoint,omitempty"`
RefinerSwitchAt *float32 `json:"refiner_switch_at,omitempty"`
RestoreFaces *bool `json:"restore_faces,omitempty"`
SChurn *float32 `json:"s_churn,omitempty"`
SMinUncond *float32 `json:"s_min_uncond,omitempty"`
SNoise *float32 `json:"s_noise,omitempty"`
STmax *float32 `json:"s_tmax,omitempty"`
STmin *float32 `json:"s_tmin,omitempty"`
SamplerIndex *string `json:"sampler_index,omitempty"`
SamplerName *string `json:"sampler_name,omitempty"`
SaveImages *bool `json:"save_images,omitempty"`
ScriptArgs *[]interface{} `json:"script_args,omitempty"`
ScriptName *string `json:"script_name,omitempty"`
Seed *int `json:"seed,omitempty"`
SeedResizeFromH *int `json:"seed_resize_from_h,omitempty"`
SeedResizeFromW *int `json:"seed_resize_from_w,omitempty"`
SendImages *bool `json:"send_images,omitempty"`
Steps *int `json:"steps,omitempty"`
Styles *[]string `json:"styles,omitempty"`
Subseed *int `json:"subseed,omitempty"`
SubseedStrength *float32 `json:"subseed_strength,omitempty"`
Tiling *bool `json:"tiling,omitempty"`
Width *int `json:"width,omitempty"`
}
StableDiffusionProcessingTxt2Img defines model for StableDiffusionProcessingTxt2Img.
type StartupEventsStartupEventsGetResponse ¶
type StartupEventsStartupEventsGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
}
func ParseStartupEventsStartupEventsGetResponse ¶
func ParseStartupEventsStartupEventsGetResponse(rsp *http.Response) (*StartupEventsStartupEventsGetResponse, error)
ParseStartupEventsStartupEventsGetResponse parses an HTTP response from a StartupEventsStartupEventsGetWithResponse call
func (StartupEventsStartupEventsGetResponse) Status ¶
func (r StartupEventsStartupEventsGetResponse) Status() string
Status returns HTTPResponse.Status
func (StartupEventsStartupEventsGetResponse) StatusCode ¶
func (r StartupEventsStartupEventsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StaticResourceStaticPathGetResponse ¶
type StaticResourceStaticPathGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParseStaticResourceStaticPathGetResponse ¶
func ParseStaticResourceStaticPathGetResponse(rsp *http.Response) (*StaticResourceStaticPathGetResponse, error)
ParseStaticResourceStaticPathGetResponse parses an HTTP response from a StaticResourceStaticPathGetWithResponse call
func (StaticResourceStaticPathGetResponse) Status ¶
func (r StaticResourceStaticPathGetResponse) Status() string
Status returns HTTPResponse.Status
func (StaticResourceStaticPathGetResponse) StatusCode ¶
func (r StaticResourceStaticPathGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StreamStreamSessionHashRunComponentIdGetResponse ¶
type StreamStreamSessionHashRunComponentIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParseStreamStreamSessionHashRunComponentIdGetResponse ¶
func ParseStreamStreamSessionHashRunComponentIdGetResponse(rsp *http.Response) (*StreamStreamSessionHashRunComponentIdGetResponse, error)
ParseStreamStreamSessionHashRunComponentIdGetResponse parses an HTTP response from a StreamStreamSessionHashRunComponentIdGetWithResponse call
func (StreamStreamSessionHashRunComponentIdGetResponse) Status ¶
func (r StreamStreamSessionHashRunComponentIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (StreamStreamSessionHashRunComponentIdGetResponse) StatusCode ¶
func (r StreamStreamSessionHashRunComponentIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Text2imgapiSdapiV1Txt2imgPostJSONRequestBody ¶
type Text2imgapiSdapiV1Txt2imgPostJSONRequestBody = StableDiffusionProcessingTxt2Img
Text2imgapiSdapiV1Txt2imgPostJSONRequestBody defines body for Text2imgapiSdapiV1Txt2imgPost for application/json ContentType.
type Text2imgapiSdapiV1Txt2imgPostResponse ¶
type Text2imgapiSdapiV1Txt2imgPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TextToImageResponse
JSON422 *HTTPValidationError
}
func ParseText2imgapiSdapiV1Txt2imgPostResponse ¶
func ParseText2imgapiSdapiV1Txt2imgPostResponse(rsp *http.Response) (*Text2imgapiSdapiV1Txt2imgPostResponse, error)
ParseText2imgapiSdapiV1Txt2imgPostResponse parses an HTTP response from a Text2imgapiSdapiV1Txt2imgPostWithResponse call
func (Text2imgapiSdapiV1Txt2imgPostResponse) Status ¶
func (r Text2imgapiSdapiV1Txt2imgPostResponse) Status() string
Status returns HTTPResponse.Status
func (Text2imgapiSdapiV1Txt2imgPostResponse) StatusCode ¶
func (r Text2imgapiSdapiV1Txt2imgPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TextToImageResponse ¶
type TextToImageResponse struct {
// Images The generated image in base64 format.
Images *[]string `json:"images,omitempty"`
Info string `json:"info"`
Parameters map[string]interface{} `json:"parameters"`
}
TextToImageResponse defines model for TextToImageResponse.
type ThemeCssThemeCssGetResponse ¶
func ParseThemeCssThemeCssGetResponse ¶
func ParseThemeCssThemeCssGetResponse(rsp *http.Response) (*ThemeCssThemeCssGetResponse, error)
ParseThemeCssThemeCssGetResponse parses an HTTP response from a ThemeCssThemeCssGetWithResponse call
func (ThemeCssThemeCssGetResponse) Status ¶
func (r ThemeCssThemeCssGetResponse) Status() string
Status returns HTTPResponse.Status
func (ThemeCssThemeCssGetResponse) StatusCode ¶
func (r ThemeCssThemeCssGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TrainEmbeddingSdapiV1TrainEmbeddingPostJSONBody ¶
type TrainEmbeddingSdapiV1TrainEmbeddingPostJSONBody = map[string]interface{}
TrainEmbeddingSdapiV1TrainEmbeddingPostJSONBody defines parameters for TrainEmbeddingSdapiV1TrainEmbeddingPost.
type TrainEmbeddingSdapiV1TrainEmbeddingPostJSONRequestBody ¶
type TrainEmbeddingSdapiV1TrainEmbeddingPostJSONRequestBody = TrainEmbeddingSdapiV1TrainEmbeddingPostJSONBody
TrainEmbeddingSdapiV1TrainEmbeddingPostJSONRequestBody defines body for TrainEmbeddingSdapiV1TrainEmbeddingPost for application/json ContentType.
type TrainEmbeddingSdapiV1TrainEmbeddingPostResponse ¶
type TrainEmbeddingSdapiV1TrainEmbeddingPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TrainResponse
JSON422 *HTTPValidationError
}
func ParseTrainEmbeddingSdapiV1TrainEmbeddingPostResponse ¶
func ParseTrainEmbeddingSdapiV1TrainEmbeddingPostResponse(rsp *http.Response) (*TrainEmbeddingSdapiV1TrainEmbeddingPostResponse, error)
ParseTrainEmbeddingSdapiV1TrainEmbeddingPostResponse parses an HTTP response from a TrainEmbeddingSdapiV1TrainEmbeddingPostWithResponse call
func (TrainEmbeddingSdapiV1TrainEmbeddingPostResponse) Status ¶
func (r TrainEmbeddingSdapiV1TrainEmbeddingPostResponse) Status() string
Status returns HTTPResponse.Status
func (TrainEmbeddingSdapiV1TrainEmbeddingPostResponse) StatusCode ¶
func (r TrainEmbeddingSdapiV1TrainEmbeddingPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TrainHypernetworkSdapiV1TrainHypernetworkPostJSONBody ¶
type TrainHypernetworkSdapiV1TrainHypernetworkPostJSONBody = map[string]interface{}
TrainHypernetworkSdapiV1TrainHypernetworkPostJSONBody defines parameters for TrainHypernetworkSdapiV1TrainHypernetworkPost.
type TrainHypernetworkSdapiV1TrainHypernetworkPostJSONRequestBody ¶
type TrainHypernetworkSdapiV1TrainHypernetworkPostJSONRequestBody = TrainHypernetworkSdapiV1TrainHypernetworkPostJSONBody
TrainHypernetworkSdapiV1TrainHypernetworkPostJSONRequestBody defines body for TrainHypernetworkSdapiV1TrainHypernetworkPost for application/json ContentType.
type TrainHypernetworkSdapiV1TrainHypernetworkPostResponse ¶
type TrainHypernetworkSdapiV1TrainHypernetworkPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TrainResponse
JSON422 *HTTPValidationError
}
func ParseTrainHypernetworkSdapiV1TrainHypernetworkPostResponse ¶
func ParseTrainHypernetworkSdapiV1TrainHypernetworkPostResponse(rsp *http.Response) (*TrainHypernetworkSdapiV1TrainHypernetworkPostResponse, error)
ParseTrainHypernetworkSdapiV1TrainHypernetworkPostResponse parses an HTTP response from a TrainHypernetworkSdapiV1TrainHypernetworkPostWithResponse call
func (TrainHypernetworkSdapiV1TrainHypernetworkPostResponse) Status ¶
func (r TrainHypernetworkSdapiV1TrainHypernetworkPostResponse) Status() string
Status returns HTTPResponse.Status
func (TrainHypernetworkSdapiV1TrainHypernetworkPostResponse) StatusCode ¶
func (r TrainHypernetworkSdapiV1TrainHypernetworkPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TrainResponse ¶
type TrainResponse struct {
// Info Response string from train embedding or hypernetwork task.
Info string `json:"info"`
}
TrainResponse defines model for TrainResponse.
type UnloadapiSdapiV1UnloadCheckpointPostResponse ¶
type UnloadapiSdapiV1UnloadCheckpointPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
}
func ParseUnloadapiSdapiV1UnloadCheckpointPostResponse ¶
func ParseUnloadapiSdapiV1UnloadCheckpointPostResponse(rsp *http.Response) (*UnloadapiSdapiV1UnloadCheckpointPostResponse, error)
ParseUnloadapiSdapiV1UnloadCheckpointPostResponse parses an HTTP response from a UnloadapiSdapiV1UnloadCheckpointPostWithResponse call
func (UnloadapiSdapiV1UnloadCheckpointPostResponse) Status ¶
func (r UnloadapiSdapiV1UnloadCheckpointPostResponse) Status() string
Status returns HTTPResponse.Status
func (UnloadapiSdapiV1UnloadCheckpointPostResponse) StatusCode ¶
func (r UnloadapiSdapiV1UnloadCheckpointPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadFileUploadPostMultipartRequestBody ¶
type UploadFileUploadPostMultipartRequestBody = BodyUploadFileUploadPost
UploadFileUploadPostMultipartRequestBody defines body for UploadFileUploadPost for multipart/form-data ContentType.
type UploadFileUploadPostResponse ¶
type UploadFileUploadPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *interface{}
JSON422 *HTTPValidationError
}
func ParseUploadFileUploadPostResponse ¶
func ParseUploadFileUploadPostResponse(rsp *http.Response) (*UploadFileUploadPostResponse, error)
ParseUploadFileUploadPostResponse parses an HTTP response from a UploadFileUploadPostWithResponse call
func (UploadFileUploadPostResponse) Status ¶
func (r UploadFileUploadPostResponse) Status() string
Status returns HTTPResponse.Status
func (UploadFileUploadPostResponse) StatusCode ¶
func (r UploadFileUploadPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpscalerItem ¶
type UpscalerItem struct {
ModelName *string `json:"model_name,omitempty"`
ModelPath *string `json:"model_path,omitempty"`
ModelUrl *string `json:"model_url,omitempty"`
Name string `json:"name"`
Scale *float32 `json:"scale,omitempty"`
}
UpscalerItem defines model for UpscalerItem.
type ValidationError ¶
type ValidationError struct {
Loc []ValidationError_Loc_Item `json:"loc"`
Msg string `json:"msg"`
Type string `json:"type"`
}
ValidationError defines model for ValidationError.
type ValidationErrorLoc0 ¶
type ValidationErrorLoc0 = string
ValidationErrorLoc0 defines model for .
type ValidationError_Loc_Item ¶
type ValidationError_Loc_Item struct {
// contains filtered or unexported fields
}
ValidationError_Loc_Item defines model for ValidationError.loc.Item.
func (ValidationError_Loc_Item) AsValidationErrorLoc0 ¶
func (t ValidationError_Loc_Item) AsValidationErrorLoc0() (ValidationErrorLoc0, error)
AsValidationErrorLoc0 returns the union data inside the ValidationError_Loc_Item as a ValidationErrorLoc0
func (ValidationError_Loc_Item) AsValidationErrorLoc1 ¶
func (t ValidationError_Loc_Item) AsValidationErrorLoc1() (ValidationErrorLoc1, error)
AsValidationErrorLoc1 returns the union data inside the ValidationError_Loc_Item as a ValidationErrorLoc1
func (*ValidationError_Loc_Item) FromValidationErrorLoc0 ¶
func (t *ValidationError_Loc_Item) FromValidationErrorLoc0(v ValidationErrorLoc0) error
FromValidationErrorLoc0 overwrites any union data inside the ValidationError_Loc_Item as the provided ValidationErrorLoc0
func (*ValidationError_Loc_Item) FromValidationErrorLoc1 ¶
func (t *ValidationError_Loc_Item) FromValidationErrorLoc1(v ValidationErrorLoc1) error
FromValidationErrorLoc1 overwrites any union data inside the ValidationError_Loc_Item as the provided ValidationErrorLoc1
func (ValidationError_Loc_Item) MarshalJSON ¶
func (t ValidationError_Loc_Item) MarshalJSON() ([]byte, error)
func (*ValidationError_Loc_Item) MergeValidationErrorLoc0 ¶
func (t *ValidationError_Loc_Item) MergeValidationErrorLoc0(v ValidationErrorLoc0) error
MergeValidationErrorLoc0 performs a merge with any union data inside the ValidationError_Loc_Item, using the provided ValidationErrorLoc0
func (*ValidationError_Loc_Item) MergeValidationErrorLoc1 ¶
func (t *ValidationError_Loc_Item) MergeValidationErrorLoc1(v ValidationErrorLoc1) error
MergeValidationErrorLoc1 performs a merge with any union data inside the ValidationError_Loc_Item, using the provided ValidationErrorLoc1
func (*ValidationError_Loc_Item) UnmarshalJSON ¶
func (t *ValidationError_Loc_Item) UnmarshalJSON(b []byte) error