summaryrefslogtreecommitdiff
path: root/data/lingmou/2025-05-27
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 16:56:35 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 16:56:35 +0800
commit814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch)
tree29e1692a067b17e56886a7d246d2b9521b2b7777 /data/lingmou/2025-05-27
parenteccd5cd5a067f5659982685afdeea209b1888efb (diff)
downloadafterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz
afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip
update APIs 20260712
Diffstat (limited to 'data/lingmou/2025-05-27')
-rw-r--r--data/lingmou/2025-05-27/api-docs.php1153
1 files changed, 434 insertions, 719 deletions
diff --git a/data/lingmou/2025-05-27/api-docs.php b/data/lingmou/2025-05-27/api-docs.php
index 444f869..c0e1307 100644
--- a/data/lingmou/2025-05-27/api-docs.php
+++ b/data/lingmou/2025-05-27/api-docs.php
@@ -1,274 +1,224 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'ROA',
- 'product' => 'LingMou',
- 'version' => '2025-05-27',
- ],
+ 'info' => ['style' => 'ROA', 'product' => 'LingMou', 'version' => '2025-05-27'],
'components' => [
'schemas' => [
'BroadcastAudio' => [
'type' => 'object',
'properties' => [
- 'id' => [
- 'type' => 'string',
- ],
- 'createTime' => [
- 'type' => 'string',
- ],
- 'modifiedTime' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'status' => [
- 'type' => 'string',
- ],
- 'audioLength' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'id' => ['type' => 'string'],
+ 'createTime' => ['type' => 'string'],
+ 'modifiedTime' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
+ 'audioLength' => ['type' => 'integer', 'format' => 'int32'],
+ 'errorCode' => ['type' => 'string'],
+ ],
+ ],
+ 'BroadcastScene' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'createTime' => ['type' => 'string'],
+ 'modifiedTime' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'ratio' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
+ 'remainSeconds' => ['type' => 'integer', 'format' => 'int64'],
+ 'version' => ['type' => 'integer', 'format' => 'int64'],
+ 'clipInfo' => ['type' => 'string'],
+ 'previewURL' => ['type' => 'string'],
+ 'shortVideoURL' => ['type' => 'string'],
+ 'downloadURL' => ['type' => 'string'],
+ 'coverURL' => ['type' => 'string'],
+ 'thumbnailURL' => ['type' => 'string'],
+ 'id' => ['type' => 'string'],
+ ],
+ ],
+ 'BroadcastSceneTemplate' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'createTime' => ['type' => 'string'],
+ 'modifiedTime' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'desc' => ['type' => 'string'],
+ 'ratio' => ['type' => 'string'],
+ 'previewURL' => ['type' => 'string'],
+ 'shortVideoURL' => ['type' => 'string'],
+ 'coverURL' => ['type' => 'string'],
+ 'thumbnailURL' => ['type' => 'string'],
+ 'id' => ['type' => 'string'],
+ 'tags' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
],
],
'BroadcastTemplate' => [
'type' => 'object',
'properties' => [
- 'createTime' => [
- 'type' => 'string',
- ],
- 'modifiedTime' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'id' => [
- 'type' => 'string',
- ],
+ 'createTime' => ['type' => 'string'],
+ 'modifiedTime' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'id' => ['type' => 'string'],
'variables' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/TemplateVariable',
- ],
+ 'items' => ['$ref' => '#/components/schemas/TemplateVariable'],
],
],
],
'BroadcastVideo' => [
'type' => 'object',
'properties' => [
- 'id' => [
- 'type' => 'string',
- ],
- 'createTime' => [
- 'type' => 'string',
- ],
- 'modifiedTime' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'status' => [
- 'type' => 'string',
- ],
- 'coverURL' => [
- 'type' => 'string',
- ],
- 'videoURL' => [
- 'type' => 'string',
- ],
- 'captionURL' => [
- 'type' => 'string',
- ],
- 'alignmentFileURL' => [
- 'type' => 'string',
- ],
+ 'id' => ['type' => 'string'],
+ 'createTime' => ['type' => 'string'],
+ 'modifiedTime' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
+ 'coverURL' => ['type' => 'string'],
+ 'videoURL' => ['type' => 'string'],
+ 'captionURL' => ['type' => 'string'],
+ 'alignmentFileURL' => ['type' => 'string'],
],
],
'ChatSessionInfo' => [
'type' => 'object',
'properties' => [
- 'sessionId' => [
- 'type' => 'string',
- ],
- 'mainAccountId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'createdAt' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'sessionId' => ['type' => 'string'],
+ 'mainAccountId' => ['type' => 'integer', 'format' => 'int64'],
+ 'createdAt' => ['type' => 'integer', 'format' => 'int64'],
],
],
'TemplateVariable' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
- ],
- 'properties' => [
- 'type' => 'any',
- ],
+ 'name' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'properties' => ['type' => 'any'],
],
],
],
],
'apis' => [
- 'CreateBroadcastSticker' => [
- 'path' => '/openapi/customer/broadcast/material/sticker/create',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CloseChatInstanceSessions' => [
+ 'path' => '/openapi/chat/instances/{instanceId}/sessions/close',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'sessionIds',
+ 'in' => 'formData',
'style' => 'json',
'schema' => [
- 'type' => 'object',
+ 'type' => 'array',
'required' => false,
- 'properties' => [
- 'ossKey' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'fileName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
- 'ListBroadcastTemplates' => [
- 'path' => '/openapi/customer/broadcast/template/list',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ConfirmTrainPicAvatar' => [
+ 'path' => '/openapi/train/confirmTrainPicAvatar',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'page',
+ 'name' => 'avatarId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'size',
+ 'name' => 'status',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'CopyBroadcastSceneFromTemplate' => [
+ 'path' => '/openapi/customer/broadcast/template/scene/copyByTemplate',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'nextToken',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'maxResults',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'name' => ['type' => 'string', 'required' => true],
+ 'ratio' => ['type' => 'string', 'required' => true],
+ 'templateId' => ['type' => 'string', 'required' => true],
+ ],
],
],
],
],
- 'GetBroadcastTemplate' => [
- 'path' => '/openapi/customer/broadcast/template/detail',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateBackgroundPic' => [
+ 'path' => '/openapi/chat/createBackgroundPic',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'templateId',
+ 'name' => 'ossKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'filename',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreateBroadcastVideoFromTemplate' => [
- 'path' => '/api/v1/amp/customer/broadcast/video/createFromTemplate',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateBroadcastAudio' => [
+ 'path' => '/openapi/customer/broadcast/material/audio/create',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
@@ -279,101 +229,52 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'templateId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'videoOptions' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'resolution' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'fps' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'watermark' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- ],
- 'variables' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/TemplateVariable',
- 'required' => false,
- ],
- ],
+ 'ossKey' => ['type' => 'string', 'required' => false],
+ 'fileName' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'ListBroadcastVideosById' => [
- 'path' => '/api/v1/amp/customer/broadcast/video/batchQuery',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateBroadcastSticker' => [
+ 'path' => '/openapi/customer/broadcast/material/sticker/create',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'videoIds',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
'style' => 'json',
'schema' => [
- 'type' => 'array',
+ 'type' => 'object',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
+ 'properties' => [
+ 'ossKey' => ['type' => 'string', 'required' => false],
+ 'fileName' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'CreateBroadcastAudio' => [
- 'path' => '/openapi/customer/broadcast/material/audio/create',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateBroadcastVideoFromTemplate' => [
+ 'path' => '/api/v1/amp/customer/broadcast/video/createFromTemplate',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
@@ -384,745 +285,565 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'ossKey' => [
- 'type' => 'string',
+ 'templateId' => ['type' => 'string', 'required' => false],
+ 'name' => ['type' => 'string', 'required' => false],
+ 'videoOptions' => [
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'resolution' => ['type' => 'string', 'required' => false],
+ 'fps' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'watermark' => ['type' => 'boolean', 'required' => false],
+ 'languageHints' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'mode' => ['type' => 'string', 'required' => false],
+ ],
],
- 'fileName' => [
- 'type' => 'string',
+ 'variables' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/TemplateVariable', 'required' => false],
],
],
],
],
],
],
- 'ListBroadcastAudiosById' => [
- 'path' => '/openapi/customer/broadcast/material/audio/batchQuery',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateChatConfig' => [
+ 'path' => '/openapi/chat/createChatConfig',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'audioIds',
+ 'name' => 'backgroundId',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'avatarId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetUploadPolicy' => [
- 'path' => '/openapi/chat/getUploadPolicy',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateChatSession' => [
+ 'path' => '/openapi/chat/init/{id}',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'type',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'id',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'jwtToken',
+ 'name' => 'license',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'CreateTTSVoiceCustom' => [
- 'path' => '/openapi/voice/createTTSVoiceCustom',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'name',
+ 'name' => 'platform',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'gender',
+ 'name' => 'instanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ossKey',
+ 'name' => 'appId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'fileName',
+ 'name' => 'deviceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetTTSVoiceByIdCustom' => [
- 'path' => '/openapi/voice/getTTSVoiceById',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateNoTrainPicAvatar' => [
+ 'path' => '/openapi/chat/createNoTrainPicAvatar',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'voiceId',
+ 'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'ListPrivateTTSVoicesCustom' => [
- 'path' => '/openapi/voice/listPrivateTTSVoicesCustom',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'gender',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'name',
+ 'name' => 'imageOssPath',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'pageIndex',
+ 'name' => 'expressiveness',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'pageSize',
+ 'name' => 'transparent',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'nextToken',
+ 'name' => 'jwtToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'maxResults',
+ 'name' => 'generateAssets',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'ListTemplateMaterial' => [
- 'path' => '/openapi/train/listTemplateMaterial',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateTTSVoiceCustom' => [
+ 'path' => '/openapi/voice/createTTSVoiceCustom',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'page',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'size',
+ 'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'maxResults',
+ 'name' => 'gender',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'nextToken',
+ 'name' => 'ossKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'templateIds',
+ 'name' => 'fileName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'CreateTrainPicAvatar' => [
'path' => '/openapi/train/createTrainPicAvatar',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'imageOssPath',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'gender',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'templateId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'transparent',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'generateAssets',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'bizType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ConfirmTrainPicAvatar' => [
- 'path' => '/openapi/train/confirmTrainPicAvatar',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteBroadcastSticker' => [
+ 'path' => '/openapi/broadcast/materials/stickers/{stickerId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'stickerId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'GetBroadcastTemplate' => [
+ 'path' => '/openapi/customer/broadcast/template/detail',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'avatarId',
+ 'name' => 'templateId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'GetTTSVoiceByIdCustom' => [
+ 'path' => '/openapi/voice/getTTSVoiceById',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'status',
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'voiceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'GetTrainPicAvatarStatus' => [
'path' => '/openapi/train/getTrainPicAvatarStatus',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'avatarId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateBackgroundPic' => [
- 'path' => '/openapi/chat/createBackgroundPic',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetUploadPolicy' => [
+ 'path' => '/openapi/chat/getUploadPolicy',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ossKey',
+ 'name' => 'type',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'filename',
+ 'name' => 'jwtToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreateNoTrainPicAvatar' => [
- 'path' => '/openapi/chat/createNoTrainPicAvatar',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListBroadcastAudiosById' => [
+ 'path' => '/openapi/customer/broadcast/material/audio/batchQuery',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'name',
+ 'name' => 'audioIds',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
+ ],
+ ],
+ 'ListBroadcastTemplates' => [
+ 'path' => '/openapi/customer/broadcast/template/list',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'gender',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'imageOssPath',
+ 'name' => 'page',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'expressiveness',
+ 'name' => 'size',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'transparent',
+ 'name' => 'nextToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'jwtToken',
+ 'name' => 'maxResults',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ ],
+ ],
+ 'ListBroadcastVideosById' => [
+ 'path' => '/api/v1/amp/customer/broadcast/video/batchQuery',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'generateAssets',
+ 'name' => 'videoIds',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'boolean',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
- 'CreateChatConfig' => [
- 'path' => '/openapi/chat/createChatConfig',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListPrivateTTSVoicesCustom' => [
+ 'path' => '/openapi/voice/listPrivateTTSVoicesCustom',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'backgroundId',
+ 'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'avatarId',
+ 'name' => 'pageIndex',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
+ ],
+ [
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'CreateChatSession' => [
- 'path' => '/openapi/chat/init/{id}',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListPublicBroadcastSceneTemplates' => [
+ 'path' => '/openapi/customer/broadcast/template/scene/listPublic',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'id',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'tags',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'license',
+ 'name' => 'page',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'platform',
+ 'name' => 'size',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'instanceId',
+ 'name' => 'nextToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'CloseChatInstanceSessions' => [
- 'path' => '/openapi/chat/instances/{instanceId}/sessions/close',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListTemplateMaterial' => [
+ 'path' => '/openapi/train/listTemplateMaterial',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'instanceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
- 'name' => 'sessionIds',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'name' => 'size',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'templateIds',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QueryChatInstanceSessions' => [
'path' => '/openapi/chat/instances/{instanceId}/sessions',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'sessionIds',
@@ -1131,19 +852,13 @@
'schema' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'lingmou.cn-beijing.aliyuncs.com',
- ],
+ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'lingmou.cn-beijing.aliyuncs.com', 'endpoint' => 'lingmou.cn-beijing.aliyuncs.com', 'vpc' => 'lingmou-vpc.cn-beijing.aliyuncs.com'],
],
];