v20240523

package
v3.0.1103+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CAM signature/authentication error.
	AUTHFAILURE = "AuthFailure"

	// Failed to detect human body keypoints.
	FAILEDOPERATION_BODYJOINTSFAIL = "FailedOperation.BodyJointsFail"

	// Driving failed.
	FAILEDOPERATION_DRIVERFAILED = "FailedOperation.DriverFailed"

	// The face box is too small and cannot be used for face detection.
	FAILEDOPERATION_FACESIZETOOSMALL = "FailedOperation.FaceSizeTooSmall"

	// The human body in the image is obscured or incomplete. Please upload another image.
	FAILEDOPERATION_IMAGEBODYJOINSUNDETECTED = "FailedOperation.ImageBodyJoinsUndetected"

	// The height of the body (from head to ankle) in the input image accounts for less than half of the image height.
	FAILEDOPERATION_IMAGEBODYSMALL = "FailedOperation.ImageBodySmall"

	// No human body is detected in the input image.
	FAILEDOPERATION_IMAGECHECKNOBODY = "FailedOperation.ImageCheckNoBody"

	// Image decoding failed.
	FAILEDOPERATION_IMAGEDECODEFAILED = "FailedOperation.ImageDecodeFailed"

	// Failed to detect the face in the input image.
	FAILEDOPERATION_IMAGEDETECTFACEFAILED = "FailedOperation.ImageDetectFaceFailed"

	// Face detection failed.
	FAILEDOPERATION_IMAGEFACEDETECTFAILED = "FailedOperation.ImageFaceDetectFailed"

	// Multiple human faces are detected in the input image.
	FAILEDOPERATION_IMAGEMANYPEOPLE = "FailedOperation.ImageManyPeople"

	// The image file is not supported.
	FAILEDOPERATION_IMAGENOTSUPPORTED = "FailedOperation.ImageNotSupported"

	// The aspect ratio of the input image is not within the range of 1:1.2 to 1:2.
	FAILEDOPERATION_IMAGERADIOEXCCEED = "FailedOperation.ImageRadioExcceed"

	// The image aspect ratio exceeds the limit.
	FAILEDOPERATION_IMAGERATIOEXCCEED = "FailedOperation.ImageRatioExcceed"

	// The image resolution is too high.
	FAILEDOPERATION_IMAGERESOLUTIONEXCEED = "FailedOperation.ImageResolutionExceed"

	// The size of the image after base64 encoding exceeds the upper limit.
	FAILEDOPERATION_IMAGESIZEEXCEED = "FailedOperation.ImageSizeExceed"

	// Internal service error. Please try again.
	FAILEDOPERATION_INNERERROR = "FailedOperation.InnerError"

	// The task does not exist.
	FAILEDOPERATION_JOBNOTFOUND = "FailedOperation.JobNotFound"

	// Too many tasks are in queue. Please try again later.
	FAILEDOPERATION_JOBQUEUEFULL = "FailedOperation.JobQueueFull"

	// The core joints are not detected.
	FAILEDOPERATION_KEYPOINTUNDETECTED = "FailedOperation.KeyPointUndetected"

	// Failed to pass the content review.
	FAILEDOPERATION_MODERATIONFAILED = "FailedOperation.ModerationFailed"

	// No face is detected in the first frame of the template video.
	FAILEDOPERATION_TEMPLATEFIRSTFRAMENOTDETECTFACE = "FailedOperation.TemplateFirstFrameNotDetectFace"

	// The template video contains frames with no human body detected.
	FAILEDOPERATION_TEMPLATENOTDETECTBODY = "FailedOperation.TemplateNotDetectBody"

	// Internal error.
	INTERNALERROR = "InternalError"

	// Parameter error.
	INVALIDPARAMETER = "InvalidParameter"

	// The template does not exist.
	INVALIDPARAMETER_TEMPLATENOTEXISTED = "InvalidParameter.TemplateNotExisted"

	// Invalid parameter value.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// The resolution is not supported.
	INVALIDPARAMETERVALUE_INVALIDVIDEORESOLUTION = "InvalidParameterValue.InvalidVideoResolution"

	// The image contains no human face.
	INVALIDPARAMETERVALUE_NOFACEINPHOTO = "InvalidParameterValue.NoFaceInPhoto"

	// Parameter field or value is invalid.
	INVALIDPARAMETERVALUE_PARAMETERVALUEERROR = "InvalidParameterValue.ParameterValueError"

	// The quota limit is exceeded.
	LIMITEXCEEDED = "LimitExceeded"

	// Operation denied.
	OPERATIONDENIED = "OperationDenied"

	// Too many and frequent requests.
	REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

	// The number of submitted tasks exceeds the maximum number of concurrent tasks.
	REQUESTLIMITEXCEEDED_JOBNUMEXCEED = "RequestLimitExceeded.JobNumExceed"

	// The resource does not exist.
	RESOURCENOTFOUND = "ResourceNotFound"

	// Unauthorized operation.
	UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

	// The operation is not supported.
	UNSUPPORTEDOPERATION = "UnsupportedOperation"
)
View Source
const APIVersion = "2024-05-23"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) DescribeImageAnimateJob

