diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
| commit | 814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch) | |
| tree | 29e1692a067b17e56886a7d246d2b9521b2b7777 /data/videoenhan/2020-03-20/api-docs.php | |
| parent | eccd5cd5a067f5659982685afdeea209b1888efb (diff) | |
| download | afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip | |
update APIs 20260712
Diffstat (limited to 'data/videoenhan/2020-03-20/api-docs.php')
| -rw-r--r-- | data/videoenhan/2020-03-20/api-docs.php | 798 |
1 files changed, 216 insertions, 582 deletions
diff --git a/data/videoenhan/2020-03-20/api-docs.php b/data/videoenhan/2020-03-20/api-docs.php index ed1cce4..1bb99aa 100644 --- a/data/videoenhan/2020-03-20/api-docs.php +++ b/data/videoenhan/2020-03-20/api-docs.php @@ -1,22 +1,35 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'videoenhan', - 'version' => '2020-03-20', - ], + 'info' => ['style' => 'RPC', 'product' => 'videoenhan', 'version' => '2020-03-20'], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'AdjustVideoColor' => [ - 'methods' => [ - 'post', + 'AddFaceVideoTemplate' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'VideoURL', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'VideoScene', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], ], + ], + 'AdjustVideoColor' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -27,54 +40,33 @@ [ 'name' => 'VideoUrl', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'VideoBitrate', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'VideoCodec', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'VideoFormat', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Mode', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ChangeVideoSize' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -85,104 +77,87 @@ [ 'name' => 'VideoUrl', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Width', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'minimum' => '32', - 'maximum' => '2160', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '32', 'maximum' => '2160'], ], [ 'name' => 'Height', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'minimum' => '32', - 'maximum' => '2160', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '32', 'maximum' => '2160'], ], [ 'name' => 'CropType', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'FillType', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Tightness', 'in' => 'formData', - 'schema' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => false, - 'minimum' => '0', - 'maximum' => '1', - ], + 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false, 'minimum' => '0', 'maximum' => '1'], ], [ 'name' => 'R', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'maximum' => '255', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '255'], ], [ 'name' => 'G', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'maximum' => '255', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '255'], ], [ 'name' => 'B', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'maximum' => '255', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '255'], ], ], ], - 'EnhanceVideoQuality' => [ - 'methods' => [ - 'post', - 'get', + 'DeleteFaceVideoTemplate' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'TemplateId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'EnhancePortraitVideo' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'VideoUrl', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'EnhanceVideoQuality' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -193,84 +168,43 @@ [ 'name' => 'VideoURL', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'OutPutWidth', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '180', - 'maximum' => '7680', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '180', 'maximum' => '7680'], ], [ 'name' => 'OutPutHeight', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '180', - 'maximum' => '4320', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '180', 'maximum' => '4320'], ], [ 'name' => 'FrameRate', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'maximum' => '120', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '120'], ], [ 'name' => 'HDRFormat', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'MaxIlluminance', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '500', - 'maximum' => '1000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '500', 'maximum' => '1000'], ], [ 'name' => 'Bitrate', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '8', - 'maximum' => '200', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '8', 'maximum' => '200'], ], ], ], - 'GenerateVideo' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'EraseVideoLogo' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -279,127 +213,72 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Scene', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'Width', - 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'Height', - 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'Style', + 'name' => 'VideoUrl', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Duration', + 'name' => 'Boxes', 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'number', - 'format' => 'float', + 'type' => 'array', 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'W' => ['type' => 'number', 'format' => 'float', 'required' => false], + 'H' => ['type' => 'number', 'format' => 'float', 'required' => false], + 'Y' => ['type' => 'number', 'format' => 'float', 'required' => false], + 'X' => ['type' => 'number', 'format' => 'float', 'required' => false], + ], + ], + 'maxItems' => 100, ], ], + ], + ], + 'EraseVideoSubtitles' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DurationAdaption', - 'in' => 'formData', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'TransitionStyle', + 'name' => 'VideoUrl', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'SmartEffect', + 'name' => 'BX', 'in' => 'formData', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false], ], [ - 'name' => 'PuzzleEffect', + 'name' => 'BY', 'in' => 'formData', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false], ], [ - 'name' => 'Mute', + 'name' => 'BW', 'in' => 'formData', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false], ], [ - 'name' => 'FileList', + 'name' => 'BH', 'in' => 'formData', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'Type' => [ - 'type' => 'string', - 'required' => true, - ], - 'FileUrl' => [ - 'type' => 'string', - 'required' => true, - ], - 'FileName' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - 'maxItems' => 300, - ], + 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false], ], ], ], - 'InterpolateVideoFrame' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GenerateHumanAnimeStyleVideo' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -408,46 +287,20 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'VideoURL', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'FrameRate', + 'name' => 'VideoUrl', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'maximum' => '120', - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Bitrate', + 'name' => 'CartoonStyle', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '8', - 'maximum' => '200', - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'MergeVideoFace' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GenerateVideo' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -456,150 +309,79 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'VideoURL', + 'name' => 'Scene', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'ReferenceURL', + 'name' => 'Width', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'AddWatermark', + 'name' => 'Height', 'in' => 'formData', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'Enhance', + 'name' => 'Style', 'in' => 'formData', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'WatermarkType', + 'name' => 'Duration', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'number', 'format' => 'float', 'required' => false], ], - ], - ], - 'SuperResolveVideo' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'DurationAdaption', + 'in' => 'formData', + 'schema' => ['type' => 'boolean', 'required' => false], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'VideoUrl', + 'name' => 'TransitionStyle', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'BitRate', + 'name' => 'SmartEffect', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], - ], - ], - 'EraseVideoLogo' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'PuzzleEffect', + 'in' => 'formData', + 'schema' => ['type' => 'boolean', 'required' => false], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'VideoUrl', + 'name' => 'Mute', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'Boxes', + 'name' => 'FileList', 'in' => 'formData', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', - 'required' => false, + 'required' => true, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'W' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => false, - ], - 'H' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => false, - ], - 'Y' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => false, - ], - 'X' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => false, - ], + 'Type' => ['type' => 'string', 'required' => true], + 'FileUrl' => ['type' => 'string', 'required' => true], + 'FileName' => ['type' => 'string', 'required' => true], ], ], - 'maxItems' => 100, + 'maxItems' => 300, ], ], ], ], - 'EraseVideoSubtitles' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetAsyncJobResult' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -608,60 +390,42 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'VideoUrl', + 'name' => 'JobId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'InterpolateVideoFrame' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'BX', - 'in' => 'formData', - 'schema' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => false, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'BY', + 'name' => 'VideoURL', 'in' => 'formData', - 'schema' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'BW', + 'name' => 'FrameRate', 'in' => 'formData', - 'schema' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '120'], ], [ - 'name' => 'BH', + 'name' => 'Bitrate', 'in' => 'formData', - 'schema' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '8', 'maximum' => '200'], ], ], ], - 'GetAsyncJobResult' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'MergeVideoFace' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -670,81 +434,35 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'JobId', + 'name' => 'VideoURL', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'AddFaceVideoTemplate' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + 'schema' => ['type' => 'string', 'required' => true], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'VideoURL', + 'name' => 'ReferenceURL', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'VideoScene', + 'name' => 'AddWatermark', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], - ], - ], - 'DeleteFaceVideoTemplate' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'Enhance', + 'in' => 'formData', + 'schema' => ['type' => 'boolean', 'required' => false], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'TemplateId', + 'name' => 'WatermarkType', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'MergeVideoModelFace' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -755,42 +473,27 @@ [ 'name' => 'TemplateId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'FaceImageURL', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'AddWatermark', 'in' => 'formData', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'Enhance', 'in' => 'formData', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'WatermarkType', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'MergeInfos', @@ -803,18 +506,9 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'TemplateFaceID' => [ - 'type' => 'string', - 'required' => false, - ], - 'TemplateFaceURL' => [ - 'type' => 'string', - 'required' => false, - ], - 'ImageURL' => [ - 'type' => 'string', - 'required' => false, - ], + 'TemplateFaceID' => ['type' => 'string', 'required' => false], + 'TemplateFaceURL' => ['type' => 'string', 'required' => false], + 'ImageURL' => ['type' => 'string', 'required' => false], ], ], 'maxItems' => 100, @@ -823,14 +517,8 @@ ], ], 'QueryFaceVideoTemplate' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -841,43 +529,23 @@ [ 'name' => 'TemplateId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'minimum' => '1', - 'maximum' => '5000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'maximum' => '5000'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'minimum' => '1', - 'maximum' => '500', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'maximum' => '500'], ], ], ], - 'GenerateHumanAnimeStyleVideo' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'SuperResolveVideo' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -888,51 +556,17 @@ [ 'name' => 'VideoUrl', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'CartoonStyle', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'EnhancePortraitVideo' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'VideoUrl', + 'name' => 'BitRate', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'videoenhan.cn-shanghai.aliyuncs.com', - ], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'videoenhan.cn-shanghai.aliyuncs.com', 'endpoint' => 'videoenhan.cn-shanghai.aliyuncs.com', 'vpc' => 'videoenhan-vpc.cn-shanghai.aliyuncs.com'], ], ]; |
