'1.0',
'info' => [
'style' => 'RPC',
'product' => 'videorecog',
'version' => '2020-03-20',
],
'directories' => [
[
'id' => 205286,
'title' => null,
'type' => 'directory',
'children' => [
'GenerateVideoCover',
'DetectVideoShot',
'UnderstandVideoContent',
'RecognizeVideoCastCrewList',
'SplitVideoParts',
'EvaluateVideoQuality',
'GetAsyncJobResult',
],
],
],
'components' => [
'schemas' => [],
],
'apis' => [
'GenerateVideoCover' => [
'methods' => [
'post',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'VideoUrl',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/videorecog/videorecog/videorecog1.mp4',
'isFileTransferUrl' => true,
'required' => true,
'type' => 'string',
],
],
[
'name' => 'IsGif',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => 'false',
'required' => true,
'type' => 'boolean',
],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'RequestId' => [
'description' => '',
'example' => '5B95B724-C5B9-4F77-A743-0CA4EA95CC82',
'type' => 'string',
],
'Data' => [
'description' => '',
'properties' => [
'Outputs' => [
'description' => '',
'items' => [
'properties' => [
'ImageURL' => [
'description' => '',
'example' => 'http://algo-app-aic-vd-cn-shanghai-prod.oss-cn-shanghai.aliyuncs.com/video-cover/2020-05-11-07/pic_lOyxGGAqQYSANGxP.mp4_202_544_960_c9f88b2a5f75e17c093d1a65f5edff4d_beautified.png?Expires=1589185385&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=PAalKsfeZC4UQzYDTU%2F3D1G7Xt****',
'type' => 'string',
],
'Confidence' => [
'description' => '',
'example' => '6.1819260887924425',
'format' => 'float',
'type' => 'number',
],
],
'type' => 'object',
],
'type' => 'array',
],
],
'type' => 'object',
],
'Message' => [
'description' => '',
'example' => '',
'type' => 'string',
],
],
'type' => 'object',
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'ParameterError',
'errorMessage' => 'The parameter is invalid. Please check again.',
],
],
403 => [
[
'errorCode' => 'AuthFailed',
'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.',
],
],
408 => [
[
'errorCode' => 'Timeout',
'errorMessage' => 'The request has timed out.',
],
],
503 => [
[
'errorCode' => 'ServiceUnavailable',
'errorMessage' => 'The service is unavailable.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5B95B724-C5B9-4F77-A743-0CA4EA95CC82\\",\\n \\"Data\\": {\\n \\"Outputs\\": [\\n {\\n \\"ImageURL\\": \\"http://algo-app-aic-vd-cn-shanghai-prod.oss-cn-shanghai.aliyuncs.com/video-cover/2020-05-11-07/pic_lOyxGGAqQYSANGxP.mp4_202_544_960_c9f88b2a5f75e17c093d1a65f5edff4d_beautified.png?Expires=1589185385&OSSAccessKeyId=LTAI****************&Signature=PAalKsfeZC4UQzYDTU%2F3D1G7Xt****\\",\\n \\"Confidence\\": 6.1819260887924425\\n }\\n ]\\n },\\n \\"Message\\": \\"该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 5B95B724-C5B9-4F77-A743-0CA4EA95CC82\\n 该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\n","errorExample":""}]',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
],
'DetectVideoShot' => [
'methods' => [
'post',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'VideoUrl',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/videorecog/DetectVideoShot/DetectVideoShot2.mp4',
'isFileTransferUrl' => true,
'required' => true,
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'RequestId' => [
'description' => '',
'example' => '0033B795-09C7-4EB9-A33C-EBA325192B0D',
'type' => 'string',
],
'Data' => [
'description' => '',
'properties' => [
'ShotFrameIds' => [
'description' => '1',
'items' => [
'description' => '',
'example' => '[0, 109, 185, 251, 341, 393, 468, 629, 715, 762, 1272, 1304, 1331, 1351, 1379, 1414, 1431, 1456, 1504, 1709, 1838, 1893, 1975, 2239, 2364, 2425, 2469, 2532, 2607, 2665, 2737, 2864, 2944, 2979, 2995]',
'format' => 'int32',
'type' => 'integer',
],
'type' => 'array',
],
],
'type' => 'object',
],
'Message' => [
'description' => '',
'example' => '',
'type' => 'string',
],
],
'type' => 'object',
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'ParameterError',
'errorMessage' => 'The parameter is invalid. Please check again.',
],
],
403 => [
[
'errorCode' => 'AuthFailed',
'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.',
],
],
408 => [
[
'errorCode' => 'Timeout',
'errorMessage' => 'The request has timed out.',
],
],
503 => [
[
'errorCode' => 'ServiceUnavailable',
'errorMessage' => 'The service is unavailable.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0033B795-09C7-4EB9-A33C-EBA325192B0D\\",\\n \\"Data\\": {\\n \\"ShotFrameIds\\": [\\n 0\\n ]\\n },\\n \\"Message\\": \\"该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 0033B795-09C7-4EB9-A33C-EBA325192B0D\\n 该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\n","errorExample":""}]',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
],
'UnderstandVideoContent' => [
'summary' => '视频内容理解',
'methods' => [
'post',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'VideoURL',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/videorecog/UnderstandVideoContent/UnderstandVideoContent1.mp4',
'isFileTransferUrl' => true,
'required' => true,
'title' => 'A short description of struct',
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'RequestId' => [
'description' => '',
'example' => '71EC3F13-F0CA-4558-AC7F-A351106F59F2',
'title' => 'Id of the request',
'type' => 'string',
],
'Data' => [
'description' => '',
'properties' => [
'TagInfo' => [
'description' => '',
'type' => 'object',
],
'VideoInfo' => [
'description' => '',
'properties' => [
'Width' => [
'description' => '',
'example' => '720',
'format' => 'int64',
'type' => 'integer',
],
'Height' => [
'description' => '',
'example' => '1280',
'format' => 'int64',
'type' => 'integer',
],
'Duration' => [
'description' => '',
'example' => '43380',
'format' => 'int64',
'type' => 'integer',
],
'Fps' => [
'description' => '',
'example' => '25.0',
'format' => 'float',
'type' => 'number',
],
],
'type' => 'object',
],
],
'type' => 'object',
],
'Message' => [
'description' => '',
'example' => '',
'type' => 'string',
],
],
'title' => 'Schema of Response',
'type' => 'object',
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'ParameterError',
'errorMessage' => 'The parameter is invalid. Please check again.',
],
],
403 => [
[
'errorCode' => 'AuthFailed',
'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.',
],
],
408 => [
[
'errorCode' => 'Timeout',
'errorMessage' => 'The request has timed out.',
],
],
503 => [
[
'errorCode' => 'ServiceUnavailable',
'errorMessage' => 'The service is unavailable.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"71EC3F13-F0CA-4558-AC7F-A351106F59F2\\",\\n \\"Data\\": {\\n \\"TagInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"VideoInfo\\": {\\n \\"Width\\": 720,\\n \\"Height\\": 1280,\\n \\"Duration\\": 43380,\\n \\"Fps\\": 25\\n }\\n },\\n \\"Message\\": \\"该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 71EC3F13-F0CA-4558-AC7F-A351106F59F2\\n 该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\n","errorExample":""}]',
],
'RecognizeVideoCastCrewList' => [
'summary' => '视频OCR',
'methods' => [
'post',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'VideoUrl',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => 'https://shanghai.oss-cn-shanghai.aliyuncs.com/download/xxxx.mp4',
'isFileTransferUrl' => true,
'required' => true,
'type' => 'string',
],
],
[
'name' => 'Params',
'in' => 'formData',
'style' => 'json',
'schema' => [
'description' => '',
'items' => [
'properties' => [
'Type' => [
'description' => '',
'example' => 'cast',
'required' => false,
'type' => 'string',
],
],
'required' => false,
'type' => 'object',
],
'required' => false,
'type' => 'array',
],
],
],
'responses' => [
200 => [
'headers' => [],
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'RequestId' => [
'description' => '',
'example' => 'EE5B1A95-064F-1C5E-A6FE-FEE0D734A632',
'title' => 'Id of the request',
'type' => 'string',
],
'Data' => [
'description' => '',
'properties' => [
'OcrResults' => [
'description' => '',
'items' => [
'properties' => [
'DetailInfo' => [
'description' => '',
'items' => [
'properties' => [
'Boxes' => [
'description' => '',
'items' => [
'description' => '',
'example' => '[452,27,505,46]',
'format' => 'int32',
'type' => 'integer',
],
'type' => 'array',
],
'CharProbs' => [
'description' => '',
'items' => [
'description' => '',
'items' => [
'description' => '',
'example' => '0.9405716061592102',
'format' => 'float',
'type' => 'number',
],
'type' => 'array',
],
'type' => 'array',
],
'FrameIndex' => [
'description' => '',
'example' => '17',
'format' => 'int64',
'type' => 'integer',
],
'Position' => [
'description' => '',
'items' => [
'properties' => [
'X' => [
'description' => '',
'example' => '266',
'format' => 'int64',
'type' => 'integer',
],
'Y' => [
'description' => '',
'example' => '440',
'format' => 'int64',
'type' => 'integer',
],
],
'type' => 'object',
],
'type' => 'array',
],
'Score' => [
'description' => '',
'example' => '92.07685702563117',
'format' => 'float',
'type' => 'number',
],
'TextProb' => [
'description' => '',
'example' => '0.9207685702563116',
'format' => 'float',
'type' => 'number',
],
'TimeStamp' => [
'description' => '',
'example' => '0.28',
'format' => 'float',
'type' => 'number',
],
'TrackId' => [
'description' => '',
'example' => '1',
'format' => 'int64',
'type' => 'integer',
],
'Text' => [
'description' => '',
'example' => '',
'type' => 'string',
],
],
'type' => 'object',
],
'type' => 'array',
],
'EndTime' => [
'description' => '',
'example' => '0.28',
'format' => 'float',
'type' => 'number',
],
'StartTime' => [
'description' => '',
'example' => '0.28',
'format' => 'float',
'type' => 'number',
],
],
'type' => 'object',
],
'type' => 'array',
],
'VideoOcrResults' => [
'description' => '',
'items' => [
'properties' => [
'DetailInfo' => [
'description' => '',
'items' => [
'properties' => [
'Boxes' => [
'description' => '',
'items' => [
'description' => '',
'example' => '[266,440,314,476]',
'format' => 'int64',
'type' => 'integer',
],
'type' => 'array',
],
'Position' => [
'description' => '',
'items' => [
'properties' => [
'X' => [
'description' => '',
'example' => '269',
'format' => 'int64',
'type' => 'integer',
],
'Y' => [
'description' => '',
'example' => '423',
'format' => 'int64',
'type' => 'integer',
],
],
'type' => 'object',
],
'type' => 'array',
],
'Score' => [
'description' => '',
'example' => '92.07685702563117',
'format' => 'float',
'type' => 'number',
],
'Text' => [
'description' => '',
'example' => '',
'type' => 'string',
],
'TextType' => [
'description' => '',
'example' => '0',
'format' => 'int64',
'type' => 'integer',
],
],
'type' => 'object',
],
'type' => 'array',
],
'EndTime' => [
'description' => '',
'example' => '0.92',
'format' => 'float',
'type' => 'number',
],
'StartTime' => [
'description' => '',
'example' => '0.92',
'format' => 'float',
'type' => 'number',
],
],
'type' => 'object',
],
'type' => 'array',
],
'SubtitlesResults' => [
'description' => '',
'items' => [
'description' => '',
'properties' => [
'SubtitlesAllResults' => [
'additionalProperties' => [
'type' => 'string',
'example' => '[]',
'description' => '',
],
'description' => '',
'type' => 'object',
],
'SubtitlesAllResultsUrl' => [
'description' => '',
'example' => 'url',
'type' => 'string',
],
'SubtitlesChineseResults' => [
'additionalProperties' => [
'type' => 'string',
'description' => '',
'example' => '',
],
'description' => '',
'type' => 'object',
],
'SubtitlesChineseResultsUrl' => [
'description' => '',
'example' => 'url1',
'type' => 'string',
],
'SubtitlesEnglishResults' => [
'description' => '',
'example' => 'hello',
'type' => 'object',
],
'SubtitlesEnglishResultsUrl' => [
'description' => '',
'example' => 'url2',
'type' => 'string',
],
],
'type' => 'object',
],
'type' => 'array',
],
'CastResults' => [
'description' => '',
'items' => [
'description' => '',
'properties' => [
'DetailInfo' => [
'additionalProperties' => [
'type' => 'string',
'description' => '',
'example' => 'cast',
],
'description' => '',
'type' => 'object',
],
'EndTime' => [
'description' => '',
'example' => '0.6',
'format' => 'float',
'type' => 'number',
],
'StartTime' => [
'description' => '',
'example' => '0.6',
'format' => 'float',
'type' => 'number',
],
],
'type' => 'object',
],
'type' => 'array',
],
'OcrResultsUrl' => [
'description' => '',
'example' => 'http://vibktprfx-prod-prod-media-ai-cn-shanghai.oss-cn-shanghai.aliyuncs.com/video-ocr/1665475907_bGHMygKsFw.json?Expires=1665477707&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=6KQb9OXQldsg30w%2FNurHwAbjiJs%3D',
'type' => 'string',
],
'OcrVideoResultsUrl' => [
'description' => '',
'example' => 'http://vibktprfx-prod-prod-media-ai-cn-shanghai.oss-cn-shanghai.aliyuncs.com/video-ocr/1665475907_VSRvetTHon.json?Expires=1665477707&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=wfQviVVSyVRLPVlHDKXi6cTefHY%3D',
'type' => 'string',
],
],
'type' => 'object',
],
'Message' => [
'description' => '',
'example' => '',
'type' => 'string',
],
],
'title' => 'Schema of Response',
'type' => 'object',
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'ParameterError',
'errorMessage' => 'The parameter is invalid. Please check again.',
],
],
403 => [
[
'errorCode' => 'AuthFailed',
'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.',
],
],
408 => [
[
'errorCode' => 'Timeout',
'errorMessage' => 'The request has timed out.',
],
],
503 => [
[
'errorCode' => 'ServiceUnavailable',
'errorMessage' => 'The service is unavailable.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"EE5B1A95-064F-1C5E-A6FE-FEE0D734A632\\",\\n \\"Data\\": {\\n \\"OcrResults\\": [\\n {\\n \\"DetailInfo\\": [\\n {\\n \\"Boxes\\": [\\n 0\\n ],\\n \\"CharProbs\\": [\\n [\\n 0.9405716061592102\\n ]\\n ],\\n \\"FrameIndex\\": 17,\\n \\"Position\\": [\\n {\\n \\"X\\": 266,\\n \\"Y\\": 440\\n }\\n ],\\n \\"Score\\": 92.07685702563117,\\n \\"TextProb\\": 0.9207685702563116,\\n \\"TimeStamp\\": 0.28,\\n \\"TrackId\\": 1,\\n \\"Text\\": \\"总策划\\"\\n }\\n ],\\n \\"EndTime\\": 0.28,\\n \\"StartTime\\": 0.28\\n }\\n ],\\n \\"VideoOcrResults\\": [\\n {\\n \\"DetailInfo\\": [\\n {\\n \\"Boxes\\": [\\n 0\\n ],\\n \\"Position\\": [\\n {\\n \\"X\\": 269,\\n \\"Y\\": 423\\n }\\n ],\\n \\"Score\\": 92.07685702563117,\\n \\"Text\\": \\"总顾问\\",\\n \\"TextType\\": 0\\n }\\n ],\\n \\"EndTime\\": 0.92,\\n \\"StartTime\\": 0.92\\n }\\n ],\\n \\"SubtitlesResults\\": [\\n {\\n \\"SubtitlesAllResults\\": {\\n \\"key\\": \\"[]\\"\\n },\\n \\"SubtitlesAllResultsUrl\\": \\"url\\",\\n \\"SubtitlesChineseResults\\": {\\n \\"key\\": \\"你好\\"\\n },\\n \\"SubtitlesChineseResultsUrl\\": \\"url1\\",\\n \\"SubtitlesEnglishResults\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"SubtitlesEnglishResultsUrl\\": \\"url2\\"\\n }\\n ],\\n \\"CastResults\\": [\\n {\\n \\"DetailInfo\\": {\\n \\"key\\": \\"cast\\"\\n },\\n \\"EndTime\\": 0.6,\\n \\"StartTime\\": 0.6\\n }\\n ],\\n \\"OcrResultsUrl\\": \\"http://vibktprfx-prod-prod-media-ai-cn-shanghai.oss-cn-shanghai.aliyuncs.com/video-ocr/1665475907_bGHMygKsFw.json?Expires=1665477707&OSSAccessKeyId=LTAI****************&Signature=6KQb9OXQldsg30w%2FNurHwAbjiJs%3D\\",\\n \\"OcrVideoResultsUrl\\": \\"http://vibktprfx-prod-prod-media-ai-cn-shanghai.oss-cn-shanghai.aliyuncs.com/video-ocr/1665475907_VSRvetTHon.json?Expires=1665477707&OSSAccessKeyId=LTAI****************&Signature=wfQviVVSyVRLPVlHDKXi6cTefHY%3D\\"\\n },\\n \\"Message\\": \\"该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\"\\n}","errorExample":""},{"type":"xml","example":"\\n EE5B1A95-064F-1C5E-A6FE-FEE0D734A632\\n \\n \\n \\n \\n <0>0.94057160>\\n \\n 17\\n \\n 266\\n 440\\n \\n 92.07686\\n 0.92076856\\n 0.28\\n 1\\n 总策划\\n \\n 0.28\\n 0.28\\n \\n \\n \\n \\n 269\\n 423\\n \\n 92.07686\\n 总顾问\\n 0\\n \\n 0.92\\n 0.92\\n \\n \\n \\n []\\n \\n url\\n \\n 你好\\n \\n url1\\n url2\\n \\n \\n \\n cast\\n \\n 0.6\\n 0.6\\n \\n http://vibktprfx-prod-prod-media-ai-cn-shanghai.oss-cn-shanghai.aliyuncs.com/video-ocr/1665475907_bGHMygKsFw.json?Expires=1665477707&OSSAccessKeyId=LTAI****************&Signature=6KQb9OXQldsg30w%2FNurHwAbjiJs%3D\\n http://vibktprfx-prod-prod-media-ai-cn-shanghai.oss-cn-shanghai.aliyuncs.com/video-ocr/1665475907_VSRvetTHon.json?Expires=1665477707&OSSAccessKeyId=LTAI****************&Signature=wfQviVVSyVRLPVlHDKXi6cTefHY%3D\\n \\n 该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\n","errorExample":""}]',
],
'SplitVideoParts' => [
'summary' => '视频拆条',
'methods' => [
'post',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'VideoUrl',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => 'https://viapi-test.oss-cn-shanghai.aliyuncs.com/test-team/ocr/xxxx.mp4',
'isFileTransferUrl' => true,
'required' => true,
'type' => 'string',
],
],
[
'name' => 'Template',
'in' => 'formData',
'schema' => [
'type' => 'string',
'required' => false,
],
],
[
'name' => 'MinTime',
'in' => 'formData',
'schema' => [
'type' => 'integer',
'format' => 'int32',
],
],
[
'name' => 'MaxTime',
'in' => 'formData',
'schema' => [
'type' => 'integer',
'format' => 'int32',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'RequestId' => [
'description' => '',
'example' => 'A00A3C17-61D5-1489-860D-B709F83A7C40',
'title' => 'Id of the request',
'type' => 'string',
],
'Data' => [
'description' => '',
'properties' => [
'Elements' => [
'items' => [
'properties' => [
'BeginTime' => [
'description' => '',
'example' => '10.06',
'format' => 'float',
'type' => 'number',
],
'EndTime' => [
'description' => '',
'example' => '17.3',
'format' => 'float',
'type' => 'number',
],
'Index' => [
'description' => '',
'example' => '1',
'format' => 'int64',
'type' => 'integer',
],
],
'type' => 'object',
],
'type' => 'array',
],
'SplitVideoPartResults' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'BeginTime' => [
'type' => 'number',
'format' => 'float',
],
'EndTime' => [
'type' => 'number',
'format' => 'float',
],
'Theme' => [
'type' => 'string',
],
'Type' => [
'type' => 'string',
],
'By' => [
'type' => 'string',
],
],
],
],
],
'type' => 'object',
],
'Message' => [
'description' => '',
'example' => '',
'type' => 'string',
],
],
'title' => 'Schema of Response',
'type' => 'object',
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'ParameterError',
'errorMessage' => 'The parameter is invalid. Please check again.',
],
],
403 => [
[
'errorCode' => 'AuthFailed',
'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.',
],
],
408 => [
[
'errorCode' => 'Timeout',
'errorMessage' => 'The request has timed out.',
],
],
503 => [
[
'errorCode' => 'ServiceUnavailable',
'errorMessage' => 'The service is unavailable.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A00A3C17-61D5-1489-860D-B709F83A7C40\\",\\n \\"Data\\": {\\n \\"Elements\\": [\\n {\\n \\"BeginTime\\": 10.06,\\n \\"EndTime\\": 17.3,\\n \\"Index\\": 1\\n }\\n ],\\n \\"SplitVideoPartResults\\": [\\n {\\n \\"BeginTime\\": 0.33,\\n \\"EndTime\\": 6.3,\\n \\"Theme\\": \\"you like to do my work in the world.\\",\\n \\"Type\\": \\"直播\\",\\n \\"By\\": \\"multimodal\\"\\n }\\n ]\\n },\\n \\"Message\\": \\"该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\"\\n}","errorExample":""},{"type":"xml","example":"\\n A00A3C17-61D5-1489-860D-B709F83A7C40\\n 该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\n","errorExample":""}]',
],
'EvaluateVideoQuality' => [
'summary' => '视频质量评估',
'methods' => [
'post',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'VideoUrl',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => 'http://public-vigen-video.oss-cn-shanghai.aliyuncs.com/Common/xxx/dont_delete/decaption/123.mp4',
'isFileTransferUrl' => true,
'required' => true,
'type' => 'string',
],
],
[
'name' => 'Mode',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => 'vqa_plus',
'required' => false,
'type' => 'string',
],
],
],
'responses' => [
200 => [
'headers' => [],
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'RequestId' => [
'description' => '',
'example' => '1d33e538-c949-4fcd-83f6-4d57e4b31527',
'title' => 'Id of the request',
'type' => 'string',
],
'Data' => [
'description' => '',
'properties' => [
'JsonUrl' => [
'description' => '',
'example' => 'http://vibktprfx-prod-prod-damo-eas-cn-shanghai.oss-cn-shanghai.aliyuncs.com/eas-video-quality-assessment/2023-01-13-10/31%3A08-cVeN9ZQlzIPfGqsa.json?Expires=1673578869&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=AiSsOsZ7rYfhf9w3Mxn%2Fq4GKKy****',
'type' => 'string',
],
'PdfUrl' => [
'description' => '',
'example' => 'http://vibktprfx-prod-prod-damo-eas-cn-shanghai.oss-cn-shanghai.aliyuncs.com/eas-video-quality-assessment/2023-01-13-10/31%3A08-cVeN9ZQlzIPfGqsa.pdf?Expires=1673578869&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=xULlZzVuhoYWAXRbp9A4EzzZcS****',
'type' => 'string',
],
'VideoQualityInfo' => [
'description' => '',
'properties' => [
'CompressiveStrength' => [
'description' => '',
'example' => '0.25',
'format' => 'float',
'type' => 'number',
],
'NoiseIntensity' => [
'description' => '',
'example' => '0.01',
'format' => 'float',
'type' => 'number',
],
'Blurriness' => [
'description' => '',
'example' => '0.15',
'format' => 'float',
'type' => 'number',
],
'ColorContrast' => [
'description' => '',
'example' => '0.55',
'format' => 'float',
'type' => 'number',
],
'ColorSaturation' => [
'description' => '',
'example' => '0.17',
'format' => 'float',
'type' => 'number',
],
'Luminance' => [
'description' => '',
'example' => '0.51',
'format' => 'float',
'type' => 'number',
],
'Colorfulness' => [
'description' => '',
'example' => '0.48',
'format' => 'float',
'type' => 'number',
],
'MosScore' => [
'description' => '',
'example' => '0.7048',
'format' => 'float',
'type' => 'number',
],
],
'type' => 'object',
],
],
'type' => 'object',
],
'Message' => [
'description' => '',
'example' => '',
'type' => 'string',
],
],
'title' => 'Schema of Response',
'type' => 'object',
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'ParameterError',
'errorMessage' => 'The parameter is invalid. Please check again.',
],
],
403 => [
[
'errorCode' => 'AuthFailed',
'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.',
],
],
408 => [
[
'errorCode' => 'Timeout',
'errorMessage' => 'The request has timed out.',
],
],
503 => [
[
'errorCode' => 'ServiceUnavailable',
'errorMessage' => 'The service is unavailable.',
],
],
],
'staticInfo' => [
'returnType' => 'synchronous',
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1d33e538-c949-4fcd-83f6-4d57e4b31527\\",\\n \\"Data\\": {\\n \\"JsonUrl\\": \\"http://vibktprfx-prod-prod-damo-eas-cn-shanghai.oss-cn-shanghai.aliyuncs.com/eas-video-quality-assessment/2023-01-13-10/31%3A08-cVeN9ZQlzIPfGqsa.json?Expires=1673578869&OSSAccessKeyId=LTAI****************&Signature=AiSsOsZ7rYfhf9w3Mxn%2Fq4GKKy****\\",\\n \\"PdfUrl\\": \\"http://vibktprfx-prod-prod-damo-eas-cn-shanghai.oss-cn-shanghai.aliyuncs.com/eas-video-quality-assessment/2023-01-13-10/31%3A08-cVeN9ZQlzIPfGqsa.pdf?Expires=1673578869&OSSAccessKeyId=LTAI****************&Signature=xULlZzVuhoYWAXRbp9A4EzzZcS****\\",\\n \\"VideoQualityInfo\\": {\\n \\"CompressiveStrength\\": 0.25,\\n \\"NoiseIntensity\\": 0.01,\\n \\"Blurriness\\": 0.15,\\n \\"ColorContrast\\": 0.55,\\n \\"ColorSaturation\\": 0.17,\\n \\"Luminance\\": 0.51,\\n \\"Colorfulness\\": 0.48,\\n \\"MosScore\\": 0.7048\\n }\\n },\\n \\"Message\\": \\"该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 1d33e538-c949-4fcd-83f6-4d57e4b31527\\n 该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\n","errorExample":""}]',
],
'GetAsyncJobResult' => [
'methods' => [
'post',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
],
'parameters' => [
[
'name' => 'JobId',
'in' => 'formData',
'schema' => [
'description' => '',
'example' => 'E75FE679-0303-4DD1-8252-1143B4FA8A27',
'required' => true,
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => '1',
'properties' => [
'RequestId' => [
'description' => '',
'example' => 'A1F44EC4-118D-4A03-B213-F908F36F7DAA',
'type' => 'string',
],
'Data' => [
'description' => '',
'properties' => [
'Status' => [
'description' => '',
'example' => 'PROCESS_SUCCESS',
'type' => 'string',
],
'ErrorMessage' => [
'description' => '',
'example' => 'paramsIllegal',
'type' => 'string',
],
'Result' => [
'description' => '',
'example' => '{\\"Outputs\\":[{\\"ImageURL\\":\\"http://algo-app-aic-vd-cn-shanghai-prod.oss-cn-shanghai.aliyuncs.com/video-cover/2020-03-25-11/pic_4t7zW6R6SUGn4DLF.mp4_2375_1920_1080_96ce5a96b5b16628cd778c035b68356d_beautified.png?Expires=1585136160&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=MDd7BqbivlLRd16MTKbPFQHV3u****\\",\\"Confidence\\":8.426481079120514},{\\"ImageURL\\":\\"http://algo-app-aic-vd-cn-shanghai-prod.oss-cn-shanghai.aliyuncs.com/video-cover/2020-03-25-11/pic_4t7zW6R6SUGn4DLF.mp4_2996_1920_1080_d5df0556bf420242c84fe6f7a45d01e1_beautified.png?Expires=1585136160&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=htaW5G%2BpqPBW%2BEMTe01ckVoGsQ****\\",\\"Confidence\\":6.225726566341124}]}',
'type' => 'string',
],
'ErrorCode' => [
'description' => '',
'example' => 'InvalidParameter',
'type' => 'string',
],
'JobId' => [
'description' => '',
'example' => '7DFDA846-178B-4ADB-B69A-62C641214D81',
'type' => 'string',
],
],
'type' => 'object',
],
],
'type' => 'object',
],
],
],
'errorCodes' => [
400 => [
[
'errorCode' => 'ParameterError',
'errorMessage' => 'The parameter is invalid. Please check again.',
],
],
403 => [
[
'errorCode' => 'AuthFailed',
'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.',
],
],
408 => [
[
'errorCode' => 'Timeout',
'errorMessage' => 'The request has timed out.',
],
],
503 => [
[
'errorCode' => 'ServiceUnavailable',
'errorMessage' => 'The service is unavailable.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0E448D84-1736-1BCD-BEA5-866C413515A1\\",\\n \\"Data\\": {\\n \\"Status\\": \\"PROCESS_SUCCESS\\",\\n \\"ErrorMessage\\": \\"paramsIllegal\\",\\n \\"Result\\": \\"\\\\\\"{\\\\\\\\\\\\\\"jsonUrl\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"http://vibktprfx-prod-prod-damo-eas-cn-shanghai.oss-cn-shanghai.aliyuncs.com/eas-video-quality-assessment/2023-01-11-16/01%3A52-crxCR763VXTeY0bP.json?Expires=1673425915&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=iW07EIZaqaiMNoF3RJZwsLVxOx****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"pdfUrl\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"http://vibktprfx-prod-prod-damo-eas-cn-shanghai.oss-cn-shanghai.aliyuncs.com/eas-video-quality-assessment/2023-01-11-16/01%3A52-crxCR763VXTeY0bP.pdf?Expires=1673425916&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=BvZ3ayeTTxaR65ZvQ2%2FoE8W8Lr****\\\\\\\\\\\\\\"}\\\\\\"\\",\\n \\"ErrorCode\\": \\"InvalidParameter\\",\\n \\"JobId\\": \\"A421D5F0-4F73-19F5-8D92-D509FAD281D2\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 0E448D84-1736-1BCD-BEA5-866C413515A1\\n \\n PROCESS_SUCCESS\\n A421D5F0-4F73-19F5-8D92-D509FAD281D2\\n {\\"jsonUrl\\":\\"http://vibktprfx-prod-prod-damo-eas-cn-shanghai.oss-cn-shanghai.aliyuncs.com/eas-video-quality-assessment/2023-01-11-16/01%3A52-crxCR763VXTeY0bP.json?Expires=1673425915&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=iW07EIZaqaiMNoF3RJZwsLVxOx****\\",\\"pdfUrl\\":\\"http://vibktprfx-prod-prod-damo-eas-cn-shanghai.oss-cn-shanghai.aliyuncs.com/eas-video-quality-assessment/2023-01-11-16/01%3A52-crxCR763VXTeY0bP.pdf?Expires=1673425916&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=BvZ3ayeTTxaR65ZvQ2%2FoE8W8Lr****\\"}\\n \\n","errorExample":""}]',
'requestParamsDescription' => ' ',
],
],
'endpoints' => [
[
'regionId' => 'cn-shanghai',
'endpoint' => 'videorecog.cn-shanghai.aliyuncs.com',
],
],
];