model

package
v1.0.117 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllAgeGenerationData

type AllAgeGenerationData struct {
	AlgorithmBaseResp *struct {
		StatusCode    int    `json:"status_code"`
		StatusMessage string `json:"status_message"`
	} `json:"algorithm_base_resp"`
	BinaryDataBase64 []string `json:"binary_data_base64"`
}

type AllAgeGenerationRequest

type AllAgeGenerationRequest struct {
	ReqKey           string   `json:"req_key"`
	BinaryDataBase64 []string `json:"binary_data_base64"`
	TargetAge        int      `json:"target_age"`
}

type AllAgeGenerationResult

type AllAgeGenerationResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Status           int                    `json:"status"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Data             *AllAgeGenerationData  `json:"data"`
}

type BackInfo

type BackInfo struct {
	IssueAuthority string `json:"issue_authority"`
	ValidPeriod    string `json:"valid_period"`
}

type BankCardData

type BankCardData struct {
	CardNumber  string      `json:"card_number"`
	CardCorners *CornerInfo `json:"card_corners"`
}

type BankCardDataV2

type BankCardDataV2 struct {
	ExpiredDate        string      `json:"expired_date"`
	ExpiredDateCorners *CornerInfo `json:"expired_date_corners"`
	Number             string      `json:"number"`
	NumberCorners      *CornerInfo `json:"number_corners"`
	BankId             string      `json:"bank_id"`
	BankName           string      `json:"bank_name"`
	CardName           string      `json:"card_name"`
	CardType           string      `json:"card_type"`
}

type BankCardResult

type BankCardResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *BankCardData          `json:"data"`
}

type BankCardResultV2

type BankCardResultV2 struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *BankCardDataV2        `json:"data"`
}

type BodyDetectionData

type BodyDetectionData struct {
	AlgorithmBaseResp *struct {
		StatusCode    int    `json:"status_code"`
		StatusMessage string `json:"status_message"`
	} `json:"algorithm_base_resp"`
	BinaryDataBase64 []string `json:"binary_data_base64"`
	Result           [][]*struct {
		Box *struct {
			X1 string `json:"x1"`
			X2 string `json:"x2"`
			Y1 string `json:"y1"`
			Y2 string `json:"y2"`
		} `json:"box"`
		ChnName string `json:"chn_name"`
		EngName string `json:"eng_name"`
		Score   string `json:"score"`
	} `json:"result"`
}

type BodyDetectionRequest

type BodyDetectionRequest struct {
	ReqKey           string   `json:"req_key"`
	BinaryDataBase64 []string `json:"binary_data_base64"`
	MaxObjNum        int      `json:"max_obj_num"`
}

type BodyDetectionResult

type BodyDetectionResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Status           int                    `json:"status"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Data             *BodyDetectionData     `json:"data"`
}

type BoundingBox

type BoundingBox struct {
	Xmin int     `json:"x_min"`
	Xmax int     `json:"x_max"`
	Ymin int     `json:"y_min"`
	Ymax int     `json:"y_max"`
	Prob float64 `json:"prob"`
}

type CarBox

type CarBox struct {
	MinX  int     `json:"min_x"`
	MinY  int     `json:"min_y"`
	MaxX  int     `json:"max_x"`
	MaxY  int     `json:"max_y"`
	Score float64 `json:"score"`
}

type CarDetectionData

type CarDetectionData struct {
	CarBox []CarBox `json:"car_box"`
}

type CarDetectionResult

type CarDetectionResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *CarDetectionData      `json:"data"`
}

type CarPlateBox

type CarPlateBox struct {
	MinX  int     `json:"min_x"`
	MinY  int     `json:"min_y"`
	MaxX  int     `json:"max_x"`
	MaxY  int     `json:"max_y"`
	Score float64 `json:"score"`
}

type CarPlateDetectionData

type CarPlateDetectionData struct {
	CarPlateBox []CarBox `json:"car_plate_box"`
}

type CarPlateDetectionResult

type CarPlateDetectionResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *CarPlateDetectionData `json:"data"`
}

type CarSegmentData

type CarSegmentData struct {
	Mask string `json:"mask"`
}

type CarSegmentResult

type CarSegmentResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *CarSegmentData        `json:"data"`
}

type CertConfigGetData

type CertConfigGetData struct {
	AlgorithmBaseResp *struct {
		StatusCode    int    `json:"status_code"`
		StatusMessage string `json:"status_message"`
	} `json:"algorithm_base_resp"`
	BinaryDataBase64 []string `json:"binary_data_base64"`
	ClientConfig     string   `json:"client_config"`
	H5Config         *struct {
		Bucket           string `json:"bucket"`
		DemoteType       int    `json:"demoteType"`
		Endpoint         string `json:"endpoint"`
		ProtocolLink     string `json:"protocolLink"`
		ProtocolName     string `json:"protocolName"`
		ProtocolNav      string `json:"protocolNav"`
		ProtocolNavTitle string `json:"protocolNavTitle"`
		RedirectUrl      string `json:"redirectUrl"`
		Region           string `json:"region"`
		ShowResult       string `json:"showResult"`
		Source           string `json:"source"`
		StyleConf        string `json:"styleConf"`
		Type             string `json:"type"`
	} `json:"h5_config"`
	ReqMeasureInfo *struct {
		MeasureType string `json:"measure_type"`
		Value       int    `json:"value"`
	} `json:"req_measure_info"`
	TokenApiConfig *struct {
		CallbackInfo *struct {
			Switch     bool   `json:"switch"`
			Block      bool   `json:"block"`
			Url        string `json:"url"`
			ClientName string `json:"client_name"`
		} `json:"callback_info"`
		FixedMotionList  []string `json:"fixed_motion_list"`
		LivenessTimeout  int      `json:"liveness_timeout"`
		LivenessType     string   `json:"liveness_type"`
		MaxLivenessTrial int      `json:"max_liveness_trial"`
		MotionCount      int      `json:"motion_count"`
		MotionList       []string `json:"motion_list"`
		RefSource        string   `json:"ref_source"`
		TosInfo          *struct {
			Bucket   string `json:"bucket"`
			Endpoint string `json:"endpoint"`
			Region   string `json:"region"`
		} `json:"tos_info"`
	} `json:"token_api_config"`
}

