'1.0', 'info' => ['style' => 'RPC', 'product' => 'imageenhan', 'version' => '2019-09-30'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'AssessComposition' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'AssessExposure' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'AssessSharpness' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'ChangeImageSize' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Width', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '10', 'maximum' => '2000'], ], [ 'name' => 'Height', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '10', 'maximum' => '2000'], ], [ 'name' => 'Url', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'ColorizeImage' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'EnhanceImageColor' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'OutputFormat', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Mode', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'ErasePerson' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'UserMask', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GenerateCartoonizedImage' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageUrl', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ImageType', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Index', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GenerateSuperResolutionImage' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageUrl', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Scale', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'UserData', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'OutputFormat', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'OutputQuality', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'GetAsyncJobResult' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'JobId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'ImageBlindCharacterWatermark' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'FunctionType', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Text', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'WatermarkImageURL', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'OutputFileType', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'QualityFactor', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'OriginImageURL', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ImageBlindPicWatermark' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'FunctionType', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'LogoURL', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'WatermarkImageURL', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'OutputFileType', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'QualityFactor', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'OriginImageURL', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ImitatePhotoStyle' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'StyleUrl', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'IntelligentComposition' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NumBoxes', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'MakeSuperResolutionImage' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Url', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Mode', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'UpscaleFactor', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'OutputFormat', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'OutputQuality', 'in' => 'formData', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], 'RemoveImageSubtitles' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'BX', 'in' => 'formData', 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false], ], [ 'name' => 'BY', 'in' => 'formData', 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false], ], [ 'name' => 'BW', 'in' => 'formData', 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false], ], [ 'name' => 'BH', 'in' => 'formData', 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false], ], ], ], 'RemoveImageWatermark' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => true], ], ], ], ], 'endpoints' => [ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'imageenhan.cn-shanghai.aliyuncs.com', 'endpoint' => 'imageenhan.cn-shanghai.aliyuncs.com', 'vpc' => 'imageenhan-vpc.cn-shanghai.aliyuncs.com'], ], ];