Documentation ¶
Overview ¶
* @Author: SpenserCai * @Date: 2023-08-16 11:05:40 * @version: * @LastEditors: SpenserCai * @LastEditTime: 2023-10-03 12:46:54 * @Description: file content
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { SDWebUi struct { Servers []ServerItem `json:"servers"` DefaultSetting DefaultSetting `json:"default_setting"` } `json:"sd_webui"` Discord struct { AppId string `json:"app_id"` Token string `json:"token"` ClientSecret string `json:"client_secret"` OAuth2RedirectUrl string `json:"oauth2_redirect_base_url"` ServerId string `json:"server_id"` BotName string `json:"bot_name"` BotAvatar string `json:"bot_avatar"` BotUrl string `json:"bot_url"` } `json:"discord"` UserCenter UserCenter `json:"user_center"` DisableReturnGenInfo bool `json:"disable_return_gen_info"` WebSite WebSite `json:"website"` }
type DefaultSetting ¶ added in v0.3.0
type DefaultSetting struct { CfgScale float64 `json:"cfg_scale"` NegativePrompt string `json:"negative_prompt"` Sampler string `json:"sampler"` Height int64 `json:"height"` Width int64 `json:"width"` Steps int64 `json:"steps"` Model string `json:"sd_model_checkpoint"` Vae string `json:"sd_vae"` ClipSkip int64 `json:"clip_skip"` }
type ServerItem ¶
type UserCenter ¶ added in v0.4.2
Click to show internal directories.
Click to hide internal directories.