type CertConfigGetRequest

type CertConfigGetRequest struct {
	ReqKey   string `json:"req_key"`
	ConfigId bool   `json:"config_id"`
}

type CertConfigGetResult

type CertConfigGetResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Status           int                    `json:"status"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Data             *CertConfigGetData     `json:"data"`
}

type CertConfigInitData

type CertConfigInitData struct {
	AlgorithmBaseResp *struct {
		StatusCode    int    `json:"status_code"`
		StatusMessage string `json:"status_message"`
	} `json:"algorithm_base_resp"`
	BinaryDataBase64 []string `json:"binary_data_base64"`
	ConfigId         string   `json:"config_id"`
}

type CertConfigInitRequest

type CertConfigInitRequest struct {
	ReqKey         string `json:"req_key"`
	ConfigName     string `json:"config_name"`
	ConfigDesc     string `json:"config_desc"`
	TokenApiConfig *struct {
		RefSource    string `json:"ref_source"`
		LivenessType string `json:"liveness_type"`
		TosInfo      *struct {
			Bucket   string `json:"bucket"`
			Endpoint string `json:"endpoint"`
			Region   string `json:"region"`
		} `json:"tos_info"`
		RefImage         string   `json:"ref_image"`
		LivenessTimeout  int      `json:"liveness_timeout"`
		MotionList       []string `json:"motion_list"`
		FixedMotionList  []string `json:"fixed_motion_list"`
		MotionCount      int      `json:"motion_count"`
		MaxLivenessTrial int      `json:"max_liveness_trial"`
		CallbackInfo     *struct {
			Switch     bool   `json:"switch"`
			Block      bool   `json:"block"`
			Url        string `json:"url"`
			ClientName string `json:"client_name"`
		} `json:"callback_info"`
	} `json:"token_api_config"`
	H5Config *struct {
		RedirectUrl      string `json:"redirectUrl"`
		Source           string `json:"source"`
		Bucket           string `json:"bucket"`
		Endpoint         string `json:"endpoint"`
		Region           string `json:"region"`
		Type             string `json:"type"`
		ShowResult       string `json:"showResult"`
		ProtocolName     string `json:"protocolName"`
		ProtocolLink     string `json:"protocolLink"`
		DemoteType       int64  `json:"demoteType"`
		StyleConf        string `json:"styleConf"`
		ProtocolNav      string `json:"protocolNav"`
		ProtocolNavTitle string `json:"protocolNavTitle"`
	} `json:"h5_config"`
}

type CertConfigInitResult

type CertConfigInitResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Status           int                    `json:"status"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Data             *CertConfigInitData    `json:"data"`
}

type CertTokenData

type CertTokenData struct {
	AlgorithmBaseResp *struct {
		StatusCode    int    `json:"status_code"`
		StatusMessage string `json:"status_message"`
	} `json:"algorithm_base_resp"`
	BinaryDataBase64 []string `json:"binary_data_base64"`
	BytedToken       string   `json:"byted_token"`
	ClientConfig     string   `json:"client_config"`
}

type CertTokenRequest

type CertTokenRequest struct {
	ReqKey   string `json:"req_key"`
	StsToken string `json:"sts_token"`
	TosInfo  *struct {
		StsAk    string `json:"sts_ak"`
		StsSk    string `json:"sts_sk"`
		StsToken string `json:"sts_token"`
		Bucket   string `json:"bucket"`
		Endpoint string `json:"endpoint"`
		Region   string `json:"region"`
	} `json:"tos_info"`
	RefSource        string   `json:"ref_source"`
	LivenessType     string   `json:"liveness_type"`
	IdCardName       string   `json:"idcard_name"`
	IdCardNo         string   `json:"idcard_no"`
	RefImage         string   `json:"ref_image"`
	LivenessTimeout  int      `json:"liveness_timeout"`
	MotionList       []string `json:"motion_list"`
	FixedMotionList  []string `json:"fixed_motion_list"`
	MotionCount      int      `json:"motion_count"`
	MaxLivenessTrial int      `json:"max_liveness_trial"`
	CallbackInfo     *struct {
		Switch     bool   `json:"switch"`
		Block      bool   `json:"block"`
		Url        string `json:"url"`
		ClientName string `json:"client_name"`
	} `json:"callback_info"`
	ConfigID string `json:"config_id"`
}

type CertTokenResult

type CertTokenResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Status           int                    `json:"status"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Data             *CertTokenData         `json:"data"`
}

type CertVerifyQueryData

type CertVerifyQueryData struct {
	AlgorithmBaseResp *struct {
		StatusCode    int    `json:"status_code"`
		StatusMessage string `json:"status_message"`
	} `json:"algorithm_base_resp"`
	BinaryDataBase64 []string `json:"binary_data_base64"`
	Result           bool     `json:"result"`
	Images           *struct {
		ImageBest string `json:"image_best"`
		ImageEnv  string `json:"image_env"`
	} `json:"images"`
	Video             string `json:"video"`
	SourceCompDetails *struct {
		Score      float64 `json:"score"`
		Thresholds *struct {
			E3 float64 `json:"1e-3"`
			E4 float64 `json:"1e-4"`
			E5 float64 `json:"1e-5"`
			E6 float64 `json:"1e-6"`
		} `json:"thresholds"`
	} `json:"source_comp_details"`
	TosData *struct {
		Bucket       string `json:"bucket"`
		ImageEnvKey  string `json:"image_env_key"`
		ImageBestKey string `json:"image_best_key"`
		VideoKey     string `json:"video_key"`
		CertDataKey  string `json:"cert_data_key"`
	} `json:"tos_data"`
	VerifyAlgorithmBaseResp *struct {
		StatusCode    int    `json:"status_code"`
		StatusMessage string `json:"status_message"`
	} `json:"verify_algorithm_base_resp"`
	VerifyReqMeasureInfo *struct {
		MeasureType string `json:"measure_type"`
		Value       int    `json:"value"`
	} `json:"verify_req_measure_info"`
}

type CertVerifyQueryRequest

type CertVerifyQueryRequest struct {
	ReqKey     string `json:"req_key"`
	BytedToken string `json:"byted_token"`
	OmitData   bool   `json:"omit_data"`
}

type CertVerifyQueryResult

type CertVerifyQueryResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Status           int                    `json:"status"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Data             *CertVerifyQueryData   `json:"data"`
}

type CharInfo

type CharInfo struct {
	X      float64 `json:"x"`
	Y      float64 `json:"y"`
	Width  float64 `json:"width"`
	Height float64 `json:"height"`
	Score  float64 `json:"score"`
	Char   string  `json:"char"`
}

type ConvertPhotoData

type ConvertPhotoData struct {
	Image string `json:"image"`
}

type ConvertPhotoResult

type ConvertPhotoResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *ConvertPhotoData      `json:"data"`
}

type ConvertPhotoV2Data added in v1.0.103

type ConvertPhotoV2Data struct {
	AlgorithmBaseResp struct {
		StatusCode    int    `json:"status_code"`
		StatusMessage string `json:"status_message"`
	} `json:"algorithm_base_resp"`
	BinaryDataBase64 []string `json:"binary_data_base64"`
}

type ConvertPhotoV2Request added in v1.0.103

type ConvertPhotoV2Request struct {
	ReqKey           string   `json:"req_key"`
	BinaryDataBase64 []string `json:"binary_data_base64"`
	IsColor          bool     `json:"is_color"`
}

type ConvertPhotoV2Result added in v1.0.103

type ConvertPhotoV2Result struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Status           int                    `json:"status"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Data             *ConvertPhotoV2Data    `json:"data"`
}

type CornerInfo

type CornerInfo struct {
	LeftTop     []float64 `json:"left_top"`
	RightTop    []float64 `json:"right_top"`
	RightBottom []float64 `json:"right_bottom"`
	LeftBottom  []float64 `json:"left_bottom"`
}

type DistortionFreeData

type DistortionFreeData struct {
	Image string `json:"image"`
}

type DistortionFreeResult

type DistortionFreeResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *DistortionFreeData    `json:"data"`
}

type DollyZoomData

type DollyZoomData struct {
	Video string `json:"video"`
}

type DollyZoomResult

type DollyZoomResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *DollyZoomData         `json:"data"`
}

type DrivingLicenseData

type DrivingLicenseData struct {
	MainInfo *DrivingLicenseMainInfo `json:"license_main"`
}

type DrivingLicenseMainInfo

type DrivingLicenseMainInfo struct {
	IdNumber         string `json:"id_number"`
	Name             string `json:"name"`
	Sex              string `json:"sex"`
	Nationality      string `json:"nationality"`
	Address          string `json:"address"`
	DateOfBirth      string `json:"date_of_birth"`
	DateOfFirstIssue string `json:"date_of_first_issue"`
	Class            string `json:"class"`
	ValidBegin       string `json:"valid_begin"`
	ValidEnd         string `json:"valid_end"`
}

type DrivingLicenseResult

type DrivingLicenseResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *DrivingLicenseData    `json:"data"`
}

type EmoticonEditData

type EmoticonEditData struct {
	Image string `json:"image"`
}

type EmoticonEditResult

type EmoticonEditResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *EmoticonEditData      `json:"data"`
}

type EnhancePhotoData

type EnhancePhotoData struct {
	Image string `json:"image"`
}

type EnhancePhotoResult

type EnhancePhotoResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *EnhancePhotoData      `json:"data"`
}

type EnhancePhotoV2Data

type EnhancePhotoV2Data struct {
	AlgorithmBaseResp *struct {
		StatusCode    int    `json:"status_code"`
		StatusMessage string `json:"status_message"`
	} `json:"algorithm_base_resp"`
	BinaryDataBase64 []string `json:"binary_data_base64"`
}

type EnhancePhotoV2Request

type EnhancePhotoV2Request struct {
	ReqKey             string   `json:"req_key"`
	BinaryDataBase64   []string `json:"binary_data_base64"`
	ResolutionBoundary string   `json:"resolution_boundary"`
	EnableHdr          bool     `json:"enable_hdr"`
	EnableWb           bool     `json:"enable_wb"`
	ResultFormat       int64    `json:"result_format"`
	JpgQuality         int64    `json:"jpg_quality"`
}

type EnhancePhotoV2Result

type EnhancePhotoV2Result struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Status           int                    `json:"status"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Data             *EnhancePhotoV2Data    `json:"data"`
}

