Documentation ¶
Index ¶
- type AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest
- type AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) AliyunConsoleOpenApiQueryAliyunConsoleServcieList(request *AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest) (response *AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse, err error)
- func (client *Client) AliyunConsoleOpenApiQueryAliyunConsoleServcieListWithCallback(request *AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest, ...) <-chan int
- func (client *Client) AliyunConsoleOpenApiQueryAliyunConsoleServcieListWithChan(request *AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest) (<-chan *AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse, ...)
- func (client *Client) Personalizedtxt2imgAddInferenceJob(request *Personalizedtxt2imgAddInferenceJobRequest) (response *Personalizedtxt2imgAddInferenceJobResponse, err error)
- func (client *Client) Personalizedtxt2imgAddInferenceJobWithCallback(request *Personalizedtxt2imgAddInferenceJobRequest, ...) <-chan int
- func (client *Client) Personalizedtxt2imgAddInferenceJobWithChan(request *Personalizedtxt2imgAddInferenceJobRequest) (<-chan *Personalizedtxt2imgAddInferenceJobResponse, <-chan error)
- func (client *Client) Personalizedtxt2imgAddModelTrainJob(request *Personalizedtxt2imgAddModelTrainJobRequest) (response *Personalizedtxt2imgAddModelTrainJobResponse, err error)
- func (client *Client) Personalizedtxt2imgAddModelTrainJobWithCallback(request *Personalizedtxt2imgAddModelTrainJobRequest, ...) <-chan int
- func (client *Client) Personalizedtxt2imgAddModelTrainJobWithChan(request *Personalizedtxt2imgAddModelTrainJobRequest) (<-chan *Personalizedtxt2imgAddModelTrainJobResponse, <-chan error)
- func (client *Client) Personalizedtxt2imgQueryImageAsset(request *Personalizedtxt2imgQueryImageAssetRequest) (response *Personalizedtxt2imgQueryImageAssetResponse, err error)
- func (client *Client) Personalizedtxt2imgQueryImageAssetWithCallback(request *Personalizedtxt2imgQueryImageAssetRequest, ...) <-chan int
- func (client *Client) Personalizedtxt2imgQueryImageAssetWithChan(request *Personalizedtxt2imgQueryImageAssetRequest) (<-chan *Personalizedtxt2imgQueryImageAssetResponse, <-chan error)
- func (client *Client) Personalizedtxt2imgQueryInferenceJobInfo(request *Personalizedtxt2imgQueryInferenceJobInfoRequest) (response *Personalizedtxt2imgQueryInferenceJobInfoResponse, err error)
- func (client *Client) Personalizedtxt2imgQueryInferenceJobInfoWithCallback(request *Personalizedtxt2imgQueryInferenceJobInfoRequest, ...) <-chan int
- func (client *Client) Personalizedtxt2imgQueryInferenceJobInfoWithChan(request *Personalizedtxt2imgQueryInferenceJobInfoRequest) (<-chan *Personalizedtxt2imgQueryInferenceJobInfoResponse, <-chan error)
- func (client *Client) Personalizedtxt2imgQueryModelTrainJobList(request *Personalizedtxt2imgQueryModelTrainJobListRequest) (response *Personalizedtxt2imgQueryModelTrainJobListResponse, err error)
- func (client *Client) Personalizedtxt2imgQueryModelTrainJobListWithCallback(request *Personalizedtxt2imgQueryModelTrainJobListRequest, ...) <-chan int
- func (client *Client) Personalizedtxt2imgQueryModelTrainJobListWithChan(request *Personalizedtxt2imgQueryModelTrainJobListRequest) (<-chan *Personalizedtxt2imgQueryModelTrainJobListResponse, <-chan error)
- func (client *Client) Personalizedtxt2imgQueryModelTrainStatus(request *Personalizedtxt2imgQueryModelTrainStatusRequest) (response *Personalizedtxt2imgQueryModelTrainStatusResponse, err error)
- func (client *Client) Personalizedtxt2imgQueryModelTrainStatusWithCallback(request *Personalizedtxt2imgQueryModelTrainStatusRequest, ...) <-chan int
- func (client *Client) Personalizedtxt2imgQueryModelTrainStatusWithChan(request *Personalizedtxt2imgQueryModelTrainStatusRequest) (<-chan *Personalizedtxt2imgQueryModelTrainStatusResponse, <-chan error)
- type Data
- type DataInAliyunConsoleOpenApiQueryAliyunConsoleServcieList
- type DataInPersonalizedtxt2imgQueryModelTrainJobList
- type DataItem
- type ImageUrlInPersonalizedtxt2imgAddModelTrainJob
- type ImageUrlInPersonalizedtxt2imgQueryModelTrainJobList
- type InferenceJobListInPersonalizedtxt2imgAddModelTrainJob
- type InferenceJobListInPersonalizedtxt2imgQueryModelTrainJobList
- type InferenceJobListItem
- type Personalizedtxt2imgAddInferenceJobRequest
- type Personalizedtxt2imgAddInferenceJobResponse
- type Personalizedtxt2imgAddModelTrainJobRequest
- type Personalizedtxt2imgAddModelTrainJobResponse
- type Personalizedtxt2imgQueryImageAssetRequest
- type Personalizedtxt2imgQueryImageAssetResponse
- type Personalizedtxt2imgQueryInferenceJobInfoRequest
- type Personalizedtxt2imgQueryInferenceJobInfoResponse
- type Personalizedtxt2imgQueryModelTrainJobListRequest
- type Personalizedtxt2imgQueryModelTrainJobListResponse
- type Personalizedtxt2imgQueryModelTrainStatusRequest
- type Personalizedtxt2imgQueryModelTrainStatusResponse
- type ResultImageUrlInPersonalizedtxt2imgAddInferenceJob
- type ResultImageUrlInPersonalizedtxt2imgAddModelTrainJob
- type ResultImageUrlInPersonalizedtxt2imgQueryInferenceJobInfo
- type ResultImageUrlInPersonalizedtxt2imgQueryModelTrainJobList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest ¶
type AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest struct {
*requests.RoaRequest
}
AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest is the request struct for api AliyunConsoleOpenApiQueryAliyunConsoleServcieList
func CreateAliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest ¶
func CreateAliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest() (request *AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest)
CreateAliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest creates a request to invoke AliyunConsoleOpenApiQueryAliyunConsoleServcieList API
type AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse ¶
type AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse struct { *responses.BaseResponse RequestId string `json:"requestId" xml:"requestId"` Success bool `json:"success" xml:"success"` ErrCode string `json:"errCode" xml:"errCode"` ErrMessage string `json:"errMessage" xml:"errMessage"` HttpStatusCode int `json:"httpStatusCode" xml:"httpStatusCode"` Data []DataItem `json:"data" xml:"data"` }
AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse is the response struct for api AliyunConsoleOpenApiQueryAliyunConsoleServcieList
func CreateAliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse ¶
func CreateAliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse() (response *AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse)
CreateAliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse creates a response to parse from AliyunConsoleOpenApiQueryAliyunConsoleServcieList response
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithEcsRamRole ¶
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithOptions ¶
func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client
func NewClientWithProvider ¶
func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArn ¶
func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArnAndPolicy ¶
func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRsaKeyPair ¶
func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithStsToken ¶
func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func (*Client) AliyunConsoleOpenApiQueryAliyunConsoleServcieList ¶
func (client *Client) AliyunConsoleOpenApiQueryAliyunConsoleServcieList(request *AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest) (response *AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse, err error)
AliyunConsoleOpenApiQueryAliyunConsoleServcieList invokes the aicontent.AliyunConsoleOpenApiQueryAliyunConsoleServcieList API synchronously
func (*Client) AliyunConsoleOpenApiQueryAliyunConsoleServcieListWithCallback ¶
func (client *Client) AliyunConsoleOpenApiQueryAliyunConsoleServcieListWithCallback(request *AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest, callback func(response *AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse, err error)) <-chan int
AliyunConsoleOpenApiQueryAliyunConsoleServcieListWithCallback invokes the aicontent.AliyunConsoleOpenApiQueryAliyunConsoleServcieList API asynchronously
func (*Client) AliyunConsoleOpenApiQueryAliyunConsoleServcieListWithChan ¶
func (client *Client) AliyunConsoleOpenApiQueryAliyunConsoleServcieListWithChan(request *AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest) (<-chan *AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse, <-chan error)
AliyunConsoleOpenApiQueryAliyunConsoleServcieListWithChan invokes the aicontent.AliyunConsoleOpenApiQueryAliyunConsoleServcieList API asynchronously
func (*Client) Personalizedtxt2imgAddInferenceJob ¶
func (client *Client) Personalizedtxt2imgAddInferenceJob(request *Personalizedtxt2imgAddInferenceJobRequest) (response *Personalizedtxt2imgAddInferenceJobResponse, err error)
Personalizedtxt2imgAddInferenceJob invokes the aicontent.Personalizedtxt2imgAddInferenceJob API synchronously
func (*Client) Personalizedtxt2imgAddInferenceJobWithCallback ¶
func (client *Client) Personalizedtxt2imgAddInferenceJobWithCallback(request *Personalizedtxt2imgAddInferenceJobRequest, callback func(response *Personalizedtxt2imgAddInferenceJobResponse, err error)) <-chan int
Personalizedtxt2imgAddInferenceJobWithCallback invokes the aicontent.Personalizedtxt2imgAddInferenceJob API asynchronously
func (*Client) Personalizedtxt2imgAddInferenceJobWithChan ¶
func (client *Client) Personalizedtxt2imgAddInferenceJobWithChan(request *Personalizedtxt2imgAddInferenceJobRequest) (<-chan *Personalizedtxt2imgAddInferenceJobResponse, <-chan error)
Personalizedtxt2imgAddInferenceJobWithChan invokes the aicontent.Personalizedtxt2imgAddInferenceJob API asynchronously
func (*Client) Personalizedtxt2imgAddModelTrainJob ¶
func (client *Client) Personalizedtxt2imgAddModelTrainJob(request *Personalizedtxt2imgAddModelTrainJobRequest) (response *Personalizedtxt2imgAddModelTrainJobResponse, err error)
Personalizedtxt2imgAddModelTrainJob invokes the aicontent.Personalizedtxt2imgAddModelTrainJob API synchronously
func (*Client) Personalizedtxt2imgAddModelTrainJobWithCallback ¶
func (client *Client) Personalizedtxt2imgAddModelTrainJobWithCallback(request *Personalizedtxt2imgAddModelTrainJobRequest, callback func(response *Personalizedtxt2imgAddModelTrainJobResponse, err error)) <-chan int
Personalizedtxt2imgAddModelTrainJobWithCallback invokes the aicontent.Personalizedtxt2imgAddModelTrainJob API asynchronously
func (*Client) Personalizedtxt2imgAddModelTrainJobWithChan ¶
func (client *Client) Personalizedtxt2imgAddModelTrainJobWithChan(request *Personalizedtxt2imgAddModelTrainJobRequest) (<-chan *Personalizedtxt2imgAddModelTrainJobResponse, <-chan error)
Personalizedtxt2imgAddModelTrainJobWithChan invokes the aicontent.Personalizedtxt2imgAddModelTrainJob API asynchronously
func (*Client) Personalizedtxt2imgQueryImageAsset ¶
func (client *Client) Personalizedtxt2imgQueryImageAsset(request *Personalizedtxt2imgQueryImageAssetRequest) (response *Personalizedtxt2imgQueryImageAssetResponse, err error)
Personalizedtxt2imgQueryImageAsset invokes the aicontent.Personalizedtxt2imgQueryImageAsset API synchronously
func (*Client) Personalizedtxt2imgQueryImageAssetWithCallback ¶
func (client *Client) Personalizedtxt2imgQueryImageAssetWithCallback(request *Personalizedtxt2imgQueryImageAssetRequest, callback func(response *Personalizedtxt2imgQueryImageAssetResponse, err error)) <-chan int
Personalizedtxt2imgQueryImageAssetWithCallback invokes the aicontent.Personalizedtxt2imgQueryImageAsset API asynchronously
func (*Client) Personalizedtxt2imgQueryImageAssetWithChan ¶
func (client *Client) Personalizedtxt2imgQueryImageAssetWithChan(request *Personalizedtxt2imgQueryImageAssetRequest) (<-chan *Personalizedtxt2imgQueryImageAssetResponse, <-chan error)
Personalizedtxt2imgQueryImageAssetWithChan invokes the aicontent.Personalizedtxt2imgQueryImageAsset API asynchronously
func (*Client) Personalizedtxt2imgQueryInferenceJobInfo ¶
func (client *Client) Personalizedtxt2imgQueryInferenceJobInfo(request *Personalizedtxt2imgQueryInferenceJobInfoRequest) (response *Personalizedtxt2imgQueryInferenceJobInfoResponse, err error)
Personalizedtxt2imgQueryInferenceJobInfo invokes the aicontent.Personalizedtxt2imgQueryInferenceJobInfo API synchronously
func (*Client) Personalizedtxt2imgQueryInferenceJobInfoWithCallback ¶
func (client *Client) Personalizedtxt2imgQueryInferenceJobInfoWithCallback(request *Personalizedtxt2imgQueryInferenceJobInfoRequest, callback func(response *Personalizedtxt2imgQueryInferenceJobInfoResponse, err error)) <-chan int
Personalizedtxt2imgQueryInferenceJobInfoWithCallback invokes the aicontent.Personalizedtxt2imgQueryInferenceJobInfo API asynchronously
func (*Client) Personalizedtxt2imgQueryInferenceJobInfoWithChan ¶
func (client *Client) Personalizedtxt2imgQueryInferenceJobInfoWithChan(request *Personalizedtxt2imgQueryInferenceJobInfoRequest) (<-chan *Personalizedtxt2imgQueryInferenceJobInfoResponse, <-chan error)
Personalizedtxt2imgQueryInferenceJobInfoWithChan invokes the aicontent.Personalizedtxt2imgQueryInferenceJobInfo API asynchronously
func (*Client) Personalizedtxt2imgQueryModelTrainJobList ¶
func (client *Client) Personalizedtxt2imgQueryModelTrainJobList(request *Personalizedtxt2imgQueryModelTrainJobListRequest) (response *Personalizedtxt2imgQueryModelTrainJobListResponse, err error)
Personalizedtxt2imgQueryModelTrainJobList invokes the aicontent.Personalizedtxt2imgQueryModelTrainJobList API synchronously
func (*Client) Personalizedtxt2imgQueryModelTrainJobListWithCallback ¶
func (client *Client) Personalizedtxt2imgQueryModelTrainJobListWithCallback(request *Personalizedtxt2imgQueryModelTrainJobListRequest, callback func(response *Personalizedtxt2imgQueryModelTrainJobListResponse, err error)) <-chan int
Personalizedtxt2imgQueryModelTrainJobListWithCallback invokes the aicontent.Personalizedtxt2imgQueryModelTrainJobList API asynchronously
func (*Client) Personalizedtxt2imgQueryModelTrainJobListWithChan ¶
func (client *Client) Personalizedtxt2imgQueryModelTrainJobListWithChan(request *Personalizedtxt2imgQueryModelTrainJobListRequest) (<-chan *Personalizedtxt2imgQueryModelTrainJobListResponse, <-chan error)
Personalizedtxt2imgQueryModelTrainJobListWithChan invokes the aicontent.Personalizedtxt2imgQueryModelTrainJobList API asynchronously
func (*Client) Personalizedtxt2imgQueryModelTrainStatus ¶
func (client *Client) Personalizedtxt2imgQueryModelTrainStatus(request *Personalizedtxt2imgQueryModelTrainStatusRequest) (response *Personalizedtxt2imgQueryModelTrainStatusResponse, err error)
Personalizedtxt2imgQueryModelTrainStatus invokes the aicontent.Personalizedtxt2imgQueryModelTrainStatus API synchronously
func (*Client) Personalizedtxt2imgQueryModelTrainStatusWithCallback ¶
func (client *Client) Personalizedtxt2imgQueryModelTrainStatusWithCallback(request *Personalizedtxt2imgQueryModelTrainStatusRequest, callback func(response *Personalizedtxt2imgQueryModelTrainStatusResponse, err error)) <-chan int
Personalizedtxt2imgQueryModelTrainStatusWithCallback invokes the aicontent.Personalizedtxt2imgQueryModelTrainStatus API asynchronously
func (*Client) Personalizedtxt2imgQueryModelTrainStatusWithChan ¶
func (client *Client) Personalizedtxt2imgQueryModelTrainStatusWithChan(request *Personalizedtxt2imgQueryModelTrainStatusRequest) (<-chan *Personalizedtxt2imgQueryModelTrainStatusResponse, <-chan error)
Personalizedtxt2imgQueryModelTrainStatusWithChan invokes the aicontent.Personalizedtxt2imgQueryModelTrainStatus API asynchronously
type Data ¶
type Data struct { InferenceImageCount int `json:"inferenceImageCount" xml:"inferenceImageCount"` ModelTrainStatus string `json:"modelTrainStatus" xml:"modelTrainStatus"` PromptId string `json:"promptId" xml:"promptId"` ModelId string `json:"modelId" xml:"modelId"` JobTrainProgress string `json:"jobTrainProgress" xml:"jobTrainProgress"` Name string `json:"name" xml:"name"` ObjectType string `json:"objectType" xml:"objectType"` Id string `json:"id" xml:"id"` CreateTime string `json:"createTime" xml:"createTime"` JobStatus string `json:"jobStatus" xml:"jobStatus"` ResultImageUrl []string `json:"resultImageUrl" xml:"resultImageUrl"` ImageUrl []string `json:"imageUrl" xml:"imageUrl"` InferenceJobList []InferenceJobListItem `json:"inferenceJobList" xml:"inferenceJobList"` }
Data is a nested struct in aicontent response
type DataInAliyunConsoleOpenApiQueryAliyunConsoleServcieList ¶
type DataInAliyunConsoleOpenApiQueryAliyunConsoleServcieList struct {
DataItem []DataItem `json:"data" xml:"data"`
}
DataInAliyunConsoleOpenApiQueryAliyunConsoleServcieList is a nested struct in aicontent response
type DataInPersonalizedtxt2imgQueryModelTrainJobList ¶
type DataInPersonalizedtxt2imgQueryModelTrainJobList struct {
DataItem []DataItem `json:"data" xml:"data"`
}
DataInPersonalizedtxt2imgQueryModelTrainJobList is a nested struct in aicontent response
type DataItem ¶
type DataItem struct { InferenceImageCount int `json:"inferenceImageCount" xml:"inferenceImageCount"` FreeConcurrencyCount int `json:"FreeConcurrencyCount" xml:"FreeConcurrencyCount"` ModelId string `json:"modelId" xml:"modelId"` ServiceCode string `json:"ServiceCode" xml:"ServiceCode"` JobTrainProgress string `json:"jobTrainProgress" xml:"jobTrainProgress"` Name string `json:"name" xml:"name"` FreeCount int `json:"FreeCount" xml:"FreeCount"` ObjectType string `json:"objectType" xml:"objectType"` ServiceName string `json:"ServiceName" xml:"ServiceName"` Id string `json:"id" xml:"id"` CreateTime string `json:"createTime" xml:"createTime"` JobStatus string `json:"jobStatus" xml:"jobStatus"` ImageUrl []string `json:"imageUrl" xml:"imageUrl"` InferenceJobList []InferenceJobListItem `json:"inferenceJobList" xml:"inferenceJobList"` }
DataItem is a nested struct in aicontent response
type ImageUrlInPersonalizedtxt2imgAddModelTrainJob ¶ added in v1.62.803
type ImageUrlInPersonalizedtxt2imgAddModelTrainJob struct {
ImageUrl []string `json:"imageUrl" xml:"imageUrl"`
}
ImageUrlInPersonalizedtxt2imgAddModelTrainJob is a nested struct in aicontent response
type ImageUrlInPersonalizedtxt2imgQueryModelTrainJobList ¶
type ImageUrlInPersonalizedtxt2imgQueryModelTrainJobList struct {
ImageUrl []string `json:"imageUrl" xml:"imageUrl"`
}
ImageUrlInPersonalizedtxt2imgQueryModelTrainJobList is a nested struct in aicontent response
type InferenceJobListInPersonalizedtxt2imgAddModelTrainJob ¶ added in v1.62.803
type InferenceJobListInPersonalizedtxt2imgAddModelTrainJob struct {
InferenceJobListItem []InferenceJobListItem `json:"inferenceJobList" xml:"inferenceJobList"`
}
InferenceJobListInPersonalizedtxt2imgAddModelTrainJob is a nested struct in aicontent response
type InferenceJobListInPersonalizedtxt2imgQueryModelTrainJobList ¶
type InferenceJobListInPersonalizedtxt2imgQueryModelTrainJobList struct {
InferenceJobListItem []InferenceJobListItem `json:"inferenceJobList" xml:"inferenceJobList"`
}
InferenceJobListInPersonalizedtxt2imgQueryModelTrainJobList is a nested struct in aicontent response
type InferenceJobListItem ¶
type InferenceJobListItem struct { ModelId string `json:"modelId" xml:"modelId"` JobTrainProgress string `json:"jobTrainProgress" xml:"jobTrainProgress"` Id string `json:"id" xml:"id"` PromptId string `json:"promptId" xml:"promptId"` CreateTime string `json:"createTime" xml:"createTime"` JobStatus string `json:"jobStatus" xml:"jobStatus"` ResultImageUrl []string `json:"resultImageUrl" xml:"resultImageUrl"` }
InferenceJobListItem is a nested struct in aicontent response
type Personalizedtxt2imgAddInferenceJobRequest ¶
type Personalizedtxt2imgAddInferenceJobRequest struct { *requests.RoaRequest Body string `position:"Body" name:"body"` }
Personalizedtxt2imgAddInferenceJobRequest is the request struct for api Personalizedtxt2imgAddInferenceJob
func CreatePersonalizedtxt2imgAddInferenceJobRequest ¶
func CreatePersonalizedtxt2imgAddInferenceJobRequest() (request *Personalizedtxt2imgAddInferenceJobRequest)
CreatePersonalizedtxt2imgAddInferenceJobRequest creates a request to invoke Personalizedtxt2imgAddInferenceJob API
type Personalizedtxt2imgAddInferenceJobResponse ¶
type Personalizedtxt2imgAddInferenceJobResponse struct { *responses.BaseResponse RequestId string `json:"requestId" xml:"requestId"` Success bool `json:"success" xml:"success"` ErrCode string `json:"errCode" xml:"errCode"` ErrMessage string `json:"errMessage" xml:"errMessage"` HttpStatusCode int `json:"httpStatusCode" xml:"httpStatusCode"` Data Data `json:"data" xml:"data"` }
Personalizedtxt2imgAddInferenceJobResponse is the response struct for api Personalizedtxt2imgAddInferenceJob
func CreatePersonalizedtxt2imgAddInferenceJobResponse ¶
func CreatePersonalizedtxt2imgAddInferenceJobResponse() (response *Personalizedtxt2imgAddInferenceJobResponse)
CreatePersonalizedtxt2imgAddInferenceJobResponse creates a response to parse from Personalizedtxt2imgAddInferenceJob response
type Personalizedtxt2imgAddModelTrainJobRequest ¶
type Personalizedtxt2imgAddModelTrainJobRequest struct { *requests.RoaRequest Body string `position:"Body" name:"body"` }
Personalizedtxt2imgAddModelTrainJobRequest is the request struct for api Personalizedtxt2imgAddModelTrainJob
func CreatePersonalizedtxt2imgAddModelTrainJobRequest ¶
func CreatePersonalizedtxt2imgAddModelTrainJobRequest() (request *Personalizedtxt2imgAddModelTrainJobRequest)
CreatePersonalizedtxt2imgAddModelTrainJobRequest creates a request to invoke Personalizedtxt2imgAddModelTrainJob API
type Personalizedtxt2imgAddModelTrainJobResponse ¶
type Personalizedtxt2imgAddModelTrainJobResponse struct { *responses.BaseResponse RequestId string `json:"requestId" xml:"requestId"` Success bool `json:"success" xml:"success"` ErrCode string `json:"errCode" xml:"errCode"` ErrMessage string `json:"errMessage" xml:"errMessage"` HttpStatusCode int `json:"httpStatusCode" xml:"httpStatusCode"` Data Data `json:"data" xml:"data"` }
Personalizedtxt2imgAddModelTrainJobResponse is the response struct for api Personalizedtxt2imgAddModelTrainJob
func CreatePersonalizedtxt2imgAddModelTrainJobResponse ¶
func CreatePersonalizedtxt2imgAddModelTrainJobResponse() (response *Personalizedtxt2imgAddModelTrainJobResponse)
CreatePersonalizedtxt2imgAddModelTrainJobResponse creates a response to parse from Personalizedtxt2imgAddModelTrainJob response
type Personalizedtxt2imgQueryImageAssetRequest ¶
type Personalizedtxt2imgQueryImageAssetRequest struct { *requests.RoaRequest ImageId string `position:"Query" name:"imageId"` ModelId string `position:"Query" name:"modelId"` EncodeFormat string `position:"Query" name:"encodeFormat"` PromptId string `position:"Query" name:"promptId"` }
Personalizedtxt2imgQueryImageAssetRequest is the request struct for api Personalizedtxt2imgQueryImageAsset
func CreatePersonalizedtxt2imgQueryImageAssetRequest ¶
func CreatePersonalizedtxt2imgQueryImageAssetRequest() (request *Personalizedtxt2imgQueryImageAssetRequest)
CreatePersonalizedtxt2imgQueryImageAssetRequest creates a request to invoke Personalizedtxt2imgQueryImageAsset API
type Personalizedtxt2imgQueryImageAssetResponse ¶
type Personalizedtxt2imgQueryImageAssetResponse struct {
*responses.BaseResponse
}
Personalizedtxt2imgQueryImageAssetResponse is the response struct for api Personalizedtxt2imgQueryImageAsset
func CreatePersonalizedtxt2imgQueryImageAssetResponse ¶
func CreatePersonalizedtxt2imgQueryImageAssetResponse() (response *Personalizedtxt2imgQueryImageAssetResponse)
CreatePersonalizedtxt2imgQueryImageAssetResponse creates a response to parse from Personalizedtxt2imgQueryImageAsset response
type Personalizedtxt2imgQueryInferenceJobInfoRequest ¶
type Personalizedtxt2imgQueryInferenceJobInfoRequest struct { *requests.RoaRequest InferenceJobId string `position:"Query" name:"inferenceJobId"` }
Personalizedtxt2imgQueryInferenceJobInfoRequest is the request struct for api Personalizedtxt2imgQueryInferenceJobInfo
func CreatePersonalizedtxt2imgQueryInferenceJobInfoRequest ¶
func CreatePersonalizedtxt2imgQueryInferenceJobInfoRequest() (request *Personalizedtxt2imgQueryInferenceJobInfoRequest)
CreatePersonalizedtxt2imgQueryInferenceJobInfoRequest creates a request to invoke Personalizedtxt2imgQueryInferenceJobInfo API
type Personalizedtxt2imgQueryInferenceJobInfoResponse ¶
type Personalizedtxt2imgQueryInferenceJobInfoResponse struct { *responses.BaseResponse RequestId string `json:"requestId" xml:"requestId"` Success bool `json:"success" xml:"success"` ErrCode string `json:"errCode" xml:"errCode"` ErrMessage string `json:"errMessage" xml:"errMessage"` HttpStatusCode int `json:"httpStatusCode" xml:"httpStatusCode"` Data Data `json:"data" xml:"data"` }
Personalizedtxt2imgQueryInferenceJobInfoResponse is the response struct for api Personalizedtxt2imgQueryInferenceJobInfo
func CreatePersonalizedtxt2imgQueryInferenceJobInfoResponse ¶
func CreatePersonalizedtxt2imgQueryInferenceJobInfoResponse() (response *Personalizedtxt2imgQueryInferenceJobInfoResponse)
CreatePersonalizedtxt2imgQueryInferenceJobInfoResponse creates a response to parse from Personalizedtxt2imgQueryInferenceJobInfo response
type Personalizedtxt2imgQueryModelTrainJobListRequest ¶
type Personalizedtxt2imgQueryModelTrainJobListRequest struct {
*requests.RoaRequest
}
Personalizedtxt2imgQueryModelTrainJobListRequest is the request struct for api Personalizedtxt2imgQueryModelTrainJobList
func CreatePersonalizedtxt2imgQueryModelTrainJobListRequest ¶
func CreatePersonalizedtxt2imgQueryModelTrainJobListRequest() (request *Personalizedtxt2imgQueryModelTrainJobListRequest)
CreatePersonalizedtxt2imgQueryModelTrainJobListRequest creates a request to invoke Personalizedtxt2imgQueryModelTrainJobList API
type Personalizedtxt2imgQueryModelTrainJobListResponse ¶
type Personalizedtxt2imgQueryModelTrainJobListResponse struct { *responses.BaseResponse RequestId string `json:"requestId" xml:"requestId"` Success bool `json:"success" xml:"success"` ErrCode string `json:"errCode" xml:"errCode"` ErrMessage string `json:"errMessage" xml:"errMessage"` HttpStatusCode int `json:"httpStatusCode" xml:"httpStatusCode"` Data []DataItem `json:"data" xml:"data"` }
Personalizedtxt2imgQueryModelTrainJobListResponse is the response struct for api Personalizedtxt2imgQueryModelTrainJobList
func CreatePersonalizedtxt2imgQueryModelTrainJobListResponse ¶
func CreatePersonalizedtxt2imgQueryModelTrainJobListResponse() (response *Personalizedtxt2imgQueryModelTrainJobListResponse)
CreatePersonalizedtxt2imgQueryModelTrainJobListResponse creates a response to parse from Personalizedtxt2imgQueryModelTrainJobList response
type Personalizedtxt2imgQueryModelTrainStatusRequest ¶
type Personalizedtxt2imgQueryModelTrainStatusRequest struct { *requests.RoaRequest ModelId string `position:"Query" name:"modelId"` }
Personalizedtxt2imgQueryModelTrainStatusRequest is the request struct for api Personalizedtxt2imgQueryModelTrainStatus
func CreatePersonalizedtxt2imgQueryModelTrainStatusRequest ¶
func CreatePersonalizedtxt2imgQueryModelTrainStatusRequest() (request *Personalizedtxt2imgQueryModelTrainStatusRequest)
CreatePersonalizedtxt2imgQueryModelTrainStatusRequest creates a request to invoke Personalizedtxt2imgQueryModelTrainStatus API
type Personalizedtxt2imgQueryModelTrainStatusResponse ¶
type Personalizedtxt2imgQueryModelTrainStatusResponse struct { *responses.BaseResponse RequestId string `json:"requestId" xml:"requestId"` Success bool `json:"success" xml:"success"` ErrCode string `json:"errCode" xml:"errCode"` ErrMessage string `json:"errMessage" xml:"errMessage"` HttpStatusCode int `json:"httpStatusCode" xml:"httpStatusCode"` Data Data `json:"data" xml:"data"` }
Personalizedtxt2imgQueryModelTrainStatusResponse is the response struct for api Personalizedtxt2imgQueryModelTrainStatus
func CreatePersonalizedtxt2imgQueryModelTrainStatusResponse ¶
func CreatePersonalizedtxt2imgQueryModelTrainStatusResponse() (response *Personalizedtxt2imgQueryModelTrainStatusResponse)
CreatePersonalizedtxt2imgQueryModelTrainStatusResponse creates a response to parse from Personalizedtxt2imgQueryModelTrainStatus response
type ResultImageUrlInPersonalizedtxt2imgAddInferenceJob ¶ added in v1.62.803
type ResultImageUrlInPersonalizedtxt2imgAddInferenceJob struct {
ResultImageUrl []string `json:"resultImageUrl" xml:"resultImageUrl"`
}
ResultImageUrlInPersonalizedtxt2imgAddInferenceJob is a nested struct in aicontent response
type ResultImageUrlInPersonalizedtxt2imgAddModelTrainJob ¶ added in v1.62.803
type ResultImageUrlInPersonalizedtxt2imgAddModelTrainJob struct {
ResultImageUrl []string `json:"resultImageUrl" xml:"resultImageUrl"`
}
ResultImageUrlInPersonalizedtxt2imgAddModelTrainJob is a nested struct in aicontent response
type ResultImageUrlInPersonalizedtxt2imgQueryInferenceJobInfo ¶ added in v1.62.803
type ResultImageUrlInPersonalizedtxt2imgQueryInferenceJobInfo struct {
ResultImageUrl []string `json:"resultImageUrl" xml:"resultImageUrl"`
}
ResultImageUrlInPersonalizedtxt2imgQueryInferenceJobInfo is a nested struct in aicontent response
type ResultImageUrlInPersonalizedtxt2imgQueryModelTrainJobList ¶
type ResultImageUrlInPersonalizedtxt2imgQueryModelTrainJobList struct {
ResultImageUrl []string `json:"resultImageUrl" xml:"resultImageUrl"`
}
ResultImageUrlInPersonalizedtxt2imgQueryModelTrainJobList is a nested struct in aicontent response
Source Files ¶
- aliyun_console_open_api_query_aliyun_console_servcie_list.go
- client.go
- personalizedtxt2img_add_inference_job.go
- personalizedtxt2img_add_model_train_job.go
- personalizedtxt2img_query_image_asset.go
- personalizedtxt2img_query_inference_job_info.go
- personalizedtxt2img_query_model_train_job_list.go
- personalizedtxt2img_query_model_train_status.go
- struct_data.go
- struct_data_in_aliyun_console_open_api_query_aliyun_console_servcie_list.go
- struct_data_in_personalizedtxt2img_query_model_train_job_list.go
- struct_data_item.go
- struct_image_url_in_personalizedtxt2img_add_model_train_job.go
- struct_image_url_in_personalizedtxt2img_query_model_train_job_list.go
- struct_inference_job_list_in_personalizedtxt2img_add_model_train_job.go
- struct_inference_job_list_in_personalizedtxt2img_query_model_train_job_list.go
- struct_inference_job_list_item.go
- struct_result_image_url_in_personalizedtxt2img_add_inference_job.go
- struct_result_image_url_in_personalizedtxt2img_add_model_train_job.go
- struct_result_image_url_in_personalizedtxt2img_query_inference_job_info.go
- struct_result_image_url_in_personalizedtxt2img_query_model_train_job_list.go