added imageinference api

Former-commit-id: 88cfe68d5d660c181f200719ea65c03eddce33b4
This commit is contained in:
tzwang 2024-06-19 16:24:51 +08:00
parent b4b93d2c09
commit cfecebc3b8
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,6 @@ syntax = "v1"
type (
InferOption {
TaskName string `json:"taskName"`
Images []string `form:"images"`
// AdapterId string `json:"adapterId"`
// AiClusterIds []string `json:"aiClusterIds"`
// ResourceType string `json:"resourceType"`
@ -23,6 +22,7 @@ type (
ImageInferenceReq {
InferOption *InferOption `json:"inferOption,optional"`
Images []string `form:"images"`
}
ImageInferenceResp {

View File

@ -5880,12 +5880,12 @@ type Category struct {
}
type InferOption struct {
TaskName string `json:"taskName"`
Images []string `form:"images"`
TaskName string `json:"taskName"`
}
type ImageInferenceReq struct {
InferOption *InferOption `json:"inferOption,optional"`
Images []string `form:"images"`
}
type ImageInferenceResp struct {