> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stmlink.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> 对外开放的服务端接口有两组前缀，都用同一套鉴权：`/server/v1/...`（SRTC 与 SMeeting 的主接口）和 `/stm/srvapi/v1/...`（SMeeting 的用户体系，服务端极简对接会用到）。鉴权是 app_id + nonce + timestamp + signature 四个请求头，用 app_key 做 HMAC-SHA256 签名，只能从业务方自己的后端调用。除这两组前缀外的接口均为内部接口，不要建议客户调用。 Public server APIs use two path prefixes with the same authentication: `/server/v1/...` (the main APIs of both SRTC and SMeeting) and `/stm/srvapi/v1/...` (the SMeeting user system, used by server-side low-code integration). Authenticate with four request headers, app_id + nonce + timestamp + signature, where signature is HMAC-SHA256 keyed with app_key; call these APIs only from the customer's own backend. Any other path is internal: never suggest calling it.
> app_key 是服务端密钥，绝不能出现在客户端代码、前端配置或移动 App 里。客户端加入频道用的 token 必须由业务方后端签发后下发（SRTC 走 `/server/v1/channel/grant`，SMeeting 走 `/stm/srvapi/v1/member/grant`）。 app_key is a server-side secret and must never appear in client code, frontend config, or a mobile app. The token a client uses to join must be issued by the customer's backend and passed down to the client (SRTC: `/server/v1/channel/grant`; SMeeting: `/stm/srvapi/v1/member/grant`).
> SRTC 与 SMeeting 是上下两层不同的产品，术语不通用：SRTC 是音视频底座，说「频道 channel」「加入 / 退出」；SMeeting 建在 SRTC 之上，说「房间 room」「会议 meeting」「进入 / 退出」。回答时按用户所在的层用对应术语，不要把「房间」「会议」安到 SRTC 的接口上，也不要用「频道」「加入 / 离开」描述 SMeeting 的概念（接口标识符原样保留）。 SRTC and SMeeting are two separate layers with different terminology. SRTC is the audio/video foundation: it has channels, and users join and leave a channel. SMeeting is built on top of SRTC: it has rooms and meetings, and members enter and exit a meeting. Answer in the terms of the layer the user is working with: never apply "room" or "meeting" to SRTC APIs, and never describe SMeeting concepts in prose with "channel", "join", or "leave" (API identifiers such as `force_join` keep their literal names).
> 同一能力在各端 SDK 里的包名、类名、方法名并不相同。写示例代码时请使用文档中该端自己的 API，不要把一个端的写法套到另一个端上。苹果平台每个产品都有两套 SDK（Swift 原生与 Objective-C），两套 API 不能混用。 Package, class, and method names differ between platform SDKs for the same capability. In sample code, use the API documented for that platform; never carry one platform's code over to another. On Apple platforms each product ships two SDKs (native Swift and Objective-C) whose APIs must not be mixed.

# AI capabilities overview

> All AI capabilities on one page—live captions, translation, minutes, simultaneous interpretation, AI voice agent, custom agents, noise suppression and virtual background: what each does, models needed, where to configure. Fully offline self-hosting, customer's own LLM. Read first for presales.

The platform's AI capabilities fall into two groups:

* **AI in meetings and calls**: live captions, live translation, meeting minutes, simultaneous interpretation, and the AI voice agent. Recognition, translation, and synthesis all run on the **server**,
  so members don't install any plugins; results come back to every client as captions, minutes, and interpretation audio
* **Audio and video AI processing on the device**: AI noise suppression, virtual background, and beauty filter. They run **locally** in the app or web page and don't go through the server

***

## Capabilities