type EntityDetectData

type EntityDetectData struct {
	Entities []string `json:"entities"`
}

type EntityDetectResult

type EntityDetectResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *EntityDetectData      `json:"data"`
}

type EyeClose2OpenData

type EyeClose2OpenData struct {
	Image string `json:"image"`
}

type EyeClose2OpenResult

type EyeClose2OpenResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *EyeClose2OpenData     `json:"data"`
}

type FaceCompareData added in v1.0.116

type FaceCompareData struct {
	AlgorithmBaseResp *struct {
		StatusCode    int    `json:"status_code"`
		StatusMessage string `json:"status_message"`
	} `json:"algorithm_base_resp"`
	BinaryDataBase64 []string `json:"binary_data_base64"`
	Confidence       string   `json:"confidence"`
	IsMatch          bool     `json:"is_match"`
	RectAList        []string `json:"rect_a_list"`
	RectBList        []string `json:"rect_b_list"`
	Thresholds       []string `json:"thresholds"`
}

type FaceCompareResult added in v1.0.116

type FaceCompareResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Status           int                    `json:"status"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Data             *FaceCompareData       `json:"data"`
}

type FaceFusionMovieGetResultData

type FaceFusionMovieGetResultData struct {
	AlgorithmBaseResp *struct {
		StatusCode    int    `json:"status_code"`
		StatusMessage string `json:"status_message"`
	} `json:"algorithm_base_resp"`
	BinaryDataBase64 []string `json:"binary_data_base64"`
	RespData         string   `json:"resp_data"`
	Status           string   `json:"status"`
}

type FaceFusionMovieGetResultRequest

type FaceFusionMovieGetResultRequest struct {
	ReqKey string `json:"req_key"`
	TaskId string `json:"task_id"`
}

type FaceFusionMovieGetResultResult

type FaceFusionMovieGetResultResult struct {
	ResponseMetadata *base.ResponseMetadata        `json:",omitempty"`
	RequestId        string                        `json:"request_id"`
	Code             int                           `json:"code"`
	Message          string                        `json:"message"`
	Status           int                           `json:"status"`
	TimeElapsed      string                        `json:"time_elapsed"`
	Data             *FaceFusionMovieGetResultData `json:"data"`
}

type FaceFusionMovieRequest added in v1.0.110

type FaceFusionMovieRequest struct {
	ReqKey             string   `json:"req_key"`
	BinaryDataBase64   []string `json:"binary_data_base64"`
	ImageUrl           string   `json:"image_url"`
	VideoUrl           string   `json:"video_url"`
	EnableFaceBeautify bool     `json:"enable_face_beautify"`
	RefImgUrl          string   `json:"ref_img_url"`
}

type FaceFusionMovieResult added in v1.0.110

type FaceFusionMovieResult struct {
	ResponseMetadata *base.ResponseMetadata        `json:",omitempty"`
	RequestId        string                        `json:"request_id"`
	Code             int                           `json:"code"`
	Message          string                        `json:"message"`
	Status           int                           `json:"status"`
	TimeElapsed      string                        `json:"time_elapsed"`
	Data             *FaceFusionMovieGetResultData `json:"data"`
}

type FaceFusionMovieSubmitTaskData

type FaceFusionMovieSubmitTaskData struct {
	AlgorithmBaseResp *struct {
		StatusCode    int    `json:"status_code"`
		StatusMessage string `json:"status_message"`
	} `json:"algorithm_base_resp"`
	BinaryDataBase64 []string `json:"binary_data_base64"`
	TaskId           string   `json:"task_id"`
}

type FaceFusionMovieSubmitTaskRequest

type FaceFusionMovieSubmitTaskRequest struct {
	ReqKey             string `json:"req_key"`
	ImageUrl           string `json:"image_url"`
	VideoUrl           string `json:"video_url"`
	EnableFaceBeautify bool   `json:"enable_face_beautify"`
	RefImgUrl          string `json:"ref_img_url"`
}

type FaceFusionMovieSubmitTaskResult

type FaceFusionMovieSubmitTaskResult struct {
	ResponseMetadata *base.ResponseMetadata         `json:",omitempty"`
	RequestId        string                         `json:"request_id"`
	Code             int                            `json:"code"`
	Message          string                         `json:"message"`
	Status           int                            `json:"status"`
	TimeElapsed      string                         `json:"time_elapsed"`
	Data             *FaceFusionMovieSubmitTaskData `json:"data"`
}

type FacePrettyData

type FacePrettyData struct {
	Image string `json:"image"`
}

type FacePrettyResult

type FacePrettyResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *FacePrettyData        `json:"data"`
}

type FaceSwapData

type FaceSwapData struct {
	Image string `json:"image"`
}

type FaceSwapResult

type FaceSwapResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *FaceSwapData          `json:"data"`
}

type Frame

type Frame struct {
	Objects []Object `json:"objects"`
	Width   int      `json:"width"`
	Height  int      `json:"height"`
}

type FrontInfo

type FrontInfo struct {
	Name        string `json:"name"`
	Gender      string `json:"gender"`
	Ethnicity   string `json:"ethnicity"`
	DateOfBirth string `json:"data_of_birth"`
	Domicile    string `json:"domicile"`
	IdNumber    string `json:"id_number"`
	FaceCorners []int  `json:"face_corners"`
}

type GeneralSegmentData

type GeneralSegmentData struct {
	Mask string `json:"mask"`
}

type GeneralSegmentResult

type GeneralSegmentResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *GeneralSegmentData    `json:"data"`
}

type GoodsDetectData

type GoodsDetectData struct {
	Frame *Frame `json:"Frame"`
}

type GoodsDetectResult

type GoodsDetectResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *GoodsDetectData       `json:"data"`
}

type GoodsSegmentData

type GoodsSegmentData struct {
	ImgUrl string `json:"img_url"`
}

type GoodsSegmentResult

type GoodsSegmentResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *GoodsSegmentData      `json:"data"`
}

type HairSegmentData

type HairSegmentData struct {
	Mask string `json:"mask"`
}

type HairSegmentResult

type HairSegmentResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *HairSegmentData       `json:"data"`
}

type HairStyleData

type HairStyleData struct {
	Image string `json:"image"`
}

type HairStyleResult

type HairStyleResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *HairStyleData         `json:"data"`
}

type HumanSegmentData

type HumanSegmentData struct {
	Mask            string `json:"mask"`
	ForegroundImage string `json:"foreground_image"`
}

type HumanSegmentResult

type HumanSegmentResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *HumanSegmentData      `json:"data"`
}

type IDCardBackInfoV2

type IDCardBackInfoV2 struct {
	IssueAuthority string    `json:"issue_authority"`
	ValidPeriod    string    `json:"valid_period"`
	CardCorners    []float64 `json:"card_corners"`
	CardImg        string    `json:"card_img"`
	CardType       string    `json:"card_type"`
}

type IDCardData

type IDCardData struct {
	CardFront   FrontInfo `json:"card_front"`
	CardBack    BackInfo  `json:"card_back"`
	CardCorners []float64 `json:"card_corners"`
}

type IDCardDataV2

type IDCardDataV2 struct {
	CardFront IDCardFrontInfoV2 `json:"card_front"`
	CardBack  IDCardBackInfoV2  `json:"card_back"`
}

type IDCardFrontInfoV2

type IDCardFrontInfoV2 struct {
	Name        string    `json:"name"`
	Gender      string    `json:"gender"`
	Ethnicity   string    `json:"ethnicity"`
	DataOfBirth string    `json:"data_of_birth"`
	Domicile    string    `json:"domicile"`
	IDNumber    string    `json:"id_number"`
	FaceCorners []float64 `json:"face_corners"`
	CardCorners []float64 `json:"card_corners"`
	CardImg     string    `json:"card_img"`
	FaceImg     string    `json:"face_img"`
	CardType    string    `json:"card_type"`
}

type IDCardResult

type IDCardResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *IDCardData            `json:"data"`
}

type IDCardResultV2

type IDCardResultV2 struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *IDCardDataV2          `json:"data"`
}

type ImageAnimationData

type ImageAnimationData struct {
	Video string `json:"video"`
}

type ImageAnimationResult

type ImageAnimationResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *ImageAnimationData    `json:"data"`
}

type ImageCorrectionData

type ImageCorrectionData struct {
	AlgorithmBaseResp *struct {
		StatusCode    int    `json:"status_code"`
		StatusMessage string `json:"status_message"`
	} `json:"algorithm_base_resp"`
	BinaryDataBase64 []string `json:"binary_data_base64"`
	TransPoints      []string `json:"trans_points"`
}

type ImageCorrectionResult

type ImageCorrectionResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Status           int                    `json:"status"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Data             *ImageCorrectionData   `json:"data"`
}