func (c *Client) DescribeImageAnimateJob(request *DescribeImageAnimateJobRequest) (response *DescribeImageAnimateJobResponse, err error)

DescribeImageAnimateJob This API is used to query image animation tasks. The image animation feature supports generating videos based on dance movements and images to meet the needs of scenarios such as social entertainment and interactive marketing.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_DRIVERFAILED = "FailedOperation.DriverFailed"
FAILEDOPERATION_IMAGEBODYSMALL = "FailedOperation.ImageBodySmall"
FAILEDOPERATION_IMAGECHECKNOBODY = "FailedOperation.ImageCheckNoBody"
FAILEDOPERATION_IMAGEDETECTFACEFAILED = "FailedOperation.ImageDetectFaceFailed"
FAILEDOPERATION_IMAGEMANYPEOPLE = "FailedOperation.ImageManyPeople"
FAILEDOPERATION_IMAGERADIOEXCCEED = "FailedOperation.ImageRadioExcceed"
FAILEDOPERATION_JOBNOTFOUND = "FailedOperation.JobNotFound"
FAILEDOPERATION_KEYPOINTUNDETECTED = "FailedOperation.KeyPointUndetected"
FAILEDOPERATION_TEMPLATEFIRSTFRAMENOTDETECTFACE = "FailedOperation.TemplateFirstFrameNotDetectFace"
FAILEDOPERATION_TEMPLATENOTDETECTBODY = "FailedOperation.TemplateNotDetectBody"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
REQUESTLIMITEXCEEDED_JOBNUMEXCEED = "RequestLimitExceeded.JobNumExceed"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeImageAnimateJobWithContext

func (c *Client) DescribeImageAnimateJobWithContext(ctx context.Context, request *DescribeImageAnimateJobRequest) (response *DescribeImageAnimateJobResponse, err error)

DescribeImageAnimateJob This API is used to query image animation tasks. The image animation feature supports generating videos based on dance movements and images to meet the needs of scenarios such as social entertainment and interactive marketing.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_DRIVERFAILED = "FailedOperation.DriverFailed"
FAILEDOPERATION_IMAGEBODYSMALL = "FailedOperation.ImageBodySmall"
FAILEDOPERATION_IMAGECHECKNOBODY = "FailedOperation.ImageCheckNoBody"
FAILEDOPERATION_IMAGEDETECTFACEFAILED = "FailedOperation.ImageDetectFaceFailed"
FAILEDOPERATION_IMAGEMANYPEOPLE = "FailedOperation.ImageManyPeople"
FAILEDOPERATION_IMAGERADIOEXCCEED = "FailedOperation.ImageRadioExcceed"
FAILEDOPERATION_JOBNOTFOUND = "FailedOperation.JobNotFound"
FAILEDOPERATION_KEYPOINTUNDETECTED = "FailedOperation.KeyPointUndetected"
FAILEDOPERATION_TEMPLATEFIRSTFRAMENOTDETECTFACE = "FailedOperation.TemplateFirstFrameNotDetectFace"
FAILEDOPERATION_TEMPLATENOTDETECTBODY = "FailedOperation.TemplateNotDetectBody"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
REQUESTLIMITEXCEEDED_JOBNUMEXCEED = "RequestLimitExceeded.JobNumExceed"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) SubmitImageAnimateJob

func (c *Client) SubmitImageAnimateJob(request *SubmitImageAnimateJobRequest) (response *SubmitImageAnimateJobResponse, err error)

