File tree Expand file tree Collapse file tree 1 file changed +20
-4
lines changed
Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * @Author: SpenserCai
3+ * @Date: 2023-08-14 17:36:46
4+ * @version:
5+ * @LastEditors: SpenserCai
6+ * @LastEditTime: 2023-09-08 15:14:59
7+ * @Description: file content
8+ */
19package intersvc
210
3- import (
4- // SdApiModel "github.com/SpenserCai/sd-webui-go/stablediffusion/models"
5- )
11+ // SdApiModel "github.com/SpenserCai/sd-webui-go/stablediffusion/models"
612
7- type SdapiV1LorasResponse struct {
13+ type LoraItemMetadata struct {
14+ SsSdModelName string `json:"ss_sd_model_name"`
15+ SsBaseModelVersion string `json:"ss_base_model_version"`
16+ }
817
18+ type LoraItem struct {
19+ Name string `json:"name"`
20+ Alias string `json:"alias"`
21+ Path string `json:"path"`
22+ Metadata LoraItemMetadata `json:"metadata"`
923}
24+
25+ type SdapiV1LorasResponse = []LoraItem
You can’t perform that action at this time.
0 commit comments