type ImageCutBoundingBox

type ImageCutBoundingBox struct {
	Xmin float64 `json:"x_min"`
	Xmax float64 `json:"x_max"`
	Ymin float64 `json:"y_min"`
	Ymax float64 `json:"y_max"`
}

type ImageCutData

type ImageCutData struct {
	Image       *VisionInfo          `json:"image"`
	BoundingBox *ImageCutBoundingBox `json:"boundingbox"`
}

type ImageCutResult

type ImageCutResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *ImageCutData          `json:"data"`
}

type ImageFlowData

type ImageFlowData struct {
	Video string `json:"video"`
}

type ImageFlowResult

type ImageFlowResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *ImageFlowData         `json:"data"`
}

type ImageInfoData

type ImageInfoData struct {
	Score float64 `json:"score"`
	Data  string  `json:"data"`
}

type ImageInfoResult

type ImageInfoResult struct {
	Results []ImageInfoData `json:"results"`
}

type ImageInpaintData

type ImageInpaintData struct {
	ImgData string `json:"img_data"`
}

type ImageInpaintResult

type ImageInpaintResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *ImageInpaintData      `json:"data"`
}

type ImageOutpaintData

type ImageOutpaintData struct {
	ImgData string `json:"img_data"`
}

type ImageOutpaintResult

type ImageOutpaintResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *ImageOutpaintData     `json:"data"`
}

type ImageScoreData

type ImageScoreData struct {
	Score            float64 `json:"score"`
	SharpnessScore   float64 `json:"sharpness_score"`
	QualityScore     float64 `json:"quality_score"`
	MeaninglessScore float64 `json:"meaningless_score"`
	FaceScore        float64 `json:"face_score"`
}

