'1.0', 'info' => [ 'style' => 'RPC', 'product' => 'imageseg', 'version' => '2019-12-30', ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'ChangeSky' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'ReplaceImageURL', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'ParseFace' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'RefineMask' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'MaskImageURL', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'SegmentBody' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'ReturnForm', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'SegmentCloth' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'OutMode', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => false, ], ], [ 'name' => 'ClothClass', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'string', 'required' => false, ], 'maxItems' => 15, ], ], [ 'name' => 'ReturnForm', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'SegmentCommodity' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'ReturnForm', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'SegmentCommonImage' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'ReturnForm', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'SegmentFood' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'ReturnForm', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'SegmentHair' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'SegmentHDBody' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'SegmentHDCommonImage' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageUrl', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'SegmentHDSky' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'SegmentHead' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'ReturnForm', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], ], 'SegmentSkin' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'URL', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'SegmentSky' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'GetAsyncJobResult' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'JobId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], ], 'endpoints' => [ [ 'regionId' => 'cn-shanghai', 'endpoint' => 'imageseg.cn-shanghai.aliyuncs.com', ], ], ];