浏览代码

Supported face library operation.

sdk-team 6 年之前
父节点
当前提交
ba6d062f3d

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2019-12-03 Version: v1.60.281
+- Supported face library operation.
+- Supported task template and words.
+
 2019-12-03 Version: v1.60.280
 - Bugfix for DescribeTrails.
 

+ 5 - 3
services/multimediaai/create_cover_task.go

@@ -76,9 +76,11 @@ func (client *Client) CreateCoverTaskWithCallback(request *CreateCoverTaskReques
 // CreateCoverTaskRequest is the request struct for api CreateCoverTask
 type CreateCoverTaskRequest struct {
 	*requests.RpcRequest
-	VideoUrl      string `position:"Query" name:"VideoUrl"`
-	VideoName     string `position:"Query" name:"VideoName"`
-	ApplicationId string `position:"Query" name:"ApplicationId"`
+	TemplateId    requests.Integer `position:"Query" name:"TemplateId"`
+	VideoUrl      string           `position:"Query" name:"VideoUrl"`
+	VideoName     string           `position:"Query" name:"VideoName"`
+	CallbackUrl   string           `position:"Query" name:"CallbackUrl"`
+	ApplicationId string           `position:"Query" name:"ApplicationId"`
 }
 
 // CreateCoverTaskResponse is the response struct for api CreateCoverTask

+ 105 - 0
services/multimediaai/create_face_group.go

@@ -0,0 +1,105 @@
+package multimediaai
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// CreateFaceGroup invokes the multimediaai.CreateFaceGroup API synchronously
+// api document: https://help.aliyun.com/api/multimediaai/createfacegroup.html
+func (client *Client) CreateFaceGroup(request *CreateFaceGroupRequest) (response *CreateFaceGroupResponse, err error) {
+	response = CreateCreateFaceGroupResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateFaceGroupWithChan invokes the multimediaai.CreateFaceGroup API asynchronously
+// api document: https://help.aliyun.com/api/multimediaai/createfacegroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateFaceGroupWithChan(request *CreateFaceGroupRequest) (<-chan *CreateFaceGroupResponse, <-chan error) {
+	responseChan := make(chan *CreateFaceGroupResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateFaceGroup(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateFaceGroupWithCallback invokes the multimediaai.CreateFaceGroup API asynchronously
+// api document: https://help.aliyun.com/api/multimediaai/createfacegroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateFaceGroupWithCallback(request *CreateFaceGroupRequest, callback func(response *CreateFaceGroupResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateFaceGroupResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateFaceGroup(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateFaceGroupRequest is the request struct for api CreateFaceGroup
+type CreateFaceGroupRequest struct {
+	*requests.RpcRequest
+	Description   string `position:"Query" name:"Description"`
+	FaceGroupName string `position:"Query" name:"FaceGroupName"`
+}
+
+// CreateFaceGroupResponse is the response struct for api CreateFaceGroup
+type CreateFaceGroupResponse struct {
+	*responses.BaseResponse
+	RequestId   string `json:"RequestId" xml:"RequestId"`
+	FaceGroupId int64  `json:"FaceGroupId" xml:"FaceGroupId"`
+}
+
+// CreateCreateFaceGroupRequest creates a request to invoke CreateFaceGroup API
+func CreateCreateFaceGroupRequest() (request *CreateFaceGroupRequest) {
+	request = &CreateFaceGroupRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("multimediaai", "2019-08-10", "CreateFaceGroup", "multimediaai", "openAPI")
+	return
+}
+
+// CreateCreateFaceGroupResponse creates a response to parse from CreateFaceGroup response
+func CreateCreateFaceGroupResponse() (response *CreateFaceGroupResponse) {
+	response = &CreateFaceGroupResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/multimediaai/create_face_person.go

@@ -0,0 +1,106 @@
+package multimediaai
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// CreateFacePerson invokes the multimediaai.CreateFacePerson API synchronously
+// api document: https://help.aliyun.com/api/multimediaai/createfaceperson.html
+func (client *Client) CreateFacePerson(request *CreateFacePersonRequest) (response *CreateFacePersonResponse, err error) {
+	response = CreateCreateFacePersonResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateFacePersonWithChan invokes the multimediaai.CreateFacePerson API asynchronously
+// api document: https://help.aliyun.com/api/multimediaai/createfaceperson.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateFacePersonWithChan(request *CreateFacePersonRequest) (<-chan *CreateFacePersonResponse, <-chan error) {
+	responseChan := make(chan *CreateFacePersonResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateFacePerson(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateFacePersonWithCallback invokes the multimediaai.CreateFacePerson API asynchronously
+// api document: https://help.aliyun.com/api/multimediaai/createfaceperson.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateFacePersonWithCallback(request *CreateFacePersonRequest, callback func(response *CreateFacePersonResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateFacePersonResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateFacePerson(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateFacePersonRequest is the request struct for api CreateFacePerson
+type CreateFacePersonRequest struct {
+	*requests.RpcRequest
+	FaceGroupId    requests.Integer `position:"Query" name:"FaceGroupId"`
+	ImageUrls      string           `position:"Query" name:"ImageUrls"`
+	FacePersonName string           `position:"Query" name:"FacePersonName"`
+}
+
+// CreateFacePersonResponse is the response struct for api CreateFacePerson
+type CreateFacePersonResponse struct {
+	*responses.BaseResponse
+	RequestId    string `json:"RequestId" xml:"RequestId"`
+	FacePersonId int64  `json:"FacePersonId" xml:"FacePersonId"`
+}
+
+// CreateCreateFacePersonRequest creates a request to invoke CreateFacePerson API
+func CreateCreateFacePersonRequest() (request *CreateFacePersonRequest) {
+	request = &CreateFacePersonRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("multimediaai", "2019-08-10", "CreateFacePerson", "multimediaai", "openAPI")
+	return
+}
+
+// CreateCreateFacePersonResponse creates a response to parse from CreateFacePerson response
+func CreateCreateFacePersonResponse() (response *CreateFacePersonResponse) {
+	response = &CreateFacePersonResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 5 - 3
services/multimediaai/create_gif_task.go

@@ -76,9 +76,11 @@ func (client *Client) CreateGifTaskWithCallback(request *CreateGifTaskRequest, c
 // CreateGifTaskRequest is the request struct for api CreateGifTask
 type CreateGifTaskRequest struct {
 	*requests.RpcRequest
-	VideoUrl      string `position:"Query" name:"VideoUrl"`
-	VideoName     string `position:"Query" name:"VideoName"`
-	ApplicationId string `position:"Query" name:"ApplicationId"`
+	TemplateId    requests.Integer `position:"Query" name:"TemplateId"`
+	VideoUrl      string           `position:"Query" name:"VideoUrl"`
+	VideoName     string           `position:"Query" name:"VideoName"`
+	CallbackUrl   string           `position:"Query" name:"CallbackUrl"`
+	ApplicationId string           `position:"Query" name:"ApplicationId"`
 }
 
 // CreateGifTaskResponse is the response struct for api CreateGifTask

+ 5 - 3
services/multimediaai/create_label_task.go

@@ -76,9 +76,11 @@ func (client *Client) CreateLabelTaskWithCallback(request *CreateLabelTaskReques
 // CreateLabelTaskRequest is the request struct for api CreateLabelTask
 type CreateLabelTaskRequest struct {
 	*requests.RpcRequest
-	VideoUrl      string `position:"Query" name:"VideoUrl"`
-	VideoName     string `position:"Query" name:"VideoName"`
-	ApplicationId string `position:"Query" name:"ApplicationId"`
+	TemplateId    requests.Integer `position:"Query" name:"TemplateId"`
+	VideoUrl      string           `position:"Query" name:"VideoUrl"`
+	VideoName     string           `position:"Query" name:"VideoName"`
+	CallbackUrl   string           `position:"Query" name:"CallbackUrl"`
+	ApplicationId string           `position:"Query" name:"ApplicationId"`
 }
 
 // CreateLabelTaskResponse is the response struct for api CreateLabelTask

+ 103 - 0
services/multimediaai/delete_face_group.go

@@ -0,0 +1,103 @@
+package multimediaai
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DeleteFaceGroup invokes the multimediaai.DeleteFaceGroup API synchronously
+// api document: https://help.aliyun.com/api/multimediaai/deletefacegroup.html
+func (client *Client) DeleteFaceGroup(request *DeleteFaceGroupRequest) (response *DeleteFaceGroupResponse, err error) {
+	response = CreateDeleteFaceGroupResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteFaceGroupWithChan invokes the multimediaai.DeleteFaceGroup API asynchronously
+// api document: https://help.aliyun.com/api/multimediaai/deletefacegroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteFaceGroupWithChan(request *DeleteFaceGroupRequest) (<-chan *DeleteFaceGroupResponse, <-chan error) {
+	responseChan := make(chan *DeleteFaceGroupResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteFaceGroup(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteFaceGroupWithCallback invokes the multimediaai.DeleteFaceGroup API asynchronously
+// api document: https://help.aliyun.com/api/multimediaai/deletefacegroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteFaceGroupWithCallback(request *DeleteFaceGroupRequest, callback func(response *DeleteFaceGroupResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteFaceGroupResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteFaceGroup(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteFaceGroupRequest is the request struct for api DeleteFaceGroup
+type DeleteFaceGroupRequest struct {
+	*requests.RpcRequest
+	FaceGroupId requests.Integer `position:"Query" name:"FaceGroupId"`
+}
+
+// DeleteFaceGroupResponse is the response struct for api DeleteFaceGroup
+type DeleteFaceGroupResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateDeleteFaceGroupRequest creates a request to invoke DeleteFaceGroup API
+func CreateDeleteFaceGroupRequest() (request *DeleteFaceGroupRequest) {
+	request = &DeleteFaceGroupRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("multimediaai", "2019-08-10", "DeleteFaceGroup", "multimediaai", "openAPI")
+	return
+}
+
+// CreateDeleteFaceGroupResponse creates a response to parse from DeleteFaceGroup response
+func CreateDeleteFaceGroupResponse() (response *DeleteFaceGroupResponse) {
+	response = &DeleteFaceGroupResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/multimediaai/delete_face_image.go

@@ -0,0 +1,105 @@
+package multimediaai
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DeleteFaceImage invokes the multimediaai.DeleteFaceImage API synchronously
+// api document: https://help.aliyun.com/api/multimediaai/deletefaceimage.html
+func (client *Client) DeleteFaceImage(request *DeleteFaceImageRequest) (response *DeleteFaceImageResponse, err error) {
+	response = CreateDeleteFaceImageResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteFaceImageWithChan invokes the multimediaai.DeleteFaceImage API asynchronously
+// api document: https://help.aliyun.com/api/multimediaai/deletefaceimage.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteFaceImageWithChan(request *DeleteFaceImageRequest) (<-chan *DeleteFaceImageResponse, <-chan error) {
+	responseChan := make(chan *DeleteFaceImageResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteFaceImage(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteFaceImageWithCallback invokes the multimediaai.DeleteFaceImage API asynchronously
+// api document: https://help.aliyun.com/api/multimediaai/deletefaceimage.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteFaceImageWithCallback(request *DeleteFaceImageRequest, callback func(response *DeleteFaceImageResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteFaceImageResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteFaceImage(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteFaceImageRequest is the request struct for api DeleteFaceImage
+type DeleteFaceImageRequest struct {
+	*requests.RpcRequest
+	FaceGroupId  requests.Integer `position:"Query" name:"FaceGroupId"`
+	FacePersonId requests.Integer `position:"Query" name:"FacePersonId"`
+	FaceImageId  requests.Integer `position:"Query" name:"FaceImageId"`
+}
+
+// DeleteFaceImageResponse is the response struct for api DeleteFaceImage
+type DeleteFaceImageResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateDeleteFaceImageRequest creates a request to invoke DeleteFaceImage API
+func CreateDeleteFaceImageRequest() (request *DeleteFaceImageRequest) {
+	request = &DeleteFaceImageRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("multimediaai", "2019-08-10", "DeleteFaceImage", "multimediaai", "openAPI")
+	return
+}
+
+// CreateDeleteFaceImageResponse creates a response to parse from DeleteFaceImage response
+func CreateDeleteFaceImageResponse() (response *DeleteFaceImageResponse) {
+	response = &DeleteFaceImageResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/multimediaai/delete_face_person.go

@@ -0,0 +1,104 @@
+package multimediaai
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DeleteFacePerson invokes the multimediaai.DeleteFacePerson API synchronously
+// api document: https://help.aliyun.com/api/multimediaai/deletefaceperson.html
+func (client *Client) DeleteFacePerson(request *DeleteFacePersonRequest) (response *DeleteFacePersonResponse, err error) {
+	response = CreateDeleteFacePersonResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteFacePersonWithChan invokes the multimediaai.DeleteFacePerson API asynchronously
+// api document: https://help.aliyun.com/api/multimediaai/deletefaceperson.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteFacePersonWithChan(request *DeleteFacePersonRequest) (<-chan *DeleteFacePersonResponse, <-chan error) {
+	responseChan := make(chan *DeleteFacePersonResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteFacePerson(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteFacePersonWithCallback invokes the multimediaai.DeleteFacePerson API asynchronously
+// api document: https://help.aliyun.com/api/multimediaai/deletefaceperson.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteFacePersonWithCallback(request *DeleteFacePersonRequest, callback func(response *DeleteFacePersonResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteFacePersonResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteFacePerson(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteFacePersonRequest is the request struct for api DeleteFacePerson
+type DeleteFacePersonRequest struct {
+	*requests.RpcRequest
+	FaceGroupId  requests.Integer `position:"Query" name:"FaceGroupId"`
+	FacePersonId requests.Integer `position:"Query" name:"FacePersonId"`
+}
+
+// DeleteFacePersonResponse is the response struct for api DeleteFacePerson
+type DeleteFacePersonResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateDeleteFacePersonRequest creates a request to invoke DeleteFacePerson API
+func CreateDeleteFacePersonRequest() (request *DeleteFacePersonRequest) {
+	request = &DeleteFacePersonRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("multimediaai", "2019-08-10", "DeleteFacePerson", "multimediaai", "openAPI")
+	return
+}
+
+// CreateDeleteFacePersonResponse creates a response to parse from DeleteFacePerson response
+func CreateDeleteFacePersonResponse() (response *DeleteFacePersonResponse) {
+	response = &DeleteFacePersonResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/multimediaai/list_face_groups.go

@@ -0,0 +1,108 @@
+package multimediaai
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// ListFaceGroups invokes the multimediaai.ListFaceGroups API synchronously
+// api document: https://help.aliyun.com/api/multimediaai/listfacegroups.html
+func (client *Client) ListFaceGroups(request *ListFaceGroupsRequest) (response *ListFaceGroupsResponse, err error) {
+	response = CreateListFaceGroupsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListFaceGroupsWithChan invokes the multimediaai.ListFaceGroups API asynchronously
+// api document: https://help.aliyun.com/api/multimediaai/listfacegroups.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListFaceGroupsWithChan(request *ListFaceGroupsRequest) (<-chan *ListFaceGroupsResponse, <-chan error) {
+	responseChan := make(chan *ListFaceGroupsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListFaceGroups(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListFaceGroupsWithCallback invokes the multimediaai.ListFaceGroups API asynchronously
+// api document: https://help.aliyun.com/api/multimediaai/listfacegroups.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListFaceGroupsWithCallback(request *ListFaceGroupsRequest, callback func(response *ListFaceGroupsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListFaceGroupsResponse
+		var err error
+		defer close(result)
+		response, err = client.ListFaceGroups(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListFaceGroupsRequest is the request struct for api ListFaceGroups
+type ListFaceGroupsRequest struct {
+	*requests.RpcRequest
+	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+}
+
+// ListFaceGroupsResponse is the response struct for api ListFaceGroups
+type ListFaceGroupsResponse struct {
+	*responses.BaseResponse
+	RequestId  string      `json:"RequestId" xml:"RequestId"`
+	PageNumber int         `json:"PageNumber" xml:"PageNumber"`
+	PageSize   int         `json:"PageSize" xml:"PageSize"`
+	TotalCount int64       `json:"TotalCount" xml:"TotalCount"`
+	FaceGroups []FaceGroup `json:"FaceGroups" xml:"FaceGroups"`
+}
+
+// CreateListFaceGroupsRequest creates a request to invoke ListFaceGroups API
+func CreateListFaceGroupsRequest() (request *ListFaceGroupsRequest) {
+	request = &ListFaceGroupsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("multimediaai", "2019-08-10", "ListFaceGroups", "multimediaai", "openAPI")
+	return
+}
+
+// CreateListFaceGroupsResponse creates a response to parse from ListFaceGroups response
+func CreateListFaceGroupsResponse() (response *ListFaceGroupsResponse) {
+	response = &ListFaceGroupsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/multimediaai/list_face_images.go

@@ -0,0 +1,110 @@
+package multimediaai
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// ListFaceImages invokes the multimediaai.ListFaceImages API synchronously
+// api document: https://help.aliyun.com/api/multimediaai/listfaceimages.html
+func (client *Client) ListFaceImages(request *ListFaceImagesRequest) (response *ListFaceImagesResponse, err error) {
+	response = CreateListFaceImagesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListFaceImagesWithChan invokes the multimediaai.ListFaceImages API asynchronously
+// api document: https://help.aliyun.com/api/multimediaai/listfaceimages.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListFaceImagesWithChan(request *ListFaceImagesRequest) (<-chan *ListFaceImagesResponse, <-chan error) {
+	responseChan := make(chan *ListFaceImagesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListFaceImages(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListFaceImagesWithCallback invokes the multimediaai.ListFaceImages API asynchronously
+// api document: https://help.aliyun.com/api/multimediaai/listfaceimages.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListFaceImagesWithCallback(request *ListFaceImagesRequest, callback func(response *ListFaceImagesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListFaceImagesResponse
+		var err error
+		defer close(result)
+		response, err = client.ListFaceImages(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListFaceImagesRequest is the request struct for api ListFaceImages
+type ListFaceImagesRequest struct {
+	*requests.RpcRequest
+	FaceGroupId  requests.Integer `position:"Query" name:"FaceGroupId"`
+	FacePersonId requests.Integer `position:"Query" name:"FacePersonId"`
+	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize     requests.Integer `position:"Query" name:"PageSize"`
+}
+
+// ListFaceImagesResponse is the response struct for api ListFaceImages
+type ListFaceImagesResponse struct {
+	*responses.BaseResponse
+	RequestId  string      `json:"RequestId" xml:"RequestId"`
+	PageNumber int         `json:"PageNumber" xml:"PageNumber"`
+	PageSize   int         `json:"PageSize" xml:"PageSize"`
+	TotalCount int64       `json:"TotalCount" xml:"TotalCount"`
+	FaceImages []FaceImage `json:"FaceImages" xml:"FaceImages"`
+}
+
+// CreateListFaceImagesRequest creates a request to invoke ListFaceImages API
+func CreateListFaceImagesRequest() (request *ListFaceImagesRequest) {
+	request = &ListFaceImagesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("multimediaai", "2019-08-10", "ListFaceImages", "multimediaai", "openAPI")
+	return
+}
+
+// CreateListFaceImagesResponse creates a response to parse from ListFaceImages response
+func CreateListFaceImagesResponse() (response *ListFaceImagesResponse) {
+	response = &ListFaceImagesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/multimediaai/list_face_persons.go

@@ -0,0 +1,110 @@
+package multimediaai
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// ListFacePersons invokes the multimediaai.ListFacePersons API synchronously
+// api document: https://help.aliyun.com/api/multimediaai/listfacepersons.html
+func (client *Client) ListFacePersons(request *ListFacePersonsRequest) (response *ListFacePersonsResponse, err error) {
+	response = CreateListFacePersonsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListFacePersonsWithChan invokes the multimediaai.ListFacePersons API asynchronously
+// api document: https://help.aliyun.com/api/multimediaai/listfacepersons.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListFacePersonsWithChan(request *ListFacePersonsRequest) (<-chan *ListFacePersonsResponse, <-chan error) {
+	responseChan := make(chan *ListFacePersonsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListFacePersons(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListFacePersonsWithCallback invokes the multimediaai.ListFacePersons API asynchronously
+// api document: https://help.aliyun.com/api/multimediaai/listfacepersons.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListFacePersonsWithCallback(request *ListFacePersonsRequest, callback func(response *ListFacePersonsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListFacePersonsResponse
+		var err error
+		defer close(result)
+		response, err = client.ListFacePersons(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListFacePersonsRequest is the request struct for api ListFacePersons
+type ListFacePersonsRequest struct {
+	*requests.RpcRequest
+	FaceGroupId    requests.Integer `position:"Query" name:"FaceGroupId"`
+	FacePersonName string           `position:"Query" name:"FacePersonName"`
+	PageNumber     requests.Integer `position:"Query" name:"PageNumber"`
+	PageSize       requests.Integer `position:"Query" name:"PageSize"`
+}
+
+// ListFacePersonsResponse is the response struct for api ListFacePersons
+type ListFacePersonsResponse struct {
+	*responses.BaseResponse
+	RequestId   string       `json:"RequestId" xml:"RequestId"`
+	PageNumber  int          `json:"PageNumber" xml:"PageNumber"`
+	PageSize    int          `json:"PageSize" xml:"PageSize"`
+	TotalCount  int64        `json:"TotalCount" xml:"TotalCount"`
+	FacePersons []FacePerson `json:"FacePersons" xml:"FacePersons"`
+}
+
+// CreateListFacePersonsRequest creates a request to invoke ListFacePersons API
+func CreateListFacePersonsRequest() (request *ListFacePersonsRequest) {
+	request = &ListFacePersonsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("multimediaai", "2019-08-10", "ListFacePersons", "multimediaai", "openAPI")
+	return
+}
+
+// CreateListFacePersonsResponse creates a response to parse from ListFacePersons response
+func CreateListFacePersonsResponse() (response *ListFacePersonsResponse) {
+	response = &ListFacePersonsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/multimediaai/register_face_image.go

@@ -0,0 +1,105 @@
+package multimediaai
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// RegisterFaceImage invokes the multimediaai.RegisterFaceImage API synchronously
+// api document: https://help.aliyun.com/api/multimediaai/registerfaceimage.html
+func (client *Client) RegisterFaceImage(request *RegisterFaceImageRequest) (response *RegisterFaceImageResponse, err error) {
+	response = CreateRegisterFaceImageResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// RegisterFaceImageWithChan invokes the multimediaai.RegisterFaceImage API asynchronously
+// api document: https://help.aliyun.com/api/multimediaai/registerfaceimage.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) RegisterFaceImageWithChan(request *RegisterFaceImageRequest) (<-chan *RegisterFaceImageResponse, <-chan error) {
+	responseChan := make(chan *RegisterFaceImageResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.RegisterFaceImage(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// RegisterFaceImageWithCallback invokes the multimediaai.RegisterFaceImage API asynchronously
+// api document: https://help.aliyun.com/api/multimediaai/registerfaceimage.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) RegisterFaceImageWithCallback(request *RegisterFaceImageRequest, callback func(response *RegisterFaceImageResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *RegisterFaceImageResponse
+		var err error
+		defer close(result)
+		response, err = client.RegisterFaceImage(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// RegisterFaceImageRequest is the request struct for api RegisterFaceImage
+type RegisterFaceImageRequest struct {
+	*requests.RpcRequest
+	FaceGroupId  requests.Integer `position:"Query" name:"FaceGroupId"`
+	FacePersonId requests.Integer `position:"Query" name:"FacePersonId"`
+	ImageUrl     string           `position:"Query" name:"ImageUrl"`
+}
+
+// RegisterFaceImageResponse is the response struct for api RegisterFaceImage
+type RegisterFaceImageResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateRegisterFaceImageRequest creates a request to invoke RegisterFaceImage API
+func CreateRegisterFaceImageRequest() (request *RegisterFaceImageRequest) {
+	request = &RegisterFaceImageRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("multimediaai", "2019-08-10", "RegisterFaceImage", "multimediaai", "openAPI")
+	return
+}
+
+// CreateRegisterFaceImageResponse creates a response to parse from RegisterFaceImage response
+func CreateRegisterFaceImageResponse() (response *RegisterFaceImageResponse) {
+	response = &RegisterFaceImageResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 26 - 0
services/multimediaai/struct_face_group.go

@@ -0,0 +1,26 @@
+package multimediaai
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// FaceGroup is a nested struct in multimediaai response
+type FaceGroup struct {
+	FaceGroupId   int64           `json:"FaceGroupId" xml:"FaceGroupId"`
+	FaceGroupName string          `json:"FaceGroupName" xml:"FaceGroupName"`
+	Description   string          `json:"Description" xml:"Description"`
+	PersonCount   int64           `json:"PersonCount" xml:"PersonCount"`
+	ImageCount    int64           `json:"ImageCount" xml:"ImageCount"`
+	Templates     []TemplatesItem `json:"Templates" xml:"Templates"`
+}

+ 21 - 0
services/multimediaai/struct_face_groups.go

@@ -0,0 +1,21 @@
+package multimediaai
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// FaceGroups is a nested struct in multimediaai response
+type FaceGroups struct {
+	FaceGroup []FaceGroup `json:"FaceGroup" xml:"FaceGroup"`
+}

+ 23 - 0
services/multimediaai/struct_face_image.go

@@ -0,0 +1,23 @@
+package multimediaai
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// FaceImage is a nested struct in multimediaai response
+type FaceImage struct {
+	FaceImageId   int64     `json:"FaceImageId" xml:"FaceImageId"`
+	ImageUrl      string    `json:"ImageUrl" xml:"ImageUrl"`
+	FaceRectangle []float64 `json:"FaceRectangle" xml:"FaceRectangle"`
+}

+ 21 - 0
services/multimediaai/struct_face_images.go

@@ -0,0 +1,21 @@
+package multimediaai
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// FaceImages is a nested struct in multimediaai response
+type FaceImages struct {
+	FaceImage []FaceImage `json:"FaceImage" xml:"FaceImage"`
+}

+ 24 - 0
services/multimediaai/struct_face_person.go

@@ -0,0 +1,24 @@
+package multimediaai
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// FacePerson is a nested struct in multimediaai response
+type FacePerson struct {
+	FacePersonId   int64  `json:"FacePersonId" xml:"FacePersonId"`
+	FacePersonName string `json:"FacePersonName" xml:"FacePersonName"`
+	ImageUrl       string `json:"ImageUrl" xml:"ImageUrl"`
+	ImageCount     int64  `json:"ImageCount" xml:"ImageCount"`
+}

+ 21 - 0
services/multimediaai/struct_face_persons.go

@@ -0,0 +1,21 @@
+package multimediaai
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// FacePersons is a nested struct in multimediaai response
+type FacePersons struct {
+	FacePerson []FacePerson `json:"FacePerson" xml:"FacePerson"`
+}

+ 21 - 0
services/multimediaai/struct_face_rectangle.go

@@ -0,0 +1,21 @@
+package multimediaai
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// FaceRectangle is a nested struct in multimediaai response
+type FaceRectangle struct {
+	FaceRectangle []float64 `json:"FaceRectangle" xml:"FaceRectangle"`
+}

+ 1 - 0
services/multimediaai/struct_result.go

@@ -21,4 +21,5 @@ type Result struct {
 	VideoName        string `json:"VideoName" xml:"VideoName"`
 	ProcessResultUrl string `json:"ProcessResultUrl" xml:"ProcessResultUrl"`
 	AnalysisUseTime  int64  `json:"AnalysisUseTime" xml:"AnalysisUseTime"`
+	VideoUrl         string `json:"VideoUrl" xml:"VideoUrl"`
 }

+ 21 - 0
services/multimediaai/struct_templates.go

@@ -0,0 +1,21 @@
+package multimediaai
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// Templates is a nested struct in multimediaai response
+type Templates struct {
+	TemplatesItem []TemplatesItem `json:"Templates" xml:"Templates"`
+}

+ 22 - 0
services/multimediaai/struct_templates_item.go

@@ -0,0 +1,22 @@
+package multimediaai
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// TemplatesItem is a nested struct in multimediaai response
+type TemplatesItem struct {
+	Id   string `json:"Id" xml:"Id"`
+	Name string `json:"Name" xml:"Name"`
+}