type ImageScoreResult

type ImageScoreResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *ImageScoreData        `json:"data"`
}

type ImageScoreV2Data

type ImageScoreV2Data struct {
	AlgorithmBaseResp *struct {
		StatusCode    int    `json:"status_code"`
		StatusMessage string `json:"status_message"`
	} `json:"algorithm_base_resp"`
	BinaryDataBase64  []string `json:"binary_data_base64"`
	Brightness        float64  `json:"brightness"`
	Contrast          float64  `json:"contrast"`
	HasBlackEdge      int      `json:"has_black_edge"`
	IsNight           int      `json:"is_night"`
	IsPureBackground  int      `json:"is_pure_background"`
	IsSandwitchVideo  int      `json:"is_sandwitch_video"`
	OverExposure      float64  `json:"over_exposure"`
	SandwitchBottom   int      `json:"sandwitch_bottom"`
	SandwitchLeft     int      `json:"sandwitch_left"`
	SandwitchRight    int      `json:"sandwitch_right"`
	SandwitchTop      int      `json:"sandwitch_top"`
	ScoreAestheticsV2 float64  `json:"score_aesthetics_v2"`
	ScoreDetail       float64  `json:"score_detail"`
	ScoreFace         float64  `json:"score_face"`
	ScoreLuma         float64  `json:"score_luma"`
	ScoreTotal        float64  `json:"score_total"`
	UnderExposure     float64  `json:"under_exposure"`
}

type ImageScoreV2Result

type ImageScoreV2Result struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Status           int                    `json:"status"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Data             *ImageScoreV2Data      `json:"data"`
}

type ImageStyleConversionData

type ImageStyleConversionData struct {
	Image string `json:"image"`
}

type ImageStyleConversionResult

type ImageStyleConversionResult struct {
	ResponseMetadata *base.ResponseMetadata    `json:",omitempty"`
	RequestId        string                    `json:"request_id"`
	TimeElapsed      string                    `json:"time_elapsed"`
	Code             int                       `json:"code"`
	Message          string                    `json:"message"`
	Data             *ImageStyleConversionData `json:"data"`
}

type Img2ImgAnimeData

type Img2ImgAnimeData struct {
	AlgorithmBaseResp *struct {
		StatusCode    int    `json:"status_code"`
		StatusMessage string `json:"status_message"`
	} `json:"algorithm_base_resp"`
	BinaryDataBase64 []string `json:"binary_data_base64"`
	ImageUrl         string   `json:"image_url"`
}

type Img2ImgAnimeRequest

type Img2ImgAnimeRequest struct {
	ReqKey           string   `json:"req_key"`
	Prompt           string   `json:"prompt"`
	BinaryDataBase64 []string `json:"binary_data_base64"`
	Strength         float64  `json:"strength"`
	Seed             int64    `json:"seed"`
	ImageUrl         string   `json:"image_url"`
}

type Img2ImgAnimeResult

type Img2ImgAnimeResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Status           int                    `json:"status"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Data             *Img2ImgAnimeData      `json:"data"`
}

type Img2ImgStyleData

type Img2ImgStyleData struct {
	AlgorithmBaseResp *struct {
		StatusCode    int    `json:"status_code"`
		StatusMessage string `json:"status_message"`
	} `json:"algorithm_base_resp"`
	BinaryDataBase64 []string `json:"binary_data_base64"`
	ImageUrl         string   `json:"image_url"`
}

type Img2ImgStyleRequest

type Img2ImgStyleRequest struct {
	ReqKey           string   `json:"req_key"`
	Prompt           string   `json:"prompt"`
	BinaryDataBase64 []string `json:"binary_data_base64"`
	Strength         float64  `json:"strength"`
	Seed             int64    `json:"seed"`
	ImageUrl         string   `json:"image_url"`
}

type Img2ImgStyleResult

type Img2ImgStyleResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Status           int                    `json:"status"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Data             *Img2ImgStyleData      `json:"data"`
}

type Img2Video3DData

type Img2Video3DData struct {
	AlgorithmBaseResp struct {
		StatusCode    int    `json:"status_code"`
		StatusMessage string `json:"status_message"`
	} `json:"algorithm_base_resp"`
	BinaryDataBase64 []string `json:"binary_data_base64"`
}

type Img2Video3DRenderSpec

type Img2Video3DRenderSpec struct {
	Mode       int64     `json:"mode"`
	LongSide   int64     `json:"long_side"`
	FrameNum   int64     `json:"frame_num"`
	Fps        int64     `json:"fps"`
	UseFlow    int64     `json:"use_flow"`
	SpeedShift []float64 `json:"speed_shift"`
}

type Img2Video3DRequest

type Img2Video3DRequest struct {
	ReqKey           string                 `json:"req_key"`
	BinaryDataBase64 []string               `json:"binary_data_base64"`
	RenderSpec       *Img2Video3DRenderSpec `json:"render_spec"`
}

type Img2Video3DResult

type Img2Video3DResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Status           int                    `json:"status"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Data             *Img2Video3DData       `json:"data"`
}

type JPCartoonCutData

type JPCartoonCutData struct {
	Image string `json:"image"`
}

type JPCartoonCutResult

type JPCartoonCutResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *JPCartoonCutData      `json:"data"`
}

type JPCartoonData

type JPCartoonData struct {
	Image string `json:"image"`
	Clip  string `json:"clip"`
}

type JPCartoonResult

type JPCartoonResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *JPCartoonData         `json:"data"`
}

