Documentation
¶
Index ¶
- type AddCustomTagReq
- type AutoSAMConfig
- type BodyAPICategoryMaskSamCategoryMaskPost
- func (m *BodyAPICategoryMaskSamCategoryMaskPost) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BodyAPICategoryMaskSamCategoryMaskPost) MarshalBinary() ([]byte, error)
- func (m *BodyAPICategoryMaskSamCategoryMaskPost) UnmarshalBinary(b []byte) error
- func (m *BodyAPICategoryMaskSamCategoryMaskPost) Validate(formats strfmt.Registry) error
- type BodyAPIControlnetSegSamControlnetSegPost
- func (m *BodyAPIControlnetSegSamControlnetSegPost) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BodyAPIControlnetSegSamControlnetSegPost) MarshalBinary() ([]byte, error)
- func (m *BodyAPIControlnetSegSamControlnetSegPost) UnmarshalBinary(b []byte) error
- func (m *BodyAPIControlnetSegSamControlnetSegPost) Validate(formats strfmt.Registry) error
- type BodyDeleteModelDreamboothModelDelete
- func (m *BodyDeleteModelDreamboothModelDelete) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BodyDeleteModelDreamboothModelDelete) MarshalBinary() ([]byte, error)
- func (m *BodyDeleteModelDreamboothModelDelete) UnmarshalBinary(b []byte) error
- func (m *BodyDeleteModelDreamboothModelDelete) Validate(formats strfmt.Registry) error
- type BodyDeoldifyImageDeoldifyImagePost
- func (m *BodyDeoldifyImageDeoldifyImagePost) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BodyDeoldifyImageDeoldifyImagePost) MarshalBinary() ([]byte, error)
- func (m *BodyDeoldifyImageDeoldifyImagePost) UnmarshalBinary(b []byte) error
- func (m *BodyDeoldifyImageDeoldifyImagePost) Validate(formats strfmt.Registry) error
- type BodyDetectControlnetDetectPost
- func (m *BodyDetectControlnetDetectPost) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BodyDetectControlnetDetectPost) MarshalBinary() ([]byte, error)
- func (m *BodyDetectControlnetDetectPost) UnmarshalBinary(b []byte) error
- func (m *BodyDetectControlnetDetectPost) Validate(formats strfmt.Registry) error
- type BodyGenerateClassesDreamboothClassifiersPost
- func (m *BodyGenerateClassesDreamboothClassifiersPost) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BodyGenerateClassesDreamboothClassifiersPost) MarshalBinary() ([]byte, error)
- func (m *BodyGenerateClassesDreamboothClassifiersPost) UnmarshalBinary(b []byte) error
- func (m *BodyGenerateClassesDreamboothClassifiersPost) Validate(formats strfmt.Registry) error
- type BodyLoginLoginPost
- type BodyRembgRemoveRembgPost
- func (m *BodyRembgRemoveRembgPost) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BodyRembgRemoveRembgPost) MarshalBinary() ([]byte, error)
- func (m *BodyRembgRemoveRembgPost) UnmarshalBinary(b []byte) error
- func (m *BodyRembgRemoveRembgPost) Validate(formats strfmt.Registry) error
- type BodyRoopImageRoopImagePost
- func (m *BodyRoopImageRoopImagePost) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BodyRoopImageRoopImagePost) MarshalBinary() ([]byte, error)
- func (m *BodyRoopImageRoopImagePost) UnmarshalBinary(b []byte) error
- func (m *BodyRoopImageRoopImagePost) Validate(formats strfmt.Registry) error
- type BodySetModelConceptDreamboothConceptPost
- func (m *BodySetModelConceptDreamboothConceptPost) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BodySetModelConceptDreamboothConceptPost) MarshalBinary() ([]byte, error)
- func (m *BodySetModelConceptDreamboothConceptPost) UnmarshalBinary(b []byte) error
- func (m *BodySetModelConceptDreamboothConceptPost) Validate(formats strfmt.Registry) error
- type BodySetModelConceptsDreamboothConceptsPost
- func (m *BodySetModelConceptsDreamboothConceptsPost) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BodySetModelConceptsDreamboothConceptsPost) MarshalBinary() ([]byte, error)
- func (m *BodySetModelConceptsDreamboothConceptsPost) UnmarshalBinary(b []byte) error
- func (m *BodySetModelConceptsDreamboothConceptsPost) Validate(formats strfmt.Registry) error
- type BodyT2vRunT2vRunPost
- type BodyUploadFileUploadPost
- func (m *BodyUploadFileUploadPost) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BodyUploadFileUploadPost) MarshalBinary() ([]byte, error)
- func (m *BodyUploadFileUploadPost) UnmarshalBinary(b []byte) error
- func (m *BodyUploadFileUploadPost) Validate(formats strfmt.Registry) error
- type CategoryMaskRequest
- type CheckPathExistsReq
- type Concept
- type ControlNetSegRequest
- type CreateFoldersReq
- type CreateResponse
- type DINOPredictRequest
- type DbImagesRequest
- type DeleteFilesReq
- type DilateMaskRequest
- type EmbeddingItem
- type EmbeddingsResponse
- type Estimation
- type ExtrasBatchImagesRequest
- func (m *ExtrasBatchImagesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ExtrasBatchImagesRequest) MarshalBinary() ([]byte, error)
- func (m *ExtrasBatchImagesRequest) UnmarshalBinary(b []byte) error
- func (m *ExtrasBatchImagesRequest) Validate(formats strfmt.Registry) error
- type ExtrasBatchImagesResponse
- func (m *ExtrasBatchImagesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ExtrasBatchImagesResponse) MarshalBinary() ([]byte, error)
- func (m *ExtrasBatchImagesResponse) UnmarshalBinary(b []byte) error
- func (m *ExtrasBatchImagesResponse) Validate(formats strfmt.Registry) error
- type ExtrasSingleImageRequest
- func (m *ExtrasSingleImageRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ExtrasSingleImageRequest) MarshalBinary() ([]byte, error)
- func (m *ExtrasSingleImageRequest) UnmarshalBinary(b []byte) error
- func (m *ExtrasSingleImageRequest) Validate(formats strfmt.Registry) error
- type ExtrasSingleImageResponse
- func (m *ExtrasSingleImageResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ExtrasSingleImageResponse) MarshalBinary() ([]byte, error)
- func (m *ExtrasSingleImageResponse) UnmarshalBinary(b []byte) error
- func (m *ExtrasSingleImageResponse) Validate(formats strfmt.Registry) error
- type FaceRestorerItem
- type FileData
- type Flags
- type HTTPException
- type HTTPValidationError
- type HypernetworkItem
- type ImageToImageResponse
- type InstanceData
- type InterrogateRequest
- type LatentUpscalerModeItem
- func (m *LatentUpscalerModeItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *LatentUpscalerModeItem) MarshalBinary() ([]byte, error)
- func (m *LatentUpscalerModeItem) UnmarshalBinary(b []byte) error
- func (m *LatentUpscalerModeItem) Validate(formats strfmt.Registry) error
- type MaskItem
- type MatchImagesByTagsReq
- type MemoryResponse
- type ModulesAPIModelsProgressResponse
- func (m *ModulesAPIModelsProgressResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModulesAPIModelsProgressResponse) MarshalBinary() ([]byte, error)
- func (m *ModulesAPIModelsProgressResponse) UnmarshalBinary(b []byte) error
- func (m *ModulesAPIModelsProgressResponse) Validate(formats strfmt.Registry) error
- type ModulesProgressProgressResponse
- func (m *ModulesProgressProgressResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ModulesProgressProgressResponse) MarshalBinary() ([]byte, error)
- func (m *ModulesProgressProgressResponse) UnmarshalBinary(b []byte) error
- func (m *ModulesProgressProgressResponse) Validate(formats strfmt.Registry) error
- type MoveFilesReq
- type OcrPredictRequest
- type OcrPredictResponse
- type OcrResultItem
- type OpenFolderReq
- type Options
- type PNGInfoRequest
- type PNGInfoResponse
- type PathsReq
- type PredictBody
- type PreprocessResponse
- type ProgressRequest
- type PromptStyleItem
- type QuicksettingsHint
- type RealesrganItem
- type RemoveCustomTagFromReq
- func (m *RemoveCustomTagFromReq) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RemoveCustomTagFromReq) MarshalBinary() ([]byte, error)
- func (m *RemoveCustomTagFromReq) UnmarshalBinary(b []byte) error
- func (m *RemoveCustomTagFromReq) Validate(formats strfmt.Registry) error
- type RemoveCustomTagReq
- type ResetBody
- type SDModelItem
- type SDVaeItem
- type SamAreaRequest
- type SamAreaResponse
- type SamPredictRequest
- type SamplerItem
- type ScannedPathModel
- type ScriptArg
- type ScriptInfo
- type ScriptsList
- type StableDiffusionProcessingImg2Img
- func (m *StableDiffusionProcessingImg2Img) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StableDiffusionProcessingImg2Img) MarshalBinary() ([]byte, error)
- func (m *StableDiffusionProcessingImg2Img) UnmarshalBinary(b []byte) error
- func (m *StableDiffusionProcessingImg2Img) Validate(formats strfmt.Registry) error
- type StableDiffusionProcessingTxt2Img
- func (m *StableDiffusionProcessingTxt2Img) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StableDiffusionProcessingTxt2Img) MarshalBinary() ([]byte, error)
- func (m *StableDiffusionProcessingTxt2Img) UnmarshalBinary(b []byte) error
- func (m *StableDiffusionProcessingTxt2Img) Validate(formats strfmt.Registry) error
- type TextToImageResponse
- type ToggleCustomTagToImgReq
- func (m *ToggleCustomTagToImgReq) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ToggleCustomTagToImgReq) MarshalBinary() ([]byte, error)
- func (m *ToggleCustomTagToImgReq) UnmarshalBinary(b []byte) error
- func (m *ToggleCustomTagToImgReq) Validate(formats strfmt.Registry) error
- type TrainResponse
- type UpscalerItem
- type ValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddCustomTagReq ¶
type AddCustomTagReq struct { // Tag Name // Required: true TagName *string `json:"tag_name"` }
AddCustomTagReq AddCustomTagReq
swagger:model AddCustomTagReq
func (*AddCustomTagReq) ContextValidate ¶
ContextValidate validates this add custom tag req based on context it is used
func (*AddCustomTagReq) MarshalBinary ¶
func (m *AddCustomTagReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddCustomTagReq) UnmarshalBinary ¶
func (m *AddCustomTagReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AutoSAMConfig ¶
type AutoSAMConfig struct { // Box Nms Thresh BoxNmsThresh *float64 `json:"box_nms_thresh,omitempty"` // Crop N Layers CropnLayers int64 `json:"crop_n_layers,omitempty"` // Crop N Points Downscale Factor CropnPointsDownscaleFactor *int64 `json:"crop_n_points_downscale_factor,omitempty"` // Crop Nms Thresh CropNmsThresh *float64 `json:"crop_nms_thresh,omitempty"` // Crop Overlap Ratio CropOverlapRatio *float64 `json:"crop_overlap_ratio,omitempty"` // Min Mask Region Area MinMaskRegionArea int64 `json:"min_mask_region_area,omitempty"` // Points Per Batch PointsPerBatch *int64 `json:"points_per_batch,omitempty"` // Points Per Side PointsPerSide *int64 `json:"points_per_side,omitempty"` // Pred Iou Thresh PredIouThresh *float64 `json:"pred_iou_thresh,omitempty"` // Stability Score Offset StabilityScoreOffset *float64 `json:"stability_score_offset,omitempty"` // Stability Score Thresh StabilityScoreThresh *float64 `json:"stability_score_thresh,omitempty"` }
AutoSAMConfig AutoSAMConfig
swagger:model AutoSAMConfig
func (*AutoSAMConfig) ContextValidate ¶
ContextValidate validates this auto s a m config based on context it is used
func (*AutoSAMConfig) MarshalBinary ¶
func (m *AutoSAMConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AutoSAMConfig) UnmarshalBinary ¶
func (m *AutoSAMConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BodyAPICategoryMaskSamCategoryMaskPost ¶
type BodyAPICategoryMaskSamCategoryMaskPost struct { // autosam conf // Required: true AutosamConf *AutoSAMConfig `json:"autosam_conf"` // payload // Required: true Payload *CategoryMaskRequest `json:"payload"` }
BodyAPICategoryMaskSamCategoryMaskPost Body_api_category_mask_sam_category_mask_post
swagger:model Body_api_category_mask_sam_category_mask_post
func (*BodyAPICategoryMaskSamCategoryMaskPost) ContextValidate ¶
func (m *BodyAPICategoryMaskSamCategoryMaskPost) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this body api category mask sam category mask post based on the context it is used
func (*BodyAPICategoryMaskSamCategoryMaskPost) MarshalBinary ¶
func (m *BodyAPICategoryMaskSamCategoryMaskPost) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BodyAPICategoryMaskSamCategoryMaskPost) UnmarshalBinary ¶
func (m *BodyAPICategoryMaskSamCategoryMaskPost) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BodyAPIControlnetSegSamControlnetSegPost ¶
type BodyAPIControlnetSegSamControlnetSegPost struct { // autosam conf // Required: true AutosamConf *AutoSAMConfig `json:"autosam_conf"` // payload // Required: true Payload *ControlNetSegRequest `json:"payload"` }
BodyAPIControlnetSegSamControlnetSegPost Body_api_controlnet_seg_sam_controlnet_seg_post
swagger:model Body_api_controlnet_seg_sam_controlnet_seg_post
func (*BodyAPIControlnetSegSamControlnetSegPost) ContextValidate ¶
func (m *BodyAPIControlnetSegSamControlnetSegPost) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this body api controlnet seg sam controlnet seg post based on the context it is used
func (*BodyAPIControlnetSegSamControlnetSegPost) MarshalBinary ¶
func (m *BodyAPIControlnetSegSamControlnetSegPost) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BodyAPIControlnetSegSamControlnetSegPost) UnmarshalBinary ¶
func (m *BodyAPIControlnetSegSamControlnetSegPost) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BodyDeleteModelDreamboothModelDelete ¶
type BodyDeleteModelDreamboothModelDelete struct { // Api Key // // If an API key is set, this must be present. APIKey string `json:"api_key,omitempty"` // Model Name // // The model to delete. // Required: true ModelName *string `json:"model_name"` }
BodyDeleteModelDreamboothModelDelete Body_delete_model_dreambooth_model_delete
swagger:model Body_delete_model_dreambooth_model_delete
func (*BodyDeleteModelDreamboothModelDelete) ContextValidate ¶
func (m *BodyDeleteModelDreamboothModelDelete) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this body delete model dreambooth model delete based on context it is used
func (*BodyDeleteModelDreamboothModelDelete) MarshalBinary ¶
func (m *BodyDeleteModelDreamboothModelDelete) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BodyDeleteModelDreamboothModelDelete) UnmarshalBinary ¶
func (m *BodyDeleteModelDreamboothModelDelete) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BodyDeoldifyImageDeoldifyImagePost ¶
type BodyDeoldifyImageDeoldifyImagePost struct { // artistic Artistic *bool `json:"artistic,omitempty"` // image input InputImage string `json:"input_image,omitempty"` // render factor RenderFactor *int64 `json:"render_factor,omitempty"` }
BodyDeoldifyImageDeoldifyImagePost Body_deoldify_image_deoldify_image_post
swagger:model Body_deoldify_image_deoldify_image_post
func (*BodyDeoldifyImageDeoldifyImagePost) ContextValidate ¶
func (m *BodyDeoldifyImageDeoldifyImagePost) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this body deoldify image deoldify image post based on context it is used
func (*BodyDeoldifyImageDeoldifyImagePost) MarshalBinary ¶
func (m *BodyDeoldifyImageDeoldifyImagePost) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BodyDeoldifyImageDeoldifyImagePost) UnmarshalBinary ¶
func (m *BodyDeoldifyImageDeoldifyImagePost) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BodyDetectControlnetDetectPost ¶
type BodyDetectControlnetDetectPost struct { // Controlnet Input Images ControlnetInputImages []string `json:"controlnet_input_images"` // Controlnet Module ControlnetModule *string `json:"controlnet_module,omitempty"` // Controlnet Processor Resolution ControlnetProcessorRes *int64 `json:"controlnet_processor_res,omitempty"` // Controlnet Threshold a ControlnetThresholda *float64 `json:"controlnet_threshold_a,omitempty"` // Controlnet Threshold b ControlnetThresholdb *float64 `json:"controlnet_threshold_b,omitempty"` }
BodyDetectControlnetDetectPost Body_detect_controlnet_detect_post
swagger:model Body_detect_controlnet_detect_post
func (*BodyDetectControlnetDetectPost) ContextValidate ¶
func (m *BodyDetectControlnetDetectPost) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this body detect controlnet detect post based on context it is used
func (*BodyDetectControlnetDetectPost) MarshalBinary ¶
func (m *BodyDetectControlnetDetectPost) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BodyDetectControlnetDetectPost) UnmarshalBinary ¶
func (m *BodyDetectControlnetDetectPost) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BodyGenerateClassesDreamboothClassifiersPost ¶
type BodyGenerateClassesDreamboothClassifiersPost struct { // Api Key // // If an API key is set, this must be present. APIKey string `json:"api_key,omitempty"` // Class Gen Method // // Image Generation Library. ClassGenMethod *string `json:"class_gen_method,omitempty"` // Model Name // // The model name to generate classifiers for. // Required: true ModelName *string `json:"model_name"` }
BodyGenerateClassesDreamboothClassifiersPost Body_generate_classes_dreambooth_classifiers_post
swagger:model Body_generate_classes_dreambooth_classifiers_post
func (*BodyGenerateClassesDreamboothClassifiersPost) ContextValidate ¶
func (m *BodyGenerateClassesDreamboothClassifiersPost) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this body generate classes dreambooth classifiers post based on context it is used
func (*BodyGenerateClassesDreamboothClassifiersPost) MarshalBinary ¶
func (m *BodyGenerateClassesDreamboothClassifiersPost) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BodyGenerateClassesDreamboothClassifiersPost) UnmarshalBinary ¶
func (m *BodyGenerateClassesDreamboothClassifiersPost) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BodyLoginLoginPost ¶
type BodyLoginLoginPost struct { // Client Id ClientID string `json:"client_id,omitempty"` // Client Secret ClientSecret string `json:"client_secret,omitempty"` // Grant Type // Pattern: password GrantType string `json:"grant_type,omitempty"` // Password // Required: true Password *string `json:"password"` // Scope Scope string `json:"scope,omitempty"` // Username // Required: true Username *string `json:"username"` }
BodyLoginLoginPost Body_login_login_post
swagger:model Body_login_login_post
func (*BodyLoginLoginPost) ContextValidate ¶
ContextValidate validates this body login login post based on context it is used
func (*BodyLoginLoginPost) MarshalBinary ¶
func (m *BodyLoginLoginPost) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BodyLoginLoginPost) UnmarshalBinary ¶
func (m *BodyLoginLoginPost) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BodyRembgRemoveRembgPost ¶
type BodyRembgRemoveRembgPost struct { // alpha matting AlphaMatting *bool `json:"alpha_matting,omitempty"` // alpha matting background threshold AlphaMattingBackgroundThreshold *int64 `json:"alpha_matting_background_threshold,omitempty"` // alpha matting erode size AlphaMattingErodeSize *int64 `json:"alpha_matting_erode_size,omitempty"` // alpha matting foreground threshold AlphaMattingForegroundThreshold *int64 `json:"alpha_matting_foreground_threshold,omitempty"` // rembg input image InputImage string `json:"input_image,omitempty"` // rembg model Model *string `json:"model,omitempty"` // return mask ReturnMask *bool `json:"return_mask,omitempty"` }
BodyRembgRemoveRembgPost Body_rembg_remove_rembg_post
swagger:model Body_rembg_remove_rembg_post
func (*BodyRembgRemoveRembgPost) ContextValidate ¶
func (m *BodyRembgRemoveRembgPost) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this body rembg remove rembg post based on context it is used
func (*BodyRembgRemoveRembgPost) MarshalBinary ¶
func (m *BodyRembgRemoveRembgPost) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BodyRembgRemoveRembgPost) UnmarshalBinary ¶
func (m *BodyRembgRemoveRembgPost) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BodyRoopImageRoopImagePost ¶
type BodyRoopImageRoopImagePost struct { // face index FaceIndex []int64 `json:"face_index"` // face restorer FaceRestorer *string `json:"face_restorer,omitempty"` // model Model *string `json:"model,omitempty"` // face restorer RestorerVisibility *float64 `json:"restorer_visibility,omitempty"` // scale Scale *int64 `json:"scale,omitempty"` // source face image SourceImage string `json:"source_image,omitempty"` // target image TargetImage string `json:"target_image,omitempty"` // upscale visibility UpscaleVisibility *float64 `json:"upscale_visibility,omitempty"` }
BodyRoopImageRoopImagePost Body_roop_image_roop_image_post
swagger:model Body_roop_image_roop_image_post
func (*BodyRoopImageRoopImagePost) ContextValidate ¶
func (m *BodyRoopImageRoopImagePost) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this body roop image roop image post based on context it is used
func (*BodyRoopImageRoopImagePost) MarshalBinary ¶
func (m *BodyRoopImageRoopImagePost) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BodyRoopImageRoopImagePost) UnmarshalBinary ¶
func (m *BodyRoopImageRoopImagePost) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BodySetModelConceptDreamboothConceptPost ¶
type BodySetModelConceptDreamboothConceptPost struct { // Api Key // // If an API key is set, this must be present. APIKey string `json:"api_key,omitempty"` // Class Token // // The class token to use. ClassToken string `json:"class_token,omitempty"` // Concept // // A concept to update or add to the model. Concept struct { Concept } `json:"concept,omitempty"` // Instance Dir // // The directory containing training images. InstanceDir string `json:"instance_dir,omitempty"` // Instance Token // // The instance token to use. InstanceToken string `json:"instance_token,omitempty"` // Model Name // // The model name to fetch config for. // Required: true ModelName *string `json:"model_name"` }
BodySetModelConceptDreamboothConceptPost Body_set_model_concept_dreambooth_concept_post
swagger:model Body_set_model_concept_dreambooth_concept_post
func (*BodySetModelConceptDreamboothConceptPost) ContextValidate ¶
func (m *BodySetModelConceptDreamboothConceptPost) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this body set model concept dreambooth concept post based on the context it is used
func (*BodySetModelConceptDreamboothConceptPost) MarshalBinary ¶
func (m *BodySetModelConceptDreamboothConceptPost) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BodySetModelConceptDreamboothConceptPost) UnmarshalBinary ¶
func (m *BodySetModelConceptDreamboothConceptPost) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BodySetModelConceptsDreamboothConceptsPost ¶
type BodySetModelConceptsDreamboothConceptsPost struct { // Api Key // // If an API key is set, this must be present. APIKey string `json:"api_key,omitempty"` // Concepts // Required: true Concepts []*Concept `json:"concepts"` // Model Name // // The model name to fetch config for. // Required: true ModelName *string `json:"model_name"` }
BodySetModelConceptsDreamboothConceptsPost Body_set_model_concepts_dreambooth_concepts_post
swagger:model Body_set_model_concepts_dreambooth_concepts_post
func (*BodySetModelConceptsDreamboothConceptsPost) ContextValidate ¶
func (m *BodySetModelConceptsDreamboothConceptsPost) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this body set model concepts dreambooth concepts post based on the context it is used
func (*BodySetModelConceptsDreamboothConceptsPost) MarshalBinary ¶
func (m *BodySetModelConceptsDreamboothConceptsPost) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BodySetModelConceptsDreamboothConceptsPost) UnmarshalBinary ¶
func (m *BodySetModelConceptsDreamboothConceptsPost) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BodyT2vRunT2vRunPost ¶
type BodyT2vRunT2vRunPost struct { // Inpainting Image // Format: binary InpaintingImage io.ReadCloser `json:"inpainting_image,omitempty"` // Vid2Vid Input // Format: binary Vid2vidInput io.ReadCloser `json:"vid2vid_input,omitempty"` }
BodyT2vRunT2vRunPost Body_t2v_run_t2v_run_post
swagger:model Body_t2v_run_t2v_run_post
func (*BodyT2vRunT2vRunPost) ContextValidate ¶
ContextValidate validates this body t2v run t2v run post based on context it is used
func (*BodyT2vRunT2vRunPost) MarshalBinary ¶
func (m *BodyT2vRunT2vRunPost) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BodyT2vRunT2vRunPost) UnmarshalBinary ¶
func (m *BodyT2vRunT2vRunPost) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BodyUploadFileUploadPost ¶
type BodyUploadFileUploadPost struct { // Files // Required: true Files []io.ReadCloser `json:"files"` }
BodyUploadFileUploadPost Body_upload_file_upload_post
swagger:model Body_upload_file_upload_post
func (*BodyUploadFileUploadPost) ContextValidate ¶
func (m *BodyUploadFileUploadPost) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this body upload file upload post based on context it is used
func (*BodyUploadFileUploadPost) MarshalBinary ¶
func (m *BodyUploadFileUploadPost) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BodyUploadFileUploadPost) UnmarshalBinary ¶
func (m *BodyUploadFileUploadPost) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CategoryMaskRequest ¶
type CategoryMaskRequest struct { // Category // Required: true Category *string `json:"category"` // Input Image // Required: true InputImage *string `json:"input_image"` // Pixel Perfect PixelPerfect *bool `json:"pixel_perfect,omitempty"` // Processor Processor *string `json:"processor,omitempty"` // Processor Res ProcessorRes *int64 `json:"processor_res,omitempty"` // Resize Mode ResizeMode *int64 `json:"resize_mode,omitempty"` // Sam Model Name SamModelName *string `json:"sam_model_name,omitempty"` // Target H TargetH int64 `json:"target_H,omitempty"` // Target W TargetW int64 `json:"target_W,omitempty"` }
CategoryMaskRequest CategoryMaskRequest
swagger:model CategoryMaskRequest
func (*CategoryMaskRequest) ContextValidate ¶
ContextValidate validates this category mask request based on context it is used
func (*CategoryMaskRequest) MarshalBinary ¶
func (m *CategoryMaskRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CategoryMaskRequest) UnmarshalBinary ¶
func (m *CategoryMaskRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CheckPathExistsReq ¶
type CheckPathExistsReq struct { // Paths // Required: true Paths []string `json:"paths"` }
CheckPathExistsReq CheckPathExistsReq
swagger:model CheckPathExistsReq
func (*CheckPathExistsReq) ContextValidate ¶
ContextValidate validates this check path exists req based on context it is used
func (*CheckPathExistsReq) MarshalBinary ¶
func (m *CheckPathExistsReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CheckPathExistsReq) UnmarshalBinary ¶
func (m *CheckPathExistsReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Concept ¶
type Concept struct { // Class Data Dir ClassDataDir string `json:"class_data_dir,omitempty"` // Class Guidance Scale ClassGuidanceScale *float64 `json:"class_guidance_scale,omitempty"` // Class Infer Steps ClassInferSteps *int64 `json:"class_infer_steps,omitempty"` // Class Negative Prompt ClassNegativePrompt string `json:"class_negative_prompt,omitempty"` // Class Prompt ClassPrompt string `json:"class_prompt,omitempty"` // Class Token ClassToken string `json:"class_token,omitempty"` // Instance Data Dir InstanceDataDir string `json:"instance_data_dir,omitempty"` // Instance Prompt InstancePrompt string `json:"instance_prompt,omitempty"` // Instance Token InstanceToken string `json:"instance_token,omitempty"` // Is Valid IsValid *bool `json:"is_valid,omitempty"` // N Save Sample NSaveSample *int64 `json:"n_save_sample,omitempty"` // Num Class Images Per NumClassImagesPer int64 `json:"num_class_images_per,omitempty"` // Sample Seed SampleSeed *int64 `json:"sample_seed,omitempty"` // Save Guidance Scale SaveGuidanceScale *float64 `json:"save_guidance_scale,omitempty"` // Save Infer Steps SaveInferSteps *int64 `json:"save_infer_steps,omitempty"` // Save Sample Negative Prompt SaveSampleNegativePrompt string `json:"save_sample_negative_prompt,omitempty"` // Save Sample Prompt SaveSamplePrompt string `json:"save_sample_prompt,omitempty"` // Save Sample Template SaveSampleTemplate string `json:"save_sample_template,omitempty"` }
Concept Concept
swagger:model Concept
func (*Concept) ContextValidate ¶
ContextValidate validates this concept based on context it is used
func (*Concept) MarshalBinary ¶
MarshalBinary interface implementation
func (*Concept) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ControlNetSegRequest ¶
type ControlNetSegRequest struct { // Input Image // Required: true InputImage *string `json:"input_image"` // Pixel Perfect PixelPerfect *bool `json:"pixel_perfect,omitempty"` // Processor Processor *string `json:"processor,omitempty"` // Processor Res ProcessorRes *int64 `json:"processor_res,omitempty"` // Resize Mode ResizeMode *int64 `json:"resize_mode,omitempty"` // Sam Model Name SamModelName *string `json:"sam_model_name,omitempty"` // Target H TargetH int64 `json:"target_H,omitempty"` // Target W TargetW int64 `json:"target_W,omitempty"` }
ControlNetSegRequest ControlNetSegRequest
swagger:model ControlNetSegRequest
func (*ControlNetSegRequest) ContextValidate ¶
ContextValidate validates this control net seg request based on context it is used
func (*ControlNetSegRequest) MarshalBinary ¶
func (m *ControlNetSegRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ControlNetSegRequest) UnmarshalBinary ¶
func (m *ControlNetSegRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateFoldersReq ¶
type CreateFoldersReq struct { // Dest Folder // Required: true DestFolder *string `json:"dest_folder"` }
CreateFoldersReq CreateFoldersReq
swagger:model CreateFoldersReq
func (*CreateFoldersReq) ContextValidate ¶
ContextValidate validates this create folders req based on context it is used
func (*CreateFoldersReq) MarshalBinary ¶
func (m *CreateFoldersReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateFoldersReq) UnmarshalBinary ¶
func (m *CreateFoldersReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateResponse ¶
type CreateResponse struct { // Create info // // Response string from create embedding or hypernetwork task. // Required: true Info *string `json:"info"` }
CreateResponse CreateResponse
swagger:model CreateResponse
func (*CreateResponse) ContextValidate ¶
ContextValidate validates this create response based on context it is used
func (*CreateResponse) MarshalBinary ¶
func (m *CreateResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateResponse) UnmarshalBinary ¶
func (m *CreateResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DINOPredictRequest ¶
type DINOPredictRequest struct { // Box Threshold BoxThreshold *float64 `json:"box_threshold,omitempty"` // Dino Model Name DinoModelName *string `json:"dino_model_name,omitempty"` // Input Image // Required: true InputImage *string `json:"input_image"` // Text Prompt // Required: true TextPrompt *string `json:"text_prompt"` }
DINOPredictRequest DINOPredictRequest
swagger:model DINOPredictRequest
func (*DINOPredictRequest) ContextValidate ¶
ContextValidate validates this d i n o predict request based on context it is used
func (*DINOPredictRequest) MarshalBinary ¶
func (m *DINOPredictRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DINOPredictRequest) UnmarshalBinary ¶
func (m *DINOPredictRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DbImagesRequest ¶
type DbImagesRequest struct { // Images // // List of images to work on. Must be Base64 strings // Required: true ImageList []*InstanceData `json:"imageList"` }
DbImagesRequest DbImagesRequest
swagger:model DbImagesRequest
func (*DbImagesRequest) ContextValidate ¶
ContextValidate validate this db images request based on the context it is used
func (*DbImagesRequest) MarshalBinary ¶
func (m *DbImagesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DbImagesRequest) UnmarshalBinary ¶
func (m *DbImagesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteFilesReq ¶
type DeleteFilesReq struct { // File Paths // Required: true FilePaths []string `json:"file_paths"` }
DeleteFilesReq DeleteFilesReq
swagger:model DeleteFilesReq
func (*DeleteFilesReq) ContextValidate ¶
ContextValidate validates this delete files req based on context it is used
func (*DeleteFilesReq) MarshalBinary ¶
func (m *DeleteFilesReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteFilesReq) UnmarshalBinary ¶
func (m *DeleteFilesReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DilateMaskRequest ¶
type DilateMaskRequest struct { // Dilate Amount DilateAmount *int64 `json:"dilate_amount,omitempty"` // Input Image // Required: true InputImage *string `json:"input_image"` // Mask // Required: true Mask *string `json:"mask"` }
DilateMaskRequest DilateMaskRequest
swagger:model DilateMaskRequest
func (*DilateMaskRequest) ContextValidate ¶
ContextValidate validates this dilate mask request based on context it is used
func (*DilateMaskRequest) MarshalBinary ¶
func (m *DilateMaskRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DilateMaskRequest) UnmarshalBinary ¶
func (m *DilateMaskRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EmbeddingItem ¶
type EmbeddingItem struct { // SD Checkpoint // // The hash of the checkpoint this embedding was trained on, if available SdCheckpoint string `json:"sd_checkpoint,omitempty"` // SD Checkpoint Name // // 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 // Required: true Shape *int64 `json:"shape"` // Step // // The number of steps that were used to train this embedding, if available Step int64 `json:"step,omitempty"` // Vectors // // The number of vectors in the embedding // Required: true Vectors *int64 `json:"vectors"` }
EmbeddingItem EmbeddingItem
swagger:model EmbeddingItem
func (*EmbeddingItem) ContextValidate ¶
ContextValidate validates this embedding item based on context it is used
func (*EmbeddingItem) MarshalBinary ¶
func (m *EmbeddingItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EmbeddingItem) UnmarshalBinary ¶
func (m *EmbeddingItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EmbeddingsResponse ¶
type EmbeddingsResponse struct { // Loaded // // Embeddings loaded for the current model // Required: true Loaded map[string]EmbeddingItem `json:"loaded"` // Skipped // // Embeddings skipped for the current model (likely due to architecture incompatibility) // Required: true Skipped map[string]EmbeddingItem `json:"skipped"` }
EmbeddingsResponse EmbeddingsResponse
swagger:model EmbeddingsResponse
func (*EmbeddingsResponse) ContextValidate ¶
ContextValidate validate this embeddings response based on the context it is used
func (*EmbeddingsResponse) MarshalBinary ¶
func (m *EmbeddingsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EmbeddingsResponse) UnmarshalBinary ¶
func (m *EmbeddingsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Estimation ¶
type Estimation struct { // Avg Event Concurrent Process Time AvgEventConcurrentProcessTime float64 `json:"avg_event_concurrent_process_time,omitempty"` // Avg Event Process Time AvgEventProcessTime float64 `json:"avg_event_process_time,omitempty"` // Msg Msg *string `json:"msg,omitempty"` // Queue Eta // Required: true QueueEta *float64 `json:"queue_eta"` // Queue Size // Required: true QueueSize *int64 `json:"queue_size"` // Rank Rank int64 `json:"rank,omitempty"` // Rank Eta RankEta float64 `json:"rank_eta,omitempty"` }
Estimation Estimation
swagger:model Estimation
func (*Estimation) ContextValidate ¶
ContextValidate validates this estimation based on context it is used
func (*Estimation) MarshalBinary ¶
func (m *Estimation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Estimation) UnmarshalBinary ¶
func (m *Estimation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExtrasBatchImagesRequest ¶
type ExtrasBatchImagesRequest struct { // CodeFormer Visibility // // Sets the visibility of CodeFormer, values should be between 0 and 1. // Maximum: 1 // Minimum: 0 CodeformerVisibility *float64 `json:"codeformer_visibility,omitempty"` // CodeFormer Weight // // Sets the weight of CodeFormer, values should be between 0 and 1. // Maximum: 1 // Minimum: 0 CodeformerWeight *float64 `json:"codeformer_weight,omitempty"` // Secondary upscaler visibility // // Sets the visibility of secondary upscaler, values should be between 0 and 1. // Maximum: 1 // Minimum: 0 ExtrasUpscaler2Visibility *float64 `json:"extras_upscaler_2_visibility,omitempty"` // GFPGAN Visibility // // Sets the visibility of GFPGAN, values should be between 0 and 1. // Maximum: 1 // Minimum: 0 GfpganVisibility *float64 `json:"gfpgan_visibility,omitempty"` // Images // // List of images to work on. Must be Base64 strings // Required: true ImageList []*FileData `json:"imageList"` // Resize Mode // // Sets the resize mode: 0 to upscale by upscaling_resize amount, 1 to upscale up to upscaling_resize_h x upscaling_resize_w. // Enum: [0 1] ResizeMode int64 `json:"resize_mode,omitempty"` // Show results // // Should the backend return the generated image? ShowExtrasResults *bool `json:"show_extras_results,omitempty"` // Upscale first // // Should the upscaler run before restoring faces? UpscaleFirst *bool `json:"upscale_first,omitempty"` // Main upscaler // // The name of the main upscaler to use, it has to be one of this list: Upscaler1 *string `json:"upscaler_1,omitempty"` // Secondary upscaler // // The name of the secondary upscaler to use, it has to be one of this list: Upscaler2 *string `json:"upscaler_2,omitempty"` // Crop to fit // // Should the upscaler crop the image to fit in the chosen size? UpscalingCrop *bool `json:"upscaling_crop,omitempty"` // Upscaling Factor // // By how much to upscale the image, only used when resize_mode=0. // Maximum: 8 // Minimum: 1 UpscalingResize float64 `json:"upscaling_resize,omitempty"` // Target Height // // Target height for the upscaler to hit. Only used when resize_mode=1. // Minimum: 1 UpscalingResizeh int64 `json:"upscaling_resize_h,omitempty"` // Target Width // // Target width for the upscaler to hit. Only used when resize_mode=1. // Minimum: 1 UpscalingResizew int64 `json:"upscaling_resize_w,omitempty"` }
ExtrasBatchImagesRequest ExtrasBatchImagesRequest
swagger:model ExtrasBatchImagesRequest
func (*ExtrasBatchImagesRequest) ContextValidate ¶
func (m *ExtrasBatchImagesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this extras batch images request based on the context it is used
func (*ExtrasBatchImagesRequest) MarshalBinary ¶
func (m *ExtrasBatchImagesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExtrasBatchImagesRequest) UnmarshalBinary ¶
func (m *ExtrasBatchImagesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExtrasBatchImagesResponse ¶
type ExtrasBatchImagesResponse struct { // HTML info // // A series of HTML tags containing the process info. // Required: true HTMLInfo *string `json:"html_info"` // Images // // The generated images in base64 format. // Required: true Images []string `json:"images"` }
ExtrasBatchImagesResponse ExtrasBatchImagesResponse
swagger:model ExtrasBatchImagesResponse
func (*ExtrasBatchImagesResponse) ContextValidate ¶
func (m *ExtrasBatchImagesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this extras batch images response based on context it is used
func (*ExtrasBatchImagesResponse) MarshalBinary ¶
func (m *ExtrasBatchImagesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExtrasBatchImagesResponse) UnmarshalBinary ¶
func (m *ExtrasBatchImagesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExtrasSingleImageRequest ¶
type ExtrasSingleImageRequest struct { // CodeFormer Visibility // // Sets the visibility of CodeFormer, values should be between 0 and 1. // Maximum: 1 // Minimum: 0 CodeformerVisibility *float64 `json:"codeformer_visibility,omitempty"` // CodeFormer Weight // // Sets the weight of CodeFormer, values should be between 0 and 1. // Maximum: 1 // Minimum: 0 CodeformerWeight *float64 `json:"codeformer_weight,omitempty"` // Secondary upscaler visibility // // Sets the visibility of secondary upscaler, values should be between 0 and 1. // Maximum: 1 // Minimum: 0 ExtrasUpscaler2Visibility *float64 `json:"extras_upscaler_2_visibility,omitempty"` // GFPGAN Visibility // // Sets the visibility of GFPGAN, values should be between 0 and 1. // Maximum: 1 // Minimum: 0 GfpganVisibility *float64 `json:"gfpgan_visibility,omitempty"` // Image // // Image to work on, must be a Base64 string containing the image's data. Image string `json:"image,omitempty"` // Resize Mode // // Sets the resize mode: 0 to upscale by upscaling_resize amount, 1 to upscale up to upscaling_resize_h x upscaling_resize_w. // Enum: [0 1] ResizeMode int64 `json:"resize_mode,omitempty"` // Show results // // Should the backend return the generated image? ShowExtrasResults *bool `json:"show_extras_results,omitempty"` // Upscale first // // Should the upscaler run before restoring faces? UpscaleFirst *bool `json:"upscale_first,omitempty"` // Main upscaler // // The name of the main upscaler to use, it has to be one of this list: Upscaler1 *string `json:"upscaler_1,omitempty"` // Secondary upscaler // // The name of the secondary upscaler to use, it has to be one of this list: Upscaler2 *string `json:"upscaler_2,omitempty"` // Crop to fit // // Should the upscaler crop the image to fit in the chosen size? UpscalingCrop *bool `json:"upscaling_crop,omitempty"` // Upscaling Factor // // By how much to upscale the image, only used when resize_mode=0. // Maximum: 8 // Minimum: 1 UpscalingResize float64 `json:"upscaling_resize,omitempty"` // Target Height // // Target height for the upscaler to hit. Only used when resize_mode=1. // Minimum: 1 UpscalingResizeh int64 `json:"upscaling_resize_h,omitempty"` // Target Width // // Target width for the upscaler to hit. Only used when resize_mode=1. // Minimum: 1 UpscalingResizew int64 `json:"upscaling_resize_w,omitempty"` }
ExtrasSingleImageRequest ExtrasSingleImageRequest
swagger:model ExtrasSingleImageRequest
func (*ExtrasSingleImageRequest) ContextValidate ¶
func (m *ExtrasSingleImageRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this extras single image request based on context it is used
func (*ExtrasSingleImageRequest) MarshalBinary ¶
func (m *ExtrasSingleImageRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExtrasSingleImageRequest) UnmarshalBinary ¶
func (m *ExtrasSingleImageRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExtrasSingleImageResponse ¶
type ExtrasSingleImageResponse struct { // HTML info // // A series of HTML tags containing the process info. // Required: true HTMLInfo *string `json:"html_info"` // Image // // The generated image in base64 format. Image string `json:"image,omitempty"` }
ExtrasSingleImageResponse ExtrasSingleImageResponse
swagger:model ExtrasSingleImageResponse
func (*ExtrasSingleImageResponse) ContextValidate ¶
func (m *ExtrasSingleImageResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this extras single image response based on context it is used
func (*ExtrasSingleImageResponse) MarshalBinary ¶
func (m *ExtrasSingleImageResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExtrasSingleImageResponse) UnmarshalBinary ¶
func (m *ExtrasSingleImageResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FaceRestorerItem ¶
type FaceRestorerItem struct { // Path CmdDir string `json:"cmd_dir,omitempty"` // Name // Required: true Name *string `json:"name"` }
FaceRestorerItem FaceRestorerItem
swagger:model FaceRestorerItem
func (*FaceRestorerItem) ContextValidate ¶
ContextValidate validates this face restorer item based on context it is used
func (*FaceRestorerItem) MarshalBinary ¶
func (m *FaceRestorerItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FaceRestorerItem) UnmarshalBinary ¶
func (m *FaceRestorerItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FileData ¶
type FileData struct { // File data // // Base64 representation of the file // Required: true Data *string `json:"data"` // File name // Required: true Name *string `json:"name"` }
FileData FileData
swagger:model FileData
func (*FileData) ContextValidate ¶
ContextValidate validates this file data based on context it is used
func (*FileData) MarshalBinary ¶
MarshalBinary interface implementation
func (*FileData) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Flags ¶
type Flags struct { // Ad No Huggingface // // Don't use adetailer models from huggingface AdNoHuggingface *bool `json:"ad_no_huggingface,omitempty"` // Add Stop Route // // add /_stop route to stop server AddStopRoute *bool `json:"add_stop_route,omitempty"` // Addnet Max Model Count // // The maximum number of additional network model can be used. AddnetMaxModelCount *int64 `json:"addnet_max_model_count,omitempty"` // Administrator // // Administrator rights Administrator *bool `json:"administrator,omitempty"` // Allow Code // // allow custom script execution from webui AllowCode *bool `json:"allow_code,omitempty"` // Always Batch Cond Uncond // // disables cond/uncond batching that is enabled to save memory with --medvram or --lowvram 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"` // Api Auth // // Set authentication for API like "username:password"; or comma-delimit multiple like "u1:p1,u2:p2,u3:p3" APIAuth string `json:"api_auth,omitempty"` // Api Log // // use api-log=True to enable logging of all API requests APILog *bool `json:"api_log,omitempty"` // Api Server Stop // // 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"` // Bsrgan Models Path // // 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"` // Ckpt Dir // // Path to directory with stable diffusion checkpoints CkptDir string `json:"ckpt_dir,omitempty"` // Ckptfix // // (Dreambooth) Enable fix for OOM errors when extracting checkpoints. Ckptfix *bool `json:"ckptfix,omitempty"` // Clip Models Path // // Path to directory with CLIP model file(s). ClipModelsPath string `json:"clip_models_path,omitempty"` // Codeformer Models Path // // 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"` // Controlnet Annotator Models Path // // Path to directory with annotator model directories ControlnetAnnotatorModelsPath string `json:"controlnet_annotator_models_path,omitempty"` // Controlnet Dir // // Path to directory with ControlNet models ControlnetDir string `json:"controlnet_dir,omitempty"` // Controlnet Loglevel // // Set the log level (DEBUG, INFO, WARNING, ERROR, CRITICAL) ControlnetLoglevel *string `json:"controlnet_loglevel,omitempty"` // Controlnet Preprocessor Cache Size // // Cache size for controlnet preprocessor results ControlnetPreprocessorCacheSize *int64 `json:"controlnet_preprocessor_cache_size,omitempty"` // Cors Allow Origins // // Allowed CORS origin(s) in the form of a comma-separated list (no spaces) CorsAllowOrigins string `json:"cors_allow_origins,omitempty"` // Cors Allow Origins Regex // // Allowed CORS origin(s) in the form of a single regular expression CorsAllowOriginsRegex string `json:"cors_allow_origins_regex,omitempty"` // Data Dir // // base path where all user data is stored DataDir *string `json:"data_dir,omitempty"` // Debug Db // // Set this to enable memory logging. For science only. DebugDb *bool `json:"debug_db,omitempty"` // Deepdanbooru // // does not do anything Deepdanbooru *bool `json:"deepdanbooru,omitempty"` // Device Id // // Select the default CUDA device to use (export CUDA_VISIBLE_DEVICES=0,1,etc might be needed before) DeviceID string `json:"device_id,omitempty"` // Disable Console Progressbars // // do not output progressbars to console DisableConsoleProgressbars *bool `json:"disable_console_progressbars,omitempty"` // Disable Nan Check // // 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"` // Disable Opt Split Attention // // prefer no cross-attention layer optimization for automatic choice of optimization DisableOptSplitAttention *bool `json:"disable_opt_split_attention,omitempty"` // Disable Safe Unpickle // // disable checking pytorch models for malicious code DisableSafeUnpickle *bool `json:"disable_safe_unpickle,omitempty"` // Disable Tls Verify // // When passed, enables the use of self-signed certificates. DisableTLSVerify string `json:"disable_tls_verify,omitempty"` // Do Not Download Clip // // do not download CLIP model even if it's not included in the checkpoint DoNotDownloadClip *bool `json:"do_not_download_clip,omitempty"` // Dreambooth Models Path // // Path to directory to store Dreambooth model file(s). DreamboothModelsPath string `json:"dreambooth_models_path,omitempty"` // Embeddings Dir // // embeddings directory for textual inversion (default: embeddings) EmbeddingsDir *string `json:"embeddings_dir,omitempty"` // Enable Console Prompts // // print prompts to console when generating with txt2img and img2img EnableConsolePrompts *bool `json:"enable_console_prompts,omitempty"` // Enable Insecure Extension Access // // enable extensions tab regardless of other options EnableInsecureExtensionAccess *bool `json:"enable_insecure_extension_access,omitempty"` // Esrgan Models Path // // Path to directory with ESRGAN model file(s). EsrganModelsPath *string `json:"esrgan_models_path,omitempty"` // F // // ==SUPPRESS== F *bool `json:"f,omitempty"` // Force Cpu // // (Dreambooth) Train using CPU only. ForceCPU *bool `json:"force_cpu,omitempty"` // Force Enable Xformers // // 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"` // Freeze Settings // // disable editing settings FreezeSettings *bool `json:"freeze_settings,omitempty"` // Gfpgan Dir // // GFPGAN directory GfpganDir *string `json:"gfpgan_dir,omitempty"` // Gfpgan Model // // GFPGAN model file name GfpganModel string `json:"gfpgan_model,omitempty"` // Gfpgan Models Path // // Path to directory with GFPGAN model file(s). GfpganModelsPath *string `json:"gfpgan_models_path,omitempty"` // Gradio Allowed Path // // add path to gradio's allowed_paths, make it possible to serve files from it GradioAllowedPath string `json:"gradio_allowed_path,omitempty"` // Gradio Auth // // set gradio authentication like "username:password"; or comma-delimit multiple like "u1:p1,u2:p2,u3:p3" GradioAuth string `json:"gradio_auth,omitempty"` // Gradio Auth Path // // set gradio authentication file path ex. "/path/to/auth/file" same auth format as --gradio-auth GradioAuthPath string `json:"gradio_auth_path,omitempty"` // Gradio Debug // // launch gradio with --debug option GradioDebug *bool `json:"gradio_debug,omitempty"` // Gradio Img2Img Tool // // does not do anything GradioImg2imgTool string `json:"gradio_img2img_tool,omitempty"` // Gradio Inpaint Tool // // does not do anything GradioInpaintTool string `json:"gradio_inpaint_tool,omitempty"` // Gradio Queue // // does not do anything GradioQueue *bool `json:"gradio_queue,omitempty"` // Hide Ui Dir Config // // hide directory configuration from webui HideUIDirConfig *bool `json:"hide_ui_dir_config,omitempty"` // Hypernetwork Dir // // hypernetwork directory HypernetworkDir *string `json:"hypernetwork_dir,omitempty"` // Ldsr Models Path // // 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"` // Localizations Dir // // localizations directory LocalizationsDir *string `json:"localizations_dir,omitempty"` // Lora Dir // // Path to directory with Lora networks. LoraDir *string `json:"lora_dir,omitempty"` // Lora Models Path // // Path to directory to store Lora model file(s). LoraModelsPath string `json:"lora_models_path,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"` // Lyco Debug // // Print extra info when using lycoris model LycoDebug *bool `json:"lyco_debug,omitempty"` // Lyco Dir // // Path to directory with LyCORIS networks. LycoDir *string `json:"lyco_dir,omitempty"` // Lyco Dir Backcompat // // Path to directory with LyCORIS networks (for backawards compatibility; can also use --lyco-dir). LycoDirBackcompat *string `json:"lyco_dir_backcompat,omitempty"` // Lyco Patch Lora // // Patch the built-in lora. Will use the lora_dir and <lora> format, but disable the <lyco> format. LycoPatchLora *bool `json:"lyco_patch_lora,omitempty"` // Max Batch Count // // maximum batch count value for the UI MaxBatchCount *int64 `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"` // Ngrok // // ngrok authtoken, alternative to gradio --share Ngrok string `json:"ngrok,omitempty"` // Ngrok Options // // 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 interface{} `json:"ngrok_options,omitempty"` // Ngrok Region // // does not do anything. NgrokRegion string `json:"ngrok_region,omitempty"` // No Download Sd Model // // don't download SD1.5 model even if no model is found in --ckpt-dir NoDownloadSdModel *bool `json:"no_download_sd_model,omitempty"` // No Gradio Queue // // Disables gradio queue; causes the webpage to use http requests instead of websockets; was the defaul in earlier versions NoGradioQueue *bool `json:"no_gradio_queue,omitempty"` // No Half // // do not switch the model to 16-bit floats NoHalf *bool `json:"no_half,omitempty"` // No Half Controlnet // // do not switch the ControlNet models to 16-bit floats (only needed without --no-half) NoHalfControlnet string `json:"no_half_controlnet,omitempty"` // No Half Vae // // do not switch the VAE model to 16-bit floats NoHalfVae *bool `json:"no_half_vae,omitempty"` // No Hashing // // disable sha256 hashing of checkpoints to help loading performance NoHashing *bool `json:"no_hashing,omitempty"` // No Progressbar Hiding // // 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"` // Opt Channelslast // // change memory type for stable diffusion to channels last OptChannelslast *bool `json:"opt_channelslast,omitempty"` // Opt Sdp Attention // // prefer scaled dot product cross-attention layer optimization for automatic choice of optimization; requires PyTorch 2.* OptSdpAttention *bool `json:"opt_sdp_attention,omitempty"` // Opt Sdp No Mem Attention // // 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"` // Opt Split Attention // // prefer Doggettx's cross-attention layer optimization for automatic choice of optimization OptSplitAttention *bool `json:"opt_split_attention,omitempty"` // Opt Split Attention Invokeai // // prefer InvokeAI's cross-attention layer optimization for automatic choice of optimization OptSplitAttentionInvokeai *bool `json:"opt_split_attention_invokeai,omitempty"` // Opt Split Attention V1 // // prefer older version of split attention optimization for automatic choice of optimization OptSplitAttentionV1 *bool `json:"opt_split_attention_v1,omitempty"` // Opt Sub Quad Attention // // 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"` // Profile Db // // Set this to enable memory profiling while training. For science only. ProfileDb *bool `json:"profile_db,omitempty"` // Realesrgan Models Path // // Path to directory with RealESRGAN model file(s). RealesrganModelsPath *string `json:"realesrgan_models_path,omitempty"` // Reinstall Torch // // launch.py argument: install the appropriate version of torch even if you have some version already installed ReinstallTorch *bool `json:"reinstall_torch,omitempty"` // Reinstall Xformers // // launch.py argument: install the appropriate version of xformers even if you have some version already installed ReinstallXformers *bool `json:"reinstall_xformers,omitempty"` // Scunet Models Path // // Path to directory with ScuNET model file(s). ScunetModelsPath *string `json:"scunet_models_path,omitempty"` // Server Name // // Sets hostname of server ServerName string `json:"server_name,omitempty"` // // use share=True for gradio and make the UI accessible through their site Share *bool `json:"share,omitempty"` // Show Negative Prompt // // does not do anything ShowNegativePrompt *bool `json:"show_negative_prompt,omitempty"` // Skip Install // // launch.py argument: skip installation of packages SkipInstall *bool `json:"skip_install,omitempty"` // Skip Prepare Environment // // launch.py argument: skip all environment preparation SkipPrepareEnvironment *bool `json:"skip_prepare_environment,omitempty"` // Skip Python Version Check // // launch.py argument: do not check python version SkipPythonVersionCheck *bool `json:"skip_python_version_check,omitempty"` // Skip Torch Cuda Test // // launch.py argument: do not check if CUDA is able to work properly SkipTorchCudaTest *bool `json:"skip_torch_cuda_test,omitempty"` // Skip Version Check // // Do not check versions of torch and xformers SkipVersionCheck *bool `json:"skip_version_check,omitempty"` // Styles File // // filename to use for styles StylesFile *string `json:"styles_file,omitempty"` // Sub Quad Chunk Threshold // // the percentage of VRAM threshold for the sub-quadratic cross-attention layer optimization to use chunking SubQuadChunkThreshold string `json:"sub_quad_chunk_threshold,omitempty"` // Sub Quad Kv Chunk Size // // kv chunk size for the sub-quadratic cross-attention layer optimization to use SubQuadKvChunkSize string `json:"sub_quad_kv_chunk_size,omitempty"` // Sub Quad Q Chunk Size // // query chunk size for the sub-quadratic cross-attention layer optimization to use SubQuadqChunkSize *int64 `json:"sub_quad_q_chunk_size,omitempty"` // Subpath // // customize the subpath for gradio, use with reverse proxy Subpath string `json:"subpath,omitempty"` // Swinir Models Path // // Path to directory with SwinIR model file(s). SwinirModelsPath *string `json:"swinir_models_path,omitempty"` // Test Server // // launch.py argument: configure server for testing TestServer *bool `json:"test_server,omitempty"` // Textual Inversion Templates Dir // // 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"` // Timeout Keep Alive // // set timeout_keep_alive for uvicorn TimeoutKeepAlive *int64 `json:"timeout_keep_alive,omitempty"` // Tls Certfile // // Partially enables TLS, requires --tls-keyfile to fully function TLSCertfile string `json:"tls_certfile,omitempty"` // Tls Keyfile // // Partially enables TLS, requires --tls-certfile to fully function TLSKeyfile string `json:"tls_keyfile,omitempty"` // Ui Config File // // filename to use for ui configuration UIConfigFile *string `json:"ui_config_file,omitempty"` // Ui Debug Mode // // Don't load model to quickly launch UI UIDebugMode *bool `json:"ui_debug_mode,omitempty"` // Ui Settings File // // filename to use for ui settings UISettingsFile *string `json:"ui_settings_file,omitempty"` // Unload Gfpgan // // does not do anything. UnloadGfpgan *bool `json:"unload_gfpgan,omitempty"` // Upcast Sampling // // 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"` // Update All Extensions // // launch.py argument: download updates for all extensions when starting the program UpdateAllExtensions *bool `json:"update_all_extensions,omitempty"` // Update Check // // launch.py argument: check for updates at startup UpdateCheck *bool `json:"update_check,omitempty"` // Use Cpu // // use CPU as torch device for specified modules UseCPU []interface{} `json:"use_cpu"` // Use Textbox Seed // // use textbox for seeds in UI (no up/down, but possible to input long seeds) UseTextboxSeed *bool `json:"use_textbox_seed,omitempty"` // Vae Dir // // Path to directory with VAE files VaeDir string `json:"vae_dir,omitempty"` // Vae Path // // 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"` // Xformers Flash Attention // // enable xformers with Flash Attention to improve reproducibility (supported for SD2.x or variant only) XformersFlashAttention *bool `json:"xformers_flash_attention,omitempty"` }
Flags Flags
swagger:model Flags
func (*Flags) ContextValidate ¶
ContextValidate validates this flags based on context it is used
func (*Flags) MarshalBinary ¶
MarshalBinary interface implementation
func (*Flags) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type HTTPException ¶
type HTTPException struct { // body Body string `json:"body,omitempty"` // detail Detail string `json:"detail,omitempty"` // error Error string `json:"error,omitempty"` // errors Errors string `json:"errors,omitempty"` }
HTTPException HTTP exception
swagger:model HTTPException
func (*HTTPException) ContextValidate ¶
ContextValidate validates this HTTP exception based on context it is used
func (*HTTPException) MarshalBinary ¶
func (m *HTTPException) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HTTPException) UnmarshalBinary ¶
func (m *HTTPException) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HTTPValidationError ¶
type HTTPValidationError struct { // Detail Detail []*ValidationError `json:"detail"` }
HTTPValidationError HTTPValidationError
swagger:model HTTPValidationError
func (*HTTPValidationError) ContextValidate ¶
ContextValidate validate this HTTP validation error based on the context it is used
func (*HTTPValidationError) MarshalBinary ¶
func (m *HTTPValidationError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HTTPValidationError) UnmarshalBinary ¶
func (m *HTTPValidationError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HypernetworkItem ¶
type HypernetworkItem struct { // Name // Required: true Name *string `json:"name"` // Path Path string `json:"path,omitempty"` }
HypernetworkItem HypernetworkItem
swagger:model HypernetworkItem
func (*HypernetworkItem) ContextValidate ¶
ContextValidate validates this hypernetwork item based on context it is used
func (*HypernetworkItem) MarshalBinary ¶
func (m *HypernetworkItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HypernetworkItem) UnmarshalBinary ¶
func (m *HypernetworkItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageToImageResponse ¶
type ImageToImageResponse struct { // Image // // The generated image in base64 format. Images []string `json:"images"` // Info // Required: true Info *string `json:"info"` // Parameters // Required: true Parameters interface{} `json:"parameters"` }
ImageToImageResponse ImageToImageResponse
swagger:model ImageToImageResponse
func (*ImageToImageResponse) ContextValidate ¶
ContextValidate validates this image to image response based on context it is used
func (*ImageToImageResponse) MarshalBinary ¶
func (m *ImageToImageResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageToImageResponse) UnmarshalBinary ¶
func (m *ImageToImageResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InstanceData ¶
type InstanceData struct { // File data // // Base64 representation of the file or URL // Required: true Data *string `json:"data"` // File name // // File name to save image as // Required: true Name *string `json:"name"` // Prompt // // Training prompt for image // Required: true Txt *string `json:"txt"` }
InstanceData InstanceData
swagger:model InstanceData
func (*InstanceData) ContextValidate ¶
ContextValidate validates this instance data based on context it is used
func (*InstanceData) MarshalBinary ¶
func (m *InstanceData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InstanceData) UnmarshalBinary ¶
func (m *InstanceData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 InterrogateRequest
swagger:model InterrogateRequest
func (*InterrogateRequest) ContextValidate ¶
ContextValidate validates this interrogate request based on context it is used
func (*InterrogateRequest) MarshalBinary ¶
func (m *InterrogateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InterrogateRequest) UnmarshalBinary ¶
func (m *InterrogateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LatentUpscalerModeItem ¶
type LatentUpscalerModeItem struct { // Name // Required: true Name *string `json:"name"` }
LatentUpscalerModeItem LatentUpscalerModeItem
swagger:model LatentUpscalerModeItem
func (*LatentUpscalerModeItem) ContextValidate ¶
func (m *LatentUpscalerModeItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this latent upscaler mode item based on context it is used
func (*LatentUpscalerModeItem) MarshalBinary ¶
func (m *LatentUpscalerModeItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LatentUpscalerModeItem) UnmarshalBinary ¶
func (m *LatentUpscalerModeItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MaskItem ¶
type MaskItem struct { // Area // Required: true Area *int64 `json:"area"` // Bbox // Required: true Bbox []int64 `json:"bbox"` // Crop Box // Required: true CropBox []int64 `json:"crop_box"` // Point Coords // Required: true PointCoords [][]float64 `json:"point_coords"` // Predicted Iou // Required: true PredictedIou *float64 `json:"predicted_iou"` // Segmentation // Required: true Segmentation []int64 `json:"segmentation"` // Stability Score // Required: true StabilityScore *float64 `json:"stability_score"` }
MaskItem MaskItem
swagger:model MaskItem
func (*MaskItem) ContextValidate ¶
ContextValidate validates this mask item based on context it is used
func (*MaskItem) MarshalBinary ¶
MarshalBinary interface implementation
func (*MaskItem) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type MatchImagesByTagsReq ¶
type MatchImagesByTagsReq struct { // And Tags // Required: true AndTags []int64 `json:"and_tags"` // Not Tags // Required: true NotTags []int64 `json:"not_tags"` // Or Tags // Required: true OrTags []int64 `json:"or_tags"` }
MatchImagesByTagsReq MatchImagesByTagsReq
swagger:model MatchImagesByTagsReq
func (*MatchImagesByTagsReq) ContextValidate ¶
ContextValidate validates this match images by tags req based on context it is used
func (*MatchImagesByTagsReq) MarshalBinary ¶
func (m *MatchImagesByTagsReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MatchImagesByTagsReq) UnmarshalBinary ¶
func (m *MatchImagesByTagsReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MemoryResponse ¶
type MemoryResponse struct { // CUDA // // nVidia CUDA memory stats // Required: true Cuda interface{} `json:"cuda"` // RAM // // System memory stats // Required: true RAM interface{} `json:"ram"` }
MemoryResponse MemoryResponse
swagger:model MemoryResponse
func (*MemoryResponse) ContextValidate ¶
ContextValidate validates this memory response based on context it is used
func (*MemoryResponse) MarshalBinary ¶
func (m *MemoryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MemoryResponse) UnmarshalBinary ¶
func (m *MemoryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModulesAPIModelsProgressResponse ¶
type ModulesAPIModelsProgressResponse struct { // Current image // // The current image in base64 format. opts.show_progress_every_n_steps is required for this to work. CurrentImage string `json:"current_image,omitempty"` // ETA in secs // Required: true EtaRelative *float64 `json:"eta_relative"` // Progress // // The progress with a range of 0 to 1 // Required: true Progress *float64 `json:"progress"` // State // // The current state snapshot // Required: true State interface{} `json:"state"` // Info text // // Info text used by WebUI. Textinfo string `json:"textinfo,omitempty"` }
ModulesAPIModelsProgressResponse ProgressResponse
swagger:model modules__api__models__ProgressResponse
func (*ModulesAPIModelsProgressResponse) ContextValidate ¶
func (m *ModulesAPIModelsProgressResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this modules api models progress response based on context it is used
func (*ModulesAPIModelsProgressResponse) MarshalBinary ¶
func (m *ModulesAPIModelsProgressResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModulesAPIModelsProgressResponse) UnmarshalBinary ¶
func (m *ModulesAPIModelsProgressResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModulesProgressProgressResponse ¶
type ModulesProgressProgressResponse struct { // Whether the task is being worked on right now // Required: true Active *bool `json:"active"` // Whether the task has already finished // Required: true Completed *bool `json:"completed"` // ETA in secs Eta float64 `json:"eta,omitempty"` // Live preview image ID // // Send this together with next request to prevent receiving same image IDLivePreview int64 `json:"id_live_preview,omitempty"` // Live preview image // // Current live preview; a data: uri LivePreview string `json:"live_preview,omitempty"` // Progress // // The progress with a range of 0 to 1 Progress float64 `json:"progress,omitempty"` // Whether the task is in queue // Required: true Queued *bool `json:"queued"` // Info text // // Info text used by WebUI. Textinfo string `json:"textinfo,omitempty"` }
ModulesProgressProgressResponse ProgressResponse
swagger:model modules__progress__ProgressResponse
func (*ModulesProgressProgressResponse) ContextValidate ¶
func (m *ModulesProgressProgressResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this modules progress progress response based on context it is used
func (*ModulesProgressProgressResponse) MarshalBinary ¶
func (m *ModulesProgressProgressResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModulesProgressProgressResponse) UnmarshalBinary ¶
func (m *ModulesProgressProgressResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MoveFilesReq ¶
type MoveFilesReq struct { // Create Dest Folder CreateDestFolder *bool `json:"create_dest_folder,omitempty"` // Dest // Required: true Dest *string `json:"dest"` // File Paths // Required: true FilePaths []string `json:"file_paths"` }
MoveFilesReq MoveFilesReq
swagger:model MoveFilesReq
func (*MoveFilesReq) ContextValidate ¶
ContextValidate validates this move files req based on context it is used
func (*MoveFilesReq) MarshalBinary ¶
func (m *MoveFilesReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MoveFilesReq) UnmarshalBinary ¶
func (m *MoveFilesReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OcrPredictRequest ¶
type OcrPredictRequest struct { // Image // Required: true Image *string `json:"image"` }
OcrPredictRequest OcrPredictRequest
swagger:model OcrPredictRequest
func (*OcrPredictRequest) ContextValidate ¶
ContextValidate validates this ocr predict request based on context it is used
func (*OcrPredictRequest) MarshalBinary ¶
func (m *OcrPredictRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OcrPredictRequest) UnmarshalBinary ¶
func (m *OcrPredictRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OcrPredictResponse ¶
type OcrPredictResponse struct { // Result // Required: true Result []*OcrResultItem `json:"result"` }
OcrPredictResponse OcrPredictResponse
swagger:model OcrPredictResponse
func (*OcrPredictResponse) ContextValidate ¶
ContextValidate validate this ocr predict response based on the context it is used
func (*OcrPredictResponse) MarshalBinary ¶
func (m *OcrPredictResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OcrPredictResponse) UnmarshalBinary ¶
func (m *OcrPredictResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OcrResultItem ¶
type OcrResultItem struct { // Box // Required: true Box []interface{} `json:"box"` // Text // Required: true Text *string `json:"text"` }
OcrResultItem OcrResultItem
swagger:model OcrResultItem
func (*OcrResultItem) ContextValidate ¶
ContextValidate validates this ocr result item based on context it is used
func (*OcrResultItem) MarshalBinary ¶
func (m *OcrResultItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OcrResultItem) UnmarshalBinary ¶
func (m *OcrResultItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OpenFolderReq ¶
type OpenFolderReq struct { // Path // Required: true Path *string `json:"path"` }
OpenFolderReq OpenFolderReq
swagger:model OpenFolderReq
func (*OpenFolderReq) ContextValidate ¶
ContextValidate validates this open folder req based on context it is used
func (*OpenFolderReq) MarshalBinary ¶
func (m *OpenFolderReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OpenFolderReq) UnmarshalBinary ¶
func (m *OpenFolderReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Options ¶
type Options struct { // Clip Stop At Last Layers // // Clip skip CLIPStopAtLastLayers *float64 `json:"CLIP_stop_at_last_layers,omitempty"` // Esrgan Tile // // Tile size for ESRGAN upscalers. ESRGANTile *float64 `json:"ESRGAN_tile,omitempty"` // Esrgan Tile Overlap // // Tile overlap for ESRGAN upscalers. ESRGANTileOverlap *float64 `json:"ESRGAN_tile_overlap,omitempty"` // Add Model Hash To Info // // Add model hash to generation information AddModelHashToInfo *bool `json:"add_model_hash_to_info,omitempty"` // Add Model Name To Info // // Add model name to generation information AddModelNameToInfo *bool `json:"add_model_name_to_info,omitempty"` // Add User Name To Info // // Add user name to generation information when authenticated AddUserNameToInfo interface{} `json:"add_user_name_to_info,omitempty"` // Add Version To Infotext // // Add program version to generation information AddVersionToInfotext *bool `json:"add_version_to_infotext,omitempty"` // Always Discard Next To Last Sigma // // Always discard next-to-last sigma AlwaysDiscardNextToLastSigma interface{} `json:"always_discard_next_to_last_sigma,omitempty"` // Auto Vae Precision // // Automaticlly revert VAE to 32-bit floats AutoVaePrecision *bool `json:"auto_vae_precision,omitempty"` // Clean Temp Dir At Start // // Cleanup non-default temporary directory when starting webui CleanTempDirAtStart interface{} `json:"clean_temp_dir_at_start,omitempty"` // Code Former Weight // // CodeFormer weight CodeFormerWeight *float64 `json:"code_former_weight,omitempty"` // Comma Padding Backtrack // // Prompt word wrap length limit CommaPaddingBacktrack *float64 `json:"comma_padding_backtrack,omitempty"` // Cross Attention Optimization // // Cross attention optimization CrossAttentionOptimization *string `json:"cross_attention_optimization,omitempty"` // Dataset Filename Join String // // Filename join string DatasetFilenameJoinString *string `json:"dataset_filename_join_string,omitempty"` // Dataset Filename Word Regex // // Filename word regex DatasetFilenameWordRegex interface{} `json:"dataset_filename_word_regex,omitempty"` // Ddim Discretize // // img2img DDIM discretize DdimDiscretize *string `json:"ddim_discretize,omitempty"` // Deepbooru Escape // // deepbooru: escape (\) brackets DeepbooruEscape *bool `json:"deepbooru_escape,omitempty"` // Deepbooru Filter Tags // // deepbooru: filter out those tags DeepbooruFilterTags interface{} `json:"deepbooru_filter_tags,omitempty"` // Deepbooru Sort Alpha // // deepbooru: sort tags alphabetically DeepbooruSortAlpha *bool `json:"deepbooru_sort_alpha,omitempty"` // Deepbooru Use Spaces // // deepbooru: use spaces in tags DeepbooruUseSpaces *bool `json:"deepbooru_use_spaces,omitempty"` // Dimensions And Batch Together // // Show Width/Height and Batch sliders in same row DimensionsAndBatchTogether *bool `json:"dimensions_and_batch_together,omitempty"` // Directories Filename Pattern // // Directory name pattern DirectoriesFilenamePattern *string `json:"directories_filename_pattern,omitempty"` // Directories Max Prompt Words // // Max prompt words for [prompt_words] pattern DirectoriesMaxPromptWords *float64 `json:"directories_max_prompt_words,omitempty"` // Disable All Extensions // // Disable all extensions (preserves the list of disabled extensions) DisableAllExtensions *string `json:"disable_all_extensions,omitempty"` // Disable Mmap Load Safetensors // // Disable memmapping for loading .safetensors files. DisableMmapLoadSafetensors interface{} `json:"disable_mmap_load_safetensors,omitempty"` // Disable Token Counters // // Disable prompt token counters DisableTokenCounters interface{} `json:"disable_token_counters,omitempty"` // Disable Weights Auto Swap // // Disregard checkpoint information from pasted infotext DisableWeightsAutoSwap *bool `json:"disable_weights_auto_swap,omitempty"` // Disabled Extensions // // Disable these extensions DisabledExtensions interface{} `json:"disabled_extensions,omitempty"` // Do Not Show Images // // Do not show any images in results for web DoNotShowImages interface{} `json:"do_not_show_images,omitempty"` // Dont Fix Second Order Samplers Schedule // // Do not fix prompt schedule for second order samplers. DontFixSecondOrderSamplersSchedule interface{} `json:"dont_fix_second_order_samplers_schedule,omitempty"` // Enable Batch Seeds // // Make K-diffusion samplers produce same images in a batch as when making a single image EnableBatchSeeds *bool `json:"enable_batch_seeds,omitempty"` // Enable Emphasis // // Enable emphasis EnableEmphasis *bool `json:"enable_emphasis,omitempty"` // Enable Pnginfo // // Save text information about generation parameters as chunks to png files EnablePnginfo *bool `json:"enable_pnginfo,omitempty"` // Enable Quantization // // Enable quantization in K samplers for sharper and cleaner results. This may change existing seeds. Requires restart to apply. EnableQuantization interface{} `json:"enable_quantization,omitempty"` // Eta Ancestral // // Eta for ancestral samplers EtaAncestral *float64 `json:"eta_ancestral,omitempty"` // Eta Ddim // // Eta for DDIM EtaDdim interface{} `json:"eta_ddim,omitempty"` // Eta Noise Seed Delta // // Eta noise seed delta EtaNoiseSeedDelta interface{} `json:"eta_noise_seed_delta,omitempty"` // Experimental Persistent Cond Cache // // persistent cond cache ExperimentalPersistentCondCache interface{} `json:"experimental_persistent_cond_cache,omitempty"` // Export For 4Chan // // Save copy of large images as JPG ExportFor4chan *bool `json:"export_for_4chan,omitempty"` // Extra Networks Add Text Separator // // Extra networks separator ExtraNetworksAddTextSeparator *string `json:"extra_networks_add_text_separator,omitempty"` // Extra Networks Card Height // // Card height for Extra Networks ExtraNetworksCardHeight interface{} `json:"extra_networks_card_height,omitempty"` // Extra Networks Card Show Desc // // Show description on card ExtraNetworksCardShowDesc *bool `json:"extra_networks_card_show_desc,omitempty"` // Extra Networks Card Text Scale // // Card text scale ExtraNetworksCardTextScale *float64 `json:"extra_networks_card_text_scale,omitempty"` // Extra Networks Card Width // // Card width for Extra Networks ExtraNetworksCardWidth interface{} `json:"extra_networks_card_width,omitempty"` // Extra Networks Default Multiplier // // Default multiplier for extra networks ExtraNetworksDefaultMultiplier *float64 `json:"extra_networks_default_multiplier,omitempty"` // Extra Networks Hidden Models // // Show cards for models in hidden directories ExtraNetworksHiddenModels *string `json:"extra_networks_hidden_models,omitempty"` // Extra Networks Show Hidden Directories // // Show hidden directories ExtraNetworksShowHiddenDirectories *bool `json:"extra_networks_show_hidden_directories,omitempty"` // Face Restoration Model // // Face restoration model FaceRestorationModel *string `json:"face_restoration_model,omitempty"` // Face Restoration Unload // // 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"` // Gradio Theme // // Gradio theme GradioTheme *string `json:"gradio_theme,omitempty"` // Grid Background Color // // Background color for image grids GridBackgroundColor *string `json:"grid_background_color,omitempty"` // Grid Extended Filename // // Add extended info (seed, prompt) to filename when saving grid GridExtendedFilename interface{} `json:"grid_extended_filename,omitempty"` // Grid Format // // File format for grids GridFormat *string `json:"grid_format,omitempty"` // Grid Only If Multiple // // Do not save grids consisting of one picture GridOnlyIfMultiple *bool `json:"grid_only_if_multiple,omitempty"` // Grid Prevent Empty Spots // // Prevent empty spots in grid (when set to autodetect) GridPreventEmptySpots interface{} `json:"grid_prevent_empty_spots,omitempty"` // Grid Save // // Always save all generated image grids GridSave *bool `json:"grid_save,omitempty"` // Grid Save To Dirs // // Save grids to a subdirectory GridSaveToDirs *bool `json:"grid_save_to_dirs,omitempty"` // Grid Text Active Color // // Text color for image grids GridTextActiveColor *string `json:"grid_text_active_color,omitempty"` // Grid Text Inactive Color // // Inactive text color for image grids GridTextInactiveColor *string `json:"grid_text_inactive_color,omitempty"` // Grid Zip Filename Pattern // // Archive filename pattern GridZipFilenamePattern interface{} `json:"grid_zip_filename_pattern,omitempty"` // Hidden Tabs // // Hidden UI tabs HiddenTabs interface{} `json:"hidden_tabs,omitempty"` // Hide Samplers // // Hide samplers in user interface HideSamplers interface{} `json:"hide_samplers,omitempty"` // Hires Fix Show Prompts // // Hires fix: show hires prompt and negative prompt HiresFixShowPrompts interface{} `json:"hires_fix_show_prompts,omitempty"` // Hires Fix Show Sampler // // Hires fix: show hires sampler selection HiresFixShowSampler interface{} `json:"hires_fix_show_sampler,omitempty"` // Hires Fix Use Firstpass Conds // // For hires fix, calculate conds of second pass using extra networks of first pass. HiresFixUseFirstpassConds interface{} `json:"hires_fix_use_firstpass_conds,omitempty"` // Img2Img Background Color // // With img2img, fill image's transparent parts with this color. Img2imgBackgroundColor *string `json:"img2img_background_color,omitempty"` // Img2Img Color Correction // // Apply color correction to img2img results to match original colors. Img2imgColorCorrection interface{} `json:"img2img_color_correction,omitempty"` // Img2Img Editor Height // // img2img: height of image editor Img2imgEditorHeight *float64 `json:"img2img_editor_height,omitempty"` // Img2Img Fix Steps // // With img2img, do exactly the amount of steps the slider specifies. Img2imgFixSteps interface{} `json:"img2img_fix_steps,omitempty"` // Img Downscale Threshold // // File size limit for the above option, MB ImgDownscaleThreshold *float64 `json:"img_downscale_threshold,omitempty"` // Img Max Size Mp // // Maximum image size ImgMaxSizeMp *float64 `json:"img_max_size_mp,omitempty"` // Infotext Styles // // Infer styles from prompts of pasted infotext InfotextStyles *string `json:"infotext_styles,omitempty"` // Initial Noise Multiplier // // Noise multiplier for img2img InitialNoiseMultiplier *float64 `json:"initial_noise_multiplier,omitempty"` // Inpainting Mask Weight // // Inpainting conditioning mask strength InpaintingMaskWeight *float64 `json:"inpainting_mask_weight,omitempty"` // Interrogate Clip Dict Limit // // CLIP: maximum number of lines in text file InterrogateClipDictLimit *float64 `json:"interrogate_clip_dict_limit,omitempty"` // Interrogate Clip Max Length // // BLIP: maximum description length InterrogateClipMaxLength *float64 `json:"interrogate_clip_max_length,omitempty"` // Interrogate Clip Min Length // // BLIP: minimum description length InterrogateClipMinLength *float64 `json:"interrogate_clip_min_length,omitempty"` // Interrogate Clip Num Beams // // BLIP: num_beams InterrogateClipNumBeams *float64 `json:"interrogate_clip_num_beams,omitempty"` // Interrogate Clip Skip Categories // // CLIP: skip inquire categories InterrogateClipSkipCategories interface{} `json:"interrogate_clip_skip_categories,omitempty"` // Interrogate Deepbooru Score Threshold // // deepbooru: score threshold InterrogateDeepbooruScoreThreshold *float64 `json:"interrogate_deepbooru_score_threshold,omitempty"` // Interrogate Keep Models In Memory // // Keep models in VRAM InterrogateKeepModelsInMemory interface{} `json:"interrogate_keep_models_in_memory,omitempty"` // Interrogate Return Ranks // // Include ranks of model tags matches in results. InterrogateReturnRanks interface{} `json:"interrogate_return_ranks,omitempty"` // Jpeg Quality // // Quality for saved jpeg images JpegQuality *float64 `json:"jpeg_quality,omitempty"` // Js Modal Lightbox // // Enable full page image viewer JsModalLightbox *bool `json:"js_modal_lightbox,omitempty"` // Js Modal Lightbox Gamepad // // Navigate image viewer with gamepad JsModalLightboxGamepad interface{} `json:"js_modal_lightbox_gamepad,omitempty"` // Js Modal Lightbox Gamepad Repeat // // Gamepad repeat period, in milliseconds JsModalLightboxGamepadRepeat *float64 `json:"js_modal_lightbox_gamepad_repeat,omitempty"` // Js Modal Lightbox Initially Zoomed // // Show images zoomed in by default in full page image viewer JsModalLightboxInitiallyZoomed *bool `json:"js_modal_lightbox_initially_zoomed,omitempty"` // K Sched Type // // scheduler type KSchedType *string `json:"k_sched_type,omitempty"` // Keyedit Delimiters // // Ctrl+up/down word delimiters KeyeditDelimiters *string `json:"keyedit_delimiters,omitempty"` // Keyedit Move // // Alt+left/right moves prompt elements KeyeditMove *bool `json:"keyedit_move,omitempty"` // Keyedit Precision Attention // // Ctrl+up/down precision when editing (attention:1.1) KeyeditPrecisionAttention *float64 `json:"keyedit_precision_attention,omitempty"` // Keyedit Precision Extra // // Ctrl+up/down precision when editing <extra networks:0.9> KeyeditPrecisionExtra *float64 `json:"keyedit_precision_extra,omitempty"` // List Hidden Files // // Load models/files in hidden directories ListHiddenFiles *bool `json:"list_hidden_files,omitempty"` // Live Preview Content // // Live preview subject LivePreviewContent *string `json:"live_preview_content,omitempty"` // Live Preview Refresh Period // // Progressbar and preview update period LivePreviewRefreshPeriod *float64 `json:"live_preview_refresh_period,omitempty"` // Live Previews Enable // // Show live previews of the created image LivePreviewsEnable *bool `json:"live_previews_enable,omitempty"` // Live Previews Image Format // // Live preview file format LivePreviewsImageFormat *string `json:"live_previews_image_format,omitempty"` // Localization // // Localization Localization *string `json:"localization,omitempty"` // Memmon Poll Rate // // VRAM usage polls per second during generation. MemmonPollRate *float64 `json:"memmon_poll_rate,omitempty"` // Multiple Tqdm // // Add a second progress bar to the console that shows progress for an entire job. MultipleTqdm *bool `json:"multiple_tqdm,omitempty"` // N Rows // // Grid row count; use -1 for autodetect and 0 for it to be same as batch size NRows *float64 `json:"n_rows,omitempty"` // No Dpmpp Sde Batch Determinism // // Do not make DPM++ SDE deterministic across different batch sizes. NoDpmppSdeBatchDeterminism interface{} `json:"no_dpmpp_sde_batch_determinism,omitempty"` // Outdir Extras Samples // // Output directory for images from extras tab OutdirExtrasSamples *string `json:"outdir_extras_samples,omitempty"` // Outdir Grids // // Output directory for grids; if empty, defaults to two directories below OutdirGrids interface{} `json:"outdir_grids,omitempty"` // Outdir Img2Img Grids // // Output directory for img2img grids OutdirImg2imgGrids *string `json:"outdir_img2img_grids,omitempty"` // Outdir Img2Img Samples // // Output directory for img2img images OutdirImg2imgSamples *string `json:"outdir_img2img_samples,omitempty"` // Outdir Init Images // // Directory for saving init images when using img2img OutdirInitImages *string `json:"outdir_init_images,omitempty"` // Outdir Samples // // Output directory for images; if empty, defaults to three directories below OutdirSamples interface{} `json:"outdir_samples,omitempty"` // Outdir Save // // Directory for saving images using the Save button OutdirSave *string `json:"outdir_save,omitempty"` // Outdir Txt2Img Grids // // Output directory for txt2img grids OutdirTxt2imgGrids *string `json:"outdir_txt2img_grids,omitempty"` // Outdir Txt2Img Samples // // Output directory for txt2img images OutdirTxt2imgSamples *string `json:"outdir_txt2img_samples,omitempty"` // Pad Cond Uncond // // Pad prompt/negative prompt to be same length PadCondUncond interface{} `json:"pad_cond_uncond,omitempty"` // Pin Memory // // Turn on pin_memory for DataLoader. Makes training slightly faster but can increase memory usage. PinMemory interface{} `json:"pin_memory,omitempty"` // Postprocessing Enable In Main Ui // // Enable postprocessing operations in txt2img and img2img tabs PostprocessingEnableInMainUI interface{} `json:"postprocessing_enable_in_main_ui,omitempty"` // Postprocessing Operation Order // // Postprocessing operation order PostprocessingOperationOrder interface{} `json:"postprocessing_operation_order,omitempty"` // Print Hypernet Extra // // Print extra hypernetwork information to console. PrintHypernetExtra interface{} `json:"print_hypernet_extra,omitempty"` // Quicksettings List // // Quicksettings list QuicksettingsList []interface{} `json:"quicksettings_list"` // Randn Source // // Random number generator source. RandnSource *string `json:"randn_source,omitempty"` // Realesrgan Enabled Models // // Select which Real-ESRGAN models to show in the web UI. RealesrganEnabledModels []interface{} `json:"realesrgan_enabled_models"` // Restore Config State File // // Config state file to restore from, under 'config-states/' folder RestoreConfigStateFile interface{} `json:"restore_config_state_file,omitempty"` // Return Grid // // Show grid in results for web ReturnGrid *bool `json:"return_grid,omitempty"` // Return Mask // // For inpainting, include the greyscale mask in results for web ReturnMask interface{} `json:"return_mask,omitempty"` // Return Mask Composite // // For inpainting, include masked composite in results for web ReturnMaskComposite interface{} `json:"return_mask_composite,omitempty"` // Rho // // rho Rho interface{} `json:"rho,omitempty"` // S Churn // // sigma churn SChurn interface{} `json:"s_churn,omitempty"` // S Min Uncond // // Negative Guidance minimum sigma SMinUncond interface{} `json:"s_min_uncond,omitempty"` // S Noise // // sigma noise SNoise *float64 `json:"s_noise,omitempty"` // S Tmin // // sigma tmin STmin interface{} `json:"s_tmin,omitempty"` // Samplers In Dropdown // // Use dropdown for sampler selection instead of radio group SamplersInDropdown *bool `json:"samplers_in_dropdown,omitempty"` // Samples Filename Pattern // // Images filename pattern SamplesFilenamePattern interface{} `json:"samples_filename_pattern,omitempty"` // Samples Format // // File format for images SamplesFormat *string `json:"samples_format,omitempty"` // Samples Log Stdout // // Always print all generation info to standard output SamplesLogStdout interface{} `json:"samples_log_stdout,omitempty"` // Samples Save // // Always save all generated images SamplesSave *bool `json:"samples_save,omitempty"` // Save Images Add Number // // Add number to filename when saving SaveImagesAddNumber *bool `json:"save_images_add_number,omitempty"` // Save Images Before Color Correction // // Save a copy of image before applying color correction to img2img results SaveImagesBeforeColorCorrection interface{} `json:"save_images_before_color_correction,omitempty"` // Save Images Before Face Restoration // // Save a copy of image before doing face restoration. SaveImagesBeforeFaceRestoration interface{} `json:"save_images_before_face_restoration,omitempty"` // Save Images Before Highres Fix // // Save a copy of image before applying highres fix. SaveImagesBeforeHighresFix interface{} `json:"save_images_before_highres_fix,omitempty"` // Save Init Img // // Save init images when using img2img SaveInitImg interface{} `json:"save_init_img,omitempty"` // Save Mask // // For inpainting, save a copy of the greyscale mask SaveMask interface{} `json:"save_mask,omitempty"` // Save Mask Composite // // For inpainting, save a masked composite SaveMaskComposite interface{} `json:"save_mask_composite,omitempty"` // Save Optimizer State // // 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"` // Save Selected Only // // When using 'Save' button, only save a single selected image SaveSelectedOnly *bool `json:"save_selected_only,omitempty"` // Save To Dirs // // Save images to a subdirectory SaveToDirs *bool `json:"save_to_dirs,omitempty"` // Save Training Settings To Txt // // Save textual inversion and hypernet settings to a text file whenever training starts. SaveTrainingSettingsToTxt *bool `json:"save_training_settings_to_txt,omitempty"` // Save Txt // // Create a text file next to every image with generation parameters. SaveTxt interface{} `json:"save_txt,omitempty"` // Sd Checkpoint Cache // // Checkpoints to cache in RAM SdCheckpointCache interface{} `json:"sd_checkpoint_cache,omitempty"` // Sd Checkpoint Hash // // SHA256 hash of the current checkpoint SdCheckpointHash interface{} `json:"sd_checkpoint_hash,omitempty"` // Sd Hypernetwork // // Add hypernetwork to prompt SdHypernetwork *string `json:"sd_hypernetwork,omitempty"` // Sd Lyco // // Add LyCORIS to prompt SdLyco *string `json:"sd_lyco,omitempty"` // Sd Model Checkpoint // // Stable Diffusion checkpoint SdModelCheckpoint interface{} `json:"sd_model_checkpoint,omitempty"` // Sd Unet // // SD Unet SdUnet *string `json:"sd_unet,omitempty"` // Sd Vae // // SD VAE SdVae *string `json:"sd_vae,omitempty"` // Sd Vae As Default // // Ignore selected VAE for stable diffusion checkpoints that have their own .vae.pt next to them SdVaeAsDefault *bool `json:"sd_vae_as_default,omitempty"` // Sd Vae Checkpoint Cache // // VAE Checkpoints to cache in RAM SdVaeCheckpointCache interface{} `json:"sd_vae_checkpoint_cache,omitempty"` // Sdxl Crop Left // // crop left coordinate SdxlCropLeft interface{} `json:"sdxl_crop_left,omitempty"` // Sdxl Crop Top // // crop top coordinate SdxlCropTop interface{} `json:"sdxl_crop_top,omitempty"` // Sdxl Refiner High Aesthetic Score // // SDXL high aesthetic score SdxlRefinerHighAestheticScore *float64 `json:"sdxl_refiner_high_aesthetic_score,omitempty"` // Sdxl Refiner Low Aesthetic Score // // SDXL low aesthetic score SdxlRefinerLowAestheticScore *float64 `json:"sdxl_refiner_low_aesthetic_score,omitempty"` // Send Seed // // Send seed when sending prompt or image to other interface SendSeed *bool `json:"send_seed,omitempty"` // Send Size // // Send size when sending prompt or image to another interface SendSize *bool `json:"send_size,omitempty"` // Show Progress Every N Steps // // Live preview display period ShowProgressEverynSteps *float64 `json:"show_progress_every_n_steps,omitempty"` // Show Progress Grid // // Show previews of all images generated in a batch as a grid ShowProgressGrid *bool `json:"show_progress_grid,omitempty"` // Show Progress In Title // // Show generation progress in window title. ShowProgressInTitle *bool `json:"show_progress_in_title,omitempty"` // Show Progress Type // // Live preview method ShowProgressType *string `json:"show_progress_type,omitempty"` // Show Progressbar // // Show progressbar ShowProgressbar *bool `json:"show_progressbar,omitempty"` // Show Warnings // // Show warnings in console. ShowWarnings interface{} `json:"show_warnings,omitempty"` // Sigma Max // // sigma max SigmaMax interface{} `json:"sigma_max,omitempty"` // Sigma Min // // sigma min SigmaMin interface{} `json:"sigma_min,omitempty"` // Target Side Length // // Width/height limit for the above option, in pixels TargetSideLength *float64 `json:"target_side_length,omitempty"` // Temp Dir // // Directory for temporary images; leave empty for default TempDir interface{} `json:"temp_dir,omitempty"` // Textual Inversion Add Hashes To Infotext // // Add Textual Inversion hashes to infotext TextualInversionAddHashesToInfotext *bool `json:"textual_inversion_add_hashes_to_infotext,omitempty"` // Textual Inversion Print At Load // // Print a list of Textual Inversion embeddings when loading model TextualInversionPrintAtLoad interface{} `json:"textual_inversion_print_at_load,omitempty"` // Token Merging Ratio // // Token merging ratio TokenMergingRatio interface{} `json:"token_merging_ratio,omitempty"` // Token Merging Ratio Hr // // Token merging ratio for high-res pass TokenMergingRatioHr interface{} `json:"token_merging_ratio_hr,omitempty"` // Token Merging Ratio Img2Img // // Token merging ratio for img2img TokenMergingRatioImg2img interface{} `json:"token_merging_ratio_img2img,omitempty"` // Training Enable Tensorboard // // Enable tensorboard logging. TrainingEnableTensorboard interface{} `json:"training_enable_tensorboard,omitempty"` // Training Image Repeats Per Epoch // // Number of repeats for a single input image per epoch; used only for displaying epoch number TrainingImageRepeatsPerEpoch *float64 `json:"training_image_repeats_per_epoch,omitempty"` // Training Tensorboard Flush Every // // How often, in seconds, to flush the pending tensorboard events and summaries to disk. TrainingTensorboardFlushEvery *float64 `json:"training_tensorboard_flush_every,omitempty"` // Training Tensorboard Save Images // // Save generated images within tensorboard. TrainingTensorboardSaveImages interface{} `json:"training_tensorboard_save_images,omitempty"` // Training Write Csv Every // // Save an csv containing the loss to log directory every N steps, 0 to disable TrainingWriteCsvEvery *float64 `json:"training_write_csv_every,omitempty"` // Training Xattention Optimizations // // Use cross attention optimizations while training TrainingXattentionOptimizations interface{} `json:"training_xattention_optimizations,omitempty"` // Ui Extra Networks Tab Reorder // // Extra networks tab order UIExtraNetworksTabReorder interface{} `json:"ui_extra_networks_tab_reorder,omitempty"` // Ui Reorder List // // txt2img/img2img UI item order UIReorderList interface{} `json:"ui_reorder_list,omitempty"` // Ui Tab Order // // UI tab order UITabOrder interface{} `json:"ui_tab_order,omitempty"` // Uni Pc Lower Order Final // // UniPC lower order final UniPcLowerOrderFinal *bool `json:"uni_pc_lower_order_final,omitempty"` // Uni Pc Order // // UniPC order UniPcOrder *float64 `json:"uni_pc_order,omitempty"` // Uni Pc Skip Type // // UniPC skip type UniPcSkipType *string `json:"uni_pc_skip_type,omitempty"` // Uni Pc Variant // // UniPC variant UniPcVariant *string `json:"uni_pc_variant,omitempty"` // Unload Models When Training // // Move VAE and CLIP to RAM when training if possible. Saves VRAM. UnloadModelsWhenTraining interface{} `json:"unload_models_when_training,omitempty"` // Upcast Attn // // Upcast cross attention layer to float32 UpcastAttn interface{} `json:"upcast_attn,omitempty"` // Upscaler For Img2Img // // Upscaler for img2img UpscalerForImg2img interface{} `json:"upscaler_for_img2img,omitempty"` // Upscaling Max Images In Cache // // Maximum number of images in upscaling cache UpscalingMaxImagesInCache *float64 `json:"upscaling_max_images_in_cache,omitempty"` // Use Old Emphasis Implementation // // Use old emphasis implementation. Can be useful to reproduce old seeds. UseOldEmphasisImplementation interface{} `json:"use_old_emphasis_implementation,omitempty"` // Use Old Hires Fix Width Height // // 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"` // Use Old Karras Scheduler Sigmas // // Use old karras scheduler sigmas (0.1 to 10). UseOldKarrasSchedulerSigmas interface{} `json:"use_old_karras_scheduler_sigmas,omitempty"` // Use Original Name Batch // // Use original name for output filename during batch process in extras tab UseOriginalNameBatch *bool `json:"use_original_name_batch,omitempty"` // Use Save To Dirs For Ui // // When using "Save" button, save images to a subdirectory UseSaveToDirsForUI interface{} `json:"use_save_to_dirs_for_ui,omitempty"` // Use Upscaler Name As Suffix // // Use upscaler name as filename suffix in the extras tab UseUpscalerNameAsSuffix interface{} `json:"use_upscaler_name_as_suffix,omitempty"` // Webp Lossless // // Use lossless compression for webp images WebpLossless interface{} `json:"webp_lossless,omitempty"` }
Options Options
swagger:model Options
func (*Options) ContextValidate ¶
ContextValidate validates this options based on context it is used
func (*Options) MarshalBinary ¶
MarshalBinary interface implementation
func (*Options) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PNGInfoRequest ¶
type PNGInfoRequest struct { // Image // // The base64 encoded PNG image // Required: true Image *string `json:"image"` }
PNGInfoRequest PNGInfoRequest
swagger:model PNGInfoRequest
func (*PNGInfoRequest) ContextValidate ¶
ContextValidate validates this p n g info request based on context it is used
func (*PNGInfoRequest) MarshalBinary ¶
func (m *PNGInfoRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PNGInfoRequest) UnmarshalBinary ¶
func (m *PNGInfoRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PNGInfoResponse ¶
type PNGInfoResponse struct { // Image info // // A string with the parameters used to generate the image // Required: true Info *string `json:"info"` // Items // // An object containing all the info the image had // Required: true Items interface{} `json:"items"` }
PNGInfoResponse PNGInfoResponse
swagger:model PNGInfoResponse
func (*PNGInfoResponse) ContextValidate ¶
ContextValidate validates this p n g info response based on context it is used
func (*PNGInfoResponse) MarshalBinary ¶
func (m *PNGInfoResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PNGInfoResponse) UnmarshalBinary ¶
func (m *PNGInfoResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PathsReq ¶
type PathsReq struct { // Paths // Required: true Paths []string `json:"paths"` }
PathsReq PathsReq
swagger:model PathsReq
func (*PathsReq) ContextValidate ¶
ContextValidate validates this paths req based on context it is used
func (*PathsReq) MarshalBinary ¶
MarshalBinary interface implementation
func (*PathsReq) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PredictBody ¶
type PredictBody struct { // Batched Batched *bool `json:"batched,omitempty"` // Data // Required: true Data []interface{} `json:"data"` // Event Data EventData interface{} `json:"event_data,omitempty"` // Event Id EventID string `json:"event_id,omitempty"` // Fn Index FnIndex int64 `json:"fn_index,omitempty"` // Request Request interface{} `json:"request,omitempty"` // Session Hash SessionHash string `json:"session_hash,omitempty"` }
PredictBody PredictBody
swagger:model PredictBody
func (*PredictBody) ContextValidate ¶
ContextValidate validates this predict body based on context it is used
func (*PredictBody) MarshalBinary ¶
func (m *PredictBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PredictBody) UnmarshalBinary ¶
func (m *PredictBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PreprocessResponse ¶
type PreprocessResponse struct { // Preprocess info // // Response string from preprocessing task. // Required: true Info *string `json:"info"` }
PreprocessResponse PreprocessResponse
swagger:model PreprocessResponse
func (*PreprocessResponse) ContextValidate ¶
ContextValidate validates this preprocess response based on context it is used
func (*PreprocessResponse) MarshalBinary ¶
func (m *PreprocessResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PreprocessResponse) UnmarshalBinary ¶
func (m *PreprocessResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProgressRequest ¶
type ProgressRequest struct { // Live preview image ID // // id of last received last preview image IDLivePreview *int64 `json:"id_live_preview,omitempty"` // Task ID // // id of the task to get progress for IDTask string `json:"id_task,omitempty"` }
ProgressRequest ProgressRequest
swagger:model ProgressRequest
func (*ProgressRequest) ContextValidate ¶
ContextValidate validates this progress request based on context it is used
func (*ProgressRequest) MarshalBinary ¶
func (m *ProgressRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProgressRequest) UnmarshalBinary ¶
func (m *ProgressRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PromptStyleItem ¶
type PromptStyleItem struct { // Name // Required: true Name *string `json:"name"` // Negative Prompt NegativePrompt string `json:"negative_prompt,omitempty"` // Prompt Prompt string `json:"prompt,omitempty"` }
PromptStyleItem PromptStyleItem
swagger:model PromptStyleItem
func (*PromptStyleItem) ContextValidate ¶
ContextValidate validates this prompt style item based on context it is used
func (*PromptStyleItem) MarshalBinary ¶
func (m *PromptStyleItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PromptStyleItem) UnmarshalBinary ¶
func (m *PromptStyleItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type QuicksettingsHint ¶
type QuicksettingsHint struct { // Label of the quicksettings field // Required: true Label *string `json:"label"` // Name of the quicksettings field // Required: true Name *string `json:"name"` }
QuicksettingsHint QuicksettingsHint
swagger:model QuicksettingsHint
func (*QuicksettingsHint) ContextValidate ¶
ContextValidate validates this quicksettings hint based on context it is used
func (*QuicksettingsHint) MarshalBinary ¶
func (m *QuicksettingsHint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QuicksettingsHint) UnmarshalBinary ¶
func (m *QuicksettingsHint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RealesrganItem ¶
type RealesrganItem struct { // Name // Required: true Name *string `json:"name"` // Path Path string `json:"path,omitempty"` // Scale Scale int64 `json:"scale,omitempty"` }
RealesrganItem RealesrganItem
swagger:model RealesrganItem
func (*RealesrganItem) ContextValidate ¶
ContextValidate validates this realesrgan item based on context it is used
func (*RealesrganItem) MarshalBinary ¶
func (m *RealesrganItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RealesrganItem) UnmarshalBinary ¶
func (m *RealesrganItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RemoveCustomTagFromReq ¶
type RemoveCustomTagFromReq struct { // Img Id // Required: true ImgID *int64 `json:"img_id"` // Tag Id // Required: true TagID *string `json:"tag_id"` }
RemoveCustomTagFromReq RemoveCustomTagFromReq
swagger:model RemoveCustomTagFromReq
func (*RemoveCustomTagFromReq) ContextValidate ¶
func (m *RemoveCustomTagFromReq) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this remove custom tag from req based on context it is used
func (*RemoveCustomTagFromReq) MarshalBinary ¶
func (m *RemoveCustomTagFromReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RemoveCustomTagFromReq) UnmarshalBinary ¶
func (m *RemoveCustomTagFromReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RemoveCustomTagReq ¶
type RemoveCustomTagReq struct { // Tag Id // Required: true TagID *string `json:"tag_id"` }
RemoveCustomTagReq RemoveCustomTagReq
swagger:model RemoveCustomTagReq
func (*RemoveCustomTagReq) ContextValidate ¶
ContextValidate validates this remove custom tag req based on context it is used
func (*RemoveCustomTagReq) MarshalBinary ¶
func (m *RemoveCustomTagReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RemoveCustomTagReq) UnmarshalBinary ¶
func (m *RemoveCustomTagReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResetBody ¶
type ResetBody struct { // Fn Index // Required: true FnIndex *int64 `json:"fn_index"` // Session Hash // Required: true SessionHash *string `json:"session_hash"` }
ResetBody ResetBody
swagger:model ResetBody
func (*ResetBody) ContextValidate ¶
ContextValidate validates this reset body based on context it is used
func (*ResetBody) MarshalBinary ¶
MarshalBinary interface implementation
func (*ResetBody) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SDModelItem ¶
type SDModelItem struct { // Config file Config string `json:"config,omitempty"` // Filename // Required: true Filename *string `json:"filename"` // Short hash Hash string `json:"hash,omitempty"` // Model Name // Required: true ModelName *string `json:"model_name"` // sha256 hash Sha256 string `json:"sha256,omitempty"` // Title // Required: true Title *string `json:"title"` }
SDModelItem SDModelItem
swagger:model SDModelItem
func (*SDModelItem) ContextValidate ¶
ContextValidate validates this s d model item based on context it is used
func (*SDModelItem) MarshalBinary ¶
func (m *SDModelItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SDModelItem) UnmarshalBinary ¶
func (m *SDModelItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SDVaeItem ¶
type SDVaeItem struct { // Filename // Required: true Filename *string `json:"filename"` // Model Name // Required: true ModelName *string `json:"model_name"` }
SDVaeItem SDVaeItem
swagger:model SDVaeItem
func (*SDVaeItem) ContextValidate ¶
ContextValidate validates this s d vae item based on context it is used
func (*SDVaeItem) MarshalBinary ¶
MarshalBinary interface implementation
func (*SDVaeItem) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SamAreaRequest ¶
type SamAreaRequest struct { // Image // Required: true Image *string `json:"image"` // Model // Required: true Model *string `json:"model"` }
SamAreaRequest SamAreaRequest
swagger:model SamAreaRequest
func (*SamAreaRequest) ContextValidate ¶
ContextValidate validates this sam area request based on context it is used
func (*SamAreaRequest) MarshalBinary ¶
func (m *SamAreaRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SamAreaRequest) UnmarshalBinary ¶
func (m *SamAreaRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SamAreaResponse ¶
type SamAreaResponse struct { // Masks // Required: true Masks []*MaskItem `json:"masks"` }
SamAreaResponse SamAreaResponse
swagger:model SamAreaResponse
func (*SamAreaResponse) ContextValidate ¶
ContextValidate validate this sam area response based on the context it is used
func (*SamAreaResponse) MarshalBinary ¶
func (m *SamAreaResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SamAreaResponse) UnmarshalBinary ¶
func (m *SamAreaResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SamPredictRequest ¶
type SamPredictRequest struct { // Dino Box Threshold DinoBoxThreshold *float64 `json:"dino_box_threshold,omitempty"` // Dino Enabled DinoEnabled *bool `json:"dino_enabled,omitempty"` // Dino Model Name DinoModelName *string `json:"dino_model_name,omitempty"` // Dino Preview Boxes Selection DinoPreviewBoxesSelection []int64 `json:"dino_preview_boxes_selection"` // Dino Preview Checkbox DinoPreviewCheckbox *bool `json:"dino_preview_checkbox,omitempty"` // Dino Text Prompt DinoTextPrompt string `json:"dino_text_prompt,omitempty"` // Input Image // Required: true InputImage *string `json:"input_image"` // Sam Model Name SamModelName *string `json:"sam_model_name,omitempty"` // Sam Negative Points SamNegativePoints [][]float64 `json:"sam_negative_points"` // Sam Positive Points SamPositivePoints [][]float64 `json:"sam_positive_points"` }
SamPredictRequest SamPredictRequest
swagger:model SamPredictRequest
func (*SamPredictRequest) ContextValidate ¶
ContextValidate validates this sam predict request based on context it is used
func (*SamPredictRequest) MarshalBinary ¶
func (m *SamPredictRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SamPredictRequest) UnmarshalBinary ¶
func (m *SamPredictRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SamplerItem ¶
type SamplerItem struct { // Aliases // Required: true Aliases []string `json:"aliases"` // Name // Required: true Name *string `json:"name"` // Options // Required: true Options map[string]string `json:"options"` }
SamplerItem SamplerItem
swagger:model SamplerItem
func (*SamplerItem) ContextValidate ¶
ContextValidate validates this sampler item based on context it is used
func (*SamplerItem) MarshalBinary ¶
func (m *SamplerItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SamplerItem) UnmarshalBinary ¶
func (m *SamplerItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ScannedPathModel ¶
type ScannedPathModel struct { // Path // Required: true Path *string `json:"path"` }
ScannedPathModel ScannedPathModel
swagger:model ScannedPathModel
func (*ScannedPathModel) ContextValidate ¶
ContextValidate validates this scanned path model based on context it is used
func (*ScannedPathModel) MarshalBinary ¶
func (m *ScannedPathModel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ScannedPathModel) UnmarshalBinary ¶
func (m *ScannedPathModel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ScriptArg ¶
type ScriptArg struct { // Choices // // Possible values for the argument Choices []string `json:"choices"` // Label // // Name of the argument in UI Label string `json:"label,omitempty"` // Minimum // // 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"` // Minimum // // 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 ScriptArg
swagger:model ScriptArg
func (*ScriptArg) ContextValidate ¶
ContextValidate validates this script arg based on context it is used
func (*ScriptArg) MarshalBinary ¶
MarshalBinary interface implementation
func (*ScriptArg) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ScriptInfo ¶
type ScriptInfo struct { // Arguments // // List of script's arguments // Required: true 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 ScriptInfo
swagger:model ScriptInfo
func (*ScriptInfo) ContextValidate ¶
ContextValidate validate this script info based on the context it is used
func (*ScriptInfo) MarshalBinary ¶
func (m *ScriptInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ScriptInfo) UnmarshalBinary ¶
func (m *ScriptInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ScriptsList ¶
type ScriptsList struct { // Img2img // // Titles of scripts (img2img) Img2img []interface{} `json:"img2img"` // Txt2img // // Titles of scripts (txt2img) Txt2img []interface{} `json:"txt2img"` }
ScriptsList ScriptsList
swagger:model ScriptsList
func (*ScriptsList) ContextValidate ¶
ContextValidate validates this scripts list based on context it is used
func (*ScriptsList) MarshalBinary ¶
func (m *ScriptsList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ScriptsList) UnmarshalBinary ¶
func (m *ScriptsList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StableDiffusionProcessingImg2Img ¶
type StableDiffusionProcessingImg2Img struct { // Alwayson Scripts AlwaysonScripts interface{} `json:"alwayson_scripts,omitempty"` // Batch Size BatchSize *int64 `json:"batch_size,omitempty"` // Cfg Scale CfgScale *float64 `json:"cfg_scale,omitempty"` // Comments Comments interface{} `json:"comments,omitempty"` // Denoising Strength DenoisingStrength *float64 `json:"denoising_strength,omitempty"` // Disable Extra Networks DisableExtraNetworks *bool `json:"disable_extra_networks,omitempty"` // Do Not Save Grid DoNotSaveGrid *bool `json:"do_not_save_grid,omitempty"` // Do Not Save Samples DoNotSaveSamples *bool `json:"do_not_save_samples,omitempty"` // Eta Eta float64 `json:"eta,omitempty"` // Height Height *int64 `json:"height,omitempty"` // Image Cfg Scale ImageCfgScale float64 `json:"image_cfg_scale,omitempty"` // Include Init Images IncludeInitImages *bool `json:"include_init_images,omitempty"` // Init Images InitImages []interface{} `json:"init_images"` // Initial Noise Multiplier InitialNoiseMultiplier float64 `json:"initial_noise_multiplier,omitempty"` // Inpaint Full Res InpaintFullRes *bool `json:"inpaint_full_res,omitempty"` // Inpaint Full Res Padding InpaintFullResPadding int64 `json:"inpaint_full_res_padding,omitempty"` // Inpainting Fill InpaintingFill int64 `json:"inpainting_fill,omitempty"` // Inpainting Mask Invert InpaintingMaskInvert int64 `json:"inpainting_mask_invert,omitempty"` // Latent Mask LatentMask string `json:"latent_mask,omitempty"` // Mask Mask string `json:"mask,omitempty"` // Mask Blur MaskBlur int64 `json:"mask_blur,omitempty"` // Mask Blur X MaskBlurx *int64 `json:"mask_blur_x,omitempty"` // Mask Blur Y MaskBlury *int64 `json:"mask_blur_y,omitempty"` // N Iter NIter *int64 `json:"n_iter,omitempty"` // Negative Prompt NegativePrompt string `json:"negative_prompt,omitempty"` // Override Settings OverrideSettings interface{} `json:"override_settings,omitempty"` // Override Settings Restore Afterwards OverrideSettingsRestoreAfterwards *bool `json:"override_settings_restore_afterwards,omitempty"` // Prompt Prompt string `json:"prompt,omitempty"` // Refiner Checkpoint RefinerCheckpoint string `json:"refiner_checkpoint,omitempty"` // Refiner Switch At RefinerSwitchAt float64 `json:"refiner_switch_at,omitempty"` // Resize Mode ResizeMode int64 `json:"resize_mode,omitempty"` // Restore Faces RestoreFaces bool `json:"restore_faces,omitempty"` // S Churn SChurn float64 `json:"s_churn,omitempty"` // S Min Uncond SMinUncond float64 `json:"s_min_uncond,omitempty"` // S Noise SNoise float64 `json:"s_noise,omitempty"` // S Tmax STmax float64 `json:"s_tmax,omitempty"` // S Tmin STmin float64 `json:"s_tmin,omitempty"` // Sampler Index SamplerIndex *string `json:"sampler_index,omitempty"` // Sampler Name SamplerName string `json:"sampler_name,omitempty"` // Scheduler Type Scheduler string `json:"scheduler,omitempty"` // Save Images SaveImages *bool `json:"save_images,omitempty"` // Script Args ScriptArgs []interface{} `json:"script_args"` // Script Name ScriptName string `json:"script_name,omitempty"` // Seed Seed *int64 `json:"seed,omitempty"` // Seed Resize From H SeedResizeFromh *int64 `json:"seed_resize_from_h,omitempty"` // Seed Resize From W SeedResizeFromw *int64 `json:"seed_resize_from_w,omitempty"` // Send Images SendImages *bool `json:"send_images,omitempty"` // Steps Steps *int64 `json:"steps,omitempty"` // Styles Styles []string `json:"styles"` // Subseed Subseed *int64 `json:"subseed,omitempty"` // Subseed Strength SubseedStrength float64 `json:"subseed_strength,omitempty"` // Tiling Tiling bool `json:"tiling,omitempty"` // Width Width *int64 `json:"width,omitempty"` }
StableDiffusionProcessingImg2Img StableDiffusionProcessingImg2Img
swagger:model StableDiffusionProcessingImg2Img
func (*StableDiffusionProcessingImg2Img) ContextValidate ¶
func (m *StableDiffusionProcessingImg2Img) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this stable diffusion processing img2 img based on context it is used
func (*StableDiffusionProcessingImg2Img) MarshalBinary ¶
func (m *StableDiffusionProcessingImg2Img) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StableDiffusionProcessingImg2Img) UnmarshalBinary ¶
func (m *StableDiffusionProcessingImg2Img) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StableDiffusionProcessingTxt2Img ¶
type StableDiffusionProcessingTxt2Img struct { // Alwayson Scripts AlwaysonScripts interface{} `json:"alwayson_scripts,omitempty"` // Batch Size BatchSize *int64 `json:"batch_size,omitempty"` // Cfg Scale CfgScale *float64 `json:"cfg_scale,omitempty"` // Comments Comments interface{} `json:"comments,omitempty"` // Denoising Strength DenoisingStrength float64 `json:"denoising_strength,omitempty"` // Disable Extra Networks DisableExtraNetworks *bool `json:"disable_extra_networks,omitempty"` // Do Not Save Grid DoNotSaveGrid *bool `json:"do_not_save_grid,omitempty"` // Do Not Save Samples DoNotSaveSamples *bool `json:"do_not_save_samples,omitempty"` // Enable Hr EnableHr *bool `json:"enable_hr,omitempty"` // Eta Eta float64 `json:"eta,omitempty"` // Firstphase Height FirstphaseHeight int64 `json:"firstphase_height,omitempty"` // Firstphase Width FirstphaseWidth int64 `json:"firstphase_width,omitempty"` // Height Height *int64 `json:"height,omitempty"` // Hr Checkpoint Name HrCheckpointName string `json:"hr_checkpoint_name,omitempty"` // Hr Negative Prompt HrNegativePrompt string `json:"hr_negative_prompt,omitempty"` // Hr Prompt HrPrompt string `json:"hr_prompt,omitempty"` // Hr Resize X HrResizex int64 `json:"hr_resize_x,omitempty"` // Hr Resize Y HrResizey int64 `json:"hr_resize_y,omitempty"` // Hr Sampler Name HrSamplerName string `json:"hr_sampler_name,omitempty"` // Hr Scale HrScale *float64 `json:"hr_scale,omitempty"` // Hr Second Pass Steps HrSecondPassSteps int64 `json:"hr_second_pass_steps,omitempty"` // Hr Upscaler HrUpscaler string `json:"hr_upscaler,omitempty"` // N Iter NIter *int64 `json:"n_iter,omitempty"` // Negative Prompt NegativePrompt string `json:"negative_prompt,omitempty"` // Override Settings OverrideSettings interface{} `json:"override_settings,omitempty"` // Override Settings Restore Afterwards OverrideSettingsRestoreAfterwards *bool `json:"override_settings_restore_afterwards,omitempty"` // Prompt Prompt string `json:"prompt,omitempty"` // Refiner Checkpoint RefinerCheckpoint string `json:"refiner_checkpoint,omitempty"` // Refiner Switch At RefinerSwitchAt float64 `json:"refiner_switch_at,omitempty"` // Restore Faces RestoreFaces bool `json:"restore_faces,omitempty"` // S Churn SChurn float64 `json:"s_churn,omitempty"` // S Min Uncond SMinUncond float64 `json:"s_min_uncond,omitempty"` // S Noise SNoise float64 `json:"s_noise,omitempty"` // S Tmax STmax float64 `json:"s_tmax,omitempty"` // S Tmin STmin float64 `json:"s_tmin,omitempty"` // Sampler Index SamplerIndex *string `json:"sampler_index,omitempty"` // Sampler Name SamplerName string `json:"sampler_name,omitempty"` // Scheduler Type Scheduler string `json:"scheduler,omitempty"` // Save Images SaveImages *bool `json:"save_images,omitempty"` // Script Args ScriptArgs []interface{} `json:"script_args"` // Script Name ScriptName string `json:"script_name,omitempty"` // Seed Seed *int64 `json:"seed,omitempty"` // Seed Resize From H SeedResizeFromh *int64 `json:"seed_resize_from_h,omitempty"` // Seed Resize From W SeedResizeFromw *int64 `json:"seed_resize_from_w,omitempty"` // Send Images SendImages *bool `json:"send_images,omitempty"` // Steps Steps *int64 `json:"steps,omitempty"` // Styles Styles []string `json:"styles"` // Subseed Subseed *int64 `json:"subseed,omitempty"` // Subseed Strength SubseedStrength float64 `json:"subseed_strength,omitempty"` // Tiling Tiling bool `json:"tiling,omitempty"` // Width Width *int64 `json:"width,omitempty"` }
StableDiffusionProcessingTxt2Img StableDiffusionProcessingTxt2Img
swagger:model StableDiffusionProcessingTxt2Img
func (*StableDiffusionProcessingTxt2Img) ContextValidate ¶
func (m *StableDiffusionProcessingTxt2Img) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this stable diffusion processing txt2 img based on context it is used
func (*StableDiffusionProcessingTxt2Img) MarshalBinary ¶
func (m *StableDiffusionProcessingTxt2Img) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StableDiffusionProcessingTxt2Img) UnmarshalBinary ¶
func (m *StableDiffusionProcessingTxt2Img) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TextToImageResponse ¶
type TextToImageResponse struct { // Image // // The generated image in base64 format. Images []string `json:"images"` // Info // Required: true Info *string `json:"info"` // Parameters // Required: true Parameters interface{} `json:"parameters"` }
TextToImageResponse TextToImageResponse
swagger:model TextToImageResponse
func (*TextToImageResponse) ContextValidate ¶
ContextValidate validates this text to image response based on context it is used
func (*TextToImageResponse) MarshalBinary ¶
func (m *TextToImageResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TextToImageResponse) UnmarshalBinary ¶
func (m *TextToImageResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ToggleCustomTagToImgReq ¶
type ToggleCustomTagToImgReq struct { // Img Path // Required: true ImgPath *string `json:"img_path"` // Tag Id // Required: true TagID *int64 `json:"tag_id"` }
ToggleCustomTagToImgReq ToggleCustomTagToImgReq
swagger:model ToggleCustomTagToImgReq
func (*ToggleCustomTagToImgReq) ContextValidate ¶
func (m *ToggleCustomTagToImgReq) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this toggle custom tag to img req based on context it is used
func (*ToggleCustomTagToImgReq) MarshalBinary ¶
func (m *ToggleCustomTagToImgReq) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ToggleCustomTagToImgReq) UnmarshalBinary ¶
func (m *ToggleCustomTagToImgReq) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TrainResponse ¶
type TrainResponse struct { // Train info // // Response string from train embedding or hypernetwork task. // Required: true Info *string `json:"info"` }
TrainResponse TrainResponse
swagger:model TrainResponse
func (*TrainResponse) ContextValidate ¶
ContextValidate validates this train response based on context it is used
func (*TrainResponse) MarshalBinary ¶
func (m *TrainResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrainResponse) UnmarshalBinary ¶
func (m *TrainResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpscalerItem ¶
type UpscalerItem struct { // Model Name ModelName string `json:"model_name,omitempty"` // Path ModelPath string `json:"model_path,omitempty"` // URL ModelURL string `json:"model_url,omitempty"` // Name // Required: true Name *string `json:"name"` // Scale Scale float64 `json:"scale,omitempty"` }
UpscalerItem UpscalerItem
swagger:model UpscalerItem
func (*UpscalerItem) ContextValidate ¶
ContextValidate validates this upscaler item based on context it is used
func (*UpscalerItem) MarshalBinary ¶
func (m *UpscalerItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpscalerItem) UnmarshalBinary ¶
func (m *UpscalerItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ValidationError ¶
type ValidationError struct { // Location // Required: true Loc []interface{} `json:"loc"` // Message // Required: true Msg *string `json:"msg"` // Error Type // Required: true Type *string `json:"type"` }
ValidationError ValidationError
swagger:model ValidationError
func (*ValidationError) ContextValidate ¶
ContextValidate validates this validation error based on context it is used
func (*ValidationError) MarshalBinary ¶
func (m *ValidationError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ValidationError) UnmarshalBinary ¶
func (m *ValidationError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- add_custom_tag_req.go
- auto_s_a_m_config.go
- body_api_category_mask_sam_category_mask_post.go
- body_api_controlnet_seg_sam_controlnet_seg_post.go
- body_delete_model_dreambooth_model_delete.go
- body_deoldify_image_deoldify_image_post.go
- body_detect_controlnet_detect_post.go
- body_generate_classes_dreambooth_classifiers_post.go
- body_login_login_post.go
- body_rembg_remove_rembg_post.go
- body_roop_image_roop_image_post.go
- body_set_model_concept_dreambooth_concept_post.go
- body_set_model_concepts_dreambooth_concepts_post.go
- body_t2v_run_t2v_run_post.go
- body_upload_file_upload_post.go
- category_mask_request.go
- check_path_exists_req.go
- concept.go
- control_net_seg_request.go
- create_folders_req.go
- create_response.go
- d_i_n_o_predict_request.go
- db_images_request.go
- delete_files_req.go
- dilate_mask_request.go
- embedding_item.go
- embeddings_response.go
- estimation.go
- extras_batch_images_request.go
- extras_batch_images_response.go
- extras_single_image_request.go
- extras_single_image_response.go
- face_restorer_item.go
- file_data.go
- flags.go
- http_exception.go
- http_validation_error.go
- hypernetwork_item.go
- image_to_image_response.go
- instance_data.go
- interrogate_request.go
- latent_upscaler_mode_item.go
- mask_item.go
- match_images_by_tags_req.go
- memory_response.go
- modules_api_models_progress_response.go
- modules_progress_progress_response.go
- move_files_req.go
- ocr_predict_request.go
- ocr_predict_response.go
- ocr_result_item.go
- open_folder_req.go
- options.go
- p_n_g_info_request.go
- p_n_g_info_response.go
- paths_req.go
- predict_body.go
- preprocess_response.go
- progress_request.go
- prompt_style_item.go
- quicksettings_hint.go
- realesrgan_item.go
- remove_custom_tag_from_req.go
- remove_custom_tag_req.go
- reset_body.go
- s_d_model_item.go
- s_d_vae_item.go
- sam_area_request.go
- sam_area_response.go
- sam_predict_request.go
- sampler_item.go
- scanned_path_model.go
- script_arg.go
- script_info.go
- scripts_list.go
- stable_diffusion_processing_img2_img.go
- stable_diffusion_processing_txt2_img.go
- text_to_image_response.go
- toggle_custom_tag_to_img_req.go
- train_response.go
- upscaler_item.go
- validation_error.go