Back to all models
Get all the details on TTS-1 HD, an AI model from OpenAI. This page covers its token limits, pricing structure, key capabilities such as text_to_speech, available API code samples, and performance strengths.
Key Metrics
Input Limit
No data tokens
Output Limit
No data tokens
Input Cost
N/A/1M
Output Cost
$30.00/1M
Sample API Code
from openai import OpenAI
client = OpenAI()
speech_file_path = "speech.mp3"
response = client.audio.speech.create(
model="tts-1-hd",
voice="alloy",
input="The quick brown fox jumped over the lazy dog."
)
response.stream_to_file(speech_file_path)
Required Libraries
openai
openai
Notes
Text-to-speech model optimized for high quality. Use it with the Speech endpoint in the Audio API.
Capabilities
Supported Data Types
Input Types
text
Output Types
audio
Strengths & Weaknesses
Exceptional at
high quality text to speech
Additional Information
Latest Update
Nov 1, 2023
Knowledge Cutoff
No data