diff --git a/web/app/components/develop/template/template_chat.en.mdx b/web/app/components/develop/template/template_chat.en.mdx
index 7e6c664449..a3af2f6e34 100644
--- a/web/app/components/develop/template/template_chat.en.mdx
+++ b/web/app/components/develop/template/template_chat.en.mdx
@@ -380,6 +380,48 @@ For versatile conversational apps using a Q&A format, call the chat-messages API
+---
+
+
+
+
+ Speech to text, only supports openai model.
+
+ ### Request Body
+
+
+
+ Audio file.
+ File uploads are currently limited to 15 MB and the following input file types are supported: mp3, mp4, mpeg, mpga, m4a, wav, and webm.
+
+
+
+
+
+
+
+ ```bash {{ title: 'cURL' }}
+ curl --location --request POST 'https://cloud.langgenius.dev/api/conversations/name' \
+ --header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \
+ --form 'file=@localfile;type=audio/mp3'
+ ```
+
+
+
+
+ ```json {{ title: 'Response' }}
+ {
+ "text": ""
+ }
+ ```
+
+
+
---
diff --git a/web/app/components/develop/template/template_chat.zh.mdx b/web/app/components/develop/template/template_chat.zh.mdx
index 3dc70a43a6..1e194e6cfa 100644
--- a/web/app/components/develop/template/template_chat.zh.mdx
+++ b/web/app/components/develop/template/template_chat.zh.mdx
@@ -379,6 +379,48 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
+---
+
+
+
+
+ 语音转文字,仅支持 openai 模型。
+
+ ### Request Body
+
+
+
+ 语音文件。
+ 文件上传当前限制为 15 MB,并且支持以下输入文件类型:mp3、mp4、mpeg、mpga、m4a、wav 和 webm。
+
+
+
+
+
+
+
+ ```bash {{ title: 'cURL' }}
+ curl --location --request POST 'https://cloud.langgenius.dev/api/conversations/name' \
+ --header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \
+ --form 'file=@localfile;type=audio/mp3'
+ ```
+
+
+
+
+ ```json {{ title: 'Response' }}
+ {
+ "text": ""
+ }
+ ```
+
+
+
---