type LensVidaVideoGetResultV2Data added in v1.0.103

type LensVidaVideoGetResultV2Data struct {
	BinaryDataBase64 []string `json:"binary_data_base64"`
	RespData         string   `json:"resp_data"`
	Status           string   `json:"status"`
}

type LensVidaVideoGetResultV2Request added in v1.0.103

type LensVidaVideoGetResultV2Request struct {
	ReqKey string `json:"req_key"`
	TaskId string `json:"task_id"`
}

type LensVidaVideoGetResultV2Result added in v1.0.103

type LensVidaVideoGetResultV2Result struct {
	ResponseMetadata *base.ResponseMetadata        `json:",omitempty"`
	RequestId        string                        `json:"request_id"`
	Code             int                           `json:"code"`
	Message          string                        `json:"message"`
	Status           int                           `json:"status"`
	TimeElapsed      string                        `json:"time_elapsed"`
	Data             *LensVidaVideoGetResultV2Data `json:"data"`
}

type LensVidaVideoSubmitTaskV2Data added in v1.0.103

type LensVidaVideoSubmitTaskV2Data struct {
	TaskId string `json:"task_id"`
}

type LensVidaVideoSubmitTaskV2Request added in v1.0.103

type LensVidaVideoSubmitTaskV2Request struct {
	ReqKey   string `json:"req_key"`
	Url      string `json:"url"`
	VidaMode string `json:"vida_mode"`
}

type LensVidaVideoSubmitTaskV2Result added in v1.0.103

type LensVidaVideoSubmitTaskV2Result struct {
	ResponseMetadata *base.ResponseMetadata         `json:",omitempty"`
	RequestId        string                         `json:"request_id"`
	Code             int                            `json:"code"`
	Message          string                         `json:"message"`
	Status           int                            `json:"status"`
	TimeElapsed      string                         `json:"time_elapsed"`
	Data             *LensVidaVideoSubmitTaskV2Data `json:"data"`
}

type OCRNormalData

type OCRNormalData struct {
	LineTexts []string      `json:"line_texts"`
	LineRects []*RectInfo   `json:"line_rects"`
	Chars     [][]*CharInfo `json:"chars"`
	Polygons  [][][]float64 `json:"polygons"`
}

type OCRNormalResult

type OCRNormalResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *OCRNormalData         `json:"data"`
}

type Object

type Object struct {
	BBox     BoundingBox `json:"boundingbox"`
	Category int         `json:"category"`
}

type OcrApiResult

type OcrApiResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             interface{}            `json:"data"`
}

type OverResolutionData

type OverResolutionData struct {
	ImgData string `json:"img_data"`
}

type OverResolutionResult

type OverResolutionResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *OverResolutionData    `json:"data"`
}

type OverResolutionV2Data

type OverResolutionV2Data struct {
	AlgorithmBaseResp struct {
		StatusCode    int    `json:"status_code"`
		StatusMessage string `json:"status_message"`
	} `json:"algorithm_base_resp"`
	BinaryDataBase64 []string `json:"binary_data_base64"`
}

type OverResolutionV2Result

type OverResolutionV2Result struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Status           int                    `json:"status"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Data             *OverResolutionV2Data  `json:"data"`
}

type PoemMaterialData

type PoemMaterialData struct {
	Poems []string `json:"poems"`
}

type PoemMaterialResult

type PoemMaterialResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *PoemMaterialData      `json:"data"`
}

type PointInfo

type PointInfo struct {
	X float64 `json:"x"`
	Y float64 `json:"y"`
}

type PotraitEffectData

type PotraitEffectData struct {
	Image    string `json:"image"`
	ImageUrl string `json:"image_url"`
}

type PotraitEffectResult

type PotraitEffectResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *PotraitEffectData     `json:"data"`
}

type RectInfo

type RectInfo struct {
	X      float64 `json:"x"`
	Y      float64 `json:"y"`
	Width  float64 `json:"width"`
	Height float64 `json:"height"`
}

type SkySegmentData

type SkySegmentData struct {
	Mask string `json:"mask"`
}

type SkySegmentResult

type SkySegmentResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *SkySegmentData        `json:"data"`
}

type StretchRecoveryData

type StretchRecoveryData struct {
	Image string `json:"image"`
}

type StretchRecoveryResult

type StretchRecoveryResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *StretchRecoveryData   `json:"data"`
}

type T2ILDMData

type T2ILDMData struct {
	AlgorithmBaseResp *struct {
		StatusCode    int    `json:"status_code"`
		StatusMessage string `json:"status_message"`
	} `json:"algorithm_base_resp"`
	BinaryDataBase64 []string `json:"binary_data_base64"`
}

type T2ILDMRequest

type T2ILDMRequest struct {
	ReqKey    string `json:"req_key"`
	Text      string `json:"text"`
	StyleTerm string `json:"style_term"`
}

type T2ILDMResult

type T2ILDMResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Status           int                    `json:"status"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Data             *T2ILDMData            `json:"data"`
}

type TaibaoData

type TaibaoData struct {
	MainInfo *TaibaoMainInfo `json:"license_main"`
}

type TaibaoMainInfo

type TaibaoMainInfo struct {
	Title           string `json:"title"`
	ChnName         string `json:"chn_name"`
	EngName         string `json:"eng_name"`
	BirthDate       string `json:"birth_date"`
	Sex             string `json:"sex"`
	ValidDate       string `json:"valid_date"`
	RegisterOffice  string `json:"register_office"`
	RegisterAddress string `json:"register_address"`
	Num             string `json:"num"`
	RegisterCount   string `json:"register_count"`
}

