'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', ], ], ], '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' => [ '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, ], ], ], ], ], ], '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, ], ], ], ], '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, ], ], ], ], '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, ], ], ], 'variables' => [ 'type' => 'array', 'required' => false, 'items' => [ '$ref' => '#/components/schemas/TemplateVariable', '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, ], ], ], ], ], '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, ], ], ], ], ], ], '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, ], ], ], ], ], '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, ], ], ], ], '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, ], ], ], ], '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, ], ], ], ], '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, ], ], ], ], '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, ], ], ], ], '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, ], ], ], ], '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, ], ], ], ], '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, ], ], ], ], '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, ], ], ], ], '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, ], ], ], ], '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, ], ], ], ], '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, ], ], ], ], ], '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', 'endpoint' => 'lingmou.cn-beijing.aliyuncs.com', ], ], ];