> For the complete documentation index, see [llms.txt](https://genos-docs.gitbook.io/default/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://genos-docs.gitbook.io/default/v1.9.0/basic-tutorials/guides/application/dev-chat/sst-tts.md).

# SST/TTS 활용하기

* STT(Speech-to-Text)는 사용자의 음성 입력을 텍스트 데이터로 변환하며, TTS(Text-to-Speech)는 텍스트 정보를 음성으로 변환해주는 기능입니다.
* 해당 기능은 채팅 내에서 사용할 수 있습니다. 앱 > 채팅 앱 > 채팅 앱 생성 또는 채팅 앱의 버전 생성 시 설정할 수 있습니다.

## STT 활성화

* 채팅 앱 생성 또는 (새)버전 생성에서 **'STT 활성화'버튼**을 사용으로 설정한 뒤, 생성해줍니다.

<figure><img src="/files/IdStfcqfwMRcsehMh2tq" alt=""><figcaption></figcaption></figure>

* 배포 및 운영 버전으로 변경까지 진행한 후 사용자 페이지 > 채팅에서 해당 채팅 진입 시, 입력란 내에 **마이크 버튼**이 생기게 됩니다.

<figure><img src="/files/XsrtMFDxJMPPkYMf2Ka1" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/xkFDyFa4i16dlpRhPYJ2" alt=""><figcaption></figcaption></figure>

* 마이크 버튼 클릭 시, 음성 인식을 시작합니다. 음성으로 말한 뒤에 **v 체크 버튼** 클릭 시, 음성 인식이 완료 됩니다.
* **음성 입력 중지 버튼** 클릭 시, 음성 인식이 취소됩니다.

***

## TTS 활성화

* 채팅 앱 생성 또는 (새)버전 생성에서 **'TTS 활성화' 버튼**을 사용으로 설정한 뒤, 생성해줍니다.

<figure><img src="/files/3Op3LrCB6d5kABGnNdyl" alt=""><figcaption></figcaption></figure>

* 배포 및 운영 버전으로 변경까지 진행한 후 사용자 페이지 > 채팅에서 해당 채팅 진행 시에 답변 하단에 **답변 읽기** **버튼**이 생성됩니다.

<figure><img src="/files/f4W5Ne05Kl83K9CgQwar" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/zXvHUmqHb9GXAQE6fvV9" alt=""><figcaption></figcaption></figure>

* 버튼 클릭 시, 답변을 음성으로 읽어줍니다. **중지 버튼** 클릭 시, 음성이 멈추게 됩니다.

***

## TTS 스트리밍 활성화

* 채팅 앱 생성 또는 (새)버전 생성에서 **'TTS 스트리밍 활성화' 버튼**을 사용으로 설정한 뒤, 생성해줍니다.

<figure><img src="/files/ZNkQQ6Qi6Br5P7Z5wk7y" alt=""><figcaption></figcaption></figure>

* 배포 및 운영 버전으로 변경까지 진행한 후 사용자 페이지 > 채팅 화면 진입 시, 상단에 **스피커 버튼(실시간 답변 읽기) 버튼**이 생성됩니다.

<figure><img src="/files/1pdAF1bjO1p0Mkdtfe7L" alt=""><figcaption></figcaption></figure>

*

```
<figure><img src="../../../../.gitbook/assets/sst_tts_09.png" alt=""><figcaption></figcaption></figure>
```

* **스피커 버튼**을 활성화 한 상태로 채팅 진행 시, 답변이 생성되면 해당 답변을 실시간 음성으로 읽어줍니다.
* **중지 버튼** 클릭 시, 음성이 멈추게 됩니다.

***


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://genos-docs.gitbook.io/default/v1.9.0/basic-tutorials/guides/application/dev-chat/sst-tts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
