Documentation ¶
Index ¶
- type CancelVideoTaskApp
- type CancelVideoTaskRequest
- type CancelVideoTaskResponse
- type Channel
- 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) CancelVideoTask(request *CancelVideoTaskRequest) (response *CancelVideoTaskResponse, err error)
- func (client *Client) CancelVideoTaskWithCallback(request *CancelVideoTaskRequest, ...) <-chan int
- func (client *Client) CancelVideoTaskWithChan(request *CancelVideoTaskRequest) (<-chan *CancelVideoTaskResponse, <-chan error)
- func (client *Client) CloseTimedResetOperate(request *CloseTimedResetOperateRequest) (response *CloseTimedResetOperateResponse, err error)
- func (client *Client) CloseTimedResetOperateWithCallback(request *CloseTimedResetOperateRequest, ...) <-chan int
- func (client *Client) CloseTimedResetOperateWithChan(request *CloseTimedResetOperateRequest) (<-chan *CloseTimedResetOperateResponse, <-chan error)
- func (client *Client) DuplexDecision(request *DuplexDecisionRequest) (response *DuplexDecisionResponse, err error)
- func (client *Client) DuplexDecisionWithCallback(request *DuplexDecisionRequest, ...) <-chan int
- func (client *Client) DuplexDecisionWithChan(request *DuplexDecisionRequest) (<-chan *DuplexDecisionResponse, <-chan error)
- func (client *Client) GetVideoTaskInfo(request *GetVideoTaskInfoRequest) (response *GetVideoTaskInfoResponse, err error)
- func (client *Client) GetVideoTaskInfoWithCallback(request *GetVideoTaskInfoRequest, ...) <-chan int
- func (client *Client) GetVideoTaskInfoWithChan(request *GetVideoTaskInfoRequest) (<-chan *GetVideoTaskInfoResponse, <-chan error)
- func (client *Client) LicenseAuth(request *LicenseAuthRequest) (response *LicenseAuthResponse, err error)
- func (client *Client) LicenseAuthWithCallback(request *LicenseAuthRequest, ...) <-chan int
- func (client *Client) LicenseAuthWithChan(request *LicenseAuthRequest) (<-chan *LicenseAuthResponse, <-chan error)
- func (client *Client) QueryAvatar(request *QueryAvatarRequest) (response *QueryAvatarResponse, err error)
- func (client *Client) QueryAvatarList(request *QueryAvatarListRequest) (response *QueryAvatarListResponse, err error)
- func (client *Client) QueryAvatarListWithCallback(request *QueryAvatarListRequest, ...) <-chan int
- func (client *Client) QueryAvatarListWithChan(request *QueryAvatarListRequest) (<-chan *QueryAvatarListResponse, <-chan error)
- func (client *Client) QueryAvatarWithCallback(request *QueryAvatarRequest, ...) <-chan int
- func (client *Client) QueryAvatarWithChan(request *QueryAvatarRequest) (<-chan *QueryAvatarResponse, <-chan error)
- func (client *Client) QueryRunningInstance(request *QueryRunningInstanceRequest) (response *QueryRunningInstanceResponse, err error)
- func (client *Client) QueryRunningInstanceWithCallback(request *QueryRunningInstanceRequest, ...) <-chan int
- func (client *Client) QueryRunningInstanceWithChan(request *QueryRunningInstanceRequest) (<-chan *QueryRunningInstanceResponse, <-chan error)
- func (client *Client) QueryTimedResetOperateStatus(request *QueryTimedResetOperateStatusRequest) (response *QueryTimedResetOperateStatusResponse, err error)
- func (client *Client) QueryTimedResetOperateStatusWithCallback(request *QueryTimedResetOperateStatusRequest, ...) <-chan int
- func (client *Client) QueryTimedResetOperateStatusWithChan(request *QueryTimedResetOperateStatusRequest) (<-chan *QueryTimedResetOperateStatusResponse, <-chan error)
- func (client *Client) SendMessage(request *SendMessageRequest) (response *SendMessageResponse, err error)
- func (client *Client) SendMessageWithCallback(request *SendMessageRequest, ...) <-chan int
- func (client *Client) SendMessageWithChan(request *SendMessageRequest) (<-chan *SendMessageResponse, <-chan error)
- func (client *Client) StartInstance(request *StartInstanceRequest) (response *StartInstanceResponse, err error)
- func (client *Client) StartInstanceWithCallback(request *StartInstanceRequest, ...) <-chan int
- func (client *Client) StartInstanceWithChan(request *StartInstanceRequest) (<-chan *StartInstanceResponse, <-chan error)
- func (client *Client) StartTimedResetOperate(request *StartTimedResetOperateRequest) (response *StartTimedResetOperateResponse, err error)
- func (client *Client) StartTimedResetOperateWithCallback(request *StartTimedResetOperateRequest, ...) <-chan int
- func (client *Client) StartTimedResetOperateWithChan(request *StartTimedResetOperateRequest) (<-chan *StartTimedResetOperateResponse, <-chan error)
- func (client *Client) StopInstance(request *StopInstanceRequest) (response *StopInstanceResponse, err error)
- func (client *Client) StopInstanceWithCallback(request *StopInstanceRequest, ...) <-chan int
- func (client *Client) StopInstanceWithChan(request *StopInstanceRequest) (<-chan *StopInstanceResponse, <-chan error)
- func (client *Client) SubmitAudioTo2DAvatarVideoTask(request *SubmitAudioTo2DAvatarVideoTaskRequest) (response *SubmitAudioTo2DAvatarVideoTaskResponse, err error)
- func (client *Client) SubmitAudioTo2DAvatarVideoTaskWithCallback(request *SubmitAudioTo2DAvatarVideoTaskRequest, ...) <-chan int
- func (client *Client) SubmitAudioTo2DAvatarVideoTaskWithChan(request *SubmitAudioTo2DAvatarVideoTaskRequest) (<-chan *SubmitAudioTo2DAvatarVideoTaskResponse, <-chan error)
- func (client *Client) SubmitTextTo2DAvatarVideoTask(request *SubmitTextTo2DAvatarVideoTaskRequest) (response *SubmitTextTo2DAvatarVideoTaskResponse, err error)
- func (client *Client) SubmitTextTo2DAvatarVideoTaskWithCallback(request *SubmitTextTo2DAvatarVideoTaskRequest, ...) <-chan int
- func (client *Client) SubmitTextTo2DAvatarVideoTaskWithChan(request *SubmitTextTo2DAvatarVideoTaskRequest) (<-chan *SubmitTextTo2DAvatarVideoTaskResponse, <-chan error)
- func (client *Client) SubmitTextTo3DAvatarVideoTask(request *SubmitTextTo3DAvatarVideoTaskRequest) (response *SubmitTextTo3DAvatarVideoTaskResponse, err error)
- func (client *Client) SubmitTextTo3DAvatarVideoTaskWithCallback(request *SubmitTextTo3DAvatarVideoTaskRequest, ...) <-chan int
- func (client *Client) SubmitTextTo3DAvatarVideoTaskWithChan(request *SubmitTextTo3DAvatarVideoTaskRequest) (<-chan *SubmitTextTo3DAvatarVideoTaskResponse, <-chan error)
- type CloseTimedResetOperateRequest
- type CloseTimedResetOperateResponse
- type Data
- type DataInQueryRunningInstance
- type DataInQueryTimedResetOperateStatus
- type DataItem
- type DuplexDecisionDialogContext
- type DuplexDecisionDialogContextHistoriesItem
- type DuplexDecisionRequest
- type DuplexDecisionResponse
- type GetVideoTaskInfoApp
- type GetVideoTaskInfoRequest
- type GetVideoTaskInfoResponse
- type GslbInQueryRunningInstance
- type GslbInStartInstance
- type LicenseAuthRequest
- type LicenseAuthResponse
- type List
- type ListItem
- type OfflineInQueryAvatar
- type OfflineInQueryAvatarList
- type OfflineItem
- type OnlineInQueryAvatar
- type OnlineInQueryAvatarList
- type OnlineItem
- type QueryAvatarListRequest
- type QueryAvatarListResponse
- type QueryAvatarRequest
- type QueryAvatarResponse
- type QueryRunningInstanceApp
- type QueryRunningInstanceRequest
- type QueryRunningInstanceResponse
- type QueryTimedResetOperateStatusRequest
- type QueryTimedResetOperateStatusResponse
- type SendMessageRequest
- type SendMessageResponse
- type SendMessageVAMLRequest
- type StartInstanceChannel
- type StartInstanceCommandRequest
- type StartInstanceRequest
- type StartInstanceResponse
- type StartTimedResetOperateRequest
- type StartTimedResetOperateResponse
- type StopInstanceRequest
- type StopInstanceResponse
- type SubmitAudioTo2DAvatarVideoTaskApp
- type SubmitAudioTo2DAvatarVideoTaskAvatarInfo
- type SubmitAudioTo2DAvatarVideoTaskRequest
- type SubmitAudioTo2DAvatarVideoTaskResponse
- type SubmitAudioTo2DAvatarVideoTaskVideoInfo
- type SubmitTextTo2DAvatarVideoTaskApp
- type SubmitTextTo2DAvatarVideoTaskAudioInfo
- type SubmitTextTo2DAvatarVideoTaskAvatarInfo
- type SubmitTextTo2DAvatarVideoTaskRequest
- type SubmitTextTo2DAvatarVideoTaskResponse
- type SubmitTextTo2DAvatarVideoTaskVideoInfo
- type SubmitTextTo3DAvatarVideoTaskApp
- type SubmitTextTo3DAvatarVideoTaskAvatarInfo
- type SubmitTextTo3DAvatarVideoTaskRequest
- type SubmitTextTo3DAvatarVideoTaskResponse
- type SubmitTextTo3DAvatarVideoTaskVideoInfo
- type SupportedResolutions
- type TaskResult
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelVideoTaskApp ¶
type CancelVideoTaskApp struct {
AppId string `name:"AppId"`
}
CancelVideoTaskApp is a repeated param struct in CancelVideoTaskRequest
type CancelVideoTaskRequest ¶
type CancelVideoTaskRequest struct { *requests.RpcRequest App CancelVideoTaskApp `position:"Query" name:"App" type:"Struct"` TenantId requests.Integer `position:"Query" name:"TenantId"` TaskUuid string `position:"Query" name:"TaskUuid"` }
CancelVideoTaskRequest is the request struct for api CancelVideoTask
func CreateCancelVideoTaskRequest ¶
func CreateCancelVideoTaskRequest() (request *CancelVideoTaskRequest)
CreateCancelVideoTaskRequest creates a request to invoke CancelVideoTask API
type CancelVideoTaskResponse ¶
type CancelVideoTaskResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` Data Data `json:"Data" xml:"Data"` }
CancelVideoTaskResponse is the response struct for api CancelVideoTask
func CreateCancelVideoTaskResponse ¶
func CreateCancelVideoTaskResponse() (response *CancelVideoTaskResponse)
CreateCancelVideoTaskResponse creates a response to parse from CancelVideoTask response
type Channel ¶
type Channel struct { Token string `json:"Token" xml:"Token"` AppId string `json:"AppId" xml:"AppId"` ExpiredTime string `json:"ExpiredTime" xml:"ExpiredTime"` ChannelId string `json:"ChannelId" xml:"ChannelId"` Nonce string `json:"Nonce" xml:"Nonce"` UserId string `json:"UserId" xml:"UserId"` UserInfoInChannel string `json:"UserInfoInChannel" xml:"UserInfoInChannel"` Type string `json:"Type" xml:"Type"` Gslb []string `json:"Gslb" xml:"Gslb"` }
Channel is a nested struct in avatar 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) CancelVideoTask ¶
func (client *Client) CancelVideoTask(request *CancelVideoTaskRequest) (response *CancelVideoTaskResponse, err error)
CancelVideoTask invokes the avatar.CancelVideoTask API synchronously
func (*Client) CancelVideoTaskWithCallback ¶
func (client *Client) CancelVideoTaskWithCallback(request *CancelVideoTaskRequest, callback func(response *CancelVideoTaskResponse, err error)) <-chan int
CancelVideoTaskWithCallback invokes the avatar.CancelVideoTask API asynchronously
func (*Client) CancelVideoTaskWithChan ¶
func (client *Client) CancelVideoTaskWithChan(request *CancelVideoTaskRequest) (<-chan *CancelVideoTaskResponse, <-chan error)
CancelVideoTaskWithChan invokes the avatar.CancelVideoTask API asynchronously
func (*Client) CloseTimedResetOperate ¶
func (client *Client) CloseTimedResetOperate(request *CloseTimedResetOperateRequest) (response *CloseTimedResetOperateResponse, err error)
CloseTimedResetOperate invokes the avatar.CloseTimedResetOperate API synchronously
func (*Client) CloseTimedResetOperateWithCallback ¶
func (client *Client) CloseTimedResetOperateWithCallback(request *CloseTimedResetOperateRequest, callback func(response *CloseTimedResetOperateResponse, err error)) <-chan int
CloseTimedResetOperateWithCallback invokes the avatar.CloseTimedResetOperate API asynchronously
func (*Client) CloseTimedResetOperateWithChan ¶
func (client *Client) CloseTimedResetOperateWithChan(request *CloseTimedResetOperateRequest) (<-chan *CloseTimedResetOperateResponse, <-chan error)
CloseTimedResetOperateWithChan invokes the avatar.CloseTimedResetOperate API asynchronously
func (*Client) DuplexDecision ¶
func (client *Client) DuplexDecision(request *DuplexDecisionRequest) (response *DuplexDecisionResponse, err error)
DuplexDecision invokes the avatar.DuplexDecision API synchronously
func (*Client) DuplexDecisionWithCallback ¶
func (client *Client) DuplexDecisionWithCallback(request *DuplexDecisionRequest, callback func(response *DuplexDecisionResponse, err error)) <-chan int
DuplexDecisionWithCallback invokes the avatar.DuplexDecision API asynchronously
func (*Client) DuplexDecisionWithChan ¶
func (client *Client) DuplexDecisionWithChan(request *DuplexDecisionRequest) (<-chan *DuplexDecisionResponse, <-chan error)
DuplexDecisionWithChan invokes the avatar.DuplexDecision API asynchronously
func (*Client) GetVideoTaskInfo ¶
func (client *Client) GetVideoTaskInfo(request *GetVideoTaskInfoRequest) (response *GetVideoTaskInfoResponse, err error)
GetVideoTaskInfo invokes the avatar.GetVideoTaskInfo API synchronously
func (*Client) GetVideoTaskInfoWithCallback ¶
func (client *Client) GetVideoTaskInfoWithCallback(request *GetVideoTaskInfoRequest, callback func(response *GetVideoTaskInfoResponse, err error)) <-chan int
GetVideoTaskInfoWithCallback invokes the avatar.GetVideoTaskInfo API asynchronously
func (*Client) GetVideoTaskInfoWithChan ¶
func (client *Client) GetVideoTaskInfoWithChan(request *GetVideoTaskInfoRequest) (<-chan *GetVideoTaskInfoResponse, <-chan error)
GetVideoTaskInfoWithChan invokes the avatar.GetVideoTaskInfo API asynchronously
func (*Client) LicenseAuth ¶
func (client *Client) LicenseAuth(request *LicenseAuthRequest) (response *LicenseAuthResponse, err error)
LicenseAuth invokes the avatar.LicenseAuth API synchronously
func (*Client) LicenseAuthWithCallback ¶
func (client *Client) LicenseAuthWithCallback(request *LicenseAuthRequest, callback func(response *LicenseAuthResponse, err error)) <-chan int
LicenseAuthWithCallback invokes the avatar.LicenseAuth API asynchronously
func (*Client) LicenseAuthWithChan ¶
func (client *Client) LicenseAuthWithChan(request *LicenseAuthRequest) (<-chan *LicenseAuthResponse, <-chan error)
LicenseAuthWithChan invokes the avatar.LicenseAuth API asynchronously
func (*Client) QueryAvatar ¶ added in v1.62.364
func (client *Client) QueryAvatar(request *QueryAvatarRequest) (response *QueryAvatarResponse, err error)
QueryAvatar invokes the avatar.QueryAvatar API synchronously
func (*Client) QueryAvatarList ¶ added in v1.62.364
func (client *Client) QueryAvatarList(request *QueryAvatarListRequest) (response *QueryAvatarListResponse, err error)
QueryAvatarList invokes the avatar.QueryAvatarList API synchronously
func (*Client) QueryAvatarListWithCallback ¶ added in v1.62.364
func (client *Client) QueryAvatarListWithCallback(request *QueryAvatarListRequest, callback func(response *QueryAvatarListResponse, err error)) <-chan int
QueryAvatarListWithCallback invokes the avatar.QueryAvatarList API asynchronously
func (*Client) QueryAvatarListWithChan ¶ added in v1.62.364
func (client *Client) QueryAvatarListWithChan(request *QueryAvatarListRequest) (<-chan *QueryAvatarListResponse, <-chan error)
QueryAvatarListWithChan invokes the avatar.QueryAvatarList API asynchronously
func (*Client) QueryAvatarWithCallback ¶ added in v1.62.364
func (client *Client) QueryAvatarWithCallback(request *QueryAvatarRequest, callback func(response *QueryAvatarResponse, err error)) <-chan int
QueryAvatarWithCallback invokes the avatar.QueryAvatar API asynchronously
func (*Client) QueryAvatarWithChan ¶ added in v1.62.364
func (client *Client) QueryAvatarWithChan(request *QueryAvatarRequest) (<-chan *QueryAvatarResponse, <-chan error)
QueryAvatarWithChan invokes the avatar.QueryAvatar API asynchronously
func (*Client) QueryRunningInstance ¶
func (client *Client) QueryRunningInstance(request *QueryRunningInstanceRequest) (response *QueryRunningInstanceResponse, err error)
QueryRunningInstance invokes the avatar.QueryRunningInstance API synchronously
func (*Client) QueryRunningInstanceWithCallback ¶
func (client *Client) QueryRunningInstanceWithCallback(request *QueryRunningInstanceRequest, callback func(response *QueryRunningInstanceResponse, err error)) <-chan int
QueryRunningInstanceWithCallback invokes the avatar.QueryRunningInstance API asynchronously
func (*Client) QueryRunningInstanceWithChan ¶
func (client *Client) QueryRunningInstanceWithChan(request *QueryRunningInstanceRequest) (<-chan *QueryRunningInstanceResponse, <-chan error)
QueryRunningInstanceWithChan invokes the avatar.QueryRunningInstance API asynchronously
func (*Client) QueryTimedResetOperateStatus ¶
func (client *Client) QueryTimedResetOperateStatus(request *QueryTimedResetOperateStatusRequest) (response *QueryTimedResetOperateStatusResponse, err error)
QueryTimedResetOperateStatus invokes the avatar.QueryTimedResetOperateStatus API synchronously
func (*Client) QueryTimedResetOperateStatusWithCallback ¶
func (client *Client) QueryTimedResetOperateStatusWithCallback(request *QueryTimedResetOperateStatusRequest, callback func(response *QueryTimedResetOperateStatusResponse, err error)) <-chan int
QueryTimedResetOperateStatusWithCallback invokes the avatar.QueryTimedResetOperateStatus API asynchronously
func (*Client) QueryTimedResetOperateStatusWithChan ¶
func (client *Client) QueryTimedResetOperateStatusWithChan(request *QueryTimedResetOperateStatusRequest) (<-chan *QueryTimedResetOperateStatusResponse, <-chan error)
QueryTimedResetOperateStatusWithChan invokes the avatar.QueryTimedResetOperateStatus API asynchronously
func (*Client) SendMessage ¶
func (client *Client) SendMessage(request *SendMessageRequest) (response *SendMessageResponse, err error)
SendMessage invokes the avatar.SendMessage API synchronously
func (*Client) SendMessageWithCallback ¶
func (client *Client) SendMessageWithCallback(request *SendMessageRequest, callback func(response *SendMessageResponse, err error)) <-chan int
SendMessageWithCallback invokes the avatar.SendMessage API asynchronously
func (*Client) SendMessageWithChan ¶
func (client *Client) SendMessageWithChan(request *SendMessageRequest) (<-chan *SendMessageResponse, <-chan error)
SendMessageWithChan invokes the avatar.SendMessage API asynchronously
func (*Client) StartInstance ¶
func (client *Client) StartInstance(request *StartInstanceRequest) (response *StartInstanceResponse, err error)
StartInstance invokes the avatar.StartInstance API synchronously
func (*Client) StartInstanceWithCallback ¶
func (client *Client) StartInstanceWithCallback(request *StartInstanceRequest, callback func(response *StartInstanceResponse, err error)) <-chan int
StartInstanceWithCallback invokes the avatar.StartInstance API asynchronously
func (*Client) StartInstanceWithChan ¶
func (client *Client) StartInstanceWithChan(request *StartInstanceRequest) (<-chan *StartInstanceResponse, <-chan error)
StartInstanceWithChan invokes the avatar.StartInstance API asynchronously
func (*Client) StartTimedResetOperate ¶
func (client *Client) StartTimedResetOperate(request *StartTimedResetOperateRequest) (response *StartTimedResetOperateResponse, err error)
StartTimedResetOperate invokes the avatar.StartTimedResetOperate API synchronously
func (*Client) StartTimedResetOperateWithCallback ¶
func (client *Client) StartTimedResetOperateWithCallback(request *StartTimedResetOperateRequest, callback func(response *StartTimedResetOperateResponse, err error)) <-chan int
StartTimedResetOperateWithCallback invokes the avatar.StartTimedResetOperate API asynchronously
func (*Client) StartTimedResetOperateWithChan ¶
func (client *Client) StartTimedResetOperateWithChan(request *StartTimedResetOperateRequest) (<-chan *StartTimedResetOperateResponse, <-chan error)
StartTimedResetOperateWithChan invokes the avatar.StartTimedResetOperate API asynchronously
func (*Client) StopInstance ¶
func (client *Client) StopInstance(request *StopInstanceRequest) (response *StopInstanceResponse, err error)
StopInstance invokes the avatar.StopInstance API synchronously
func (*Client) StopInstanceWithCallback ¶
func (client *Client) StopInstanceWithCallback(request *StopInstanceRequest, callback func(response *StopInstanceResponse, err error)) <-chan int
StopInstanceWithCallback invokes the avatar.StopInstance API asynchronously
func (*Client) StopInstanceWithChan ¶
func (client *Client) StopInstanceWithChan(request *StopInstanceRequest) (<-chan *StopInstanceResponse, <-chan error)
StopInstanceWithChan invokes the avatar.StopInstance API asynchronously
func (*Client) SubmitAudioTo2DAvatarVideoTask ¶ added in v1.62.364
func (client *Client) SubmitAudioTo2DAvatarVideoTask(request *SubmitAudioTo2DAvatarVideoTaskRequest) (response *SubmitAudioTo2DAvatarVideoTaskResponse, err error)
SubmitAudioTo2DAvatarVideoTask invokes the avatar.SubmitAudioTo2DAvatarVideoTask API synchronously
func (*Client) SubmitAudioTo2DAvatarVideoTaskWithCallback ¶ added in v1.62.364
func (client *Client) SubmitAudioTo2DAvatarVideoTaskWithCallback(request *SubmitAudioTo2DAvatarVideoTaskRequest, callback func(response *SubmitAudioTo2DAvatarVideoTaskResponse, err error)) <-chan int
SubmitAudioTo2DAvatarVideoTaskWithCallback invokes the avatar.SubmitAudioTo2DAvatarVideoTask API asynchronously
func (*Client) SubmitAudioTo2DAvatarVideoTaskWithChan ¶ added in v1.62.364
func (client *Client) SubmitAudioTo2DAvatarVideoTaskWithChan(request *SubmitAudioTo2DAvatarVideoTaskRequest) (<-chan *SubmitAudioTo2DAvatarVideoTaskResponse, <-chan error)
SubmitAudioTo2DAvatarVideoTaskWithChan invokes the avatar.SubmitAudioTo2DAvatarVideoTask API asynchronously
func (*Client) SubmitTextTo2DAvatarVideoTask ¶
func (client *Client) SubmitTextTo2DAvatarVideoTask(request *SubmitTextTo2DAvatarVideoTaskRequest) (response *SubmitTextTo2DAvatarVideoTaskResponse, err error)
SubmitTextTo2DAvatarVideoTask invokes the avatar.SubmitTextTo2DAvatarVideoTask API synchronously
func (*Client) SubmitTextTo2DAvatarVideoTaskWithCallback ¶
func (client *Client) SubmitTextTo2DAvatarVideoTaskWithCallback(request *SubmitTextTo2DAvatarVideoTaskRequest, callback func(response *SubmitTextTo2DAvatarVideoTaskResponse, err error)) <-chan int
SubmitTextTo2DAvatarVideoTaskWithCallback invokes the avatar.SubmitTextTo2DAvatarVideoTask API asynchronously
func (*Client) SubmitTextTo2DAvatarVideoTaskWithChan ¶
func (client *Client) SubmitTextTo2DAvatarVideoTaskWithChan(request *SubmitTextTo2DAvatarVideoTaskRequest) (<-chan *SubmitTextTo2DAvatarVideoTaskResponse, <-chan error)
SubmitTextTo2DAvatarVideoTaskWithChan invokes the avatar.SubmitTextTo2DAvatarVideoTask API asynchronously
func (*Client) SubmitTextTo3DAvatarVideoTask ¶
func (client *Client) SubmitTextTo3DAvatarVideoTask(request *SubmitTextTo3DAvatarVideoTaskRequest) (response *SubmitTextTo3DAvatarVideoTaskResponse, err error)
SubmitTextTo3DAvatarVideoTask invokes the avatar.SubmitTextTo3DAvatarVideoTask API synchronously
func (*Client) SubmitTextTo3DAvatarVideoTaskWithCallback ¶
func (client *Client) SubmitTextTo3DAvatarVideoTaskWithCallback(request *SubmitTextTo3DAvatarVideoTaskRequest, callback func(response *SubmitTextTo3DAvatarVideoTaskResponse, err error)) <-chan int
SubmitTextTo3DAvatarVideoTaskWithCallback invokes the avatar.SubmitTextTo3DAvatarVideoTask API asynchronously
func (*Client) SubmitTextTo3DAvatarVideoTaskWithChan ¶
func (client *Client) SubmitTextTo3DAvatarVideoTaskWithChan(request *SubmitTextTo3DAvatarVideoTaskRequest) (<-chan *SubmitTextTo3DAvatarVideoTaskResponse, <-chan error)
SubmitTextTo3DAvatarVideoTaskWithChan invokes the avatar.SubmitTextTo3DAvatarVideoTask API asynchronously
type CloseTimedResetOperateRequest ¶
type CloseTimedResetOperateRequest struct { *requests.RpcRequest InstanceId string `position:"Query" name:"InstanceId"` TenantId requests.Integer `position:"Query" name:"TenantId"` }
CloseTimedResetOperateRequest is the request struct for api CloseTimedResetOperate
func CreateCloseTimedResetOperateRequest ¶
func CreateCloseTimedResetOperateRequest() (request *CloseTimedResetOperateRequest)
CreateCloseTimedResetOperateRequest creates a request to invoke CloseTimedResetOperate API
type CloseTimedResetOperateResponse ¶
type CloseTimedResetOperateResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` Data Data `json:"Data" xml:"Data"` }
CloseTimedResetOperateResponse is the response struct for api CloseTimedResetOperate
func CreateCloseTimedResetOperateResponse ¶
func CreateCloseTimedResetOperateResponse() (response *CloseTimedResetOperateResponse)
CreateCloseTimedResetOperateResponse creates a response to parse from CloseTimedResetOperate response
type Data ¶
type Data struct { Name string `json:"Name" xml:"Name"` TotalPage int `json:"TotalPage" xml:"TotalPage"` TaskUuid string `json:"TaskUuid" xml:"TaskUuid"` TenantId int64 `json:"TenantId" xml:"TenantId"` Process string `json:"Process" xml:"Process"` SessionId string `json:"SessionId" xml:"SessionId"` FailReason string `json:"FailReason" xml:"FailReason"` PageSize int `json:"PageSize" xml:"PageSize"` PageNo int `json:"PageNo" xml:"PageNo"` InstanceId string `json:"InstanceId" xml:"InstanceId"` TotalCount int `json:"TotalCount" xml:"TotalCount"` Description string `json:"Description" xml:"Description"` Type string `json:"Type" xml:"Type"` GrabType string `json:"GrabType" xml:"GrabType"` Token string `json:"Token" xml:"Token"` ModelType string `json:"ModelType" xml:"ModelType"` IsCancel bool `json:"IsCancel" xml:"IsCancel"` Image string `json:"Image" xml:"Image"` AvatarType string `json:"AvatarType" xml:"AvatarType"` ActionType string `json:"ActionType" xml:"ActionType"` RequestId string `json:"RequestId" xml:"RequestId"` OutputText string `json:"OutputText" xml:"OutputText"` Portrait string `json:"Portrait" xml:"Portrait"` Status string `json:"Status" xml:"Status"` TaskResult TaskResult `json:"TaskResult" xml:"TaskResult"` SupportedResolutions SupportedResolutions `json:"SupportedResolutions" xml:"SupportedResolutions"` Channel Channel `json:"Channel" xml:"Channel"` List []ListItem `json:"List" xml:"List"` }
Data is a nested struct in avatar response
type DataInQueryRunningInstance ¶
type DataInQueryRunningInstance struct {
DataItem []DataItem `json:"data" xml:"data"`
}
DataInQueryRunningInstance is a nested struct in avatar response
type DataInQueryTimedResetOperateStatus ¶
type DataInQueryTimedResetOperateStatus struct { InstanceId string `json:"InstanceId" xml:"InstanceId"` StatusStr string `json:"StatusStr" xml:"StatusStr"` TenantId string `json:"TenantId" xml:"TenantId"` Status int64 `json:"Status" xml:"Status"` }
DataInQueryTimedResetOperateStatus is a nested struct in avatar response
type DataItem ¶
type DataItem struct { SessionId string `json:"SessionId" xml:"SessionId"` Channel Channel `json:"Channel" xml:"Channel"` User User `json:"User" xml:"User"` }
DataItem is a nested struct in avatar response
type DuplexDecisionDialogContext ¶
type DuplexDecisionDialogContext struct { Histories *[]DuplexDecisionDialogContextHistoriesItem `name:"Histories" type:"Repeated"` CurUtteranceIdx string `name:"CurUtteranceIdx"` }
DuplexDecisionDialogContext is a repeated param struct in DuplexDecisionRequest
type DuplexDecisionDialogContextHistoriesItem ¶
type DuplexDecisionDialogContextHistoriesItem struct { Robot string `name:"Robot"` User string `name:"User"` }
DuplexDecisionDialogContextHistoriesItem is a repeated param struct in DuplexDecisionRequest
type DuplexDecisionRequest ¶
type DuplexDecisionRequest struct { *requests.RpcRequest InterruptType requests.Integer `position:"Query" name:"InterruptType"` CustomKeywords *[]string `position:"Query" name:"CustomKeywords" type:"Json"` SessionId string `position:"Query" name:"SessionId"` DialogStatus string `position:"Query" name:"DialogStatus"` DialogContext DuplexDecisionDialogContext `position:"Query" name:"DialogContext" type:"Struct"` CallTime requests.Integer `position:"Query" name:"CallTime"` AppId string `position:"Query" name:"AppId"` TenantId requests.Integer `position:"Query" name:"TenantId"` Text string `position:"Query" name:"Text"` BizRequestId string `position:"Query" name:"BizRequestId"` }
DuplexDecisionRequest is the request struct for api DuplexDecision
func CreateDuplexDecisionRequest ¶
func CreateDuplexDecisionRequest() (request *DuplexDecisionRequest)
CreateDuplexDecisionRequest creates a request to invoke DuplexDecision API
type DuplexDecisionResponse ¶
type DuplexDecisionResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success string `json:"Success" xml:"Success"` RequestId string `json:"RequestId" xml:"RequestId"` Data Data `json:"Data" xml:"Data"` }
DuplexDecisionResponse is the response struct for api DuplexDecision
func CreateDuplexDecisionResponse ¶
func CreateDuplexDecisionResponse() (response *DuplexDecisionResponse)
CreateDuplexDecisionResponse creates a response to parse from DuplexDecision response
type GetVideoTaskInfoApp ¶
type GetVideoTaskInfoApp struct {
AppId string `name:"AppId"`
}
GetVideoTaskInfoApp is a repeated param struct in GetVideoTaskInfoRequest
type GetVideoTaskInfoRequest ¶
type GetVideoTaskInfoRequest struct { *requests.RpcRequest App GetVideoTaskInfoApp `position:"Query" name:"App" type:"Struct"` TenantId requests.Integer `position:"Query" name:"TenantId"` TaskUuid string `position:"Query" name:"TaskUuid"` }
GetVideoTaskInfoRequest is the request struct for api GetVideoTaskInfo
func CreateGetVideoTaskInfoRequest ¶
func CreateGetVideoTaskInfoRequest() (request *GetVideoTaskInfoRequest)
CreateGetVideoTaskInfoRequest creates a request to invoke GetVideoTaskInfo API
type GetVideoTaskInfoResponse ¶
type GetVideoTaskInfoResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` Data Data `json:"Data" xml:"Data"` }
GetVideoTaskInfoResponse is the response struct for api GetVideoTaskInfo
func CreateGetVideoTaskInfoResponse ¶
func CreateGetVideoTaskInfoResponse() (response *GetVideoTaskInfoResponse)
CreateGetVideoTaskInfoResponse creates a response to parse from GetVideoTaskInfo response
type GslbInQueryRunningInstance ¶
type GslbInQueryRunningInstance struct {
Gslb []string `json:"gslb" xml:"gslb"`
}
GslbInQueryRunningInstance is a nested struct in avatar response
type GslbInStartInstance ¶
type GslbInStartInstance struct {
Gslb []string `json:"gslb" xml:"gslb"`
}
GslbInStartInstance is a nested struct in avatar response
type LicenseAuthRequest ¶
type LicenseAuthRequest struct { *requests.RpcRequest License string `position:"Query" name:"License"` AppId string `position:"Query" name:"AppId"` TenantId requests.Integer `position:"Query" name:"TenantId"` }
LicenseAuthRequest is the request struct for api LicenseAuth
func CreateLicenseAuthRequest ¶
func CreateLicenseAuthRequest() (request *LicenseAuthRequest)
CreateLicenseAuthRequest creates a request to invoke LicenseAuth API
type LicenseAuthResponse ¶
type LicenseAuthResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` Data Data `json:"Data" xml:"Data"` }
LicenseAuthResponse is the response struct for api LicenseAuth
func CreateLicenseAuthResponse ¶
func CreateLicenseAuthResponse() (response *LicenseAuthResponse)
CreateLicenseAuthResponse creates a response to parse from LicenseAuth response
type List ¶ added in v1.62.364
type List struct {
ListItem []ListItem `json:"list" xml:"list"`
}
List is a nested struct in avatar response
type ListItem ¶ added in v1.62.364
type ListItem struct { Code string `json:"Code" xml:"Code"` Name string `json:"Name" xml:"Name"` Image string `json:"Image" xml:"Image"` Portrait string `json:"Portrait" xml:"Portrait"` Description string `json:"Description" xml:"Description"` AvatarType string `json:"AvatarType" xml:"AvatarType"` ModelType string `json:"ModelType" xml:"ModelType"` SupportedResolutions SupportedResolutions `json:"SupportedResolutions" xml:"SupportedResolutions"` }
ListItem is a nested struct in avatar response
type OfflineInQueryAvatar ¶ added in v1.62.364
type OfflineInQueryAvatar struct {
OfflineItem []OfflineItem `json:"offline" xml:"offline"`
}
OfflineInQueryAvatar is a nested struct in avatar response
type OfflineInQueryAvatarList ¶ added in v1.62.364
type OfflineInQueryAvatarList struct {
OfflineItem []OfflineItem `json:"offline" xml:"offline"`
}
OfflineInQueryAvatarList is a nested struct in avatar response
type OfflineItem ¶ added in v1.62.364
type OfflineItem struct { Desc string `json:"Desc" xml:"Desc"` Width int `json:"Width" xml:"Width"` Height int `json:"Height" xml:"Height"` }
OfflineItem is a nested struct in avatar response
type OnlineInQueryAvatar ¶ added in v1.62.364
type OnlineInQueryAvatar struct {
OnlineItem []OnlineItem `json:"online" xml:"online"`
}
OnlineInQueryAvatar is a nested struct in avatar response
type OnlineInQueryAvatarList ¶ added in v1.62.364
type OnlineInQueryAvatarList struct {
OnlineItem []OnlineItem `json:"online" xml:"online"`
}
OnlineInQueryAvatarList is a nested struct in avatar response
type OnlineItem ¶ added in v1.62.364
type OnlineItem struct { Desc string `json:"Desc" xml:"Desc"` Width int `json:"Width" xml:"Width"` Height int `json:"Height" xml:"Height"` }
OnlineItem is a nested struct in avatar response
type QueryAvatarListRequest ¶ added in v1.62.364
type QueryAvatarListRequest struct { *requests.RpcRequest ModelType string `position:"Query" name:"ModelType"` PageNo requests.Integer `position:"Query" name:"PageNo"` TenantId requests.Integer `position:"Query" name:"TenantId"` PageSize requests.Integer `position:"Query" name:"PageSize"` }
QueryAvatarListRequest is the request struct for api QueryAvatarList
func CreateQueryAvatarListRequest ¶ added in v1.62.364
func CreateQueryAvatarListRequest() (request *QueryAvatarListRequest)
CreateQueryAvatarListRequest creates a request to invoke QueryAvatarList API
type QueryAvatarListResponse ¶ added in v1.62.364
type QueryAvatarListResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` Data Data `json:"Data" xml:"Data"` }
QueryAvatarListResponse is the response struct for api QueryAvatarList
func CreateQueryAvatarListResponse ¶ added in v1.62.364
func CreateQueryAvatarListResponse() (response *QueryAvatarListResponse)
CreateQueryAvatarListResponse creates a response to parse from QueryAvatarList response
type QueryAvatarRequest ¶ added in v1.62.364
type QueryAvatarRequest struct { *requests.RpcRequest Code string `position:"Query" name:"Code"` TenantId requests.Integer `position:"Query" name:"TenantId"` }
QueryAvatarRequest is the request struct for api QueryAvatar
func CreateQueryAvatarRequest ¶ added in v1.62.364
func CreateQueryAvatarRequest() (request *QueryAvatarRequest)
CreateQueryAvatarRequest creates a request to invoke QueryAvatar API
type QueryAvatarResponse ¶ added in v1.62.364
type QueryAvatarResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` Data Data `json:"Data" xml:"Data"` }
QueryAvatarResponse is the response struct for api QueryAvatar
func CreateQueryAvatarResponse ¶ added in v1.62.364
func CreateQueryAvatarResponse() (response *QueryAvatarResponse)
CreateQueryAvatarResponse creates a response to parse from QueryAvatar response
type QueryRunningInstanceApp ¶
type QueryRunningInstanceApp struct {
AppId string `name:"AppId"`
}
QueryRunningInstanceApp is a repeated param struct in QueryRunningInstanceRequest
type QueryRunningInstanceRequest ¶
type QueryRunningInstanceRequest struct { *requests.RpcRequest App QueryRunningInstanceApp `position:"Query" name:"App" type:"Struct"` TenantId requests.Integer `position:"Query" name:"TenantId"` SessionId string `position:"Query" name:"SessionId"` }
QueryRunningInstanceRequest is the request struct for api QueryRunningInstance
func CreateQueryRunningInstanceRequest ¶
func CreateQueryRunningInstanceRequest() (request *QueryRunningInstanceRequest)
CreateQueryRunningInstanceRequest creates a request to invoke QueryRunningInstance API
type QueryRunningInstanceResponse ¶
type QueryRunningInstanceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` Data []DataItem `json:"Data" xml:"Data"` }
QueryRunningInstanceResponse is the response struct for api QueryRunningInstance
func CreateQueryRunningInstanceResponse ¶
func CreateQueryRunningInstanceResponse() (response *QueryRunningInstanceResponse)
CreateQueryRunningInstanceResponse creates a response to parse from QueryRunningInstance response
type QueryTimedResetOperateStatusRequest ¶
type QueryTimedResetOperateStatusRequest struct { *requests.RpcRequest InstanceId string `position:"Query" name:"InstanceId"` TenantId requests.Integer `position:"Query" name:"TenantId"` }
QueryTimedResetOperateStatusRequest is the request struct for api QueryTimedResetOperateStatus
func CreateQueryTimedResetOperateStatusRequest ¶
func CreateQueryTimedResetOperateStatusRequest() (request *QueryTimedResetOperateStatusRequest)
CreateQueryTimedResetOperateStatusRequest creates a request to invoke QueryTimedResetOperateStatus API
type QueryTimedResetOperateStatusResponse ¶
type QueryTimedResetOperateStatusResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` Data DataInQueryTimedResetOperateStatus `json:"Data" xml:"Data"` }
QueryTimedResetOperateStatusResponse is the response struct for api QueryTimedResetOperateStatus
func CreateQueryTimedResetOperateStatusResponse ¶
func CreateQueryTimedResetOperateStatusResponse() (response *QueryTimedResetOperateStatusResponse)
CreateQueryTimedResetOperateStatusResponse creates a response to parse from QueryTimedResetOperateStatus response
type SendMessageRequest ¶
type SendMessageRequest struct { *requests.RpcRequest Feedback requests.Boolean `position:"Query" name:"Feedback"` TextRequest string `position:"Query" name:"TextRequest"` TenantId requests.Integer `position:"Query" name:"TenantId"` VAMLRequest SendMessageVAMLRequest `position:"Query" name:"VAMLRequest" type:"Struct"` SessionId string `position:"Query" name:"SessionId"` }
SendMessageRequest is the request struct for api SendMessage
func CreateSendMessageRequest ¶
func CreateSendMessageRequest() (request *SendMessageRequest)
CreateSendMessageRequest creates a request to invoke SendMessage API
type SendMessageResponse ¶
type SendMessageResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` Data Data `json:"Data" xml:"Data"` }
SendMessageResponse is the response struct for api SendMessage
func CreateSendMessageResponse ¶
func CreateSendMessageResponse() (response *SendMessageResponse)
CreateSendMessageResponse creates a response to parse from SendMessage response
type SendMessageVAMLRequest ¶
SendMessageVAMLRequest is a repeated param struct in SendMessageRequest
type StartInstanceChannel ¶
type StartInstanceChannel struct { Type string `name:"Type"` ReqConfig map[string]string `name:"ReqConfig" type:"Map"` }
StartInstanceChannel is a repeated param struct in StartInstanceRequest
type StartInstanceCommandRequest ¶
type StartInstanceCommandRequest struct {
AlphaSwitch string `name:"AlphaSwitch"`
}
StartInstanceCommandRequest is a repeated param struct in StartInstanceRequest
type StartInstanceRequest ¶
type StartInstanceRequest struct { *requests.RpcRequest App string `position:"Query" name:"App"` TenantId requests.Integer `position:"Query" name:"TenantId"` Channel StartInstanceChannel `position:"Query" name:"Channel" type:"Struct"` CommandRequest StartInstanceCommandRequest `position:"Query" name:"CommandRequest" type:"Struct"` User string `position:"Query" name:"User"` }
StartInstanceRequest is the request struct for api StartInstance
func CreateStartInstanceRequest ¶
func CreateStartInstanceRequest() (request *StartInstanceRequest)
CreateStartInstanceRequest creates a request to invoke StartInstance API
type StartInstanceResponse ¶
type StartInstanceResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` Data Data `json:"Data" xml:"Data"` }
StartInstanceResponse is the response struct for api StartInstance
func CreateStartInstanceResponse ¶
func CreateStartInstanceResponse() (response *StartInstanceResponse)
CreateStartInstanceResponse creates a response to parse from StartInstance response
type StartTimedResetOperateRequest ¶
type StartTimedResetOperateRequest struct { *requests.RpcRequest InstanceId string `position:"Query" name:"InstanceId"` TenantId requests.Integer `position:"Query" name:"TenantId"` }
StartTimedResetOperateRequest is the request struct for api StartTimedResetOperate
func CreateStartTimedResetOperateRequest ¶
func CreateStartTimedResetOperateRequest() (request *StartTimedResetOperateRequest)
CreateStartTimedResetOperateRequest creates a request to invoke StartTimedResetOperate API
type StartTimedResetOperateResponse ¶
type StartTimedResetOperateResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` Data Data `json:"Data" xml:"Data"` }
StartTimedResetOperateResponse is the response struct for api StartTimedResetOperate
func CreateStartTimedResetOperateResponse ¶
func CreateStartTimedResetOperateResponse() (response *StartTimedResetOperateResponse)
CreateStartTimedResetOperateResponse creates a response to parse from StartTimedResetOperate response
type StopInstanceRequest ¶
type StopInstanceRequest struct { *requests.RpcRequest TenantId requests.Integer `position:"Query" name:"TenantId"` SessionId string `position:"Query" name:"SessionId"` }
StopInstanceRequest is the request struct for api StopInstance
func CreateStopInstanceRequest ¶
func CreateStopInstanceRequest() (request *StopInstanceRequest)
CreateStopInstanceRequest creates a request to invoke StopInstance API
type StopInstanceResponse ¶
type StopInstanceResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` Data Data `json:"Data" xml:"Data"` }
StopInstanceResponse is the response struct for api StopInstance
func CreateStopInstanceResponse ¶
func CreateStopInstanceResponse() (response *StopInstanceResponse)
CreateStopInstanceResponse creates a response to parse from StopInstance response
type SubmitAudioTo2DAvatarVideoTaskApp ¶ added in v1.62.364
type SubmitAudioTo2DAvatarVideoTaskApp struct {
AppId string `name:"AppId"`
}
SubmitAudioTo2DAvatarVideoTaskApp is a repeated param struct in SubmitAudioTo2DAvatarVideoTaskRequest
type SubmitAudioTo2DAvatarVideoTaskAvatarInfo ¶ added in v1.62.364
type SubmitAudioTo2DAvatarVideoTaskAvatarInfo struct {
Code string `name:"Code"`
}
SubmitAudioTo2DAvatarVideoTaskAvatarInfo is a repeated param struct in SubmitAudioTo2DAvatarVideoTaskRequest
type SubmitAudioTo2DAvatarVideoTaskRequest ¶ added in v1.62.364
type SubmitAudioTo2DAvatarVideoTaskRequest struct { *requests.RpcRequest App SubmitAudioTo2DAvatarVideoTaskApp `position:"Query" name:"App" type:"Struct"` VideoInfo SubmitAudioTo2DAvatarVideoTaskVideoInfo `position:"Query" name:"VideoInfo" type:"Struct"` AvatarInfo SubmitAudioTo2DAvatarVideoTaskAvatarInfo `position:"Query" name:"AvatarInfo" type:"Struct"` TenantId requests.Integer `position:"Query" name:"TenantId"` Title string `position:"Query" name:"Title"` Url string `position:"Query" name:"Url"` }
SubmitAudioTo2DAvatarVideoTaskRequest is the request struct for api SubmitAudioTo2DAvatarVideoTask
func CreateSubmitAudioTo2DAvatarVideoTaskRequest ¶ added in v1.62.364
func CreateSubmitAudioTo2DAvatarVideoTaskRequest() (request *SubmitAudioTo2DAvatarVideoTaskRequest)
CreateSubmitAudioTo2DAvatarVideoTaskRequest creates a request to invoke SubmitAudioTo2DAvatarVideoTask API
type SubmitAudioTo2DAvatarVideoTaskResponse ¶ added in v1.62.364
type SubmitAudioTo2DAvatarVideoTaskResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success string `json:"Success" xml:"Success"` Data Data `json:"Data" xml:"Data"` }
SubmitAudioTo2DAvatarVideoTaskResponse is the response struct for api SubmitAudioTo2DAvatarVideoTask
func CreateSubmitAudioTo2DAvatarVideoTaskResponse ¶ added in v1.62.364
func CreateSubmitAudioTo2DAvatarVideoTaskResponse() (response *SubmitAudioTo2DAvatarVideoTaskResponse)
CreateSubmitAudioTo2DAvatarVideoTaskResponse creates a response to parse from SubmitAudioTo2DAvatarVideoTask response
type SubmitAudioTo2DAvatarVideoTaskVideoInfo ¶ added in v1.62.364
type SubmitAudioTo2DAvatarVideoTaskVideoInfo struct { IsAlpha string `name:"IsAlpha"` BackgroundImageUrl string `name:"BackgroundImageUrl"` Resolution string `name:"Resolution"` AlphaFormat string `name:"AlphaFormat"` }
SubmitAudioTo2DAvatarVideoTaskVideoInfo is a repeated param struct in SubmitAudioTo2DAvatarVideoTaskRequest
type SubmitTextTo2DAvatarVideoTaskApp ¶
type SubmitTextTo2DAvatarVideoTaskApp struct {
AppId string `name:"AppId"`
}
SubmitTextTo2DAvatarVideoTaskApp is a repeated param struct in SubmitTextTo2DAvatarVideoTaskRequest
type SubmitTextTo2DAvatarVideoTaskAudioInfo ¶
type SubmitTextTo2DAvatarVideoTaskAudioInfo struct { Voice string `name:"Voice"` Volume string `name:"Volume"` SpeechRate string `name:"SpeechRate"` PitchRate string `name:"PitchRate"` }
SubmitTextTo2DAvatarVideoTaskAudioInfo is a repeated param struct in SubmitTextTo2DAvatarVideoTaskRequest
type SubmitTextTo2DAvatarVideoTaskAvatarInfo ¶
type SubmitTextTo2DAvatarVideoTaskAvatarInfo struct {
Code string `name:"Code"`
}
SubmitTextTo2DAvatarVideoTaskAvatarInfo is a repeated param struct in SubmitTextTo2DAvatarVideoTaskRequest
type SubmitTextTo2DAvatarVideoTaskRequest ¶
type SubmitTextTo2DAvatarVideoTaskRequest struct { *requests.RpcRequest App SubmitTextTo2DAvatarVideoTaskApp `position:"Query" name:"App" type:"Struct"` VideoInfo SubmitTextTo2DAvatarVideoTaskVideoInfo `position:"Query" name:"VideoInfo" type:"Struct"` AudioInfo SubmitTextTo2DAvatarVideoTaskAudioInfo `position:"Query" name:"AudioInfo" type:"Struct"` AvatarInfo SubmitTextTo2DAvatarVideoTaskAvatarInfo `position:"Query" name:"AvatarInfo" type:"Struct"` TenantId requests.Integer `position:"Query" name:"TenantId"` Text string `position:"Query" name:"Text"` Title string `position:"Query" name:"Title"` }
SubmitTextTo2DAvatarVideoTaskRequest is the request struct for api SubmitTextTo2DAvatarVideoTask
func CreateSubmitTextTo2DAvatarVideoTaskRequest ¶
func CreateSubmitTextTo2DAvatarVideoTaskRequest() (request *SubmitTextTo2DAvatarVideoTaskRequest)
CreateSubmitTextTo2DAvatarVideoTaskRequest creates a request to invoke SubmitTextTo2DAvatarVideoTask API
type SubmitTextTo2DAvatarVideoTaskResponse ¶
type SubmitTextTo2DAvatarVideoTaskResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` Data Data `json:"Data" xml:"Data"` }
SubmitTextTo2DAvatarVideoTaskResponse is the response struct for api SubmitTextTo2DAvatarVideoTask
func CreateSubmitTextTo2DAvatarVideoTaskResponse ¶
func CreateSubmitTextTo2DAvatarVideoTaskResponse() (response *SubmitTextTo2DAvatarVideoTaskResponse)
CreateSubmitTextTo2DAvatarVideoTaskResponse creates a response to parse from SubmitTextTo2DAvatarVideoTask response
type SubmitTextTo2DAvatarVideoTaskVideoInfo ¶
type SubmitTextTo2DAvatarVideoTaskVideoInfo struct { IsAlpha string `name:"IsAlpha"` BackgroundImageUrl string `name:"BackgroundImageUrl"` IsSubtitles string `name:"IsSubtitles"` Resolution string `name:"Resolution"` AlphaFormat string `name:"AlphaFormat"` }
SubmitTextTo2DAvatarVideoTaskVideoInfo is a repeated param struct in SubmitTextTo2DAvatarVideoTaskRequest
type SubmitTextTo3DAvatarVideoTaskApp ¶
type SubmitTextTo3DAvatarVideoTaskApp struct {
AppId string `name:"AppId"`
}
SubmitTextTo3DAvatarVideoTaskApp is a repeated param struct in SubmitTextTo3DAvatarVideoTaskRequest
type SubmitTextTo3DAvatarVideoTaskAvatarInfo ¶
type SubmitTextTo3DAvatarVideoTaskAvatarInfo struct { Code string `name:"Code"` Locate string `name:"Locate"` Angle string `name:"Angle"` }
SubmitTextTo3DAvatarVideoTaskAvatarInfo is a repeated param struct in SubmitTextTo3DAvatarVideoTaskRequest
type SubmitTextTo3DAvatarVideoTaskRequest ¶
type SubmitTextTo3DAvatarVideoTaskRequest struct { *requests.RpcRequest App SubmitTextTo3DAvatarVideoTaskApp `position:"Query" name:"App" type:"Struct"` VideoInfo SubmitTextTo3DAvatarVideoTaskVideoInfo `position:"Query" name:"VideoInfo" type:"Struct"` AvatarInfo SubmitTextTo3DAvatarVideoTaskAvatarInfo `position:"Query" name:"AvatarInfo" type:"Struct"` TenantId requests.Integer `position:"Query" name:"TenantId"` Text string `position:"Query" name:"Text"` Title string `position:"Query" name:"Title"` }
SubmitTextTo3DAvatarVideoTaskRequest is the request struct for api SubmitTextTo3DAvatarVideoTask
func CreateSubmitTextTo3DAvatarVideoTaskRequest ¶
func CreateSubmitTextTo3DAvatarVideoTaskRequest() (request *SubmitTextTo3DAvatarVideoTaskRequest)
CreateSubmitTextTo3DAvatarVideoTaskRequest creates a request to invoke SubmitTextTo3DAvatarVideoTask API
type SubmitTextTo3DAvatarVideoTaskResponse ¶
type SubmitTextTo3DAvatarVideoTaskResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Success bool `json:"Success" xml:"Success"` Data Data `json:"Data" xml:"Data"` }
SubmitTextTo3DAvatarVideoTaskResponse is the response struct for api SubmitTextTo3DAvatarVideoTask
func CreateSubmitTextTo3DAvatarVideoTaskResponse ¶
func CreateSubmitTextTo3DAvatarVideoTaskResponse() (response *SubmitTextTo3DAvatarVideoTaskResponse)
CreateSubmitTextTo3DAvatarVideoTaskResponse creates a response to parse from SubmitTextTo3DAvatarVideoTask response
type SubmitTextTo3DAvatarVideoTaskVideoInfo ¶
type SubmitTextTo3DAvatarVideoTaskVideoInfo struct { IsAlpha string `name:"IsAlpha"` BackgroundImageUrl string `name:"BackgroundImageUrl"` IsSubtitles string `name:"IsSubtitles"` Resolution string `name:"Resolution"` AlphaFormat string `name:"AlphaFormat"` }
SubmitTextTo3DAvatarVideoTaskVideoInfo is a repeated param struct in SubmitTextTo3DAvatarVideoTaskRequest
type SupportedResolutions ¶ added in v1.62.364
type SupportedResolutions struct { Offline []OfflineItem `json:"Offline" xml:"Offline"` Online []OnlineItem `json:"Online" xml:"Online"` }
SupportedResolutions is a nested struct in avatar response
type TaskResult ¶
type TaskResult struct { VideoUrl string `json:"VideoUrl" xml:"VideoUrl"` SubtitlesUrl string `json:"SubtitlesUrl" xml:"SubtitlesUrl"` WordSubtitlesUrl string `json:"WordSubtitlesUrl" xml:"WordSubtitlesUrl"` FailReason string `json:"FailReason" xml:"FailReason"` FailCode string `json:"FailCode" xml:"FailCode"` VideoDuration int `json:"VideoDuration" xml:"VideoDuration"` }
TaskResult is a nested struct in avatar response
Source Files ¶
- cancel_video_task.go
- client.go
- close_timed_reset_operate.go
- duplex_decision.go
- get_video_task_info.go
- license_auth.go
- query_avatar.go
- query_avatar_list.go
- query_running_instance.go
- query_timed_reset_operate_status.go
- send_message.go
- start_instance.go
- start_timed_reset_operate.go
- stop_instance.go
- struct_channel.go
- struct_data.go
- struct_data_in_query_running_instance.go
- struct_data_in_query_timed_reset_operate_status.go
- struct_data_item.go
- struct_gslb_in_query_running_instance.go
- struct_gslb_in_start_instance.go
- struct_list.go
- struct_list_item.go
- struct_offline_in_query_avatar.go
- struct_offline_in_query_avatar_list.go
- struct_offline_item.go
- struct_online_in_query_avatar.go
- struct_online_in_query_avatar_list.go
- struct_online_item.go
- struct_supported_resolutions.go
- struct_task_result.go
- struct_user.go
- submit_audio_to2_d_avatar_video_task.go
- submit_text_to2_d_avatar_video_task.go
- submit_text_to3_d_avatar_video_task.go