diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/lingmou/2025-05-27/api-docs.php | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/en_us/lingmou/2025-05-27/api-docs.php')
| -rw-r--r-- | data/en_us/lingmou/2025-05-27/api-docs.php | 3028 |
1 files changed, 3026 insertions, 2 deletions
diff --git a/data/en_us/lingmou/2025-05-27/api-docs.php b/data/en_us/lingmou/2025-05-27/api-docs.php index 19d0733..6efd169 100644 --- a/data/en_us/lingmou/2025-05-27/api-docs.php +++ b/data/en_us/lingmou/2025-05-27/api-docs.php @@ -1,4 +1,3028 @@ <?php return [ - 'code' => 500, - 'message' => 'server error', + 'version' => '1.0', + 'info' => ['style' => 'ROA', 'product' => 'LingMou', 'version' => '2025-05-27'], + 'directories' => [ + [ + 'children' => ['CreateBroadcastSticker', 'DeleteBroadcastSticker', 'ListBroadcastTemplates', 'GetBroadcastTemplate', 'CreateBroadcastVideoFromTemplate', 'ListBroadcastVideosById', 'CreateBroadcastAudio', 'ListBroadcastAudiosById'], + 'type' => 'directory', + 'title' => 'Digital human broadcasting', + ], + [ + 'children' => [ + 'GetUploadPolicy', + [ + 'children' => ['CreateTTSVoiceCustom', 'GetTTSVoiceByIdCustom', 'ListPrivateTTSVoicesCustom'], + 'type' => 'directory', + 'title' => 'Voice', + ], + [ + 'children' => ['ListTemplateMaterial', 'CreateTrainPicAvatar', 'ConfirmTrainPicAvatar', 'GetTrainPicAvatarStatus'], + 'type' => 'directory', + 'title' => 'Image-based digital human', + ], + [ + 'children' => ['CreateBackgroundPic'], + 'type' => 'directory', + 'title' => 'Conversation background image', + ], + [ + 'children' => ['CreateNoTrainPicAvatar'], + 'type' => 'directory', + 'title' => 'Training-free image-based digital human', + ], + ], + 'type' => 'directory', + 'title' => 'Digital human asset synthesis and management', + ], + [ + 'children' => ['CreateChatConfig', 'CreateChatSession', 'CloseChatInstanceSessions', 'QueryChatInstanceSessions'], + 'type' => 'directory', + 'title' => 'Digital human conversation', + ], + [ + 'children' => ['ListPublicBroadcastSceneTemplates', 'CopyBroadcastSceneFromTemplate'], + 'type' => 'directory', + 'title' => 'Others', + ], + ], + 'components' => [ + 'schemas' => [ + 'BroadcastAudio' => [ + 'description' => 'The broadcast audio object.', + 'type' => 'object', + 'properties' => [ + 'id' => ['description' => 'The ID of the audio.', 'type' => 'string', 'title' => '', 'example' => 'M1Ju6XhHog_e-lSeb80Slp9g'], + 'createTime' => ['description' => 'The time the audio was created.', 'type' => 'string', 'title' => '', 'example' => '2026-01-22T01:59:03'], + 'modifiedTime' => ['description' => 'The time the audio was last modified.', 'type' => 'string', 'title' => '', 'example' => '2026-01-22T01:59:03'], + 'name' => ['description' => 'The name of the audio.', 'type' => 'string', 'title' => '', 'example' => '播报音频'], + 'status' => [ + 'description' => 'The status of the audio.', + 'enumValueTitles' => ['SUCCESS' => 'Detection succeeded', 'PROCESSING' => 'Detecting', 'ERROR' => 'Detection failed'], + 'type' => 'string', + 'title' => '', + 'example' => 'SUCCESS', + ], + 'audioLength' => ['description' => 'The duration of the audio in seconds.', 'type' => 'integer', 'title' => '', 'example' => '10', 'format' => 'int32'], + 'errorCode' => ['description' => 'The error code. Returned only when `status=ERROR`.'."\n" + ."\n" + .'**Possible values:**'."\n" + ."\n" + .'- **DataInspectionFailed**: Content Moderation blocked the audio because it may contain sensitive content.'."\n" + ."\n" + .'- **Audio.NoValidSpeech**: The audio contains no valid speech (for example, a silent audio file).', 'type' => 'string', 'title' => '', 'example' => 'DataInspectionFailed'], + ], + 'title' => '', + 'example' => '', + ], + 'BroadcastScene' => [ + 'description' => 'Contains the properties of a broadcast scene.', + 'type' => 'object', + 'properties' => [ + 'createTime' => ['description' => 'Creation Time ', 'type' => 'string', 'example' => '2026-03-24T11:21:27.691732', 'title' => ''], + 'modifiedTime' => ['description' => 'Updated At ', 'type' => 'string', 'example' => '2026-03-24T11:21:27.691732', 'title' => ''], + 'name' => ['description' => 'Title ', 'type' => 'string', 'example' => '播报测试', 'title' => ''], + 'ratio' => ['description' => 'Aspect ratio ', 'type' => 'string', 'example' => '9:16', 'title' => ''], + 'status' => [ + 'enumValueTitles' => ['INIT' => 'Initialization ', 'SUCCESS' => 'Succeeded ', 'DRAFT' => 'Draft ', 'PROCESSING' => 'Generating ', 'ERROR' => 'Failed ', 'PREPROCESSED' => 'Pre-processing completed '], + 'description' => 'Status ', + 'type' => 'string', + 'example' => 'DRAFT', + 'title' => '', + ], + 'remainSeconds' => ['description' => 'Estimated generation time, in seconds. ', 'type' => 'integer', 'format' => 'int64', 'example' => '300', 'title' => ''], + 'version' => ['description' => 'Version number. ', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'clipInfo' => ['description' => 'Video editing segment information ', 'type' => 'string', 'example' => '{}', 'title' => ''], + 'previewURL' => ['description' => 'Preview video after training succeeds. ', 'type' => 'string', 'example' => 'https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/BS1CQEYXYQW4MQU2/preview.mp4', 'title' => ''], + 'shortVideoURL' => ['description' => 'Video URL ', 'type' => 'string', 'example' => 'https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/BS1CQEYXYQW4MQU2/result.mp4', 'title' => ''], + 'downloadURL' => ['description' => 'Video download URL ', 'type' => 'string', 'example' => 'https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/BS1CQEYXYQW4MQU2/result.mp4', 'title' => ''], + 'coverURL' => ['description' => 'Thumbnail URL. ', 'type' => 'string', 'example' => 'https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/BS1CQEYXYQW4MQU2/cover.jpg', 'title' => ''], + 'thumbnailURL' => ['description' => 'Thumbnail URL ', 'type' => 'string', 'example' => 'https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/BS1CQEYXYQW4MQU2/thumbnail.jpg', 'title' => ''], + 'id' => ['description' => 'Template ID. ', 'type' => 'string', 'example' => 'BS1WgG5zb-N1GI8nId3r6wo8g', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'BroadcastSceneTemplate' => [ + 'description' => 'The broadcast scene template.', + 'type' => 'object', + 'properties' => [ + 'createTime' => ['description' => 'Creation Time. ', 'type' => 'string', 'example' => '2026-01-06T07:00:02Z', 'title' => ''], + 'modifiedTime' => ['description' => 'Updated At. ', 'type' => 'string', 'example' => '2026-01-06T07:00:02Z', 'title' => ''], + 'name' => ['description' => 'Broadcast template name. ', 'type' => 'string', 'example' => '播报测试', 'title' => ''], + 'desc' => ['description' => 'Description. ', 'type' => 'string', 'example' => '视频描述', 'title' => ''], + 'ratio' => ['description' => 'Template aspect ratio. ', 'type' => 'string', 'example' => '9:16', 'title' => ''], + 'previewURL' => ['description' => 'Preview video after training succeeds. ', 'type' => 'string', 'example' => 'https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/Mt.CSNSAsOIDZQU2/result.mp4', 'title' => ''], + 'shortVideoURL' => ['description' => 'Video URL. ', 'type' => 'string', 'example' => 'https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/Mt.CSNSAsOIDZQU2/result_preview.mp4', 'title' => ''], + 'coverURL' => ['description' => 'Thumbnail URL. ', 'type' => 'string', 'example' => 'https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/Mt.CSNSAsOIDZQU2/cover.jpg', 'title' => ''], + 'thumbnailURL' => ['description' => 'Thumbnail URL. ', 'type' => 'string', 'example' => 'https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/Mt.CSNSAsOIDZQU2/thumbnail.jpg', 'title' => ''], + 'id' => ['description' => 'Template ID. ', 'type' => 'string', 'example' => 'BS1tneDiuOOjJmI2qOHGw1urA', 'title' => ''], + 'tags' => [ + 'description' => 'Tag System. ', + 'type' => 'array', + 'items' => ['description' => 'Label information. ', 'type' => 'string', 'example' => 'AI,BROADCAST', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'BroadcastTemplate' => [ + 'description' => 'A broadcast template.', + 'type' => 'object', + 'properties' => [ + 'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'title' => '', 'example' => '2025-11-28T10:11:28'], + 'modifiedTime' => ['description' => 'The modification time.', 'type' => 'string', 'title' => '', 'example' => '2025-11-28T11:11:28'], + 'name' => ['description' => 'The template name.', 'type' => 'string', 'title' => '', 'example' => '测试播报模板'], + 'id' => ['description' => 'The template ID.', 'type' => 'string', 'title' => '', 'example' => 'BS1b2WNnRMu4ouRzT4clY9Jhg'], + 'variables' => [ + 'description' => 'A list of dynamic variables.', + 'type' => 'array', + 'items' => ['description' => 'A dynamic variable.', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/TemplateVariable'], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'BroadcastVideo' => [ + 'description' => 'Contains the details of a broadcast video.', + 'type' => 'object', + 'properties' => [ + 'id' => ['description' => 'The video ID.', 'type' => 'string', 'title' => '', 'example' => 'M1k3So6n9IlrDV69sr3jDa3g'], + 'createTime' => ['description' => 'The creation time.', 'type' => 'string', 'title' => '', 'example' => '2025-11-28T13:40:33'], + 'modifiedTime' => ['description' => 'The modification time.', 'type' => 'string', 'title' => '', 'example' => '2025-11-28T13:41:31'], + 'name' => ['description' => 'The video name.', 'type' => 'string', 'title' => '', 'example' => '播报视频合成测试'], + 'status' => [ + 'description' => 'The video status. The value can be:'."\n" + ."\n" + .'- `PROCESSING`: The synthesis is in progress.'."\n" + ."\n" + .'- `SUCCESS`: The synthesis was successful.'."\n" + ."\n" + .'- `ERROR`: The synthesis failed.', + 'enumValueTitles' => ['SUCCESS' => 'SUCCESS', 'PROCESSING' => 'PROCESSING', 'ERROR' => 'ERROR'], + 'type' => 'string', + 'title' => '', + 'example' => 'SUCCESS', + ], + 'coverURL' => ['description' => 'The cover image URL.', 'type' => 'string', 'title' => '', 'example' => 'https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/Mt.CQEYXYQW4MQU2/cover.jpg'], + 'videoURL' => ['description' => 'The video URL.', 'type' => 'string', 'title' => '', 'example' => 'https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/Mt.CQEYXYQW4MQU2/result.mp4'], + 'captionURL' => ['description' => 'The subtitle file URL.', 'type' => 'string', 'title' => '', 'example' => 'https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/Mt.CQEYXYQW4MQU2/result.srt'], + 'alignmentFileURL' => ['description' => 'The subtitle alignment file URL.', 'type' => 'string', 'title' => '', 'example' => 'https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/Mt.CQEYXYQW4MQU2/alignment.json'], + ], + 'title' => '', + 'example' => '', + ], + 'ChatSessionInfo' => [ + 'description' => 'Session information of Lingmou digital human.', + 'type' => 'object', + 'properties' => [ + 'sessionId' => ['description' => 'Session ID', 'type' => 'string', 'example' => '7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8', 'title' => ''], + 'mainAccountId' => ['description' => 'Main Account ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1234567', 'title' => ''], + 'createdAt' => ['description' => 'Creation Time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1755680969', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'TemplateVariable' => [ + 'description' => 'Represents a dynamic variable in a live streaming template.', + 'type' => 'object', + 'properties' => [ + 'name' => ['description' => 'Variable name. ', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'type' => [ + 'enumValueTitles' => ['voice' => 'voice', 'image' => 'image', 'text' => 'text', 'avatar' => 'avatar'], + 'description' => 'Variable Type. '."\n" + ."\n" + .'- text: Text '."\n" + .'- image: Image '."\n" + .'- avatar: Digital human '."\n" + .'- voice: Voice ', + 'type' => 'string', + 'example' => 'text', + 'title' => '', + ], + 'properties' => ['description' => 'Variable properties (JSON struct), which vary by type. '."\n" + ."\n" + .'> - Text variable: contains the `content` field. '."\n" + .'> - Image variable: contains the `resourceId` and `fit` fields. '."\n" + .'> - Digital human variable: contains the `resourceId` field. '."\n" + .'> - Voice variable: contains the `resourceId` field. ', 'type' => 'any', 'example' => '{'."\n" + .' "content": "待替换内容"'."\n" + .'}', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + 'apis' => [ + 'CloseChatInstanceSessions' => [ + 'summary' => 'Closes one or more sessions of a chat instance.', + 'path' => '/openapi/chat/instances/{instanceId}/sessions/close', + 'methods' => ['put'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREavatarWE6ABK', 'FEATUREavatar8ULNZ9', 'FEATUREavatarIODFBA'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the chat instance. You can find this ID on the order page.', 'type' => 'string', 'required' => false, 'example' => 'avatar_2dchat_public_cn-xxxxxxx', 'title' => ''], + ], + [ + 'name' => 'sessionIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'The IDs of sessions to be closed.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the session to be closed.', 'type' => 'string', 'required' => false, 'example' => '8C9F2D4E-7A6B-4F1C-9E53-0B2C8D3F9A4B', 'title' => ''], + 'required' => false, + 'example' => '["8C9F2D4E-7A6B-4F1C-9E53-0B2C8D3F9A4B"]', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response schema.', + 'title' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of the POP request.', 'type' => 'string', 'example' => '7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8'], + 'success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'code' => ['description' => 'The response code.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], + 'message' => ['description' => 'The status message.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''], + 'httpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'data' => [ + 'description' => 'The response data.', + 'type' => 'array', + 'items' => ['description' => 'Details of each successfully closed session, including the session ID, main account ID, and creation timestamp.', '$ref' => '#/components/schemas/ChatSessionInfo', 'example' => '{"sessionId": "20250311-41523E3C-1D27-5844-8EEF-194E4714096B", "mainAccountId": 1234567, "createdAt": 1755680457}', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8\\",\\n \\"success\\": true,\\n \\"code\\": \\"SUCCESS\\",\\n \\"message\\": \\"SUCCESS\\",\\n \\"httpStatusCode\\": 200,\\n \\"data\\": [\\n {\\n \\"sessionId\\": \\"7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8\\",\\n \\"mainAccountId\\": 1234567,\\n \\"createdAt\\": 1755680969\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Shut down sessions under an instance', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'lingmou:CloseChatInstanceSessions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 5, 'regionId' => '*', 'api' => 'CloseChatInstanceSessions'], + ], + ], + ], + 'ConfirmTrainPicAvatar' => [ + 'summary' => 'Confirms the status of a digital human avatar.', + 'path' => '/openapi/train/confirmTrainPicAvatar', + 'methods' => ['put'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREavatarWE6ABK', 'FEATUREavatar8ULNZ9', 'FEATUREavatarIODFBA'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'avatarId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the digital human avatar.', 'type' => 'string', 'required' => true, 'example' => 'M1_eTNYgO5lOys5g7ObvC_nw ', 'title' => ''], + ], + [ + 'name' => 'status', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies the confirmation status of the digital human avatar.', + 'enumValueTitles' => ['CUSTOMER_REJECTED' => 'Rejected', 'CUSTOMER_CONFIRMED' => 'Confirmed'], + 'type' => 'string', + 'required' => true, + 'example' => 'CUSTOMER_CONFIRMED', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response data.', + 'title' => 'Result<Void>', + 'type' => 'object', + 'properties' => [ + 'success' => ['title' => 'Encapsulates whether the current request processing succeeded or failed', 'description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True'], + 'code' => ['title' => 'Result code', 'description' => 'The response code.', 'type' => 'string', 'example' => '200'], + 'message' => ['title' => 'Error message returned when request processing fails', 'description' => 'The response message.', 'type' => 'string', 'example' => 'success'], + 'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8', 'title' => ''], + 'httpStatusCode' => ['title' => 'Returned HTTP status code', 'description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + ], + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"success\\",\\n \\"requestId\\": \\"7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8\\",\\n \\"httpStatusCode\\": 200\\n}","type":"json"}]', + 'title' => 'Result confirmation.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ConfirmTrainPicAvatar'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'lingmou:ConfirmTrainPicAvatar', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CopyBroadcastSceneFromTemplate' => [ + 'summary' => 'Copies a broadcast template to create a private broadcast scene.', + 'path' => '/openapi/customer/broadcast/template/scene/copyByTemplate', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREavatarYF4CD3'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'name' => ['title' => 'Broadcast Name', 'description' => 'The broadcast name.', 'type' => 'string', 'required' => true, 'example' => '播报视频合成测试'], + 'ratio' => ['title' => 'Aspect ratio, such as 9:16 or 16:9', 'description' => 'The aspect ratio. Examples: 9:16 and 16:9.', 'type' => 'string', 'required' => true, 'example' => '9:16'], + 'templateId' => ['title' => 'Template ID', 'description' => 'The template ID.', 'type' => 'string', 'required' => true, 'example' => 'BS1b2WNnRMu4ouRzT4clY9Jhg'], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response object.', + 'title' => 'Result<BroadcastSceneDTO>', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'The broadcast scene data.', '$ref' => '#/components/schemas/BroadcastScene', 'title' => '', 'example' => ''], + 'success' => ['title' => 'Indicates whether the current request processing succeeded or failed', 'description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True'], + 'code' => ['title' => 'Result code', 'description' => 'The result code.', 'type' => 'string', 'example' => 'SUCCESS'], + 'message' => ['title' => 'Error message returned when request processing fails', 'description' => 'The error message returned if the request fails.', 'type' => 'string', 'example' => 'SUCCESS'], + 'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '435B4F80-8DEB-5CF6-AC86-395CB6CF28C9', 'title' => ''], + 'httpStatusCode' => ['title' => 'Returned HTTP status code', 'description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + ], + 'example' => '', + ], + ], + ], + 'title' => 'Copy broadcast scenario (from template)', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'lingmou:CopyBroadcastSceneFromTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"createTime\\": \\"2026-03-24T11:21:27.691732\\",\\n \\"modifiedTime\\": \\"2026-03-24T11:21:27.691732\\",\\n \\"name\\": \\"播报测试\\",\\n \\"ratio\\": \\"9:16\\",\\n \\"status\\": \\"DRAFT\\",\\n \\"remainSeconds\\": 300,\\n \\"version\\": 0,\\n \\"clipInfo\\": \\"{}\\",\\n \\"previewURL\\": \\"https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/BS1CQEYXYQW4MQU2/preview.mp4\\",\\n \\"shortVideoURL\\": \\"https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/BS1CQEYXYQW4MQU2/result.mp4\\",\\n \\"downloadURL\\": \\"https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/BS1CQEYXYQW4MQU2/result.mp4\\",\\n \\"coverURL\\": \\"https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/BS1CQEYXYQW4MQU2/cover.jpg\\",\\n \\"thumbnailURL\\": \\"https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/BS1CQEYXYQW4MQU2/thumbnail.jpg\\",\\n \\"id\\": \\"BS1WgG5zb-N1GI8nId3r6wo8g\\"\\n },\\n \\"success\\": true,\\n \\"code\\": \\"SUCCESS\\",\\n \\"message\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"435B4F80-8DEB-5CF6-AC86-395CB6CF28C9\\",\\n \\"httpStatusCode\\": 200\\n}","type":"json"}]', + ], + 'CreateBackgroundPic' => [ + 'summary' => 'Creates a background material.', + 'path' => '/openapi/chat/createBackgroundPic', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREavatarWE6ABK', 'FEATUREavatar8ULNZ9', 'FEATUREavatarIODFBA'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ossKey', + 'in' => 'query', + 'schema' => ['description' => 'The key for the object in Object Storage Service (OSS).', 'type' => 'string', 'required' => false, 'example' => 'material/INPUT_CHAT_BACKGROUND_PIC/Mt.CN2VNOPRC5QU2', 'title' => ''], + ], + [ + 'name' => 'filename', + 'in' => 'query', + 'schema' => ['description' => 'The filename.', 'type' => 'string', 'required' => false, 'example' => '1.jpg', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response object.', + 'title' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'description' => 'The data returned for the request.', + 'type' => 'object', + 'properties' => [ + 'id' => ['description' => 'The ID of the background material.', 'type' => 'string', 'example' => 'M1lhKArheOyYdeYybDFqS1-Q', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'code' => ['description' => 'The response code.', 'type' => 'string', 'example' => '200', 'title' => ''], + 'message' => ['description' => 'The status message.', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8', 'title' => ''], + 'httpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Create background material', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'CreateBackgroundPic'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'lingmou:CreateBackgroundPic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"id\\": \\"M1lhKArheOyYdeYybDFqS1-Q\\"\\n },\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"success\\",\\n \\"requestId\\": \\"7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8\\",\\n \\"httpStatusCode\\": 200\\n}","type":"json"}]', + ], + 'CreateBroadcastAudio' => [ + 'path' => '/openapi/customer/broadcast/material/audio/create', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREavatarYF4CD3'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'ossKey' => ['description' => 'The object key for the file in OSS.', 'type' => 'string', 'required' => false, 'example' => 'material/INPUT_BROADCAST_INFER_AUDIO/Mt.CPRLVQRR27YU2', 'title' => ''], + 'fileName' => ['description' => 'The file name.', 'type' => 'string', 'required' => false, 'example' => 'audio.mp3', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response object.', + 'title' => 'Result<AudioMaterialDTO>', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'The broadcast audio object.', '$ref' => '#/components/schemas/BroadcastAudio', 'title' => '', 'example' => ''], + 'success' => ['title' => 'Indicates whether the current request processing succeeded or failed.', 'description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True'], + 'code' => ['title' => 'Result code', 'description' => 'The result code.', 'type' => 'string', 'example' => '200'], + 'message' => ['title' => 'Error message returned when request processing fails.', 'description' => 'The result message. An error message is returned if the request fails.', 'type' => 'string', 'example' => 'SUCCESS'], + 'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '90C68329-A75C-5449-A928-4D0BAD7AA0FA', 'title' => ''], + 'httpStatusCode' => ['title' => 'Returned HTTP status code.', 'description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + ], + 'example' => '', + ], + ], + ], + 'title' => 'Create an audio announcement', + 'summary' => 'Creates broadcast audio.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'lingmou:CreateBroadcastAudio', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"id\\": \\"M1Ju6XhHog_e-lSeb80Slp9g\\",\\n \\"createTime\\": \\"2026-01-22T01:59:03\\",\\n \\"modifiedTime\\": \\"2026-01-22T01:59:03\\",\\n \\"name\\": \\"播报音频\\",\\n \\"status\\": \\"SUCCESS\\",\\n \\"audioLength\\": 10,\\n \\"errorCode\\": \\"DataInspectionFailed\\"\\n },\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"90C68329-A75C-5449-A928-4D0BAD7AA0FA\\",\\n \\"httpStatusCode\\": 200\\n}","type":"json"}]', + ], + 'CreateBroadcastSticker' => [ + 'summary' => 'Create a broadcast sticker.', + 'path' => '/openapi/customer/broadcast/material/sticker/create', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREavatarYF4CD3'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'Request body.', + 'type' => 'object', + 'properties' => [ + 'ossKey' => ['description' => 'OSS file folder.', 'type' => 'string', 'required' => false, 'example' => 'material/INPUT_BROADCAST_STICKER/Mt.CPRLVQRR27YU2', 'title' => ''], + 'fileName' => ['description' => 'File name.', 'type' => 'string', 'required' => false, 'example' => 'sticker.png', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result<BroadcastStickerDTO>', + 'title' => 'Result<BroadcastStickerDTO>', + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'description' => 'Broadcast sticker.', + 'type' => 'object', + 'properties' => [ + 'id' => ['description' => 'Sticker ID.', 'title' => 'Encrypted ID to prevent traversal', 'type' => 'string', 'example' => 'M1lhKArheOyYdeYybDFqS1-Q'], + ], + 'title' => '', + 'example' => '', + ], + 'success' => ['description' => 'Indicates whether the request succeeded.', 'title' => 'Encapsulates whether the current request processing result is successful or failed', 'type' => 'boolean', 'example' => 'True'], + 'code' => ['description' => 'Status code.', 'title' => 'Result code', 'type' => 'string', 'example' => '200'], + 'message' => ['description' => 'Description of the status code.', 'title' => 'Error message returned when request processing fails', 'type' => 'string', 'example' => 'SUCCESS'], + 'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8', 'title' => ''], + 'httpStatusCode' => ['description' => 'HTTP response code.', 'title' => 'Returned HTTP status code', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + ], + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"id\\": \\"M1lhKArheOyYdeYybDFqS1-Q\\"\\n },\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8\\",\\n \\"httpStatusCode\\": 200\\n}","type":"json"}]', + 'title' => 'Create broadcast sticker', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'CreateBroadcastSticker'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'lingmou:CreateBroadcastSticker', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateBroadcastVideoFromTemplate' => [ + 'summary' => 'Synthesizes a video from a broadcast template.', + 'path' => '/api/v1/amp/customer/broadcast/video/createFromTemplate', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREavatarYF4CD3'], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'templateId' => ['description' => 'The ID of the broadcast template.'."\n" + ."\n" + .'- Call [ListBroadcastTemplates](https://help.aliyun.com/zh/avatar/avatar-application/developer-reference/api-lingmou-2025-05-27-listbroadcasttemplates) to obtain the ID.', 'type' => 'string', 'required' => false, 'example' => 'BS1b2WNnRMu4ouRzT4clY9Jhg', 'title' => ''], + 'name' => ['description' => 'The name of the video.', 'type' => 'string', 'required' => false, 'example' => '播报视频合成测试', 'title' => ''], + 'videoOptions' => [ + 'description' => 'The video output options.', + 'type' => 'object', + 'properties' => [ + 'resolution' => [ + 'description' => 'The video resolution. The default value is `720p`.'."\n" + .'Valid values:'."\n" + ."\n" + .'- 720p'."\n" + ."\n" + .'- 1080p'."\n" + ."\n" + .'- 2160p', + 'enumValueTitles' => ['1080p' => '1080p', '720p' => '720p'], + 'type' => 'string', + 'required' => false, + 'example' => '720p', + 'title' => '', + ], + 'fps' => [ + 'description' => 'The video frame rate. The default value is `30` fps.'."\n" + .'Valid values:'."\n" + ."\n" + .'- 15'."\n" + ."\n" + .'- 30', + 'enumValueTitles' => [15 => '15', 30 => '30'], + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '30', + 'title' => '', + ], + 'watermark' => ['description' => 'Specifies whether to include a watermark. The default value is `True`.'."\n" + ."\n" + .'- True: Include a watermark.'."\n" + ."\n" + .'- False: Do not include a watermark.', 'type' => 'boolean', 'required' => false, 'example' => 'True', 'title' => ''], + 'languageHints' => [ + 'description' => 'Specifies the target language for video synthesis to improve the output quality.'."\n" + .'Use this parameter when the pronunciation of numbers, abbreviations, or symbols, or the synthesis quality for non-primary languages does not meet your expectations. For example:'."\n" + ."\n" + .'- A number is not pronounced as expected. For example, you want "110" in "hello, this is 110" to be pronounced as "one one zero" instead of the Chinese pronunciation "yāo yāo líng".'."\n" + ."\n" + .'- A symbol is pronounced incorrectly. For example, "@" is pronounced as the Chinese pronunciation "ài tè" instead of "at".'."\n" + ."\n" + .'- The synthesis quality for a non-primary language is poor or sounds unnatural.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- zh: Chinese'."\n" + ."\n" + .'- en: English'."\n" + ."\n" + .'- fr: French'."\n" + ."\n" + .'- de: German'."\n" + ."\n" + .'- ja: Japanese'."\n" + ."\n" + .'- ko: Korean'."\n" + ."\n" + .'- ru: Russian'."\n" + ."\n" + .'- pt: Portuguese'."\n" + ."\n" + .'- th: Thai'."\n" + ."\n" + .'- id: Indonesian'."\n" + ."\n" + .'- vi: Vietnamese'."\n" + ."\n" + .'**Note**: This parameter is an array, but only the first element is processed. We recommend passing only one value.', + 'type' => 'array', + 'items' => ['description' => 'The target language.', 'type' => 'string', 'required' => false, 'example' => 'en', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'mode' => ['description' => 'The export mode. The default value is ALL. Valid values:'."\n" + ."\n" + .'- ALL: Exports all scene elements, including layers for the background, digital human, stickers, and captions. The output video format is MP4.'."\n" + ."\n" + .'- ONLY\\_AVATAR: Exports only the digital human channel, removing the background, stickers, and captions. The output video format is WebM with an alpha channel. Note: This mode works only for digital humans that have a transparent background. Using this mode with a digital human created from a real-shot video returns an error.', 'type' => 'string', 'required' => false, 'example' => 'ALL', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'variables' => [ + 'description' => 'A list of dynamic variables in the broadcast template. You can use these variables to replace images, text, the global digital human, the global voice, or audio.', + 'type' => 'array', + 'items' => ['description' => 'A dynamic variable for the broadcast template.', '$ref' => '#/components/schemas/TemplateVariable', 'required' => false, 'title' => '', 'example' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result\\<CustomerBroadcastVideoDTO>', + 'title' => 'Result<CustomerBroadcastVideoDTO>', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'The broadcast video object.', '$ref' => '#/components/schemas/BroadcastVideo', 'example' => '{"sessionId": "20250311-41523E3C-1D27-5844-8EEF-194E4714096B", "mainAccountId": 1234567, "createdAt": 1755680457}', 'title' => ''], + 'success' => ['title' => 'Encapsulates whether the current request processing succeeded or failed', 'description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True'], + 'code' => ['title' => 'Result code', 'description' => 'The status code.', 'type' => 'string', 'example' => 'SUCCESS'], + 'message' => ['title' => 'Error message returned when request processing fails', 'description' => 'The description of the status code.', 'type' => 'string', 'example' => 'success'], + 'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '0EC3BA89-13F5-5766-A0BA-85096092A032', 'title' => ''], + 'httpStatusCode' => ['title' => 'Returned HTTP status code', 'description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + ], + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"id\\": \\"M1k3So6n9IlrDV69sr3jDa3g\\",\\n \\"createTime\\": \\"2025-11-28T13:40:33\\",\\n \\"modifiedTime\\": \\"2025-11-28T13:41:31\\",\\n \\"name\\": \\"播报视频合成测试\\",\\n \\"status\\": \\"SUCCESS\\",\\n \\"coverURL\\": \\"https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/Mt.CQEYXYQW4MQU2/cover.jpg\\",\\n \\"videoURL\\": \\"https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/Mt.CQEYXYQW4MQU2/result.mp4\\",\\n \\"captionURL\\": \\"https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/Mt.CQEYXYQW4MQU2/result.srt\\",\\n \\"alignmentFileURL\\": \\"https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/Mt.CQEYXYQW4MQU2/alignment.json\\"\\n },\\n \\"success\\": true,\\n \\"code\\": \\"SUCCESS\\",\\n \\"message\\": \\"success\\",\\n \\"requestId\\": \\"0EC3BA89-13F5-5766-A0BA-85096092A032\\",\\n \\"httpStatusCode\\": 200\\n}","type":"json"}]', + 'title' => 'Create a broadcast video based on a template', + 'description' => 'This operation synthesizes a video from a specified broadcast template.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'CreateBroadcastVideoFromTemplate'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'lingmou:CreateBroadcastVideoFromTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateChatConfig' => [ + 'path' => '/openapi/chat/createChatConfig', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREavatarWE6ABK', 'FEATUREavatar8ULNZ9', 'FEATUREavatarIODFBA'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'backgroundId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the background asset. This parameter is optional if the avatar has an opaque background.', 'type' => 'string', 'required' => false, 'example' => 'M1ONzwuILu-nPT7pvr6maKvQ', 'title' => ''], + ], + [ + 'name' => 'avatarId', + 'in' => 'query', + 'schema' => ['description' => 'The avatar ID. This parameter is required.', 'type' => 'string', 'required' => false, 'example' => 'M1ONzwuILu-nPT7pvr6maKvQ', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response object.', + 'title' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['description' => 'The unique ID for the request.', 'type' => 'string', 'example' => '0EC3BA89-13F5-5766-A0BA-85096092A032', 'title' => ''], + 'success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'code' => ['description' => 'The response code.', 'type' => 'string', 'example' => '200', 'title' => ''], + 'message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'httpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'data' => [ + 'description' => 'The data returned for a successful request.', + 'type' => 'object', + 'properties' => [ + 'id' => ['description' => 'The unique ID of the created chat configuration.', 'type' => 'string', 'example' => 'C1RznvtlM-JO6HuPHqNC-Xxg', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Create dialogue configuration', + 'summary' => 'Creates a chat configuration.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'CreateChatConfig'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'lingmou:CreateChatConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0EC3BA89-13F5-5766-A0BA-85096092A032\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"success\\",\\n \\"httpStatusCode\\": 200,\\n \\"data\\": {\\n \\"id\\": \\"C1RznvtlM-JO6HuPHqNC-Xxg\\"\\n }\\n}","type":"json"}]', + ], + 'CreateChatSession' => [ + 'summary' => 'Create a real-time digital human session. ', + 'path' => '/openapi/chat/init/{id}', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREavatarWE6ABK', 'FEATUREavatar8ULNZ9', 'FEATUREavatarIODFBA'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'id', + 'in' => 'path', + 'schema' => ['description' => '即对话数字人的项目ID,通过灵眸控制台[对话互动](https://avatar.console.aliyun.com/lingmou/chat)页面点击对话项目右下角更多选项查看。', 'type' => 'string', 'required' => true, 'example' => 'C1gttTrdX7l98YCPck7Jr-iA', 'title' => ''], + ], + [ + 'name' => 'license', + 'in' => 'query', + 'schema' => ['description' => '灵眸平台颁发的个人凭证(在使用端渲染数字人的场景下必填)。', 'type' => 'string', 'required' => false, 'example' => 'b9be4b25c2d38c409c376ffd2372be1', 'title' => ''], + ], + [ + 'name' => 'platform', + 'in' => 'query', + 'schema' => [ + 'description' => '运行SDK的平台(在使用端渲染数字人的场景下必填)。', + 'enumValueTitles' => ['Web' => 'Web', 'iOS' => 'iOS', 'Android' => 'Android'], + 'type' => 'string', + 'required' => false, + 'example' => 'Web | Android | iOS', + 'title' => '', + ], + ], + [ + 'name' => 'instanceId', + 'in' => 'query', + 'schema' => ['description' => '需要在[数字人实时交互服务](https://common-buy.aliyun.com/?spm=a2c4g.11186623.0.0.457876812ETi6y&commodityCode=avatar_2dchat_public_cn)购买完成对应的服务购买,当前有可用的服务时,前往阿里云-[我的订单](https://billing-cost.console.aliyun.com/order/list)页面对应订单详情下进行查询', 'type' => 'string', 'required' => true, 'example' => 'avatar_xxxxxx_public_cn-xxxx ', 'title' => ''], + ], + [ + 'name' => 'appId', + 'in' => 'query', + 'schema' => ['description' => 'Valid appId attached to an instance of an audio-driven client-rendering type order ', 'title' => 'Valid appId attached to the order instance ', 'type' => 'string', 'example' => 'com.aliyun.xxxtest', 'required' => false], + ], + [ + 'name' => 'deviceId', + 'in' => 'query', + 'schema' => ['description' => 'Valid deviceId attached to an instance of an audio-driven client-rendering type order ', 'title' => 'Valid deviceId attached to the order instance ', 'type' => 'string', 'example' => 'xzzx1SIcXGYSju3S', 'required' => false], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8', 'title' => ''], + 'message' => ['description' => '状态码描述。', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'httpStatusCode' => ['description' => 'http响应码', 'type' => 'integer', 'format' => 'int64', 'example' => '200', 'title' => ''], + 'data' => [ + 'description' => '响应数据。', + 'type' => 'object', + 'properties' => [ + 'sessionId' => ['description' => '会话ID', 'type' => 'string', 'example' => '9827f4bd-5008-4d34-98fb-62598f3ad3b5', 'title' => ''], + 'rtcParams' => [ + 'description' => 'RTC入参。', + 'type' => 'object', + 'properties' => [ + 'appId' => ['description' => '应用id。', 'type' => 'string', 'example' => '895cbf3b', 'title' => ''], + 'avatarUserId' => ['description' => '数字人侧用户ID。', 'type' => 'string', 'example' => 'E7enIvjUos', 'title' => ''], + 'channel' => ['description' => 'RTC通道ID。', 'type' => 'string', 'example' => 'pPltqR3FovNCK3hNQc8eHUL3Zt****', 'title' => ''], + 'clientUserId' => ['description' => '客户端侧用户ID。', 'type' => 'string', 'example' => 'aw0tqpFlP4', 'title' => ''], + 'gslb' => ['description' => 'RTC服务地址。', 'type' => 'string', 'example' => 'https://gw.rtn.aliyuncs.com', 'title' => ''], + 'nonce' => ['description' => '随机串。', 'type' => 'string', 'example' => 'f8b0ef02c5da778f4488e2470c', 'title' => ''], + 'serverUserId' => ['description' => '服务端侧用户ID。', 'type' => 'string', 'example' => 'YzZtSQP8QX', 'title' => ''], + 'timestamp' => ['description' => '过期时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1560588594', 'title' => ''], + 'token' => ['description' => '访问凭证token。', 'type' => 'string', 'example' => 'PtGgv2dM9F8tEuAtda50c0VNNFjn0WUbyTDPa1im4cUBE****', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'avatarAssets' => [ + 'description' => '端渲染数字人资产信息。', + 'type' => 'object', + 'properties' => [ + 'url' => ['description' => '资产下载链接。', 'type' => 'string', 'example' => 'https://daily-avatar-property.oss-cn-beijing.aliyuncs.com/avatar-share-property/AVATAR_3D_TRADITIONAL/Mt.CNMU6BO4RBYU2/secret_assets_web.zip?Expires=1752637519&OSSAccessKeyId=STS.NZULzwLRx8thHDHQxem94****&Signature=Oni3%2Be8dY8Xrv3iRGDyzn7u****%3D&security-token=CAISzAJ1q6Ft5B2yfSjIr5ngB8DDoY1Zj7aDSmL5tXgwYbYYi5LPrDz2IHhMfnloB%2BEcsfU3nmxT6vkZlrp6SJtIXleCZtF94oxN9h2gb4fb4093DEHt08%2FLI3OaLjKm9u2wCryLYbGwU%2FOpbE%2B%2B5U0X6LDmdDKkckW4OJmS8%2FBOZcgWWQ%2FKBlgvRq0hRG1YpdQdKGHaONu0LxfumRCwNkdzvRdmgm4NgsbWgO%2Fks0KA1QSml7ZP%2B9WuesH0M%2FMBZskvD42Hu8VtbbfE3SJq7BxHybx7lqQs%2B02c5onHUwEPsk%2FZYrKOroYzc1RjAbM%2FErRY6fP8nOE9ovbUm5RXHpT05CrMOs62ZPdDoKOscIvBXr6yZaP7JmcGC6iQLG%2FznQkSc081IsK2C7Xq0pe54O3lg9Ab41ZGNYEjq%2BpCIUP%2Fs97dqXEelD2e%2Bh8UezDnKxqAAXuAiYRY7Ox3cf6h2MlmRsK5yywg45O%2FizjiK2k8Z8p6WeOA54W3pfbg6ElV4d8TMWCVZ7tuAbSgRCKBg3q5YYrdS2ENqDu6njIea1pxG4LT4ydGxDBkYpjwcUxutDd0aAhFjsypSK%2Feuk0%2FDCfKMrWzCmkr1AtPpcNfJ8LPj58qIA', 'title' => ''], + 'md5' => ['description' => '资产MD5值。', 'type' => 'string', 'example' => '5B83BE2114489274BB88BADE7EBC****', 'title' => ''], + 'secret' => ['description' => 'SDK使用的密钥。', 'type' => 'string', 'example' => 'J562PNqJBZDhzOQpLBgIcIW8+rHQoM7P6IONGMP7P5vGxrWLxT7VtRenFnMY+wg/zpA2qwpFBmJYO2rVexnlCQ2WE4kvYOH/OKmlTzpQddY34U5jS9KaS3b3ulpq4xnKDjWJ+sLZSRMhuPDdlq8ZPfcfEPhJhF3zPO8Hu4QOSu+D/pAIDJUoixOTo9Q14DXFKGFuuVRQOQ7f/VxJcoSLIWIusV917pLtph/IYBaLd27gzbrTZBEVD8qrucR+WOQPY1g67PGAdafkhJWrs/+coM7+5dc3HEUC+KgI9JN4X4Akelc94aJcy78RZ6tRdr73hBzN83/cMZdzt2hx******', 'title' => ''], + 'type' => ['description' => '资产类型。', 'type' => 'string', 'example' => 'AVATAR_3D_TRADITIONAL', 'title' => ''], + 'minRequiredVersion' => ['description' => '支持的SDK最低版本。', 'type' => 'string', 'example' => '0.0.1', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'code' => ['description' => '响应码。', 'type' => 'string', 'example' => '200', 'title' => ''], + 'success' => [ + 'description' => '请求是否成功', + 'enumValueTitles' => ['True' => 'True', 'False' => 'False'], + 'type' => 'boolean', + 'example' => 'True', + 'title' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Creation of a real-time digital human session ', + 'description' => 'Query active session information under the specified instance.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 5, 'regionId' => '*', 'api' => 'CreateChatSession'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'lingmou:CreateChatSession', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8\\",\\n \\"message\\": \\"success\\",\\n \\"httpStatusCode\\": 200,\\n \\"data\\": {\\n \\"sessionId\\": \\"9827f4bd-5008-4d34-98fb-62598f3ad3b5\\",\\n \\"rtcParams\\": {\\n \\"appId\\": \\"895cbf3b\\",\\n \\"avatarUserId\\": \\"E7enIvjUos\\",\\n \\"channel\\": \\"pPltqR3FovNCK3hNQc8eHUL3Zt****\\",\\n \\"clientUserId\\": \\"aw0tqpFlP4\\",\\n \\"gslb\\": \\"https://gw.rtn.aliyuncs.com\\",\\n \\"nonce\\": \\"f8b0ef02c5da778f4488e2470c\\",\\n \\"serverUserId\\": \\"YzZtSQP8QX\\",\\n \\"timestamp\\": 1560588594,\\n \\"token\\": \\"PtGgv2dM9F8tEuAtda50c0VNNFjn0WUbyTDPa1im4cUBE****\\"\\n },\\n \\"avatarAssets\\": {\\n \\"url\\": \\"https://daily-avatar-property.oss-cn-beijing.aliyuncs.com/avatar-share-property/AVATAR_3D_TRADITIONAL/Mt.CNMU6BO4RBYU2/secret_assets_web.zip?Expires=1752637519&OSSAccessKeyId=STS.NZULzwLRx8thHDHQxem94****&Signature=Oni3%2Be8dY8Xrv3iRGDyzn7u****%3D&security-token=CAISzAJ1q6Ft5B2yfSjIr5ngB8DDoY1Zj7aDSmL5tXgwYbYYi5LPrDz2IHhMfnloB%2BEcsfU3nmxT6vkZlrp6SJtIXleCZtF94oxN9h2gb4fb4093DEHt08%2FLI3OaLjKm9u2wCryLYbGwU%2FOpbE%2B%2B5U0X6LDmdDKkckW4OJmS8%2FBOZcgWWQ%2FKBlgvRq0hRG1YpdQdKGHaONu0LxfumRCwNkdzvRdmgm4NgsbWgO%2Fks0KA1QSml7ZP%2B9WuesH0M%2FMBZskvD42Hu8VtbbfE3SJq7BxHybx7lqQs%2B02c5onHUwEPsk%2FZYrKOroYzc1RjAbM%2FErRY6fP8nOE9ovbUm5RXHpT05CrMOs62ZPdDoKOscIvBXr6yZaP7JmcGC6iQLG%2FznQkSc081IsK2C7Xq0pe54O3lg9Ab41ZGNYEjq%2BpCIUP%2Fs97dqXEelD2e%2Bh8UezDnKxqAAXuAiYRY7Ox3cf6h2MlmRsK5yywg45O%2FizjiK2k8Z8p6WeOA54W3pfbg6ElV4d8TMWCVZ7tuAbSgRCKBg3q5YYrdS2ENqDu6njIea1pxG4LT4ydGxDBkYpjwcUxutDd0aAhFjsypSK%2Feuk0%2FDCfKMrWzCmkr1AtPpcNfJ8LPj58qIA\\",\\n \\"md5\\": \\"5B83BE2114489274BB88BADE7EBC****\\",\\n \\"secret\\": \\"J562PNqJBZDhzOQpLBgIcIW8+rHQoM7P6IONGMP7P5vGxrWLxT7VtRenFnMY+wg/zpA2qwpFBmJYO2rVexnlCQ2WE4kvYOH/OKmlTzpQddY34U5jS9KaS3b3ulpq4xnKDjWJ+sLZSRMhuPDdlq8ZPfcfEPhJhF3zPO8Hu4QOSu+D/pAIDJUoixOTo9Q14DXFKGFuuVRQOQ7f/VxJcoSLIWIusV917pLtph/IYBaLd27gzbrTZBEVD8qrucR+WOQPY1g67PGAdafkhJWrs/+coM7+5dc3HEUC+KgI9JN4X4Akelc94aJcy78RZ6tRdr73hBzN83/cMZdzt2hx******\\",\\n \\"type\\": \\"AVATAR_3D_TRADITIONAL\\",\\n \\"minRequiredVersion\\": \\"0.0.1\\"\\n }\\n },\\n \\"code\\": \\"200\\",\\n \\"success\\": true\\n}","type":"json"}]', + 'translator' => 'machine', + ], + 'CreateNoTrainPicAvatar' => [ + 'summary' => 'Create a no-training-required photo-based digital human.', + 'path' => '/openapi/chat/createNoTrainPicAvatar', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREavatarWE6ABK', 'FEATUREavatar8ULNZ9', 'FEATUREavatarIODFBA'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'name', + 'in' => 'query', + 'schema' => ['description' => 'Digital human Name.', 'title' => 'Digital human Name', 'type' => 'string', 'required' => false, 'example' => 'avatar'], + ], + [ + 'name' => 'gender', + 'in' => 'query', + 'schema' => [ + 'enumValueTitles' => ['MALE' => 'MALE', 'FEMALE' => 'FEMALE'], + 'description' => 'Gender.', + 'title' => 'Gender', + 'type' => 'string', + 'required' => false, + 'example' => 'FEMALE/MALE', + ], + ], + [ + 'name' => 'imageOssPath', + 'in' => 'query', + 'schema' => ['description' => 'The path of the uploaded image. This parameter is required.', 'title' => 'Path of the uploaded image', 'type' => 'string', 'required' => false, 'example' => 'material/INPUT_INFER_PIC/Mt.CPQX3T6E25QU2/2e81e20797954440aed4da4264eb7494.webp'], + ], + [ + 'name' => 'expressiveness', + 'in' => 'query', + 'schema' => [ + 'enumValueTitles' => ['ENTHUSIASTIC' => 'ENTHUSIASTIC', 'NORMAL' => 'NORMAL'], + 'description' => 'Expressiveness (enthusiastic/normal), which affects the degree of expressiveness of your digital human avatar.', + 'title' => 'Expressiveness (Enthusiastic/Ordinary)', + 'type' => 'string', + 'required' => false, + 'example' => 'NORMAL/ENTHUSIASTIC', + ], + ], + [ + 'name' => 'transparent', + 'in' => 'query', + 'schema' => ['description' => 'Background: transparent or solid color. Select transparent if you require background removal. Select solid color if you have already removed the background or wish to retain the original background in the image.', 'title' => 'Background: transparent/solid color', 'type' => 'boolean', 'required' => false, 'example' => 'true/false'], + ], + [ + 'name' => 'jwtToken', + 'in' => 'query', + 'schema' => ['description' => 'JWT containing additional login authentication information. This parameter is deprecated.', 'title' => 'JWT containing additional login authentication information', 'type' => 'string', 'required' => false, 'example' => 'Token'], + ], + [ + 'name' => 'generateAssets', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to generate assets. If you only want to perform image availability detection without generating assets, set this parameter to false.', 'type' => 'boolean', 'required' => false, 'example' => 'true/false', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Schema of Response', + 'title' => 'Result<Avatar>', + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'description' => 'Response Result.', + 'type' => 'object', + 'properties' => [ + 'avatarId' => ['description' => 'Digital human ID.', 'type' => 'string', 'example' => 'M1ONzwuILu-nPT7pvr6maKvQ', 'title' => ''], + 'pass' => ['description' => 'Whether Pass.', 'type' => 'boolean', 'example' => 'true/false', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'success' => ['description' => 'Whether the request succeeded.', 'title' => 'Used to encapsulate whether the current request processing succeeded or failed', 'type' => 'boolean', 'example' => 'True'], + 'code' => [ + 'description' => 'Response code.', + 'title' => 'Result code', + 'type' => 'string', + 'enumValueTitles' => [ + 'CONTENT_RISK' => 'CONTENT_RISK', 'MULTI_HUMAN_BODY' => 'MULTI_HUMAN_BODY', 'FACE_INCOMPLETE' => 'FACE_INCOMPLETE', 'NO_HUMAN_BODY' => 'NO_HUMAN_BODY', 'INVALID_FACE_ORIENTATION' => 'INVALID_FACE_ORIENTATION', 'DETECT_FAILED' => 'DETECT_FAILED', 'INVALID_PERSON_VAGUE' => 'INVALID_PERSON_VAGUE', 'INVALID_HUMAN_PROPORTION' => 'INVALID_HUMAN_PROPORTION', 'INVALID_BODY_ORIENTATION' => 'INVALID_BODY_ORIENTATION', 'DETECT_NOT_PASS' => 'DETECT_NOT_PASS', + 'INVALID_IMAGE_SIZE' => 'INVALID_IMAGE_SIZE', + ], + 'example' => '200', + ], + 'message' => [ + 'description' => 'Status code Description.', + 'title' => 'Error message returned when request processing fails', + 'type' => 'string', + 'enumValueTitles' => [ + 'CONTENT_RISK' => '您的图片涉及平台限制内容,请重新上传', 'MULTI_HUMAN_BODY' => '请上传单个形象图片', 'FACE_INCOMPLETE' => '请确保脸部完整', 'NO_HUMAN_BODY' => '未检测到人脸', 'INVALID_FACE_ORIENTATION' => '请确保脸部朝向正面', 'DETECT_FAILED' => '图像检测失败', 'INVALID_PERSON_VAGUE' => '请上传更清晰的照片', 'INVALID_HUMAN_PROPORTION' => '形象在照片中比例过大/过小', 'INVALID_BODY_ORIENTATION' => '请确保身体朝向正面', 'DETECT_NOT_PASS' => '图像检测不通过', + 'INVALID_IMAGE_SIZE' => '图片大小不符合要求', + ], + 'example' => 'success', + ], + 'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8'."\n", 'title' => ''], + 'httpStatusCode' => ['description' => 'HTTP response code.', 'title' => 'Returned httpStatusCode', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + ], + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"avatarId\\": \\"M1ONzwuILu-nPT7pvr6maKvQ\\",\\n \\"pass\\": true\\n },\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"success\\",\\n \\"requestId\\": \\"7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8\\\\n\\",\\n \\"httpStatusCode\\": 200\\n}","type":"json"}]', + 'title' => 'Create a no-training-required image-based digital human', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'CreateNoTrainPicAvatar'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'lingmou:CreateNoTrainPicAvatar', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateTTSVoiceCustom' => [ + 'summary' => 'Create a TTS voice', + 'path' => '/openapi/voice/createTTSVoiceCustom', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREavatarWE6ABK', 'FEATUREavatar8ULNZ9', 'FEATUREavatarIODFBA'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => 'Voice name. ', 'required' => true, 'example' => 'TestTTSVoiceName', 'title' => ''], + ], + [ + 'name' => 'gender', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => 'Gender (optional).'."\n" + ."\n" + .'- FEMALE'."\n" + .'- MALE', 'required' => false, 'example' => 'FEMALE', 'title' => ''], + ], + [ + 'name' => 'ossKey', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => 'OSS file key.', 'required' => true, 'example' => 'material/INPUT_TRAIN_AUDIO/Mt.CN2VNOPRC5QU2', 'title' => ''], + ], + [ + 'name' => 'fileName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => 'File name.', 'required' => true, 'example' => 'TestTTSVoiceName.mp3', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Result<TTSVoice>', + 'description' => 'Result<TTSVoice>', + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'description' => 'Returned data.', + 'type' => 'object', + 'properties' => [ + 'audioURL' => ['type' => 'string', 'description' => 'Audio file URL.', 'example' => 'https://xxx-aliyuncs.com/material/INPUT_TRAIN_AUDIO/Mt.CQEG75L4FWIU2/TestTTSVoiceName.mp3?Expires=1764262805&OSSAccessKeyId=LTAI5tK3WcKwKtAyaTSe*****&Signature=D%2Fld6gp9Zh6TsGRU9cd6GD2pFY0%3D', 'title' => ''], + 'censorStatus' => ['type' => 'string', 'description' => 'Review Status. Enumeration values:'."\n" + .'- INIT'."\n" + .'- CHECKING'."\n" + .'- BLOCKED'."\n" + .'- PASS', 'example' => 'CHECKING', 'title' => ''], + 'common' => ['type' => 'boolean', 'description' => 'Whether it is public resources.', 'example' => 'false', 'title' => ''], + 'createTime' => ['type' => 'string', 'description' => 'Creation Time.', 'example' => '2024-10-10T07:48:31Z', 'title' => ''], + 'description' => ['type' => 'string', 'description' => 'Description.', 'example' => 'This is a testTTSVoice。', 'title' => ''], + 'errorDetail' => ['type' => 'string', 'description' => 'Error message.', 'example' => 'Error', 'title' => ''], + 'gender' => ['type' => 'string', 'description' => 'Gender.', 'example' => 'FEMALE', 'title' => ''], + 'id' => ['type' => 'string', 'description' => 'Voice ID.', 'example' => 'M1lhKArheOyYdeYybDFqS1-Q', 'title' => ''], + 'language' => ['type' => 'string', 'description' => 'Language.', 'example' => 'zh', 'title' => ''], + 'modifiedTime' => ['type' => 'string', 'description' => 'Updated At.', 'example' => '2024-10-10T07:48:31Z', 'title' => ''], + 'name' => ['type' => 'string', 'description' => 'Voice Name.', 'example' => 'TestTTSVoiceName', 'title' => ''], + 'pitchRate' => ['type' => 'number', 'description' => 'Pitch rate.', 'format' => 'float', 'example' => '100', 'title' => ''], + 'remainSeconds' => ['type' => 'integer', 'description' => 'Estimated generation time.', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'speechRate' => ['type' => 'number', 'description' => 'Speech rate.', 'format' => 'float', 'example' => '100', 'title' => ''], + 'status' => ['type' => 'string', 'description' => 'Voice material status:'."\n" + ."\n" + .'- CREATED'."\n" + .'- PROCESSING'."\n" + .'- SUCCESS'."\n" + .'- ERROR'."\n" + .'- DELETED', 'example' => 'SUCCESS', 'title' => ''], + 'text' => ['type' => 'string', 'description' => 'Text output content.', 'example' => '你好朋友!你还需要这款产品吗?', 'title' => ''], + 'voiceKey' => ['type' => 'string', 'description' => 'Voice parameter.', 'example' => 'testTTSVoice', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'success' => ['type' => 'boolean', 'description' => 'Indicates whether the current request processing succeeded or failed.', 'title' => '', 'example' => 'True'], + 'code' => [ + 'type' => 'string', + 'description' => 'Result code', + 'title' => '', + 'enumValueTitles' => ['HA15110000000360' => '上传音频失败', 'HA15110000000010' => '名称长度非法', 'HA15110000000375' => '音色克隆数量超过限制', 'HA15110000000001' => '参数不合法', 'HA15110000000366' => '音频时长过短,请重新上传/录制', 'HA15110000000400' => '未登录或登录过期', 'HA15110000000367' => '音频时长过长,请重新上传/录制', 'HA15110000000501' => '名称包含平台限制词汇,请调整后重试', 'HA15110000000505' => '您的音频涉及平台限制内容,请重新上传'], + 'example' => '200', + ], + 'message' => ['type' => 'string', 'description' => 'Error message returned when the request processing fails.', 'title' => '', 'example' => 'SUCCESS'], + 'requestId' => ['type' => 'string', 'description' => 'Request ID.', 'example' => 'A7174E51-3523-5AEB-AE18-1D877FF22497', 'title' => ''], + 'httpStatusCode' => ['type' => 'integer', 'description' => 'Returned HTTP status code.', 'format' => 'int32', 'title' => '', 'example' => '200'], + ], + 'example' => '', + ], + ], + ], + 'title' => 'Custom voice cloning', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'CreateTTSVoiceCustom'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'lingmou:CreateTTSVoiceCustom', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"audioURL\\": \\"https://xxx-aliyuncs.com/material/INPUT_TRAIN_AUDIO/Mt.CQEG75L4FWIU2/TestTTSVoiceName.mp3?Expires=1764262805&OSSAccessKeyId=LTAI5tK3WcKwKtAyaTSe*****&Signature=D%2Fld6gp9Zh6TsGRU9cd6GD2pFY0%3D\\",\\n \\"censorStatus\\": \\"CHECKING\\",\\n \\"common\\": false,\\n \\"createTime\\": \\"2024-10-10T07:48:31Z\\",\\n \\"description\\": \\"This is a testTTSVoice。\\",\\n \\"errorDetail\\": \\"Error\\",\\n \\"gender\\": \\"FEMALE\\",\\n \\"id\\": \\"M1lhKArheOyYdeYybDFqS1-Q\\",\\n \\"language\\": \\"zh\\",\\n \\"modifiedTime\\": \\"2024-10-10T07:48:31Z\\",\\n \\"name\\": \\"TestTTSVoiceName\\",\\n \\"pitchRate\\": 100,\\n \\"remainSeconds\\": 100,\\n \\"speechRate\\": 100,\\n \\"status\\": \\"SUCCESS\\",\\n \\"text\\": \\"你好朋友!你还需要这款产品吗?\\",\\n \\"voiceKey\\": \\"testTTSVoice\\"\\n },\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"A7174E51-3523-5AEB-AE18-1D877FF22497\\",\\n \\"httpStatusCode\\": 200\\n}","type":"json"}]', + 'translator' => 'machine', + ], + 'CreateTrainPicAvatar' => [ + 'summary' => 'Create a digital human trained with an image', + 'path' => '/openapi/train/createTrainPicAvatar', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREavatarWE6ABK', 'FEATUREavatar8ULNZ9', 'FEATUREavatarIODFBA'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'name', + 'in' => 'query', + 'schema' => ['description' => 'Name of the digital human trained with an image.', 'type' => 'string', 'required' => true, 'example' => '图片训练数字人', 'title' => ''], + ], + [ + 'name' => 'imageOssPath', + 'in' => 'query', + 'schema' => ['description' => 'Image path.', 'type' => 'string', 'required' => true, 'example' => 'material/INPUT_TRAIN_PIC/Mt.CQEJ2DQ6BBYU2/2.jpg', 'title' => ''], + ], + [ + 'name' => 'gender', + 'in' => 'query', + 'schema' => [ + 'enumValueTitles' => ['MALE' => 'Male', 'FEMALE' => 'Female'], + 'description' => 'Gender.', + 'type' => 'string', + 'required' => true, + 'example' => 'FEMALE', + 'title' => '', + ], + ], + [ + 'name' => 'templateId', + 'in' => 'query', + 'schema' => ['description' => 'Action template ID.', 'title' => 'Action template ID', 'type' => 'string', 'required' => false, 'example' => 'M16vSG46Pby9HWOrFSZ7QaQA'], + ], + [ + 'name' => 'transparent', + 'in' => 'query', + 'schema' => ['description' => 'Background: transparent or solid color.', 'title' => 'Background: transparent or solid color', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'generateAssets', + 'in' => 'query', + 'schema' => ['description' => 'Whether to generate assets.', 'title' => 'Whether to generate assets', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'bizType', + 'in' => 'query', + 'schema' => [ + 'enumValueTitles' => ['CHAT' => 'Chat', 'BROADCAST' => 'Broadcast'], + 'description' => 'Business type. (Can be empty; default value is: BROADCAST if empty.)', + 'type' => 'string', + 'required' => false, + 'example' => 'BROADCAST', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Schema of Response', + 'title' => 'Result<CreateTrainPicAvatarDTO>', + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'description' => 'Response data.', + 'type' => 'object', + 'properties' => [ + 'avatarId' => ['description' => 'Digital human ID.', 'type' => 'string', 'example' => 'M1AguofmMxaoUQsuSPQ3j0ng', 'title' => ''], + 'pass' => ['description' => 'Whether it passed.', 'type' => 'boolean', 'example' => 'true :通过,false:不通过', 'title' => ''], + 'expectedCompletionTime' => ['description' => 'Expected completion time (in seconds).', 'type' => 'integer', 'format' => 'int32', 'example' => '1200', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'success' => ['description' => 'Indicates whether the request succeeded.', 'title' => 'Used to encapsulate whether the current request processing succeeded or failed', 'type' => 'boolean', 'example' => 'True'], + 'code' => [ + 'description' => 'Response code.', + 'title' => 'Result code', + 'type' => 'string', + 'enumValueTitles' => [ + 'CONTENT_RISK' => 'CONTENT_RISK', 'MULTI_HUMAN_BODY' => 'MULTI_HUMAN_BODY', 'FACE_INCOMPLETE' => 'FACE_INCOMPLETE', 'NO_HUMAN_BODY' => 'NO_HUMAN_BODY', 'INVALID_FACE_ORIENTATION' => 'INVALID_FACE_ORIENTATION', 'DETECT_FAILED' => 'DETECT_FAILED', 'INVALID_PERSON_VAGUE' => 'INVALID_PERSON_VAGUE', 'INVALID_HUMAN_PROPORTION' => 'INVALID_HUMAN_PROPORTION', 'INVALID_BODY_ORIENTATION' => 'INVALID_BODY_ORIENTATION', 'DETECT_NOT_PASS' => 'DETECT_NOT_PASS', + 'INVALID_IMAGE_SIZE' => 'INVALID_IMAGE_SIZE', + ], + 'example' => '200', + ], + 'message' => [ + 'description' => 'Description of the status code.', + 'title' => 'Error message returned when request processing fails', + 'type' => 'string', + 'enumValueTitles' => [ + 'CONTENT_RISK' => '您的图片涉及平台限制内容,请重新上传', 'MULTI_HUMAN_BODY' => '请上传单个形象图片', 'FACE_INCOMPLETE' => '请确保脸部完整', 'NO_HUMAN_BODY' => '未检测到人脸', 'INVALID_FACE_ORIENTATION' => '请确保脸部朝向正面', 'DETECT_FAILED' => '图像检测失败', 'INVALID_PERSON_VAGUE' => '请上传更清晰的照片', 'INVALID_HUMAN_PROPORTION' => '形象在照片中比例过大/过小', 'INVALID_BODY_ORIENTATION' => '请确保身体朝向正面', 'DETECT_NOT_PASS' => '图像检测不通过', + 'INVALID_IMAGE_SIZE' => '图片大小不符合要求', + ], + 'example' => 'success', + ], + 'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8', 'title' => ''], + 'httpStatusCode' => ['description' => 'HTTP response code.', 'title' => 'Returned HTTP status code', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + ], + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"avatarId\\": \\"M1AguofmMxaoUQsuSPQ3j0ng\\",\\n \\"pass\\": true,\\n \\"expectedCompletionTime\\": 1200\\n },\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"success\\",\\n \\"requestId\\": \\"7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8\\",\\n \\"httpStatusCode\\": 200\\n}","type":"json"}]', + 'title' => 'Create a digital human trained with an image.', + 'description' => '> **Invoke the API to create a digital human trained with an image. The image must be cropped to a 9:16 aspect ratio in advance.** ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'CreateTrainPicAvatar'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'lingmou:CreateTrainPicAvatar', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'translator' => 'machine', + ], + 'DeleteBroadcastSticker' => [ + 'summary' => 'Deletes a broadcast sticker.', + 'path' => '/openapi/broadcast/materials/stickers/{stickerId}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREavatar1PRWQW'], + ], + 'parameters' => [ + [ + 'name' => 'stickerId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the broadcast sticker to delete.', 'type' => 'string', 'required' => true, 'example' => 'M1lhKArheOyYdeYybDFqS1-Q', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Result<Void>', + 'description' => 'The response object.', + 'type' => 'object', + 'properties' => [ + 'success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'title' => '', 'example' => 'True'], + 'code' => ['description' => 'The status code.', 'type' => 'string', 'title' => '', 'example' => 'SUCCESS'], + 'message' => ['description' => 'The description of the status code.', 'type' => 'string', 'title' => '', 'example' => 'success'], + 'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '90C68329-A75C-5449-A928-4D0BAD7AA0FA', 'title' => ''], + 'httpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'], + ], + 'example' => '', + ], + ], + ], + 'title' => 'DeleteBroadcastSticker', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"code\\": \\"SUCCESS\\",\\n \\"message\\": \\"success\\",\\n \\"requestId\\": \\"90C68329-A75C-5449-A928-4D0BAD7AA0FA\\",\\n \\"httpStatusCode\\": 200\\n}","type":"json"}]', + ], + 'GetBroadcastTemplate' => [ + 'summary' => 'Query the details of a broadcast template.', + 'path' => '/openapi/customer/broadcast/template/detail', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREavatarYF4CD3'], + ], + 'parameters' => [ + [ + 'name' => 'templateId', + 'in' => 'query', + 'schema' => ['description' => 'Template ID.', 'type' => 'string', 'required' => true, 'example' => 'BS1b2WNnRMu4ouRzT4clY9Jhg', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result<BroadcastTemplateDTO>', + 'title' => 'Result<BroadcastTemplateDTO>', + 'type' => 'object', + 'properties' => [ + 'data' => ['description' => 'Broadcast template.', '$ref' => '#/components/schemas/BroadcastTemplate', 'title' => '', 'example' => ''], + 'success' => ['description' => 'Indicates whether the request succeeded.', 'title' => 'Indicates whether the current request processing result is successful or failed', 'type' => 'boolean', 'example' => 'True'], + 'code' => ['description' => 'Status code.', 'title' => 'Result code', 'type' => 'string', 'example' => '200'], + 'message' => ['description' => 'Description of the status code.', 'title' => 'Error message returned when the request fails', 'type' => 'string', 'example' => 'SUCCESS'], + 'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8', 'title' => ''], + 'httpStatusCode' => ['description' => 'HTTP response code.', 'title' => 'Returned HTTP status code', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + ], + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"createTime\\": \\"2025-11-28T10:11:28\\",\\n \\"modifiedTime\\": \\"2025-11-28T11:11:28\\",\\n \\"name\\": \\"测试播报模板\\",\\n \\"id\\": \\"BS1b2WNnRMu4ouRzT4clY9Jhg\\",\\n \\"variables\\": [\\n {\\n \\"name\\": \\"test\\",\\n \\"type\\": \\"text\\",\\n \\"properties\\": \\"{\\\\n \\\\\\"content\\\\\\": \\\\\\"待替换内容\\\\\\"\\\\n}\\"\\n }\\n ]\\n },\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8\\",\\n \\"httpStatusCode\\": 200\\n}","type":"json"}]', + 'title' => 'Query the details of a broadcast template', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'GetBroadcastTemplate'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'lingmou:GetBroadcastTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'GetTTSVoiceByIdCustom' => [ + 'summary' => 'After creating a custom voice, wait at least 1 minute before checking its status.', + 'path' => '/openapi/voice/getTTSVoiceById', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREavatarWE6ABK', 'FEATUREavatar8ULNZ9', 'FEATUREavatarIODFBA'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'voiceId', + 'in' => 'query', + 'schema' => ['description' => 'The voice ID.', 'type' => 'string', 'required' => false, 'example' => 'M1ScGtY****PBFEJHdUV1thQ', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response object.', + 'title' => 'Result<TTSVoiceMaterialDTO> ', + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'description' => 'The response data.', + 'type' => 'object', + 'properties' => [ + 'name' => ['description' => 'The voice name.', 'type' => 'string', 'example' => 'TestTTSVoiceName。', 'title' => ''], + 'description' => ['description' => 'The voice description.', 'type' => 'string', 'example' => 'This is a testTTSVoice。', 'title' => ''], + 'gender' => ['description' => 'The gender of the voice.', 'type' => 'string', 'example' => 'FEMALE', 'title' => ''], + 'language' => ['description' => 'The language of the voice.', 'type' => 'string', 'example' => '中/英文。', 'title' => ''], + 'audioURL' => ['description' => 'The URL of the audio file.', 'type' => 'string', 'example' => 'https://xxx-aliyuncs.com/material/INPUT_TTS_VOICE/Mt.CQEG75L4FWIU2/TestTTSVoiceName.mp3?Expires=1764262805&OSSAccessKeyId=LTAI5tK3WcKwKtAyaTSe*****&Signature=D%2Fld6gp9Zh6TsGRU9cd6GD2pFY0%3D', 'title' => ''], + 'voiceKey' => ['description' => 'A unique identifier for the voice.', 'type' => 'string', 'example' => 'avatar-2464b55a65794e75a20fe07dde2*****', 'title' => ''], + 'status' => ['description' => 'The status of the voice. Valid values:'."\n" + ."\n" + .'- `CREATED`'."\n" + ."\n" + .'- `PROCESSING`'."\n" + ."\n" + .'- `SUCCESS`'."\n" + ."\n" + .'- `ERROR`'."\n" + ."\n" + .'- `DELETED`', 'type' => 'string', 'example' => 'SUCCESS。', 'title' => ''], + 'censorStatus' => ['description' => 'The content moderation status. Valid values:'."\n" + ."\n" + .'- `INIT`'."\n" + ."\n" + .'- `CHECKING`'."\n" + ."\n" + .'- `BLOCKED`'."\n" + ."\n" + .'- `PASS`', 'type' => 'string', 'example' => 'CHECKING。', 'title' => ''], + 'common' => ['description' => 'Indicates whether the voice is a public resource.', 'type' => 'boolean', 'example' => 'false。', 'title' => ''], + 'remainSeconds' => ['description' => 'The estimated remaining generation time, in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '100。', 'title' => ''], + 'errorDetail' => [ + 'description' => 'The error details. This parameter is returned only when an error occurs.', + 'enumValueTitles' => ['内部错误,请稍后再试' => 'Internal error. Please try again later.', '音色审核不通过' => 'Voice review failed.', '有效音频过短' => 'Valid audio is too short', '音色生成超时' => 'Voice generation timed out.', '音频为静音或非静音长度过短' => 'The audio is silent or the non-silent segment is too short.'], + 'type' => 'string', + 'example' => '有效音频过短。', + 'title' => '', + ], + 'text' => ['description' => 'The text output.', 'type' => 'string', 'example' => '你好朋友!你还需要这款产品吗?', 'title' => ''], + 'id' => ['title' => 'Encrypted ID to prevent traverse', 'description' => 'The encrypted ID. This prevents ID enumeration.', 'type' => 'string', 'example' => 'M1lhKArheOyYdeYyb*****'], + 'createTime' => ['title' => 'Creation Time', 'description' => 'The time when the voice was created.', 'type' => 'string', 'example' => '2025-11-28T10:11:28'], + 'modifiedTime' => ['title' => 'Last Update Time ', 'description' => 'The time when the voice was last updated.', 'type' => 'string', 'example' => '2025-11-28T13:41:31'], + 'errorCode' => [ + 'title' => 'Error code.', + 'description' => 'The error code. This parameter is returned only when an error occurs.', + 'enumValueTitles' => ['Audio.AudioSilentError' => 'The audio is silent or the non-silent segment is too short.', 'Voice.Undeployed' => 'Voice review failed.', 'Voice.Timeout' => 'Voice generation timed out.', 'Audio.AudioShortError' => 'The valid audio segment is too short.', 'InternalError' => 'Internal error. Please try again later.'], + 'type' => 'string', + 'example' => 'Audio.AudioShortError', + ], + ], + 'title' => '', + 'example' => '', + ], + 'success' => ['title' => 'Indicates whether the current Request processing Succeeded or failed', 'description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True。'], + 'code' => ['title' => 'Result Code ', 'description' => 'The result code.', 'type' => 'string', 'example' => '200'], + 'message' => ['title' => 'Error message returned when Request processing fails', 'description' => 'The message returned for the request. This parameter is returned only if the request fails.', 'type' => 'string', 'example' => 'SUCCESS'], + 'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7239F9E5-A4DB-55BA-B701-0CE47DBD****', 'title' => ''], + 'httpStatusCode' => ['title' => 'Returned httpStatusCode', 'description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + ], + 'example' => '', + ], + ], + ], + 'title' => 'Custom Voice Single Voice Query', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'lingmou:GetTTSVoiceByIdCustom', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"name\\": \\"TestTTSVoiceName。\\",\\n \\"description\\": \\"This is a testTTSVoice。\\",\\n \\"gender\\": \\"FEMALE\\",\\n \\"language\\": \\"中/英文。\\",\\n \\"audioURL\\": \\"https://xxx-aliyuncs.com/material/INPUT_TTS_VOICE/Mt.CQEG75L4FWIU2/TestTTSVoiceName.mp3?Expires=1764262805&OSSAccessKeyId=LTAI5tK3WcKwKtAyaTSe*****&Signature=D%2Fld6gp9Zh6TsGRU9cd6GD2pFY0%3D\\",\\n \\"voiceKey\\": \\"avatar-2464b55a65794e75a20fe07dde2*****\\",\\n \\"status\\": \\"SUCCESS。\\",\\n \\"censorStatus\\": \\"CHECKING。\\",\\n \\"common\\": true,\\n \\"remainSeconds\\": 0,\\n \\"errorDetail\\": \\"有效音频过短。\\",\\n \\"text\\": \\"你好朋友!你还需要这款产品吗?\\",\\n \\"id\\": \\"M1lhKArheOyYdeYyb*****\\",\\n \\"createTime\\": \\"2025-11-28T10:11:28\\",\\n \\"modifiedTime\\": \\"2025-11-28T13:41:31\\",\\n \\"errorCode\\": \\"Audio.AudioShortError\\"\\n },\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"7239F9E5-A4DB-55BA-B701-0CE47DBD****\\",\\n \\"httpStatusCode\\": 200\\n}","type":"json"}]', + ], + 'GetTrainPicAvatarStatus' => [ + 'summary' => 'Queries the training status of a photo avatar. Wait at least 20 minutes after submitting a training task before querying the status.', + 'path' => '/openapi/train/getTrainPicAvatarStatus', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREavatarWE6ABK', 'FEATUREavatar8ULNZ9', 'FEATUREavatarIODFBA'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'avatarId', + 'in' => 'query', + 'schema' => ['description' => 'The avatar ID.', 'type' => 'string', 'required' => true, 'example' => 'M1YJTNTH2yoLmLnzKdYHeGBg', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Result<GetTrainPicAvatarDTO>', + 'description' => 'The response object.', + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'description' => 'The response data.', + 'type' => 'object', + 'properties' => [ + 'avatarId' => ['description' => 'The avatar ID.', 'type' => 'string', 'example' => 'M1YJTNTH2yoLmLnzKdYHeGBg', 'title' => ''], + 'status' => [ + 'description' => 'The training status.', + 'enumValueTitles' => ['COMPLETED ' => 'The training is completed.', 'EXPIRED' => 'The training task has expired.', 'PENDING_CONFIRM' => 'The training result is pending confirmation.', 'TRAIN_FAILED' => 'The training task has failed.', 'TRAINING ' => 'The training is in progress.'], + 'type' => 'string', + 'example' => 'TRAINING (训练中),TRAIN_FAILED(训练失败),PENDING_CONFIRM(结果确认), COMPLETED (已完成) ,EXPIRED(已过期)', + 'title' => '', + ], + 'previewURL' => ['description' => 'The URL of the preview video. This parameter is returned only when the training is completed.', 'type' => 'string', 'example' => '//daily-avatar-property.oss-cn-beijing.aliyuncs.com/avatar-share-property/AVATAR_2D_PIC/Mt.CMTMRYX4TNIU2/retalking_output.mp4?Expires=1764327167&OSSAccessKeyId=LTAI5tBRPnF5JkRCidYA****&Signature=%2BH%2BSBpNDPiMQtPyl8vraEHMv9X8%3D', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'title' => '', 'example' => 'True'], + 'code' => ['description' => 'The response code.', 'type' => 'string', 'title' => '', 'example' => '200'], + 'message' => ['description' => 'The response message.', 'type' => 'string', 'title' => '', 'example' => 'success'], + 'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8', 'title' => ''], + 'httpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'], + ], + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"avatarId\\": \\"M1YJTNTH2yoLmLnzKdYHeGBg\\",\\n \\"status\\": \\"TRAINING (训练中),TRAIN_FAILED(训练失败),PENDING_CONFIRM(结果确认), COMPLETED (已完成) ,EXPIRED(已过期)\\",\\n \\"previewURL\\": \\"//daily-avatar-property.oss-cn-beijing.aliyuncs.com/avatar-share-property/AVATAR_2D_PIC/Mt.CMTMRYX4TNIU2/retalking_output.mp4?Expires=1764327167&OSSAccessKeyId=LTAI5tBRPnF5JkRCidYA****&Signature=%2BH%2BSBpNDPiMQtPyl8vraEHMv9X8%3D\\"\\n },\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"success\\",\\n \\"requestId\\": \\"7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8\\",\\n \\"httpStatusCode\\": 200\\n}","type":"json"}]', + 'title' => 'Query the training status of the digital human by image.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'GetTrainPicAvatarStatus'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'lingmou:GetTrainPicAvatarStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'GetUploadPolicy' => [ + 'summary' => 'Gets an upload credential for training-free dialog image assets.', + 'path' => '/openapi/chat/getUploadPolicy', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREavatarWE6ABK', 'FEATUREavatar8ULNZ9', 'FEATUREavatarIODFBA'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'type', + 'in' => 'query', + 'schema' => ['description' => 'The resource type. This parameter is required.'."\n" + .'Supported types:'."\n" + ."\n" + .'- `INPUT_CHAT_BACKGROUND_PIC`: Use this type with `CreateBackgroundPic`.'."\n" + ."\n" + .'- `INPUT_INFER_PIC`: Use this type with `CreateNoTrainPicAvatar`.'."\n" + ."\n" + .'- `INPUT_TRAIN_PIC`: Use this type with `CreateTrainPicAvatar`.'."\n" + ."\n" + .'- `INPUT_TRAIN_AUDIO`: Use this type with `CreateTTSVoiceCustom`.'."\n" + ."\n" + .'- `INPUT_BROADCAST_STICKER`: Use this type with `CreateBroadcastSticker`.'."\n" + ."\n" + .'Support for additional types is planned.', 'type' => 'string', 'required' => false, 'example' => 'INPUT_CHAT_BACKGROUND_PIC', 'title' => ''], + ], + [ + 'name' => 'jwtToken', + 'in' => 'query', + 'schema' => ['title' => 'JWT containing additional login authentication information ', 'description' => 'A JWT that contains additional authentication information. This parameter is deprecated.', 'type' => 'string', 'required' => false, 'example' => 'Token'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Response schema.', + 'title' => 'Result<GetMaterialUploadPolicyResponseBodyData>', + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'description' => 'The response data.', + 'type' => 'object', + 'properties' => [ + 'ossKey' => ['description' => 'The object key in OSS.', 'type' => 'string', 'example' => 'material/INPUT_CHAT_BACKGROUND_PIC/Mt.CPQHBSWQS5QU2', 'title' => ''], + 'ossPolicy' => [ + 'description' => 'The OSS upload credential.', + 'type' => 'object', + 'properties' => [ + 'accessId' => ['description' => 'The Access Key ID.', 'type' => 'string', 'example' => 'LTBI5123ADDJdsadCidYA8kw3', 'title' => ''], + 'dir' => ['description' => 'The upload directory for the object.', 'type' => 'string', 'example' => 'material/INPUT_CHAT_BACKGROUND_PIC/Mt.CPQHBSWQS5QU2/', 'title' => ''], + 'expire' => ['description' => 'The expiration time of the policy, specified as a Unix timestamp.', 'type' => 'string', 'example' => '1761551667', 'title' => ''], + 'host' => ['description' => 'The OSS host endpoint.', 'type' => 'string', 'example' => 'daily-avatar-property.oss-cn-beijing.aliyuncs.com', 'title' => ''], + 'policy' => ['description' => 'The Base64-encoded upload policy.', 'type' => 'string', 'example' => 'eyJleHBpcmF0aW9uIjoiMjAyNS0wMi0yNVQwMzowMDoyNC4xNDNaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsNTM2ODcwOTEyMF0sWyJzdGFydHMtd2l0aCIsIiRrZXkiLCJ0ZW1wXC8xNzQwNDQ4ODI0MTQxLnppcCJdXX0=', 'title' => ''], + 'signature' => ['description' => 'The authentication signature, generated by signing the policy.', 'type' => 'string', 'example' => 'I2KcV3CFloyRr94WhefmVEuNiv0=', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'success' => ['title' => 'Used to encapsulate whether the current request processing result is Succeeded or failed.', 'description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True'], + 'code' => ['title' => 'Result code', 'description' => 'The response code.', 'type' => 'string', 'example' => '200'], + 'message' => ['title' => 'Error message returned when request processing fails ', 'description' => 'A message describing the request status.', 'type' => 'string', 'example' => 'success'], + 'requestId' => ['description' => 'The unique request ID. Use this ID for troubleshooting.', 'type' => 'string', 'example' => '90C68329-A75C-5449-A928-4D0BAD7AA0FA', 'title' => ''], + 'httpStatusCode' => ['title' => 'Returned HTTP status code ', 'description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + ], + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"ossKey\\": \\"material/INPUT_CHAT_BACKGROUND_PIC/Mt.CPQHBSWQS5QU2\\",\\n \\"ossPolicy\\": {\\n \\"accessId\\": \\"LTBI5123ADDJdsadCidYA8kw3\\",\\n \\"dir\\": \\"material/INPUT_CHAT_BACKGROUND_PIC/Mt.CPQHBSWQS5QU2/\\",\\n \\"expire\\": \\"1761551667\\",\\n \\"host\\": \\"daily-avatar-property.oss-cn-beijing.aliyuncs.com\\",\\n \\"policy\\": \\"eyJleHBpcmF0aW9uIjoiMjAyNS0wMi0yNVQwMzowMDoyNC4xNDNaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsNTM2ODcwOTEyMF0sWyJzdGFydHMtd2l0aCIsIiRrZXkiLCJ0ZW1wXC8xNzQwNDQ4ODI0MTQxLnppcCJdXX0=\\",\\n \\"signature\\": \\"I2KcV3CFloyRr94WhefmVEuNiv0=\\"\\n }\\n },\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"success\\",\\n \\"requestId\\": \\"90C68329-A75C-5449-A928-4D0BAD7AA0FA\\",\\n \\"httpStatusCode\\": 200\\n}","type":"json"}]', + 'title' => 'Obtain upload credential ', + 'responseParamsDescription' => 'The upload credential is valid for 4 hours.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'GetUploadPolicy'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'lingmou:GetUploadPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListBroadcastAudiosById' => [ + 'path' => '/openapi/customer/broadcast/material/audio/batchQuery', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREavatarYF4CD3'], + ], + 'parameters' => [ + [ + 'name' => 'audioIds', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'A list of audio IDs.', + 'type' => 'array', + 'items' => ['description' => 'An audio ID.', 'type' => 'string', 'required' => false, 'example' => 'M1k3So6n9IlrDV69sr3jDa3g', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response object.', + 'title' => 'Result<List<AudioMaterialDTO>>', + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'description' => 'The response data.', + 'type' => 'array', + 'items' => ['description' => 'A broadcast audio object.', '$ref' => '#/components/schemas/BroadcastAudio', 'title' => '', 'example' => ''], + 'title' => '', + 'example' => '', + ], + 'success' => ['title' => 'Indicates whether the current Request processing Succeeded or failed.', 'description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True'], + 'code' => ['title' => 'Result code', 'description' => 'The result code.', 'type' => 'string', 'example' => '200'], + 'message' => ['title' => 'Error message returned when the Request processing failed.', 'description' => 'The message returned for the request. A value of \'SUCCESS\' indicates the request was successful.', 'type' => 'string', 'example' => 'SUCCESS'], + 'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '0EC3BA89-13F5-5766-A0BA-85096092A032', 'title' => ''], + 'httpStatusCode' => ['title' => 'Returned HTTP status code.', 'description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + ], + 'example' => '', + ], + ], + ], + 'title' => 'Batch query broadcast audio by ID list', + 'summary' => 'Retrieves a batch of broadcast audios using a list of audio IDs.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'lingmou:ListBroadcastAudiosById', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": [\\n {\\n \\"id\\": \\"M1Ju6XhHog_e-lSeb80Slp9g\\",\\n \\"createTime\\": \\"2026-01-22T01:59:03\\",\\n \\"modifiedTime\\": \\"2026-01-22T01:59:03\\",\\n \\"name\\": \\"播报音频\\",\\n \\"status\\": \\"SUCCESS\\",\\n \\"audioLength\\": 10,\\n \\"errorCode\\": \\"DataInspectionFailed\\"\\n }\\n ],\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"0EC3BA89-13F5-5766-A0BA-85096092A032\\",\\n \\"httpStatusCode\\": 200\\n}","type":"json"}]', + ], + 'ListBroadcastTemplates' => [ + 'summary' => 'List broadcast templates.', + 'path' => '/openapi/customer/broadcast/template/list', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREavatarYF4CD3'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'page', + 'in' => 'query', + 'schema' => ['description' => 'The page number, starting from 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'size', + 'in' => 'query', + 'schema' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['description' => 'Paging token value. You do not need to follow this.', 'type' => 'string', 'required' => false, 'example' => 'BS1b2WNnRMu4ouRzT4clY9Jhg', 'title' => ''], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['description' => 'Maximum number of return results. You do not need to follow this.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'ListResult<BroadcastTemplateDTO>', + 'title' => 'ListResult<BroadcastTemplateDTO>', + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'description' => 'List of broadcast templates.', + 'type' => 'array', + 'items' => ['description' => 'Broadcast template.', '$ref' => '#/components/schemas/BroadcastTemplate', 'title' => '', 'example' => ''], + 'title' => '', + 'example' => '', + ], + 'nextToken' => ['description' => 'Paging token value. You do not need to follow this.', 'type' => 'string', 'example' => 'BS1b2WNnRMu4ouRzT4clY9Jhk', 'title' => ''], + 'maxResults' => ['description' => 'Maximum number of return results. You do not need to follow this.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'page' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'size' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'success' => ['description' => 'Indicates whether the request succeeded.', 'title' => 'Encapsulates whether the current request processing result is Succeeded or failed', 'type' => 'boolean', 'example' => 'True'], + 'code' => ['description' => 'Status code.', 'title' => 'Result code', 'type' => 'string', 'example' => 'SUCCESS'], + 'message' => ['description' => 'Description of the status code.', 'title' => 'Error message returned when request processing failed', 'type' => 'string', 'example' => 'SUCCESS'], + 'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8', 'title' => ''], + 'httpStatusCode' => ['description' => 'HTTP response code.', 'title' => 'Returned httpStatusCode', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + ], + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": [\\n {\\n \\"createTime\\": \\"2025-11-28T10:11:28\\",\\n \\"modifiedTime\\": \\"2025-11-28T11:11:28\\",\\n \\"name\\": \\"测试播报模板\\",\\n \\"id\\": \\"BS1b2WNnRMu4ouRzT4clY9Jhg\\",\\n \\"variables\\": [\\n {\\n \\"name\\": \\"test\\",\\n \\"type\\": \\"text\\",\\n \\"properties\\": \\"{\\\\n \\\\\\"content\\\\\\": \\\\\\"待替换内容\\\\\\"\\\\n}\\"\\n }\\n ]\\n }\\n ],\\n \\"nextToken\\": \\"BS1b2WNnRMu4ouRzT4clY9Jhk\\",\\n \\"maxResults\\": 20,\\n \\"page\\": 1,\\n \\"size\\": 20,\\n \\"success\\": true,\\n \\"code\\": \\"SUCCESS\\",\\n \\"message\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8\\",\\n \\"httpStatusCode\\": 200\\n}","type":"json"}]', + 'title' => 'List broadcast templates', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ListBroadcastTemplates'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'lingmou:ListBroadcastTemplates', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListBroadcastVideosById' => [ + 'summary' => 'Batch query broadcast videos by ID list.', + 'path' => '/api/v1/amp/customer/broadcast/video/batchQuery', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREavatarYF4CD3'], + ], + 'parameters' => [ + [ + 'name' => 'videoIds', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'List of video IDs.', + 'type' => 'array', + 'items' => ['description' => 'Video ID', 'type' => 'string', 'required' => false, 'example' => 'M1k3So6n9IlrDV69sr3jDa3g', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Result<List<CustomerBroadcastVideoDTO>>', + 'title' => 'Result<List<CustomerBroadcastVideoDTO>>', + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'description' => 'Response data.', + 'type' => 'array', + 'items' => ['description' => 'Broadcast video.', '$ref' => '#/components/schemas/BroadcastVideo', 'title' => '', 'example' => ''], + 'title' => '', + 'example' => '', + ], + 'success' => ['description' => 'Indicates whether the request succeeded.', 'title' => 'Indicates whether the current request processing result is Succeeded or failed', 'type' => 'boolean', 'example' => 'True'], + 'code' => ['description' => 'Status code.', 'title' => 'Result code', 'type' => 'string', 'example' => '200'], + 'message' => ['description' => 'Description of the status code.', 'title' => 'Error message returned when request processing fails', 'type' => 'string', 'example' => 'SUCCESS'], + 'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8', 'title' => ''], + 'httpStatusCode' => ['description' => 'HTTP response code.', 'title' => 'Returned HTTP status code', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + ], + 'example' => '', + ], + ], + ], + 'title' => 'Batch query broadcast videos by ID list', + 'responseParamsDescription' => '除特殊说明外,返回参数中文件URL有效加签时间均为8小时', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ListBroadcastVideosById'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'lingmou:ListBroadcastVideosById', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": [\\n {\\n \\"id\\": \\"M1k3So6n9IlrDV69sr3jDa3g\\",\\n \\"createTime\\": \\"2025-11-28T13:40:33\\",\\n \\"modifiedTime\\": \\"2025-11-28T13:41:31\\",\\n \\"name\\": \\"播报视频合成测试\\",\\n \\"status\\": \\"SUCCESS\\",\\n \\"coverURL\\": \\"https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/Mt.CQEYXYQW4MQU2/cover.jpg\\",\\n \\"videoURL\\": \\"https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/Mt.CQEYXYQW4MQU2/result.mp4\\",\\n \\"captionURL\\": \\"https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/Mt.CQEYXYQW4MQU2/result.srt\\",\\n \\"alignmentFileURL\\": \\"https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/Mt.CQEYXYQW4MQU2/alignment.json\\"\\n }\\n ],\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8\\",\\n \\"httpStatusCode\\": 200\\n}","type":"json"}]', + 'translator' => 'machine', + ], + 'ListPrivateTTSVoicesCustom' => [ + 'summary' => 'View your own voice list. For newly added custom voices, we recommend that you wait at least 1 minute after creation before performing a query. ', + 'path' => '/openapi/voice/listPrivateTTSVoicesCustom', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREavatarWE6ABK', 'FEATUREavatar8ULNZ9', 'FEATUREavatarIODFBA'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => 'Title', 'title' => '', 'required' => false, 'example' => '2D测试数字人'], + ], + [ + 'name' => 'pageIndex', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'description' => 'Page index.', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '1'], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'description' => 'Number of data entries per page.', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '10'], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => 'Paging cursor.', 'required' => false, 'example' => 'Q45algIClks=', 'title' => ''], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'description' => 'Page size.'."\n" + ."\n" + .'> When paging, the response includes the quantity. To retrieve subsequent pages, use the same parameters as the initial page. The default value is 100 if not specified.', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Result<ListData<TTSVoiceMaterialDTO>>', + 'description' => 'Result<ListData<TTSVoiceMaterialDTO>>', + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'description' => 'Response Result. ', + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'description' => 'Response Result. ', + 'type' => 'array', + 'items' => [ + 'description' => 'Data. ', + 'type' => 'object', + 'properties' => [ + 'name' => ['type' => 'string', 'description' => 'Voice name.', 'example' => 'TestTTSVoice', 'title' => ''], + 'description' => ['type' => 'string', 'description' => 'Description.', 'example' => 'Optional for WH managernif no issue will be cancel', 'title' => ''], + 'gender' => ['type' => 'string', 'description' => 'Gender. '."\n" + .'- FEMALE '."\n" + .'- MALE ', 'example' => 'FEMALE', 'title' => ''], + 'language' => ['type' => 'string', 'description' => 'Language.', 'example' => 'ZH_CN', 'title' => ''], + 'audioURL' => ['type' => 'string', 'description' => 'Audio file URL.', 'example' => 'https://xxx-aliyuncs.com/material/INPUT_TRAIN_AUDIO/Mt.CQEG75L4FWIU2/TestTTSVoiceName.mp3?Expires=1764262805&OSSAccessKeyId=LTAI5tK3WcKwKtAyaTSe*****&Signature=D%2Fld6gp9Zh6TsGRU9cd6GD2pFY0%3D', 'title' => ''], + 'voiceKey' => ['type' => 'string', 'description' => 'Voice parameter. ', 'example' => 'TestTTSVoice', 'title' => ''], + 'status' => ['type' => 'string', 'description' => 'Material status:'."\n" + ."\n" + .'- CREATED'."\n" + .'- PROCESSING'."\n" + .'- SUCCESS'."\n" + .'- ERROR'."\n" + .'- DELETED', 'example' => 'SUCCESS', 'title' => ''], + 'censorStatus' => ['type' => 'string', 'description' => 'Review Status. Status enumeration values: '."\n" + .'- INIT '."\n" + .'- CHECKING '."\n" + .'- BLOCKED '."\n" + .'- PASS', 'example' => 'PASS', 'title' => ''], + 'common' => ['type' => 'boolean', 'description' => 'Whether it is a public resource.', 'example' => 'false', 'title' => ''], + 'remainSeconds' => ['type' => 'integer', 'description' => 'Estimated generation time. ', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'errorDetail' => [ + 'enumValueTitles' => ['Audio.AudioSilentError' => '音频为静音或非静音长度过短', 'Voice.Undeployed' => '音色审核不通过', 'Voice.Timeout' => 'Voice.Timeout', 'Audio.AudioShortError' => '有效音频过短', 'InternalError' => '内部错误,请稍后再试'], + 'type' => 'string', + 'description' => 'Error message.', + 'example' => '有效音频过短', + 'title' => '', + ], + 'text' => ['type' => 'string', 'description' => 'Generated text', 'example' => '机器学习需要提供一个应用程序接口,以便大家使用。机器学习需要提供一个应用程序接口,以便大家使用。机器学习需要提供一个应用程序接口,以便大家使用。', 'title' => ''], + 'id' => ['type' => 'string', 'description' => 'Encrypted ID to prevent traversal', 'title' => '', 'example' => 'M1lhKArheOyYdeYybDFqS1-Q'], + 'createTime' => ['type' => 'string', 'description' => 'Creation Time', 'title' => '', 'example' => '2024-04-15T09:42:15Z'], + 'modifiedTime' => ['type' => 'string', 'description' => 'Last Update Time ', 'title' => '', 'example' => '2024-04-15T09:42:15Z'], + 'errorCode' => [ + 'title' => '错误码。', + 'description' => '错误码。', + 'enumValueTitles' => ['Audio.AudioSilentError' => '音频为静音或非静音长度过短', 'Voice.Undeployed' => '音色审核不通过', 'Voice.Timeout' => '音色生成超时', 'Audio.AudioShortError' => '有效音频过短', 'InternalError' => '内部错误,请稍后再试'], + 'type' => 'string', + 'example' => 'Audio.AudioShortError', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'total' => ['type' => 'integer', 'description' => 'Total number of records. ', 'format' => 'int64', 'example' => '20', 'title' => ''], + 'page' => ['type' => 'integer', 'description' => 'Page number.', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'size' => ['type' => 'integer', 'description' => 'Number of data entries per page.', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'pages' => ['type' => 'integer', 'description' => 'Total number of pages. ', 'format' => 'int32', 'example' => '16', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'success' => ['type' => 'boolean', 'description' => 'Indicates whether the current request processing succeeded or failed.', 'title' => '', 'example' => 'True'], + 'code' => ['type' => 'string', 'description' => 'Result code ', 'title' => '', 'example' => '200'], + 'message' => ['type' => 'string', 'description' => 'Error message returned when the request processing fails.', 'title' => '', 'example' => 'SUCCESS'], + 'requestId' => ['type' => 'string', 'description' => 'Request ID.', 'example' => '7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8', 'title' => ''], + 'httpStatusCode' => ['type' => 'integer', 'description' => 'Returned HTTP status code.', 'format' => 'int32', 'title' => '', 'example' => '200'], + 'nextToken' => ['type' => 'string', 'description' => 'Paging cursor.', 'example' => 'qht-fc2-test', 'title' => ''], + 'maxResults' => ['type' => 'integer', 'description' => 'Maximum number of returned results.', 'format' => 'int32', 'example' => '20', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"data\\": [\\n {\\n \\"name\\": \\"TestTTSVoice\\",\\n \\"description\\": \\"Optional for WH managernif no issue will be cancel\\",\\n \\"gender\\": \\"FEMALE\\",\\n \\"language\\": \\"ZH_CN\\",\\n \\"audioURL\\": \\"https://xxx-aliyuncs.com/material/INPUT_TRAIN_AUDIO/Mt.CQEG75L4FWIU2/TestTTSVoiceName.mp3?Expires=1764262805&OSSAccessKeyId=LTAI5tK3WcKwKtAyaTSe*****&Signature=D%2Fld6gp9Zh6TsGRU9cd6GD2pFY0%3D\\",\\n \\"voiceKey\\": \\"TestTTSVoice\\",\\n \\"status\\": \\"SUCCESS\\",\\n \\"censorStatus\\": \\"PASS\\",\\n \\"common\\": false,\\n \\"remainSeconds\\": 100,\\n \\"errorDetail\\": \\"有效音频过短\\",\\n \\"text\\": \\"机器学习需要提供一个应用程序接口,以便大家使用。机器学习需要提供一个应用程序接口,以便大家使用。机器学习需要提供一个应用程序接口,以便大家使用。\\",\\n \\"id\\": \\"M1lhKArheOyYdeYybDFqS1-Q\\",\\n \\"createTime\\": \\"2024-04-15T09:42:15Z\\",\\n \\"modifiedTime\\": \\"2024-04-15T09:42:15Z\\",\\n \\"errorCode\\": \\"Audio.AudioShortError\\"\\n }\\n ],\\n \\"total\\": 20,\\n \\"page\\": 1,\\n \\"size\\": 20,\\n \\"pages\\": 16\\n },\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8\\",\\n \\"httpStatusCode\\": 200,\\n \\"nextToken\\": \\"qht-fc2-test\\",\\n \\"maxResults\\": 20\\n}","type":"json"}]', + 'title' => 'Custom Voice Query', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ListPrivateTTSVoicesCustom'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'lingmou:ListPrivateTTSVoicesCustom', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'translator' => 'machine', + ], + 'ListPublicBroadcastSceneTemplates' => [ + 'path' => '/openapi/customer/broadcast/template/scene/listPublic', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREavatarYF4CD3'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'tags', + 'in' => 'query', + 'schema' => ['title' => 'Tag filter parameter', 'description' => 'The parameter for filtering by tags.', 'type' => 'string', 'required' => false, 'example' => 'AI,BROADCAST'], + ], + [ + 'name' => 'page', + 'in' => 'query', + 'schema' => ['title' => 'Pagination parameter indicating which page to retrieve. Default value is 1.', 'description' => 'The page number. The default value is 1.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'size', + 'in' => 'query', + 'schema' => ['title' => 'Page size. Default value: 20 ', 'description' => 'The page size. The default value is 20.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['title' => 'Paging token value. You do not need to follow this. ', 'description' => 'The token that marks the start of the next page of results. To get the next page, set this parameter to the `nextToken` value from the previous response.', 'type' => 'string', 'required' => false, 'example' => 'BS1b2WNnRMu4ouRzT4clY9Jhg'], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['title' => 'Maximum number of return results. You do not need to follow this. ', 'description' => 'The maximum number of results to return in a single call.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The data returned for the request.', + 'title' => 'ListResult<BroadcastSceneTemplateDTO> ', + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'description' => 'The list of broadcast templates.', + 'type' => 'array', + 'items' => ['description' => 'The broadcast template.', '$ref' => '#/components/schemas/BroadcastSceneTemplate', 'title' => '', 'example' => ''], + 'title' => '', + 'example' => '', + ], + 'nextToken' => ['description' => 'The token for the next page of results. This parameter is omitted when all results have been returned.', 'type' => 'string', 'example' => ' '."\n" + .'BS1b2WNnRMu4ouRzT4clY9Jhg', 'title' => ''], + 'maxResults' => ['description' => 'The maximum number of results returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'success' => ['title' => 'Indicates whether the current request processing succeeded or failed ', 'description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True'], + 'code' => ['title' => 'Result code ', 'description' => 'The result code.', 'type' => 'string', 'example' => 'SUCCESS'], + 'message' => ['title' => 'Error message returned when the request processing fails ', 'description' => 'The result message. A value of "SUCCESS" is returned for a successful request. An error message is returned for a failed request.', 'type' => 'string', 'example' => 'SUCCESS'], + 'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8', 'title' => ''], + 'httpStatusCode' => ['title' => 'Returned HTTP status code ', 'description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + ], + 'example' => '', + ], + ], + ], + 'title' => 'List public broadcast templates ', + 'summary' => 'Lists the public broadcast scene templates.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'lingmou:ListPublicBroadcastSceneTemplates', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": [\\n {\\n \\"createTime\\": \\"2026-01-06T07:00:02Z\\",\\n \\"modifiedTime\\": \\"2026-01-06T07:00:02Z\\",\\n \\"name\\": \\"播报测试\\",\\n \\"desc\\": \\"视频描述\\",\\n \\"ratio\\": \\"9:16\\",\\n \\"previewURL\\": \\"https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/Mt.CSNSAsOIDZQU2/result.mp4\\",\\n \\"shortVideoURL\\": \\"https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/Mt.CSNSAsOIDZQU2/result_preview.mp4\\",\\n \\"coverURL\\": \\"https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/Mt.CSNSAsOIDZQU2/cover.jpg\\",\\n \\"thumbnailURL\\": \\"https://online-avatar-property.oss-cn-beijing.aliyuncs.com/aigc_material/OUTPUT_BROADCAST_SHORT_VIDEO/Mt.CSNSAsOIDZQU2/thumbnail.jpg\\",\\n \\"id\\": \\"BS1tneDiuOOjJmI2qOHGw1urA\\",\\n \\"tags\\": [\\n \\"AI,BROADCAST\\"\\n ]\\n }\\n ],\\n \\"nextToken\\": \\"\\\\t\\\\nBS1b2WNnRMu4ouRzT4clY9Jhg\\",\\n \\"maxResults\\": 20,\\n \\"success\\": true,\\n \\"code\\": \\"SUCCESS\\",\\n \\"message\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8\\",\\n \\"httpStatusCode\\": 200\\n}","type":"json"}]', + ], + 'ListTemplateMaterial' => [ + 'summary' => 'Retrieves a list of template materials.', + 'path' => '/openapi/train/listTemplateMaterial', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREavatarWE6ABK', 'FEATUREavatar8ULNZ9', 'FEATUREavatarIODFBA'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'page', + 'in' => 'query', + 'schema' => ['description' => 'The page number. Starts from 1.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'size', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['description' => 'Reserved.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['description' => 'Reserved.', 'type' => 'string', 'required' => false, 'example' => 'M1Ti7gfj7VGDQgD588hxReiw ', 'title' => ''], + ], + [ + 'name' => 'templateIds', + 'in' => 'query', + 'schema' => ['description' => 'One or more template IDs, separated by commas (,).', 'type' => 'string', 'required' => false, 'example' => 'M1Ti7gfj7VGDQgD588hxReiw,M1j9tcbkh9YtBw7BdOYlDusQ', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'ListResult<ListPageTemplateMaterialDTO>', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'description' => 'The list of template materials.', + 'type' => 'array', + 'items' => [ + 'description' => 'A template material object.', + 'type' => 'object', + 'properties' => [ + 'templateId' => ['description' => 'The template ID.', 'type' => 'string', 'example' => 'M1Ti7gfj7VGDQgD588hxReiw ', 'title' => ''], + 'templateName' => ['description' => 'The template name.', 'type' => 'string', 'example' => '模版测试', 'title' => ''], + 'templateURL' => ['description' => 'The template video URL.', 'type' => 'string', 'example' => '//daily-avatar-property.oss-cn-beijing.aliyuncs.com/material/INPUT_TRAIN_TEMPLATE_UGC_BODY/Mt.CNYEA3CV25QU2/%E5%BA%95%E6%9D%BF3%E6%9B%BF%E6%8D%A2.mp4?Expires=1764326111&OSSAccessKeyId=LTAI5tBRPnF5JkRCidYA****&Signature=3WU2%2FV2XDaQdt00lkAInK6yr9uk%3D', 'title' => ''], + 'bizType' => ['description' => 'The business type of the template.', 'type' => 'string', 'example' => 'BROADCAST', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'totalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'total' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'page' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'size' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'title' => ''], + 'success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'title' => '', 'example' => 'True'."\n"], + 'code' => ['description' => 'The response code.', 'type' => 'string', 'title' => '', 'example' => '200'], + 'message' => ['description' => 'The response message.', 'type' => 'string', 'title' => '', 'example' => 'success'], + 'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8', 'title' => ''], + 'httpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'], + 'nextToken' => ['description' => 'Reserved.', 'type' => 'string', 'example' => ' '."\n" + .'M1Ti7gfj7VGDQgD588hxReiw', 'title' => ''], + 'maxResults' => ['description' => 'Reserved.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": [\\n {\\n \\"templateId\\": \\"M1Ti7gfj7VGDQgD588hxReiw\\\\t\\",\\n \\"templateName\\": \\"模版测试\\",\\n \\"templateURL\\": \\"//daily-avatar-property.oss-cn-beijing.aliyuncs.com/material/INPUT_TRAIN_TEMPLATE_UGC_BODY/Mt.CNYEA3CV25QU2/%E5%BA%95%E6%9D%BF3%E6%9B%BF%E6%8D%A2.mp4?Expires=1764326111&OSSAccessKeyId=LTAI5tBRPnF5JkRCidYA****&Signature=3WU2%2FV2XDaQdt00lkAInK6yr9uk%3D\\",\\n \\"bizType\\": \\"BROADCAST\\"\\n }\\n ],\\n \\"totalCount\\": 100,\\n \\"total\\": 100,\\n \\"page\\": 1,\\n \\"size\\": 20,\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"success\\",\\n \\"requestId\\": \\"7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8\\",\\n \\"httpStatusCode\\": 200,\\n \\"nextToken\\": \\"\\\\t\\\\nM1Ti7gfj7VGDQgD588hxReiw\\",\\n \\"maxResults\\": 20\\n}","type":"json"}]', + 'title' => 'Paged query for baseboard Material. ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ListTemplateMaterial'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'lingmou:ListTemplateMaterial', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'QueryChatInstanceSessions' => [ + 'summary' => 'Queries the sessions of a chat instance.', + 'path' => '/openapi/chat/instances/{instanceId}/sessions', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREavatarWE6ABK', 'FEATUREavatar8ULNZ9', 'FEATUREavatarIODFBA'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the chat instance. You can find the instance ID on the order page.', 'type' => 'string', 'required' => false, 'example' => 'avatar_2dchat_public_cn-xxxxxxx', 'title' => ''], + ], + [ + 'name' => 'sessionIds', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'A list of session IDs.', + 'type' => 'array', + 'items' => ['description' => 'A session ID.', 'type' => 'string', 'required' => false, 'example' => '8C9F2D4E-7A6B-4F1C-9E53-0B2C8D3F9A4B', 'title' => ''], + 'required' => false, + 'example' => '["8C9F2D4E-7A6B-4F1C-9E53-0B2C8D3F9A4B"] ', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response object.', + 'title' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['title' => 'Id of the request', 'description' => 'The ID of the POP request.', 'type' => 'string', 'example' => '7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8'], + 'success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'code' => ['description' => 'The response code.', 'type' => 'string', 'example' => '200', 'title' => ''], + 'message' => ['description' => 'The description of the response code.', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'httpStatusCode' => ['description' => 'The HTTP response code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'data' => [ + 'description' => 'The response data.', + 'type' => 'array', + 'items' => ['description' => 'An object containing information about an active session, including the session ID, the main account ID, and the creation timestamp.', '$ref' => '#/components/schemas/ChatSessionInfo', 'example' => '{"sessionId": "7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8", "createdAt": 1755680969, "mainAccountId": 1234567}', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"success\\",\\n \\"httpStatusCode\\": 200,\\n \\"data\\": [\\n {\\n \\"sessionId\\": \\"7239F9E5-A4DB-55BA-B701-0CE47DBDB0A8\\",\\n \\"mainAccountId\\": 1234567,\\n \\"createdAt\\": 1755680969\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query Active Sessions Under an Instance', + 'description' => 'Retrieves information about active sessions for a specified instance.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryChatInstanceSessions'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'lingmou:QueryChatInstanceSessions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + ], + 'endpoints' => [ + ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'lingmou.cn-beijing.aliyuncs.com', 'endpoint' => 'lingmou.cn-beijing.aliyuncs.com', 'vpc' => 'lingmou-vpc.cn-beijing.aliyuncs.com'], + ], + 'errorCodes' => [], + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 5, 'regionId' => '*', 'api' => 'CloseChatInstanceSessions'], + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'CreateTTSVoiceCustom'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryChatInstanceSessions'], + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'CreateBackgroundPic'], + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'GetBroadcastTemplate'], + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'CreateChatConfig'], + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ListPrivateTTSVoicesCustom'], + ['threshold' => '5', 'countWindow' => 5, 'regionId' => '*', 'api' => 'CreateChatSession'], + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'GetTrainPicAvatarStatus'], + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ListBroadcastVideosById'], + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'CreateTrainPicAvatar'], + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ListTemplateMaterial'], + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'GetUploadPolicy'], + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'CreateBroadcastSticker'], + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'CreateNoTrainPicAvatar'], + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ConfirmTrainPicAvatar'], + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ListBroadcastTemplates'], + ['threshold' => '10', 'countWindow' => 10, 'regionId' => '*', 'api' => 'CreateBroadcastVideoFromTemplate'], + ], + ], + 'ram' => [ + 'productCode' => 'LingMou', + 'productName' => 'digitized virtual human', + 'ramCodes' => ['lingmou'], + 'ramLevel' => 'OPERATION', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'CreateTTSVoiceCustom', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'lingmou:CreateTTSVoiceCustom', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetTrainPicAvatarStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'lingmou:GetTrainPicAvatarStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteBroadcastSticker', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'lingmou:DeleteBroadcastSticker', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateBroadcastVideoFromTemplate', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'lingmou:CreateBroadcastVideoFromTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListTemplateMaterial', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'lingmou:ListTemplateMaterial', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetBroadcastTemplate', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'lingmou:GetBroadcastTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetTTSVoiceByIdCustom', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'lingmou:GetTTSVoiceByIdCustom', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CloseChatInstanceSessions', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'lingmou:CloseChatInstanceSessions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateNoTrainPicAvatar', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'lingmou:CreateNoTrainPicAvatar', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListBroadcastVideosById', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'lingmou:ListBroadcastVideosById', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetUploadPolicy', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'lingmou:GetUploadPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ConfirmTrainPicAvatar', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'lingmou:ConfirmTrainPicAvatar', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListBroadcastAudiosById', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'lingmou:ListBroadcastAudiosById', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateChatConfig', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'lingmou:CreateChatConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateBroadcastSticker', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'lingmou:CreateBroadcastSticker', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateChatSession', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'lingmou:CreateChatSession', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListPrivateTTSVoicesCustom', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'lingmou:ListPrivateTTSVoicesCustom', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListPublicBroadcastSceneTemplates', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'lingmou:ListPublicBroadcastSceneTemplates', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListBroadcastTemplates', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'lingmou:ListBroadcastTemplates', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateBackgroundPic', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'lingmou:CreateBackgroundPic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CopyBroadcastSceneFromTemplate', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'lingmou:CopyBroadcastSceneFromTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateBroadcastAudio', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'lingmou:CreateBroadcastAudio', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateTrainPicAvatar', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'lingmou:CreateTrainPicAvatar', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'QueryChatInstanceSessions', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'lingmou:QueryChatInstanceSessions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'LingMou', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'resourceTypes' => [], + ], ]; |
