public interface IImageXService extends IBaseService
getAccessKey, getRegion, getSecretKey, getSignUrl, json, post, put, putData, query, setAccessKey, setClientNoReuse, setConnectionTimeout, setHost, setHttpClient, setRegion, setScheme, setSecretKey, setServiceInfo, setSocketTimeout, signSts2ApplyImageUploadResponse applyImageUpload(ApplyImageUploadRequest applyUploadRequest) throws Exception
applyUploadRequest - the apply upload requestException - the exceptionCommitImageUploadResponse commitImageUpload(CommitImageUploadRequest commitUploadRequest) throws Exception
commitUploadRequest - the commit upload requestException - the exceptionCommitImageUploadResponse uploadImages(ApplyImageUploadRequest request, List<byte[]> imageDatas) throws Exception
request - the apply upload requestimageDatas - image data arrayException - the exceptionString getUploadToken(Map<String,String> params) throws Exception
params - the paramsException - the exceptionSecurityToken2 getUploadSts2(List<String> serviceIds) throws Exception
serviceIds - service id list allowed to upload image toException - the exceptionSecurityToken2 getUploadSts2WithExpire(List<String> serviceIds, long expire) throws Exception
serviceIds - service id list allowed to upload image toexpire - expire time in millisecondsException - the exceptionSecurityToken2 getUploadSts2WithKeyPtn(List<String> serviceIds, long expire, String keyPtn) throws Exception
serviceIds - service id list allowed to upload image toexpire - expire time in millisecondskeyPtn - upload store key pattern, * for no restriction. default to empty.Exception - the exceptionDeleteImageResp deleteImages(DeleteImageReq req) throws Exception
req - delete image reqException - the exceptionUpdateImageFilesResponse updateImageUrls(UpdateImageFilesRequest req) throws Exception
req - update image urls reqException - the exceptionCommonResponse getImageX(String action, Map<String,String> param) throws Exception
action - api action nameparam - api query paramException - the exceptionCommonResponse postImageX(String action, Map<String,String> param, Object req) throws Exception
action - api action nameparam - api query paramreq - api json paramException - the exceptionGetImageOCRResponse getImageOCR(Map<String,String> param) throws Exception
param - api query paramException - the exceptionEmbedImageHmResponse embedImageHm(EmbedImageHmRequest req) throws Exception
req - embed image hm requestException - the exceptionExtractImageHmResponse extractImageHm(ExtractImageHmRequest req) throws Exception
req - extract hidden mark from imageException - the exceptionCopyright © 2021. All rights reserved.