type TaibaoResult

type TaibaoResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *TaibaoData            `json:"data"`
}

type ThreeDGameCartoonData

type ThreeDGameCartoonData struct {
	Image string `json:"image"`
}

type ThreeDGameCartoonResult

type ThreeDGameCartoonResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *ThreeDGameCartoonData `json:"data"`
}

type VehicleLicenseData

type VehicleLicenseData struct {
	MainInfo *VehicleLicenseMainInfo `json:"license_main"`
}

type VehicleLicenseMainInfo

type VehicleLicenseMainInfo struct {
	PlateNumber  string `json:"plate_number"`
	VehicleType  string `json:"vehicle_type"`
	Owner        string `json:"owner"`
	Address      string `json:"address"`
	UseCharacter string `json:"use_character"`
	Model        string `json:"model"`
	VIN          string `json:"vin"`
	EngineNumber string `json:"engine_number"`
	RegisterDate string `json:"register_date"`
	IssueDate    string `json:"issue_date"`
}

type VehicleLicenseResult

type VehicleLicenseResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *VehicleLicenseData    `json:"data"`
}

type VideoCoverSelectResult

type VideoCoverSelectResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *ImageInfoResult       `json:"data"`
}

type VideoEditQueryTaskData

type VideoEditQueryTaskData struct {
	Status   string `json:"status"`
	VideoUrl string `json:"video_url"`
}

type VideoEditQueryTaskResult

type VideoEditQueryTaskResult struct {
	ResponseMetadata *base.ResponseMetadata  `json:",omitempty"`
	RequestId        string                  `json:"request_id"`
	TimeElapsed      string                  `json:"time_elapsed"`
	Code             int                     `json:"code"`
	Message          string                  `json:"message"`
	Data             *VideoEditQueryTaskData `json:"data"`
}

type VideoEditSubmitTaskData

type VideoEditSubmitTaskData struct {
	TaskId string `json:"task_id"`
}

type VideoEditSubmitTaskResult

type VideoEditSubmitTaskResult struct {
	ResponseMetadata *base.ResponseMetadata   `json:",omitempty"`
	RequestId        string                   `json:"request_id"`
	TimeElapsed      string                   `json:"time_elapsed"`
	Code             int                      `json:"code"`
	Message          string                   `json:"message"`
	Data             *VideoEditSubmitTaskData `json:"data"`
}

type VideoOverResolutionQueryTaskV2Data

type VideoOverResolutionQueryTaskV2Data struct {
	AlgorithmBaseResp *struct {
		StatusCode    int    `json:"status_code"`
		StatusMessage string `json:"status_message"`
	} `json:"algorithm_base_resp"`
	BinaryDataBase64 []string `json:"binary_data_base64"`
	RespData         string   `json:"resp_data"`
	Status           string   `json:"status"`
}

type VideoOverResolutionQueryTaskV2Request

type VideoOverResolutionQueryTaskV2Request struct {
	ReqKey string `json:"req_key"`
	TaskId string `json:"task_id"`
}

type VideoOverResolutionQueryTaskV2Result

type VideoOverResolutionQueryTaskV2Result struct {
	ResponseMetadata *base.ResponseMetadata              `json:",omitempty"`
	RequestId        string                              `json:"request_id"`
	Code             int                                 `json:"code"`
	Message          string                              `json:"message"`
	Status           int                                 `json:"status"`
	TimeElapsed      string                              `json:"time_elapsed"`
	Data             *VideoOverResolutionQueryTaskV2Data `json:"data"`
}

type VideoOverResolutionSubmitTaskV2Data

type VideoOverResolutionSubmitTaskV2Data struct {
	AlgorithmBaseResp *struct {
		StatusCode    int    `json:"status_code"`
		StatusMessage string `json:"status_message"`
	} `json:"algorithm_base_resp"`
	BinaryDataBase64 []string `json:"binary_data_base64"`
	TaskId           string   `json:"task_id"`
}

type VideoOverResolutionSubmitTaskV2Request

type VideoOverResolutionSubmitTaskV2Request struct {
	ReqKey string `json:"req_key"`
	Vid    string `json:"vid"`
	Url    string `json:"url"`
}

type VideoOverResolutionSubmitTaskV2Result

type VideoOverResolutionSubmitTaskV2Result struct {
	ResponseMetadata *base.ResponseMetadata               `json:",omitempty"`
	RequestId        string                               `json:"request_id"`
	Code             int                                  `json:"code"`
	Message          string                               `json:"message"`
	Status           int                                  `json:"status"`
	TimeElapsed      string                               `json:"time_elapsed"`
	Data             *VideoOverResolutionSubmitTaskV2Data `json:"data"`
}

type VideoSceneDetectData

type VideoSceneDetectData struct {
	Results []string `json:"results"`
}

type VideoSceneDetectResult

type VideoSceneDetectResult struct {
	ResponseMetadata *base.ResponseMetadata `json:",omitempty"`
	RequestId        string                 `json:"request_id"`
	TimeElapsed      string                 `json:"time_elapsed"`
	Code             int                    `json:"code"`
	Message          string                 `json:"message"`
	Data             *VideoSceneDetectData  `json:"data"`
}

type VisionInfo

type VisionInfo struct {
	Url  string `json:"url"`
	Data string `json:"data"`
}

Jump to

Keyboard shortcuts

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