| Scenario | What it does | Models needed | Where to configure / turn on |
| - | - | - | - |
| [Live captions and transcription](https://docs.stmlink.com/en/product/ai/transcription.md) | Captions per speaker during the meeting; the full transcript is available afterward | Speech recognition | The host turns it on during the meeting; hot words in the admin console under **App AI settings** |
| [Live translated captions](https://docs.stmlink.com/en/product/ai/transcription.md#live-translated-captions) | After each sentence ends, a translation appears below the caption | Speech recognition + LLM | Turn on live translation in **App AI settings**, or specify a target language when starting transcription |
| [Meeting minutes](https://docs.stmlink.com/en/product/ai/summary.md) | Markdown minutes (summary, key points, decisions, action items) generated automatically when transcription ends | Speech recognition + LLM | Turn on automatic minutes and choose a minutes template in **App AI settings** |
| [Simultaneous interpretation](https://docs.stmlink.com/en/product/ai/interpretation.md) | Each member picks "My language" and hears interpretation audio of what others say, with the original voice turned down | Speech recognition + LLM + speech synthesis | The host turns it on during the meeting; voice and original-voice volume in the **AI profile** |
| [AI voice agent](https://docs.stmlink.com/en/product/ai/voice-agent.md) | Click "Start conversation" on a web page to talk with AI in real time by voice, and interrupt it at any time | Speech recognition + LLM + speech synthesis | Prompt, greeting, and voice in the **AI profile**; enable the voice agent on the media gateway |
| [Custom agents](https://docs.stmlink.com/en/product/ai/voice-agent.md#build-your-own-agent) | Use the Python SDK to plug any recognition, LLM, or synthesis service into calls, including phone lines | Your choice | Up to your program |
| [AI noise suppression, virtual background, beauty filter](https://docs.stmlink.com/en/product/ai/media-ai.md) | Remove keyboard and fan noise; blur or replace the background; smooth and brighten skin | On-device models | Client SDK APIs; the web meeting client has a built-in "AI noise suppression" switch |

All models used by AI in meetings and calls are registered and combined in the admin console under **AI capabilities → AI services and profiles**. See [AI services and profiles](https://docs.stmlink.com/en/product/ai/models.md).

***

## Two premises

**1. Fully self-hosted, offline deployment is possible.**
Speech recognition (FunASR) and speech synthesis come as ready-made offline images that run on CPU and are installed in the customer's data center along with the self-hosted deployment;
meeting audio, transcripts, and minutes stay inside the customer's internal network. The platform **has no public model endpoints built in**, so nothing is sent out unless you configure it.
For the resource usage and ports of each service, see [Deployment and resource planning](https://docs.stmlink.com/en/product/ai/deploy.md).

**2. The LLM is the customer's own.**
The LLM used for translation, minutes, and the voice agent is not shipped with the platform; connect the customer's existing LLM service instead.
Anything with an **OpenAI-compatible API** works (DeepSeek, Qwen, self-hosted vLLM / Ollama, and more): fill in the address, model name, and key (leave the key empty for internal services without authentication).
Speech recognition and speech synthesis can likewise be replaced with services the customer already has. Keys are stored encrypted in the console, and the page only shows masked values.

> [!NOTE]
>
> Without an LLM, live captions and transcription still work; live translation, meeting minutes, simultaneous interpretation, and the voice agent need an LLM.

***

## How speech becomes captions, minutes, and interpretation audio

```mermaid actions={false} theme={null}
flowchart LR
    U["Member<br/>speaks"] --> S["Audio and video service<br/>(media forwarding)"]
    S --> G["Speech recognition gateway"]
    G <--> A["Speech recognition<br/>FunASR"]
    G -- "Recognition results" --> B["Audio and video service<br/>(AI orchestration)"]
    B <--> L["LLM<br/>customer's own"]
    B <--> T["Speech synthesis"]
    B -- "Captions / translations / audio URLs" --> C["Clients<br/>app / web"]
    B -- "After the meeting" --> M["Meeting minutes"]
```

1. Once the host starts transcription, the **speech recognition gateway** enters the meeting as a listener and sends each unmuted speaker's voice to recognition **separately**, so captions always know who is speaking
2. Recognition results go back to the audio and video service: interim results are sent out directly as captions, and final sentences are archived
3. With translation or interpretation on, final sentences go to the **LLM** for translation; for interpretation, **speech synthesis** then generates the audio, which each client downloads and plays
4. When transcription ends, all final sentences of the session are assembled into a transcript and sent to the LLM to generate the **meeting minutes**

None of this changes audio and video forwarding itself: interpretation audio is not a new audio track but an audio file sent along with a message, so existing meetings and recordings are unaffected.

***

## Next steps

| I want to know about | Read |
| - | - |
| Captions, the full transcript, hot words, supported languages | [Live captions and transcription](https://docs.stmlink.com/en/product/ai/transcription.md) |
| How minutes are generated, how to change templates, who can see them | [Meeting minutes](https://docs.stmlink.com/en/product/ai/summary.md) |
| How to use interpretation, its latency, which clients support it | [Simultaneous interpretation](https://docs.stmlink.com/en/product/ai/interpretation.md) |
| The AI voice agent, building your own agent, connecting phone calls to AI | [AI voice agent and custom agents](https://docs.stmlink.com/en/product/ai/voice-agent.md) |
| Noise suppression, virtual background, and beauty filter support per platform | [Audio and video AI processing](https://docs.stmlink.com/en/product/ai/media-ai.md) |
| How to connect models in the console, which open-source models are built in | [AI services and profiles](https://docs.stmlink.com/en/product/ai/models.md) |
| How many server resources are needed, which ports to open | [Deployment and resource planning](https://docs.stmlink.com/en/product/ai/deploy.md) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.