全部模型
TTS-1 HD
✓ 官方 API· 通过
OpenAI
Azure
TTS-1 HD 是一款文本转语音模型,可将文本转换为听感自然的语音音频。它针对高质量的文本转语音场景进行了优化,而普通的 TTS-1 模型则针对速度进行优化。它配合 Audio API 中的 Speech 端点使用。
真正的 OpenAI 模型
相同的权重,相同的 API,相同的回答。我们只改变你的付费方式:一把密钥对接所有厂商,一张账单,无需另开账户。本页的每一个数字都来自 OpenAI 官方页面——你可以自行核对。
厂商官方页面价格
输入 / 输出 · 每 100 万字符两个服务提供相同的模型和相同的回答,均按官方价格收费。
OpenAI
官方价格
$30.00
Azure
官方价格
$30.00
支持格式
服务方式
标准版
如果服务商不可用,请求会自动重试。
相似的模型
用途相同、价格相近的模型。
我们不会给 token 的价格加价,与厂商收取的价格相同。
在你的代码中使用它
创建 API 密钥模型:openai/tts-1-hd
main.py
OpenAI 规范 v1.0from openai import OpenAI
# Works with the official openai package (pip install openai)
client = OpenAI(
base_url="https://api.flintbeam.com/v1",
api_key="sk-live-your-api-key"
)
response = client.chat.completions.create(
model="openai/tts-1-hd",
messages=[
{"role": "system", "content": "You are an experienced software engineer."},
{"role": "user", "content": "Describe the architecture of a distributed cache."}
],
temperature=0.7,
max_tokens=1500
)
print(response.choices[0].message.content)