'1.0', 'info' => ['style' => 'ROA', 'product' => 'LingMou', 'version' => '2025-05-27'], 'components' => [ 'schemas' => [ 'BroadcastAudio' => [ 'type' => 'object', 'properties' => [ 'id' => ['type' => 'string'], 'createTime' => ['type' => 'string'], 'modifiedTime' => ['type' => 'string'], 'name' => ['type' => 'string'], 'status' => ['type' => 'string'], 'audioLength' => ['type' => 'integer', 'format' => 'int32'], 'errorCode' => ['type' => 'string'], ], ], 'BroadcastScene' => [ 'type' => 'object', 'properties' => [ 'createTime' => ['type' => 'string'], 'modifiedTime' => ['type' => 'string'], 'name' => ['type' => 'string'], 'ratio' => ['type' => 'string'], 'status' => ['type' => 'string'], 'remainSeconds' => ['type' => 'integer', 'format' => 'int64'], 'version' => ['type' => 'integer', 'format' => 'int64'], 'clipInfo' => ['type' => 'string'], 'previewURL' => ['type' => 'string'], 'shortVideoURL' => ['type' => 'string'], 'downloadURL' => ['type' => 'string'], 'coverURL' => ['type' => 'string'], 'thumbnailURL' => ['type' => 'string'], 'id' => ['type' => 'string'], ], ], 'BroadcastSceneTemplate' => [ 'type' => 'object', 'properties' => [ 'createTime' => ['type' => 'string'], 'modifiedTime' => ['type' => 'string'], 'name' => ['type' => 'string'], 'desc' => ['type' => 'string'], 'ratio' => ['type' => 'string'], 'previewURL' => ['type' => 'string'], 'shortVideoURL' => ['type' => 'string'], 'coverURL' => ['type' => 'string'], 'thumbnailURL' => ['type' => 'string'], 'id' => ['type' => 'string'], 'tags' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], ], ], 'BroadcastTemplate' => [ 'type' => 'object', 'properties' => [ 'createTime' => ['type' => 'string'], 'modifiedTime' => ['type' => 'string'], 'name' => ['type' => 'string'], 'id' => ['type' => 'string'], 'variables' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/TemplateVariable'], ], ], ], 'BroadcastVideo' => [ 'type' => 'object', 'properties' => [ 'id' => ['type' => 'string'], 'createTime' => ['type' => 'string'], 'modifiedTime' => ['type' => 'string'], 'name' => ['type' => 'string'], 'status' => ['type' => 'string'], 'coverURL' => ['type' => 'string'], 'videoURL' => ['type' => 'string'], 'captionURL' => ['type' => 'string'], 'alignmentFileURL' => ['type' => 'string'], ], ], 'ChatSessionInfo' => [ 'type' => 'object', 'properties' => [ 'sessionId' => ['type' => 'string'], 'mainAccountId' => ['type' => 'integer', 'format' => 'int64'], 'createdAt' => ['type' => 'integer', 'format' => 'int64'], ], ], 'TemplateVariable' => [ 'type' => 'object', 'properties' => [ 'name' => ['type' => 'string'], 'type' => ['type' => 'string'], 'properties' => ['type' => 'any'], ], ], ], ], 'apis' => [ 'CloseChatInstanceSessions' => [ 'path' => '/openapi/chat/instances/{instanceId}/sessions/close', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'instanceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'sessionIds', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], 'ConfirmTrainPicAvatar' => [ 'path' => '/openapi/train/confirmTrainPicAvatar', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'avatarId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'status', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'CopyBroadcastSceneFromTemplate' => [ 'path' => '/openapi/customer/broadcast/template/scene/copyByTemplate', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'name' => ['type' => 'string', 'required' => true], 'ratio' => ['type' => 'string', 'required' => true], 'templateId' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'CreateBackgroundPic' => [ 'path' => '/openapi/chat/createBackgroundPic', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ossKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'filename', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'CreateBroadcastAudio' => [ 'path' => '/openapi/customer/broadcast/material/audio/create', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'ossKey' => ['type' => 'string', 'required' => false], 'fileName' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'CreateBroadcastSticker' => [ 'path' => '/openapi/customer/broadcast/material/sticker/create', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'ossKey' => ['type' => 'string', 'required' => false], 'fileName' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'CreateBroadcastVideoFromTemplate' => [ 'path' => '/api/v1/amp/customer/broadcast/video/createFromTemplate', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'templateId' => ['type' => 'string', 'required' => false], 'name' => ['type' => 'string', 'required' => false], 'videoOptions' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'resolution' => ['type' => 'string', 'required' => false], 'fps' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'watermark' => ['type' => 'boolean', 'required' => false], 'languageHints' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], 'mode' => ['type' => 'string', 'required' => false], ], ], 'variables' => [ 'type' => 'array', 'required' => false, 'items' => ['$ref' => '#/components/schemas/TemplateVariable', 'required' => false], ], ], ], ], ], ], 'CreateChatConfig' => [ 'path' => '/openapi/chat/createChatConfig', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'backgroundId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'avatarId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'CreateChatSession' => [ 'path' => '/openapi/chat/init/{id}', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'id', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'license', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'platform', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'instanceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'appId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'deviceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'CreateNoTrainPicAvatar' => [ 'path' => '/openapi/chat/createNoTrainPicAvatar', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'gender', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'imageOssPath', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'expressiveness', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'transparent', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'jwtToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'generateAssets', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'CreateTTSVoiceCustom' => [ 'path' => '/openapi/voice/createTTSVoiceCustom', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'gender', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ossKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'fileName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'CreateTrainPicAvatar' => [ 'path' => '/openapi/train/createTrainPicAvatar', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'imageOssPath', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'gender', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'templateId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'transparent', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'generateAssets', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'bizType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DeleteBroadcastSticker' => [ 'path' => '/openapi/broadcast/materials/stickers/{stickerId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'stickerId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetBroadcastTemplate' => [ 'path' => '/openapi/customer/broadcast/template/detail', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'templateId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetTTSVoiceByIdCustom' => [ 'path' => '/openapi/voice/getTTSVoiceById', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'voiceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetTrainPicAvatarStatus' => [ 'path' => '/openapi/train/getTrainPicAvatarStatus', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'avatarId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetUploadPolicy' => [ 'path' => '/openapi/chat/getUploadPolicy', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'type', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'jwtToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListBroadcastAudiosById' => [ 'path' => '/openapi/customer/broadcast/material/audio/batchQuery', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'audioIds', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], 'ListBroadcastTemplates' => [ 'path' => '/openapi/customer/broadcast/template/list', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'page', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'size', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListBroadcastVideosById' => [ 'path' => '/api/v1/amp/customer/broadcast/video/batchQuery', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'videoIds', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], 'ListPrivateTTSVoicesCustom' => [ 'path' => '/openapi/voice/listPrivateTTSVoicesCustom', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'pageIndex', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListPublicBroadcastSceneTemplates' => [ 'path' => '/openapi/customer/broadcast/template/scene/listPublic', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'tags', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'page', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'size', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListTemplateMaterial' => [ 'path' => '/openapi/train/listTemplateMaterial', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'page', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], [ 'name' => 'size', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'templateIds', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'QueryChatInstanceSessions' => [ 'path' => '/openapi/chat/instances/{instanceId}/sessions', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'instanceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'sessionIds', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'endpoints' => [ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'lingmou.cn-beijing.aliyuncs.com', 'endpoint' => 'lingmou.cn-beijing.aliyuncs.com', 'vpc' => 'lingmou-vpc.cn-beijing.aliyuncs.com'], ], ];