'1.0', 'info' => [ 'style' => 'RPC', 'product' => 'videoenhan', 'version' => '2020-03-20', ], 'directories' => [ [ 'id' => 69030, 'title' => null, 'type' => 'directory', 'children' => [ 'AdjustVideoColor', ], ], [ 'id' => 69033, 'title' => null, 'type' => 'directory', 'children' => [ 'ChangeVideoSize', 'EnhanceVideoQuality', 'GenerateVideo', 'InterpolateVideoFrame', 'MergeVideoFace', 'SuperResolveVideo', ], ], [ 'id' => 69041, 'title' => null, 'type' => 'directory', 'children' => [ 'EraseVideoLogo', 'EraseVideoSubtitles', ], ], [ 'id' => 69044, 'title' => null, 'type' => 'directory', 'children' => [ 'GetAsyncJobResult', ], ], [ 'id' => 156246, 'title' => null, 'type' => 'directory', 'children' => [ 'AddFaceVideoTemplate', 'DeleteFaceVideoTemplate', 'MergeVideoModelFace', 'QueryFaceVideoTemplate', 'GenerateHumanAnimeStyleVideo', 'EnhancePortraitVideo', ], ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'AdjustVideoColor' => [ '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/videoenhan/AdjustVideoColor/AdjustVideoColor1.mp4', 'isFileTransferUrl' => true, 'required' => true, 'type' => 'string', ], ], [ 'name' => 'VideoBitrate', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => '20', 'format' => 'int64', 'required' => false, 'type' => 'integer', ], ], [ 'name' => 'VideoCodec', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => 'h264', 'required' => false, 'type' => 'string', ], ], [ 'name' => 'VideoFormat', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => 'mp4', 'required' => false, 'type' => 'string', ], ], [ 'name' => 'Mode', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => 'LogC', 'required' => false, 'type' => 'string', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'properties' => [ 'RequestId' => [ 'description' => '', 'example' => 'C4EB5E0B-0718-42CC-9B2C-1FB149256874', 'type' => 'string', ], 'Data' => [ 'description' => '', 'properties' => [ 'VideoUrl' => [ 'description' => '', 'example' => 'http://algo-app-aic-vd-cn-shanghai-prod.oss-cn-shanghai.aliyuncs.com/video-recolor/2021-01-21-07/46%3A05-test.mov?Expires=1611216966&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=icKn5gEQ6rNlSHmCi2zAf2tC0L****', 'type' => 'string', ], ], 'type' => 'object', ], 'Message' => [ 'description' => '', 'example' => '', 'type' => 'string', ], ], 'type' => 'object', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C4EB5E0B-0718-42CC-9B2C-1FB149256874\\",\\n \\"Data\\": {\\n \\"VideoUrl\\": \\"http://algo-app-aic-vd-cn-shanghai-prod.oss-cn-shanghai.aliyuncs.com/video-recolor/2021-01-21-07/46%3A05-test.mov?Expires=1611216966&OSSAccessKeyId=LTAI****************&Signature=icKn5gEQ6rNlSHmCi2zAf2tC0L****\\"\\n },\\n \\"Message\\": \\"该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\"\\n}","errorExample":""},{"type":"xml","example":"\\n C4EB5E0B-0718-42CC-9B2C-1FB149256874\\n 该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\n","errorExample":""}]', 'responseParamsDescription' => ' ', ], 'ChangeVideoSize' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', ], 'parameters' => [ [ 'name' => 'VideoUrl', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/videoenhan/ChangeVideoSize/ChangeVideoSize1.mp4', 'isFileTransferUrl' => true, 'required' => true, 'type' => 'string', ], ], [ 'name' => 'Width', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => '600', 'format' => 'int32', 'maximum' => '2160', 'minimum' => '32', 'required' => true, 'type' => 'integer', ], ], [ 'name' => 'Height', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => '1000', 'format' => 'int32', 'maximum' => '2160', 'minimum' => '32', 'required' => true, 'type' => 'integer', ], ], [ 'name' => 'CropType', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => 'smart', 'required' => false, 'type' => 'string', ], ], [ 'name' => 'FillType', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => 'image', 'required' => false, 'type' => 'string', ], ], [ 'name' => 'Tightness', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => '0.5', 'format' => 'float', 'maximum' => '1', 'minimum' => '0', 'required' => false, 'type' => 'number', 'default' => '0.6', ], ], [ 'name' => 'R', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => '0', 'format' => 'int32', 'maximum' => '255', 'minimum' => '0', 'required' => false, 'type' => 'integer', ], ], [ 'name' => 'G', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => '0', 'format' => 'int32', 'maximum' => '255', 'minimum' => '0', 'required' => false, 'type' => 'integer', ], ], [ 'name' => 'B', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => '0', 'format' => 'int32', 'maximum' => '255', 'minimum' => '0', 'required' => false, 'type' => 'integer', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'properties' => [ 'RequestId' => [ 'description' => '', 'example' => 'C00C5A32-9F54-44F0-9778-0968DD9BF22A', 'type' => 'string', ], 'Data' => [ 'description' => '', 'properties' => [ 'VideoCoverUrl' => [ 'description' => '', 'example' => 'http://vibktprfx-prod-prod-aic-vd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/video-crop/2020-07-24-20/ZTZslWcU.jpg?Expires=1595597077&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=5cq1NNBEzS64U7RTXRBGlo7WPy****', 'type' => 'string', ], 'VideoUrl' => [ 'description' => '', 'example' => 'http://vibktprfx-prod-prod-aic-vd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/video-crop/2020-07-24-20/ZTZslWcU.mp4?Expires=1595597077&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=ZyvD9AXCT2IUFkVJngQdbXMwX6****', 'type' => 'string', ], ], '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\\": \\"C00C5A32-9F54-44F0-9778-0968DD9BF22A\\",\\n \\"Data\\": {\\n \\"VideoCoverUrl\\": \\"http://vibktprfx-prod-prod-aic-vd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/video-crop/2020-07-24-20/ZTZslWcU.jpg?Expires=1595597077&OSSAccessKeyId=LTAI****************&Signature=5cq1NNBEzS64U7RTXRBGlo7WPy****\\",\\n \\"VideoUrl\\": \\"http://vibktprfx-prod-prod-aic-vd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/video-crop/2020-07-24-20/ZTZslWcU.mp4?Expires=1595597077&OSSAccessKeyId=LTAI****************&Signature=ZyvD9AXCT2IUFkVJngQdbXMwX6****\\"\\n },\\n \\"Message\\": \\"该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\"\\n}","errorExample":""},{"type":"xml","example":"\\n C00C5A32-9F54-44F0-9778-0968DD9BF22A\\n 该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\n","errorExample":""}]', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', ], 'EnhanceVideoQuality' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'VideoURL', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => 'https://invi-label.oss-cn-shanghai.aliyuncs.com/label/temp/faceswap/test_for_api/xxxx.mp4', 'isFileTransferUrl' => true, 'required' => true, 'type' => 'string', ], ], [ 'name' => 'OutPutWidth', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => '200', 'format' => 'int32', 'maximum' => '7680', 'minimum' => '180', 'required' => false, 'type' => 'integer', ], ], [ 'name' => 'OutPutHeight', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => '200', 'format' => 'int32', 'maximum' => '4320', 'minimum' => '180', 'required' => false, 'type' => 'integer', ], ], [ 'name' => 'FrameRate', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => '50', 'format' => 'int32', 'maximum' => '120', 'minimum' => '1', 'required' => false, 'type' => 'integer', ], ], [ 'name' => 'HDRFormat', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => 'PQ', 'required' => false, 'type' => 'string', 'default' => 'PQ', ], ], [ 'name' => 'MaxIlluminance', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => '600', 'format' => 'int32', 'maximum' => '1000', 'minimum' => '500', 'required' => false, 'type' => 'integer', ], ], [ 'name' => 'Bitrate', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => '20', 'format' => 'int32', 'maximum' => '200', 'minimum' => '8', 'required' => false, 'type' => 'integer', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'properties' => [ 'RequestId' => [ 'description' => '', 'example' => '881F39DC-C107-4817-A6D5-000BE833CC2A', 'type' => 'string', ], 'Data' => [ 'description' => '', 'properties' => [ 'VideoURL' => [ 'description' => '', 'example' => 'http://vibktprfx-prod-prod-aic-vd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/uhd-enhance/20-11-20/Wwzf9z75GO5XdisS_20-11-20-07-13-48.mp4?Expires=1605858272&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=vvY0D%2Bl5eEzp%2BD7mPOWz0zMU7v****', 'type' => 'string', ], ], '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\\": \\"881F39DC-C107-4817-A6D5-000BE833CC2A\\",\\n \\"Data\\": {\\n \\"VideoURL\\": \\"http://vibktprfx-prod-prod-aic-vd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/uhd-enhance/20-11-20/Wwzf9z75GO5XdisS_20-11-20-07-13-48.mp4?Expires=1605858272&OSSAccessKeyId=LTAI****************&Signature=vvY0D%2Bl5eEzp%2BD7mPOWz0zMU7v****\\"\\n },\\n \\"Message\\": \\"该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 881F39DC-C107-4817-A6D5-000BE833CC2A\\n 该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\n","errorExample":""}]', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', ], 'GenerateVideo' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'Scene', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => 'costume', 'required' => false, 'type' => 'string', ], ], [ 'name' => 'Width', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => '640', 'format' => 'int32', 'required' => false, 'type' => 'integer', ], ], [ 'name' => 'Height', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => '640', 'format' => 'int32', 'required' => false, 'type' => 'integer', ], ], [ 'name' => 'Style', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => 'fast', 'required' => false, 'type' => 'string', ], ], [ 'name' => 'Duration', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => '10', 'format' => 'float', 'required' => false, 'type' => 'number', ], ], [ 'name' => 'DurationAdaption', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => 'true', 'required' => false, 'type' => 'boolean', ], ], [ 'name' => 'TransitionStyle', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => 'brush', 'required' => false, 'type' => 'string', ], ], [ 'name' => 'SmartEffect', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => 'true', 'required' => false, 'type' => 'boolean', ], ], [ 'name' => 'PuzzleEffect', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => 'true', 'required' => false, 'type' => 'boolean', ], ], [ 'name' => 'Mute', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => 'true', 'required' => false, 'type' => 'boolean', ], ], [ 'name' => 'FileList', 'in' => 'formData', 'style' => 'repeatList', 'schema' => [ 'description' => '1', 'items' => [ 'description' => '1', 'properties' => [ 'Type' => [ 'description' => '', 'example' => 'video', 'required' => true, 'type' => 'string', ], 'FileUrl' => [ 'description' => '', 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/videoenhan/GenerateVideo/1-video1.mp4', 'required' => true, 'type' => 'string', 'isFileTransferUrl' => true, ], 'FileName' => [ 'description' => '', 'example' => '1-video1.mp4', 'required' => true, 'type' => 'string', ], ], 'required' => false, 'type' => 'object', ], 'maxItems' => 300, 'required' => true, 'type' => 'array', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '1', 'properties' => [ 'RequestId' => [ 'description' => '', 'example' => '7CB9B663-3EF8-4C9C-A464-FDA2B5F1E3A4', 'type' => 'string', ], 'Data' => [ 'description' => '', 'properties' => [ 'VideoCoverUrl' => [ 'description' => '', 'example' => 'http://vibktprfx-prod-prod-aic-vd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/video-gen/2021-05-07-15/B9MGfwxu.mp4?Expires=1620372653&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=F9flL1n5GPYaae0dLl%2F8D%2Bn4j6****', 'type' => 'string', ], 'VideoUrl' => [ 'description' => '', 'example' => 'http://vibktprfx-prod-prod-aic-vd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/video-gen/2021-05-07-15/B9MGfwxu.jpg?Expires=1620372653&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=djBvGvdJu8bd%2FC%2BVHdg1d57U%2Bu****', 'type' => 'string', ], ], 'type' => 'object', ], 'Message' => [ 'description' => '', 'example' => '', 'type' => 'string', ], ], 'type' => 'object', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7CB9B663-3EF8-4C9C-A464-FDA2B5F1E3A4\\",\\n \\"Data\\": {\\n \\"VideoCoverUrl\\": \\"http://vibktprfx-prod-prod-aic-vd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/video-gen/2021-05-07-15/B9MGfwxu.mp4?Expires=1620372653&OSSAccessKeyId=LTAI****************&Signature=F9flL1n5GPYaae0dLl%2F8D%2Bn4j6****\\",\\n \\"VideoUrl\\": \\"http://vibktprfx-prod-prod-aic-vd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/video-gen/2021-05-07-15/B9MGfwxu.jpg?Expires=1620372653&OSSAccessKeyId=LTAI****************&Signature=djBvGvdJu8bd%2FC%2BVHdg1d57U%2Bu****\\"\\n },\\n \\"Message\\": \\"该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 7CB9B663-3EF8-4C9C-A464-FDA2B5F1E3A4\\n 该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\n","errorExample":""}]', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', ], 'InterpolateVideoFrame' => [ 'methods' => [ 'post', 'get', ], '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/videoenhan/InterpolateVideoFrame/InterpolateVideoFrame3.mp4', 'isFileTransferUrl' => true, 'required' => true, 'type' => 'string', ], ], [ 'name' => 'FrameRate', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => '70', 'format' => 'int32', 'maximum' => '120', 'minimum' => '1', 'required' => false, 'type' => 'integer', ], ], [ 'name' => 'Bitrate', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => '30', 'format' => 'int32', 'maximum' => '200', 'minimum' => '8', 'required' => false, 'type' => 'integer', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'properties' => [ 'RequestId' => [ 'description' => '', 'example' => '7EF85B5B-FB44-4C3E-9B8F-08C6CD912CEB', 'type' => 'string', ], 'Data' => [ 'description' => '', 'properties' => [ 'VideoURL' => [ 'description' => '', 'example' => 'http://vibktprfx-prod-prod-aic-vd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/video-interp/20-12-22/mRsPNVunG7717nne_20-12-22-07-29-51.mp4?Expires=1608624020&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=NFjSLll8E7E1tkuLPFyTpr6ULi****', 'type' => 'string', ], ], '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\\": \\"7EF85B5B-FB44-4C3E-9B8F-08C6CD912CEB\\",\\n \\"Data\\": {\\n \\"VideoURL\\": \\"http://vibktprfx-prod-prod-aic-vd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/video-interp/20-12-22/mRsPNVunG7717nne_20-12-22-07-29-51.mp4?Expires=1608624020&OSSAccessKeyId=LTAI****************&Signature=NFjSLll8E7E1tkuLPFyTpr6ULi****\\"\\n },\\n \\"Message\\": \\"该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 7EF85B5B-FB44-4C3E-9B8F-08C6CD912CEB\\n 该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\n","errorExample":""}]', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', ], 'MergeVideoFace' => [ 'methods' => [ 'post', 'get', ], '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/videoenhan/MergeVideoFace/MergeVideoFace1.mp4', 'isFileTransferUrl' => true, 'required' => true, 'type' => 'string', ], ], [ 'name' => 'ReferenceURL', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/videoenhan/MergeVideoFace/MergeVideoFace-pic1.png', 'isFileTransferUrl' => true, 'required' => true, 'type' => 'string', ], ], [ 'name' => 'AddWatermark', 'in' => 'formData', 'schema' => [ 'type' => 'boolean', 'default' => 'true', ], ], [ 'name' => 'Enhance', 'in' => 'formData', 'schema' => [ 'type' => 'boolean', 'default' => 'false', ], ], [ 'name' => 'WatermarkType', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'default' => 'EN', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '1', 'properties' => [ 'RequestId' => [ 'description' => '', 'example' => 'DEF90E76-B62D-45EF-8835-CA3C83842B18', 'type' => 'string', ], 'Data' => [ 'description' => '', 'properties' => [ 'VideoURL' => [ 'description' => '', 'example' => 'http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/video-face-fusion/A657011C-82B4-4705-A5DB-69B18B7CE89D.mp4?Expires=1606378308&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=Hl3cq5XedTGCscOSr0OGVxAS2o****', 'type' => 'string', ], ], '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\\": \\"DEF90E76-B62D-45EF-8835-CA3C83842B18\\",\\n \\"Data\\": {\\n \\"VideoURL\\": \\"http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/video-face-fusion/A657011C-82B4-4705-A5DB-69B18B7CE89D.mp4?Expires=1606378308&OSSAccessKeyId=LTAI****************&Signature=Hl3cq5XedTGCscOSr0OGVxAS2o****\\"\\n },\\n \\"Message\\": \\"该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\"\\n}","errorExample":""},{"type":"xml","example":"\\n DEF90E76-B62D-45EF-8835-CA3C83842B18\\n 该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\n","errorExample":""}]', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', ], 'SuperResolveVideo' => [ '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/videoenhan/SuperResolveVideo/SuperResolveVideo2.mp4', 'isFileTransferUrl' => true, 'required' => true, 'type' => 'string', ], ], [ 'name' => 'BitRate', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => '5', 'format' => 'int32', 'required' => false, 'type' => 'integer', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'properties' => [ 'RequestId' => [ 'description' => '', 'example' => '186AC396-0EEC-46F1-AAA1-BF3585227427', 'type' => 'string', ], 'Data' => [ 'description' => '', 'properties' => [ 'VideoUrl' => [ 'description' => '', 'example' => 'http://algo-app-aic-vd-cn-shanghai-prod.oss-cn-shanghai.aliyuncs.com/video-super-resolution/2020-03-20-12/12%3A11-UlLVELFzIy5EAyEh.mp4?Expires=1584708132&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=0V8yKrCVybC4KIPtRuGKJDJaQT****', 'type' => 'string', ], ], 'type' => 'object', ], 'Message' => [ 'description' => '', 'example' => '', 'type' => 'string', ], ], 'type' => 'object', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"186AC396-0EEC-46F1-AAA1-BF3585227427\\",\\n \\"Data\\": {\\n \\"VideoUrl\\": \\"http://algo-app-aic-vd-cn-shanghai-prod.oss-cn-shanghai.aliyuncs.com/video-super-resolution/2020-03-20-12/12%3A11-UlLVELFzIy5EAyEh.mp4?Expires=1584708132&OSSAccessKeyId=LTAI****************&Signature=0V8yKrCVybC4KIPtRuGKJDJaQT****\\"\\n },\\n \\"Message\\": \\"该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 186AC396-0EEC-46F1-AAA1-BF3585227427\\n 该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\n","errorExample":""}]', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', ], 'EraseVideoLogo' => [ '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/videoenhan/EraseVideoLogo/EraseVideoLogo1.mp4', 'isFileTransferUrl' => true, 'required' => true, 'type' => 'string', ], ], [ 'name' => 'Boxes', 'in' => 'formData', 'style' => 'repeatList', 'schema' => [ 'description' => '', 'items' => [ 'properties' => [ 'W' => [ 'description' => '', 'example' => '1.0', 'format' => 'float', 'required' => false, 'type' => 'number', ], 'H' => [ 'description' => '', 'example' => '1.0', 'format' => 'float', 'required' => false, 'type' => 'number', ], 'Y' => [ 'description' => '', 'example' => '0.0', 'format' => 'float', 'required' => false, 'type' => 'number', ], 'X' => [ 'description' => '', 'example' => '0.0', 'format' => 'float', 'required' => false, 'type' => 'number', ], ], 'required' => false, 'type' => 'object', ], 'maxItems' => 100, 'required' => false, 'type' => 'array', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'properties' => [ 'RequestId' => [ 'description' => '', 'example' => '95532F36-98FC-4DCD-815C-282BB26D2DA1', 'type' => 'string', ], 'Data' => [ 'description' => '', 'properties' => [ 'VideoUrl' => [ 'description' => '', 'example' => 'http://algo-app-aic-vd-cn-shanghai-prod.oss-cn-shanghai.aliyuncs.com/video-delogo/2020-03-20-11/53%3A56-DGNUGG7AcRlAylhr.mp4?Expires=1584707036&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=7CvsX7X1rSU%2B%2FDxnw484lb3LCD****', 'type' => 'string', ], ], 'type' => 'object', ], 'Message' => [ 'description' => '', 'example' => '', 'type' => 'string', ], ], 'type' => 'object', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"95532F36-98FC-4DCD-815C-282BB26D2DA1\\",\\n \\"Data\\": {\\n \\"VideoUrl\\": \\"http://algo-app-aic-vd-cn-shanghai-prod.oss-cn-shanghai.aliyuncs.com/video-delogo/2020-03-20-11/53%3A56-DGNUGG7AcRlAylhr.mp4?Expires=1584707036&OSSAccessKeyId=LTAI****************&Signature=7CvsX7X1rSU%2B%2FDxnw484lb3LCD****\\"\\n },\\n \\"Message\\": \\"该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 95532F36-98FC-4DCD-815C-282BB26D2DA1\\n 该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\n","errorExample":""}]', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', ], 'EraseVideoSubtitles' => [ '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/videoenhan/EraseVideoSubtitles/EraseVideoSubtitles1.mp4', 'isFileTransferUrl' => true, 'required' => true, 'type' => 'string', ], ], [ 'name' => 'BX', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => '0', 'format' => 'float', 'required' => false, 'type' => 'number', ], ], [ 'name' => 'BY', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => '0.75', 'format' => 'float', 'required' => false, 'type' => 'number', ], ], [ 'name' => 'BW', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => '1', 'format' => 'float', 'required' => false, 'type' => 'number', ], ], [ 'name' => 'BH', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => '0.25', 'format' => 'float', 'required' => false, 'type' => 'number', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'properties' => [ 'RequestId' => [ 'description' => '', 'example' => 'CCB082BF-A6B1-4C28-9E49-562EEE7DE639', 'type' => 'string', ], 'Data' => [ 'description' => '', 'properties' => [ 'VideoUrl' => [ 'description' => '', 'example' => 'http://algo-app-aic-vd-cn-shanghai-prod.oss-cn-shanghai.aliyuncs.com/video-desubtitle/2021-04-13-10/41%3A57-TcFd6Zug7gXwbeqs.mp4?Expires=1618312317&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=LZnGSQ8019%2Br5rcR4vKOaaT2UE****', 'type' => 'string', ], ], 'type' => 'object', ], 'Message' => [ 'description' => '', 'example' => '', 'type' => 'string', ], ], 'type' => 'object', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CCB082BF-A6B1-4C28-9E49-562EEE7DE639\\",\\n \\"Data\\": {\\n \\"VideoUrl\\": \\"http://algo-app-aic-vd-cn-shanghai-prod.oss-cn-shanghai.aliyuncs.com/video-desubtitle/2021-04-13-10/41%3A57-TcFd6Zug7gXwbeqs.mp4?Expires=1618312317&OSSAccessKeyId=LTAI****************&Signature=LZnGSQ8019%2Br5rcR4vKOaaT2UE****\\"\\n },\\n \\"Message\\": \\"该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\"\\n}","errorExample":""},{"type":"xml","example":"\\n CCB082BF-A6B1-4C28-9E49-562EEE7DE639\\n 该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\n","errorExample":""}]', 'responseParamsDescription' => ' ', ], 'GetAsyncJobResult' => [ 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', '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' => '43A0AEB6-45F4-4138-8E89-E1A5D63200E3', 'type' => 'string', ], 'Data' => [ 'description' => '', 'properties' => [ 'Status' => [ 'description' => '', 'example' => 'PROCESS_SUCCESS', 'type' => 'string', ], 'ErrorMessage' => [ 'description' => '', 'example' => 'paramsIllegal', 'type' => 'string', ], 'Result' => [ 'description' => '', 'example' => '{\\"VideoUrl\\":\\"http://algo-app-aic-vd-cn-shanghai-prod.oss-cn-shanghai.aliyuncs.com/video-super-resolution/2020-03-26-02/55%3A59-XFLsuEKpPxleHl4n.mp4?Expires=1585193159&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=OqsxMwAKsFVjPO%2Brgw%2BpXHIm6v****\\"}', 'type' => 'string', ], 'ErrorCode' => [ 'description' => '', 'example' => 'InvalidParameter', 'type' => 'string', ], 'JobId' => [ 'description' => '', 'example' => '49E2CC28-ED1D-4CC5-854D-7D0AE2B20976', 'type' => 'string', ], ], 'type' => 'object', ], ], 'type' => 'object', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"43A0AEB6-45F4-4138-8E89-E1A5D63200E3\\",\\n \\"Data\\": {\\n \\"Status\\": \\"PROCESS_SUCCESS\\",\\n \\"ErrorMessage\\": \\"paramsIllegal\\",\\n \\"Result\\": \\"{\\\\\\\\\\\\\\"VideoUrl\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"http://algo-app-aic-vd-cn-shanghai-prod.oss-cn-shanghai.aliyuncs.com/video-super-resolution/2020-03-26-02/55%3A59-XFLsuEKpPxleHl4n.mp4?Expires=1585193159&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=OqsxMwAKsFVjPO%2Brgw%2BpXHIm6v****\\\\\\\\\\\\\\"}\\",\\n \\"ErrorCode\\": \\"InvalidParameter\\",\\n \\"JobId\\": \\"49E2CC28-ED1D-4CC5-854D-7D0AE2B20976\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"43A0AEB6-45F4-4138-8E89-E1A5D63200E3\\n\\n PROCESS_SUCCESS\\n 186AC396-0EEC-46F1-AAA1-BF3585227427\\n {\\"VideoUrl\\":\\"http://algo-app-aic-vd-cn-shanghai-prod.oss-cn-shanghai.aliyuncs.com/video-super-resolution/2020-03-26-02/55%3A59-XFLsuEKpPxleHl4n.mp4?Expires=1585193159&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=OqsxMwAKsFVjPO%2Brgw%2BpXHIm6v****\\"}\\n","errorExample":""}]', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', ], 'AddFaceVideoTemplate' => [ 'summary' => '视频人脸融合模板增加', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'VideoURL', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => 'http://invi-label.oss-cn-shanghai.aliyuncs.com/labl/temp/faceswap/test_for_api/xxxx.mp4', 'isFileTransferUrl' => true, 'required' => true, 'type' => 'string', ], ], [ 'name' => 'VideoScene', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'Schema of Response', 'properties' => [ 'RequestId' => [ 'description' => '', 'example' => 'F61182AE-515B-5B0A-A877-1C9AE908FF15', 'title' => 'Id of the request', 'type' => 'string', ], 'Message' => [ 'description' => '', 'example' => '', 'type' => 'string', ], 'Date' => [ 'description' => '', 'properties' => [ 'TemplateId' => [ 'description' => '', 'example' => '6cd509ea-54fa-4730-8e9d-c94cadcda048', 'type' => 'string', ], 'FaceInfos' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TemplateFaceID' => [ 'type' => 'string', ], 'TemplateFaceURL' => [ 'type' => 'string', ], ], ], ], 'TransResult' => [ 'type' => 'string', ], ], 'type' => 'object', ], ], 'title' => 'Schema of Response', 'type' => 'object', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F61182AE-515B-5B0A-A877-1C9AE908FF15\\",\\n \\"Message\\": \\"该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\",\\n \\"Date\\": {\\n \\"TemplateId\\": \\"6cd509ea-54fa-4730-8e9d-c94cadcda048\\",\\n \\"FaceInfos\\": [\\n {\\n \\"TemplateFaceID\\": \\"7d1a2498-0f9a-42d8-bae8-c7e478188106_0\\",\\n \\"TemplateFaceURL\\": \\"http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/video-face-fusion/template/xhtest_7d1a2498-0f9a-42d8-bae8-c7e478188106/xhtest_7d1a2498-0f9a-42d8-bae8-c7e478188106_0.png?Expires=1686040781&OSSAccessKeyId=LTAI****************&Signature=WVYTf%2F3knRuUPXSVGVz%2FZi3Miu****\\"\\n }\\n ],\\n \\"TransResult\\": \\"http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/video-face-fusion/template/1952059581270833_308f1611-7de8-4f16-9175-f1e997caadf6-V1/1952059581270833_308f1611-7de8-4f16-9175-f1e997caadf6-V1_trans.npy?Expires=1717055504&OSSAccessKeyId=LTAI****************&Signature=zg784H1bv5hwaKPvAywp8p5Hla****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n F61182AE-515B-5B0A-A877-1C9AE908FF15\\n 该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\n","errorExample":""}]', ], 'DeleteFaceVideoTemplate' => [ 'summary' => '视频人脸融合模板删除', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'TemplateId', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => '3bf2418c-7adf-4002-a9d6-2f7cf1889c0d', 'required' => true, 'type' => 'string', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'Schema of Response', 'properties' => [ 'RequestId' => [ 'description' => '', 'example' => '2337D184-CD63-57B5-96A2-B60AABCB7B58', 'title' => 'Id of the request', 'type' => 'string', ], ], 'title' => 'Schema of Response', 'type' => 'object', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2337D184-CD63-57B5-96A2-B60AABCB7B58\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 2337D184-CD63-57B5-96A2-B60AABCB7B58\\n","errorExample":""}]', ], 'MergeVideoModelFace' => [ 'summary' => '视频模板融合换脸', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'TemplateId', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => '3bf2418c-7adf-4002-a9d6-2f7cf1889c0d', 'required' => true, 'type' => 'string', ], ], [ 'name' => 'FaceImageURL', 'in' => 'formData', 'schema' => [ 'description' => '', 'example' => 'https://invi-label.oss-cn-shanghai.aliyuncs.com/label/temp/faceswap/ref/ref.jpg', 'isFileTransferUrl' => true, 'required' => false, 'type' => 'string', ], ], [ 'name' => 'AddWatermark', 'in' => 'formData', 'schema' => [ 'type' => 'boolean', 'default' => 'true', ], ], [ 'name' => 'Enhance', 'in' => 'formData', 'schema' => [ 'type' => 'boolean', 'default' => 'false', ], ], [ 'name' => 'WatermarkType', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'default' => 'EN', ], ], [ 'name' => 'MergeInfos', 'in' => 'formData', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TemplateFaceID' => [ 'type' => 'string', ], 'TemplateFaceURL' => [ 'type' => 'string', ], 'ImageURL' => [ 'type' => 'string', ], ], ], 'required' => false, 'maxItems' => 100, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'Schema of Response', 'properties' => [ 'RequestId' => [ 'description' => '', 'example' => '334F180F-3B50-51CB-B4CB-9A86A542D3BC', 'title' => 'Id of the request', 'type' => 'string', ], 'Message' => [ 'type' => 'string', ], 'Data' => [ 'description' => '', 'properties' => [ 'VideoURL' => [ 'description' => '', 'example' => 'http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/video-face-fusion/334F180F-3B50-51CB-B4CB-9A86A542D3BC-5716-20210906-074905.mp4?Expires=1630916420&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=OEtNqVYxXRwkyO4BrsYVJ8q5bx****', 'type' => 'string', ], ], 'type' => 'object', ], ], 'title' => 'Schema of Response', 'type' => 'object', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"334F180F-3B50-51CB-B4CB-9A86A542D3BC\\",\\n \\"Message\\": \\"该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\",\\n \\"Data\\": {\\n \\"VideoURL\\": \\"http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/video-face-fusion/334F180F-3B50-51CB-B4CB-9A86A542D3BC-5716-20210906-074905.mp4?Expires=1630916420&OSSAccessKeyId=LTAI****************&Signature=OEtNqVYxXRwkyO4BrsYVJ8q5bx****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 334F180F-3B50-51CB-B4CB-9A86A542D3BC\\n 该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\n","errorExample":""}]', ], 'QueryFaceVideoTemplate' => [ 'summary' => '视频人脸融合模板查询', 'methods' => [ 'get', 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'TemplateId', 'in' => 'query', 'schema' => [ 'description' => '', 'example' => '3bf2418c-7adf-4002-a9d6-2f7cf1889c0d', 'required' => false, 'type' => 'string', ], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'maximum' => '5000', 'minimum' => '1', 'default' => '1', ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'maximum' => '500', 'minimum' => '1', 'example' => '100', 'default' => '100', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => 'Schema of Response', 'properties' => [ 'RequestId' => [ 'description' => '', 'example' => 'A06E3D21-890D-500B-97DA-D8B99D2DDDC4', 'title' => 'Id of the request', 'type' => 'string', ], 'Data' => [ 'description' => '', 'properties' => [ 'Total' => [ 'type' => 'integer', 'format' => 'int64', ], 'Elements' => [ 'description' => '', 'items' => [ 'description' => '1', 'properties' => [ 'CreateTime' => [ 'description' => '', 'example' => '2021-09-06 15:17:19', 'type' => 'string', ], 'UpdateTime' => [ 'description' => '', 'example' => '2021-09-06 15:18:15', 'type' => 'string', ], 'UserId' => [ 'description' => '', 'example' => 'zhangsan', 'type' => 'string', ], 'TemplateId' => [ 'description' => '', 'example' => '3bf2418c-7adf-4002-a9d6-2f7cf1889c0d', 'type' => 'string', ], 'TemplateURL' => [ 'description' => '', 'example' => 'http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/image-face-fusion/OriginUrl/user/2021-09-06/e4d6ecf6-8dc8-4dac-acb5-56a737ccbc06?Expires=1630914551&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=kBcLm66y7%2FZ3eIMgwXJg1zNP7k****', 'type' => 'string', ], 'FaceInfos' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TemplateFaceID' => [ 'type' => 'string', ], 'TemplateFaceURL' => [ 'type' => 'string', ], ], ], ], ], 'type' => 'object', ], 'type' => 'array', ], ], 'type' => 'object', ], ], 'title' => 'Schema of Response', 'type' => 'object', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A06E3D21-890D-500B-97DA-D8B99D2DDDC4\\",\\n \\"Data\\": {\\n \\"Total\\": 20,\\n \\"Elements\\": [\\n {\\n \\"CreateTime\\": \\"2021-09-06 15:17:19\\",\\n \\"UpdateTime\\": \\"2021-09-06 15:18:15\\",\\n \\"UserId\\": \\"zhangsan\\",\\n \\"TemplateId\\": \\"3bf2418c-7adf-4002-a9d6-2f7cf1889c0d\\",\\n \\"TemplateURL\\": \\"http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/image-face-fusion/OriginUrl/user/2021-09-06/e4d6ecf6-8dc8-4dac-acb5-56a737ccbc06?Expires=1630914551&OSSAccessKeyId=LTAI****************&Signature=kBcLm66y7%2FZ3eIMgwXJg1zNP7k****\\",\\n \\"FaceInfos\\": [\\n {\\n \\"TemplateFaceID\\": \\"7d1a2498-0f9a-42d8-bae8-c7e478188106_0\\",\\n \\"TemplateFaceURL\\": \\"http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/video-face-fusion/template/xhtest_7d1a2498-0f9a-42d8-bae8-c7e478188106/xhtest_7d1a2498-0f9a-42d8-bae8-c7e478188106_0.png?Expires=1686040781&OSSAccessKeyId=LTAI****************&Signature=WVYTf%2F3knRuUPXSVGVz%2FZi3Miu****\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n A06E3D21-890D-500B-97DA-D8B99D2DDDC4\\n \\n 20\\n \\n 2021-09-06 15:17:19\\n 2021-09-06 15:18:15\\n zhangsan\\n 3bf2418c-7adf-4002-a9d6-2f7cf1889c0d\\n http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/image-face-fusion/OriginUrl/user/2021-09-06/e4d6ecf6-8dc8-4dac-acb5-56a737ccbc06?Expires=1630914551&OSSAccessKeyId=LTAI****************&Signature=kBcLm66y7%2FZ3eIMgwXJg1zNP7k****\\n \\n 7d1a2498-0f9a-42d8-bae8-c7e478188106_0\\n http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/video-face-fusion/template/xhtest_7d1a2498-0f9a-42d8-bae8-c7e478188106/xhtest_7d1a2498-0f9a-42d8-bae8-c7e478188106_0.png?Expires=1686040781&OSSAccessKeyId=LTAI****************&Signature=WVYTf%2F3knRuUPXSVGVz%2FZi3Miu****\\n \\n \\n \\n","errorExample":""}]', ], 'GenerateHumanAnimeStyleVideo' => [ 'summary' => '视频人像卡通化', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'VideoUrl', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'https://viapi-test.oss-cn-shanghai.aliyuncs.com/test/xxx/eas/EvaluateVideoQuality/123.mp4', 'isFileTransferUrl' => true, ], ], [ 'name' => 'CartoonStyle', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'anime', ], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => 'd21a2afa-4d52-4bca-803b-e65028146603', ], 'Data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'VideoUrl' => [ 'description' => '', 'type' => 'string', 'example' => 'http://vibktprfx-prod-prod-xstream-cn-shanghai.oss-cn-shanghai.aliyuncs.com/xstream-framework/upload_result_video_2023-02-10_09.45.55.mp4?Expires=1675995564&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSR****&Signature=aIXTeM4IU4nARjy3SNA3YGhhqj****', ], ], ], 'Message' => [ 'description' => '', 'type' => 'string', 'example' => '', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"d21a2afa-4d52-4bca-803b-e65028146603\\",\\n \\"Data\\": {\\n \\"VideoUrl\\": \\"http://vibktprfx-prod-prod-xstream-cn-shanghai.oss-cn-shanghai.aliyuncs.com/xstream-framework/upload_result_video_2023-02-10_09.45.55.mp4?Expires=1675995564&OSSAccessKeyId=LTAI****************&Signature=aIXTeM4IU4nARjy3SNA3YGhhqj****\\"\\n },\\n \\"Message\\": \\"该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\"\\n}","errorExample":""},{"type":"xml","example":"\\n d21a2afa-4d52-4bca-803b-e65028146603\\n 该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\n","errorExample":""}]', ], 'EnhancePortraitVideo' => [ 'summary' => '视频人像增强', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'VideoUrl', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'https://viapi-test.oss-cn-shanghai.aliyuncs.com/test-team/xxx/shang/video/SD%289516100%29.mp4', 'isFileTransferUrl' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => 'd21a2afa-4d52-4bca-803b-e65028146603', ], 'Data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'VideoUrl' => [ 'description' => '', 'type' => 'string', 'example' => 'http://vibktprfx-prod-prod-xstream-cn-shanghai.oss-cn-shanghai.aliyuncs.com/xstream-framework/upload_result_video_2023-02-10_09.45.55.mp4?Expires=1675995564&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=aIXTeM4IU4nARjy3SNA3YGhhqj****', ], ], ], 'Message' => [ 'description' => '', 'type' => 'string', 'example' => '', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"d21a2afa-4d52-4bca-803b-e65028146603\\",\\n \\"Data\\": {\\n \\"VideoUrl\\": \\"http://vibktprfx-prod-prod-xstream-cn-shanghai.oss-cn-shanghai.aliyuncs.com/xstream-framework/upload_result_video_2023-02-10_09.45.55.mp4?Expires=1675995564&OSSAccessKeyId=LTAI****************&Signature=aIXTeM4IU4nARjy3SNA3YGhhqj****\\"\\n },\\n \\"Message\\": \\"该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\"\\n}","errorExample":""},{"type":"xml","example":"\\n d21a2afa-4d52-4bca-803b-e65028146603\\n 该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\n","errorExample":""}]', ], ], 'endpoints' => [ [ 'regionId' => 'cn-shanghai', 'endpoint' => 'videoenhan.cn-shanghai.aliyuncs.com', ], ], ];