Skip to content

Commit ec0ee1c

Browse files
committed
disclaimer
1 parent 2df9086 commit ec0ee1c

File tree

5 files changed

+81
-0
lines changed

5 files changed

+81
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
[![Docker Image](https://img.shields.io/docker/pulls/dbcccc/ttsfm?style=flat-square)](https://hub.docker.com/r/dbcccc/ttsfm)
44
[![License](https://img.shields.io/github/license/dbccccccc/ttsfm?style=flat-square)](LICENSE)
55

6+
> **Disclaimer**: This project is for learning and testing purposes only. For production use, please use the official OpenAI TTS service at https://platform.openai.com/docs/guides/audio
7+
68
[English](README.md) | [中文](README_CN.md)
79

810
TTSFM is a reverse-engineered API server that mirrors OpenAI's TTS service, providing a compatible interface for text-to-speech conversion with multiple voice options.

README_CN.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
[![Docker Image](https://img.shields.io/docker/pulls/dbcccc/ttsfm?style=flat-square)](https://hub.docker.com/r/dbcccc/ttsfm)
44
[![License](https://img.shields.io/github/license/dbccccccc/ttsfm?style=flat-square)](LICENSE)
55

6+
> **免责声明**: 此项目仅用于学习测试,请使用 https://platform.openai.com/docs/guides/audio OpenAI的官方服务进行生产环境使用。
7+
68
[English](../README.md) | 中文
79

810
TTSFM 是一个逆向工程的 API 服务器,镜像了 OpenAI 的 TTS 服务,提供了兼容的文本转语音接口,支持多种语音选项。

index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,19 @@ <h1>OpenAI TTS API Documentation</h1>
3636
</div>
3737
</header>
3838

39+
<!-- Disclaimer Section -->
40+
<section class="content-section disclaimer-notice">
41+
<div class="disclaimer-container">
42+
<div class="disclaimer-icon">
43+
<i class="fas fa-info-circle"></i>
44+
</div>
45+
<div class="disclaimer-content">
46+
<h2>Disclaimer</h2>
47+
<p>This project is for learning & testing purposes only. For production use, please use the official OpenAI TTS service at <a href="https://platform.openai.com/docs/guides/audio" target="_blank">https://platform.openai.com/docs/guides/audio</a>.</p>
48+
</div>
49+
</div>
50+
</section>
51+
3952
<!-- Status Section -->
4053
<section class="content-section status-section">
4154
<h2>Service Status</h2>

index_zh.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,19 @@ <h1>OpenAI TTS API 文档</h1>
3636
</div>
3737
</header>
3838

39+
<!-- Disclaimer Section -->
40+
<section class="content-section disclaimer-notice">
41+
<div class="disclaimer-container">
42+
<div class="disclaimer-icon">
43+
<i class="fas fa-info-circle"></i>
44+
</div>
45+
<div class="disclaimer-content">
46+
<h2>免责声明</h2>
47+
<p>此项目仅用于学习测试,请使用<a href="https://platform.openai.com/docs/guides/audio" target="_blank">https://platform.openai.com/docs/guides/audio</a> OpenAI的官方服务进行生产环境使用。</p>
48+
</div>
49+
</div>
50+
</section>
51+
3952
<!-- Status Section -->
4053
<section class="content-section status-section">
4154
<h2>服务状态</h2>

styles.css

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
--docs-text: #e5e7eb;
1616
--gradient-start: #60a5fa;
1717
--gradient-end: #34d399;
18+
--disclaimer-bg: #eef2ff;
19+
--disclaimer-border: #c7d2fe;
20+
--disclaimer-text: #4f46e5;
1821
}
1922

2023
* {
@@ -129,6 +132,54 @@ body {
129132
margin: 0.5rem 0 0;
130133
}
131134

135+
/* Disclaimer Section */
136+
.disclaimer-notice {
137+
background-color: var(--disclaimer-bg);
138+
border: 1px solid var(--disclaimer-border);
139+
border-radius: 8px;
140+
margin-bottom: 2rem;
141+
padding: 1.5rem;
142+
}
143+
144+
.disclaimer-container {
145+
display: flex;
146+
align-items: flex-start;
147+
gap: 1rem;
148+
}
149+
150+
.disclaimer-icon {
151+
color: var(--disclaimer-text);
152+
font-size: 1.5rem;
153+
padding: 0.5rem;
154+
background-color: rgba(79, 70, 229, 0.1);
155+
border-radius: 50%;
156+
}
157+
158+
.disclaimer-content {
159+
flex: 1;
160+
}
161+
162+
.disclaimer-content h2 {
163+
color: var(--disclaimer-text);
164+
margin-bottom: 0.5rem;
165+
font-size: 1.5rem;
166+
}
167+
168+
.disclaimer-content p {
169+
color: #4b5563;
170+
margin-bottom: 0;
171+
}
172+
173+
.disclaimer-content a {
174+
color: var(--disclaimer-text);
175+
text-decoration: none;
176+
font-weight: 500;
177+
}
178+
179+
.disclaimer-content a:hover {
180+
text-decoration: underline;
181+
}
182+
132183
/* Content sections */
133184
.content-section {
134185
margin-bottom: 3rem;

0 commit comments

Comments
 (0)