SubmitImageAnimateJob This API is used to submit image animation tasks. The image animation feature supports generating videos based on dance movements and images to meet the needs of scenarios such as social entertainment and interactive marketing.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_BODYJOINTSFAIL = "FailedOperation.BodyJointsFail"
FAILEDOPERATION_FACESIZETOOSMALL = "FailedOperation.FaceSizeTooSmall"
FAILEDOPERATION_IMAGEBODYJOINSUNDETECTED = "FailedOperation.ImageBodyJoinsUndetected"
FAILEDOPERATION_IMAGEDECODEFAILED = "FailedOperation.ImageDecodeFailed"
FAILEDOPERATION_IMAGEFACEDETECTFAILED = "FailedOperation.ImageFaceDetectFailed"
FAILEDOPERATION_IMAGENOTSUPPORTED = "FailedOperation.ImageNotSupported"
FAILEDOPERATION_IMAGERATIOEXCCEED = "FailedOperation.ImageRatioExcceed"
FAILEDOPERATION_IMAGERESOLUTIONEXCEED = "FailedOperation.ImageResolutionExceed"
FAILEDOPERATION_IMAGESIZEEXCEED = "FailedOperation.ImageSizeExceed"
FAILEDOPERATION_INNERERROR = "FailedOperation.InnerError"
FAILEDOPERATION_JOBQUEUEFULL = "FailedOperation.JobQueueFull"
FAILEDOPERATION_MODERATIONFAILED = "FailedOperation.ModerationFailed"
INVALIDPARAMETER_TEMPLATENOTEXISTED = "InvalidParameter.TemplateNotExisted"
INVALIDPARAMETERVALUE_INVALIDVIDEORESOLUTION = "InvalidParameterValue.InvalidVideoResolution"
INVALIDPARAMETERVALUE_NOFACEINPHOTO = "InvalidParameterValue.NoFaceInPhoto"
INVALIDPARAMETERVALUE_PARAMETERVALUEERROR = "InvalidParameterValue.ParameterValueError"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED_JOBNUMEXCEED = "RequestLimitExceeded.JobNumExceed"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) SubmitImageAnimateJobWithContext

func (c *Client) SubmitImageAnimateJobWithContext(ctx context.Context, request *SubmitImageAnimateJobRequest) (response *SubmitImageAnimateJobResponse, err error)

SubmitImageAnimateJob This API is used to submit image animation tasks. The image animation feature supports generating videos based on dance movements and images to meet the needs of scenarios such as social entertainment and interactive marketing.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_BODYJOINTSFAIL = "FailedOperation.BodyJointsFail"
FAILEDOPERATION_FACESIZETOOSMALL = "FailedOperation.FaceSizeTooSmall"
FAILEDOPERATION_IMAGEBODYJOINSUNDETECTED = "FailedOperation.ImageBodyJoinsUndetected"
FAILEDOPERATION_IMAGEDECODEFAILED = "FailedOperation.ImageDecodeFailed"
FAILEDOPERATION_IMAGEFACEDETECTFAILED = "FailedOperation.ImageFaceDetectFailed"
FAILEDOPERATION_IMAGENOTSUPPORTED = "FailedOperation.ImageNotSupported"
FAILEDOPERATION_IMAGERATIOEXCCEED = "FailedOperation.ImageRatioExcceed"
FAILEDOPERATION_IMAGERESOLUTIONEXCEED = "FailedOperation.ImageResolutionExceed"
FAILEDOPERATION_IMAGESIZEEXCEED = "FailedOperation.ImageSizeExceed"
FAILEDOPERATION_INNERERROR = "FailedOperation.InnerError"
FAILEDOPERATION_JOBQUEUEFULL = "FailedOperation.JobQueueFull"
FAILEDOPERATION_MODERATIONFAILED = "FailedOperation.ModerationFailed"
INVALIDPARAMETER_TEMPLATENOTEXISTED = "InvalidParameter.TemplateNotExisted"
INVALIDPARAMETERVALUE_INVALIDVIDEORESOLUTION = "InvalidParameterValue.InvalidVideoResolution"
INVALIDPARAMETERVALUE_NOFACEINPHOTO = "InvalidParameterValue.NoFaceInPhoto"
INVALIDPARAMETERVALUE_PARAMETERVALUEERROR = "InvalidParameterValue.ParameterValueError"
LIMITEXCEEDED = "LimitExceeded"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED_JOBNUMEXCEED = "RequestLimitExceeded.JobNumExceed"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

type DescribeImageAnimateJobRequest

type DescribeImageAnimateJobRequest struct {
	*tchttp.BaseRequest

	// Task ID.
	JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"`
}

func NewDescribeImageAnimateJobRequest

func NewDescribeImageAnimateJobRequest() (request *DescribeImageAnimateJobRequest)

func (*DescribeImageAnimateJobRequest) FromJsonString

func (r *DescribeImageAnimateJobRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeImageAnimateJobRequest) ToJsonString

func (r *DescribeImageAnimateJobRequest) ToJsonString() string

type DescribeImageAnimateJobRequestParams

type DescribeImageAnimateJobRequestParams struct {
	// Task ID.
	JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"`
}

Predefined struct for user

type DescribeImageAnimateJobResponse

type DescribeImageAnimateJobResponse struct {
	*tchttp.BaseResponse
	Response *DescribeImageAnimateJobResponseParams `json:"Response"`
}

func NewDescribeImageAnimateJobResponse

func NewDescribeImageAnimateJobResponse() (response *DescribeImageAnimateJobResponse)

func (*DescribeImageAnimateJobResponse) FromJsonString

func (r *DescribeImageAnimateJobResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeImageAnimateJobResponse) ToJsonString

func (r *DescribeImageAnimateJobResponse) ToJsonString() string

type DescribeImageAnimateJobResponseParams

type DescribeImageAnimateJobResponseParams struct {
	// Task status. WAIT: waiting; RUN: running; FAIL: failed; DONE: successful.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Error code.
	ErrorCode *string `json:"ErrorCode,omitnil,omitempty" name:"ErrorCode"`

	// Error message.
	ErrorMessage *string `json:"ErrorMessage,omitnil,omitempty" name:"ErrorMessage"`

	// Generated video URL. It is valid for 24 hours.
	ResultVideoUrl *string `json:"ResultVideoUrl,omitnil,omitempty" name:"ResultVideoUrl"`

	// Masked video URL.
	MaskVideoUrl *string `json:"MaskVideoUrl,omitnil,omitempty" name:"MaskVideoUrl"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type LogoParam

type LogoParam struct {
	// Watermark URL
	//
	// Note: This field may return null, indicating that no valid values can be obtained.
	LogoUrl *string `json:"LogoUrl,omitnil,omitempty" name:"LogoUrl"`

	// Watermark Base64 code is supported. Either the Base64 code or URL must be provided. If both are provided, the URL prevails.
	//
	// Note: This field may return null, indicating that no valid values can be obtained.
	LogoImage *string `json:"LogoImage,omitnil,omitempty" name:"LogoImage"`

	// The coordinates of the watermark image in the generated image. The mark image will be expanded according to the coordinates.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LogoRect *LogoRect `json:"LogoRect,omitnil,omitempty" name:"LogoRect"`
}

type LogoRect

type LogoRect struct {
	// X-axis coordinate of the upper left corner
	//
	// Note: This field may return null, indicating that no valid values can be obtained.
	X *int64 `json:"X,omitnil,omitempty" name:"X"`

	// Y-axis coordinate of the upper left corner
	//
	// Note: This field may return null, indicating that no valid values can be obtained.
	Y *int64 `json:"Y,omitnil,omitempty" name:"Y"`

	// Box width
	//
	// Note: This field may return null, indicating that no valid values can be obtained.
	Width *int64 `json:"Width,omitnil,omitempty" name:"Width"`

	// Box height
	//
	// Note: This field may return null, indicating that no valid values can be obtained.
	Height *int64 `json:"Height,omitnil,omitempty" name:"Height"`
}

type SubmitImageAnimateJobRequest

type SubmitImageAnimateJobRequest struct {
	*tchttp.BaseRequest

	// Image format: PNG, JPG, and JPEG formats are supported.
	// Image resolution: The long edge resolution should not exceed 2056.
	// Image size: The size should not exceed 10 MB.
	// Image aspect ratio: The ratio of width to height should be in the range of 1:2 to 1:1.2.
	ImageUrl *string `json:"ImageUrl,omitnil,omitempty" name:"ImageUrl"`

	// Image information after Base64 encoding. Image format: PNG, JPG, and JPEG formats are supported. Image resolution: The long side resolution should not exceed 2056. Image size: The size should not exceed 10 MB. Image aspect ratio: The ratio of width to height should be in the range of 1:2 to 1:1.2.
	ImageBase64 *string `json:"ImageBase64,omitnil,omitempty" name:"ImageBase64"`

	// Action template ID. ke3: kemusan; tuziwu: rabbit dance; huajiangwu: paddling dance.
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// Whether the generated video retains the audio in the template. The default value is true.
	EnableAudio *bool `json:"EnableAudio,omitnil,omitempty" name:"EnableAudio"`

	// Whether to detect 12 body parts in the input image (head, neck, right shoulder, right elbow, right wrist, left shoulder, left elbow, left wrist, right hip, left hip, left knee, and right knee). They are not detected by default.
	EnableBodyJoins *bool `json:"EnableBodyJoins,omitnil,omitempty" name:"EnableBodyJoins"`

	// Whether the final video retains the background of the original image. (This parameter does not take effect when TemplateId is set to tuziwu or huajiangwu.)
	EnableSegment *bool `json:"EnableSegment,omitnil,omitempty" name:"EnableSegment"`

	// Whether to add a mark to the generated video. The default value is 0.
	// 1: A mark is added.
	// 0: No mark is added.
	// Other values: A mark is added by default.
	// It is recommended to use an obvious mark to indicate that the video is synthesized by AI.
	LogoAdd *int64 `json:"LogoAdd,omitnil,omitempty" name:"LogoAdd"`

	// Mark text settings.
	// By default, the text "Synthesized by AI" is added to the bottom right corner of the generated video. You can also use other text images.
	LogoParam *LogoParam `json:"LogoParam,omitnil,omitempty" name:"LogoParam"`
}

func NewSubmitImageAnimateJobRequest

func NewSubmitImageAnimateJobRequest() (request *SubmitImageAnimateJobRequest)

func (*SubmitImageAnimateJobRequest) FromJsonString

func (r *SubmitImageAnimateJobRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SubmitImageAnimateJobRequest) ToJsonString

func (r *SubmitImageAnimateJobRequest) ToJsonString() string

type SubmitImageAnimateJobRequestParams

type SubmitImageAnimateJobRequestParams struct {
	// Image format: PNG, JPG, and JPEG formats are supported.
	// Image resolution: The long edge resolution should not exceed 2056.
	// Image size: The size should not exceed 10 MB.
	// Image aspect ratio: The ratio of width to height should be in the range of 1:2 to 1:1.2.
	ImageUrl *string `json:"ImageUrl,omitnil,omitempty" name:"ImageUrl"`

	// Image information after Base64 encoding. Image format: PNG, JPG, and JPEG formats are supported. Image resolution: The long side resolution should not exceed 2056. Image size: The size should not exceed 10 MB. Image aspect ratio: The ratio of width to height should be in the range of 1:2 to 1:1.2.
	ImageBase64 *string `json:"ImageBase64,omitnil,omitempty" name:"ImageBase64"`

	// Action template ID. ke3: kemusan; tuziwu: rabbit dance; huajiangwu: paddling dance.
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// Whether the generated video retains the audio in the template. The default value is true.
	EnableAudio *bool `json:"EnableAudio,omitnil,omitempty" name:"EnableAudio"`

	// Whether to detect 12 body parts in the input image (head, neck, right shoulder, right elbow, right wrist, left shoulder, left elbow, left wrist, right hip, left hip, left knee, and right knee). They are not detected by default.
	EnableBodyJoins *bool `json:"EnableBodyJoins,omitnil,omitempty" name:"EnableBodyJoins"`

	// Whether the final video retains the background of the original image. (This parameter does not take effect when TemplateId is set to tuziwu or huajiangwu.)
	EnableSegment *bool `json:"EnableSegment,omitnil,omitempty" name:"EnableSegment"`

	// Whether to add a mark to the generated video. The default value is 0.
	// 1: A mark is added.
	// 0: No mark is added.
	// Other values: A mark is added by default.
	// It is recommended to use an obvious mark to indicate that the video is synthesized by AI.
	LogoAdd *int64 `json:"LogoAdd,omitnil,omitempty" name:"LogoAdd"`

	// Mark text settings.
	// By default, the text "Synthesized by AI" is added to the bottom right corner of the generated video. You can also use other text images.
	LogoParam *LogoParam `json:"LogoParam,omitnil,omitempty" name:"LogoParam"`
}

Predefined struct for user

type SubmitImageAnimateJobResponse

type SubmitImageAnimateJobResponse struct {
	*tchttp.BaseResponse
	Response *SubmitImageAnimateJobResponseParams `json:"Response"`
}

func NewSubmitImageAnimateJobResponse

func NewSubmitImageAnimateJobResponse() (response *SubmitImageAnimateJobResponse)

func (*SubmitImageAnimateJobResponse) FromJsonString

func (r *SubmitImageAnimateJobResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SubmitImageAnimateJobResponse) ToJsonString

func (r *SubmitImageAnimateJobResponse) ToJsonString() string

type SubmitImageAnimateJobResponseParams

type SubmitImageAnimateJobResponseParams struct {
	// Task ID.
	JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL