Unlock exclusive introductory pricing for the newly launched Gemini 3.5 Flash.
O

tts-1

ฤแบงu vร o:$12/M
ฤแบงu ra:$12/M
Ngร y phรกt hร nh:Oct 1, 2025
Phแป• biแบฟn
Sแปญ dแปฅng thฦฐฦกng mแบกi

Technical Specifications of tts-1

SpecificationDetails
Model IDtts-1
ProviderOpenAI
Model typeText-to-speech (TTS) model for converting text input into spoken audio.
Primary optimizationOptimized for speed and low-latency generation, especially for realtime or near-realtime speech output.
Quality profileLower latency than tts-1-hd, but with lower audio quality than the HD variant.
Input modalityText only.
Output modalityAudio only.
API endpointOpenAI Audio API speech generation endpoint: /v1/audio/speech.
Max input lengthUp to 4096 characters per request.
Supported response formatsmp3, opus, aac, flac, wav, pcm.
Speed controlSupported from 0.25 to 4.0, with 1.0 as default.
Voice options for tts-1alloy, ash, coral, echo, fable, onyx, nova, sage, shimmer.
Streaming supportThe Speech API supports streaming audio output, but SSE streaming and instruction-based voice control are not supported for tts-1.
PricingOpenAI lists tts-1 at $15 per 1M tokens for speech generation.

What is tts-1?

tts-1 is OpenAIโ€™s text-to-speech model designed to turn written text into natural-sounding spoken audio. It is positioned as the faster, lower-latency option among OpenAIโ€™s classic TTS models, making it suitable for applications that need quick speech synthesis rather than the highest possible fidelity.

Developers typically use tts-1 through the Audio APIโ€™s speech generation endpoint when they want to convert application text, prompts, notifications, narrations, or assistant responses into playable audio files. OpenAIโ€™s documentation describes it as optimized for realtime text-to-speech use cases.

In practice, tts-1 is a good fit for lightweight voice experiences, rapid response systems, interactive prototypes, and products where responsiveness matters more than premium voice quality. If maximum quality is the priority, OpenAI points users toward tts-1-hd, while newer expressive use cases may use newer TTS models instead.

Main features of tts-1

  • Low-latency speech generation: tts-1 is specifically optimized for speed, which makes it useful for apps that need spoken output quickly.
  • Natural-sounding text-to-speech: The model converts plain text into spoken audio suitable for narration, assistant responses, and voice interfaces.
  • Multiple built-in voices: tts-1 supports a set of built-in voices including alloy, ash, coral, echo, fable, onyx, nova, sage, and shimmer.
  • Flexible audio output formats: Developers can request generated audio in common formats such as MP3, WAV, FLAC, AAC, Opus, and PCM depending on playback or processing needs.
  • Adjustable playback speed: The API allows speed control from 0.25x to 4.0x, enabling slower narration or faster playback where appropriate.
  • Simple API-based integration: tts-1 is available through the standard speech generation API, which makes it straightforward to integrate into web, mobile, or backend workflows.
  • Good for realtime-oriented applications: OpenAI explicitly frames tts-1 as a model for realtime text-to-speech scenarios, which makes it practical for assistants, notifications, and fast interactive systems.
  • Tradeoff-focused model choice: Compared with tts-1-hd, this model prioritizes faster generation over higher-fidelity output, giving developers a clear latency-versus-quality option.

How to access and integrate tts-1

Step 1: Sign Up for API Key

To access the tts-1 API, first sign up on CometAPI and generate your API key from the dashboard. After logging in, create a new key, copy it securely, and store it in your application environment variables. You will use this key to authenticate all requests to the tts-1 API.

Step 2: Send Requests to tts-1 API

Once you have your API key, send a POST request to the CometAPI endpoint for tts-1 with your input payload. Include your API key in the Authorization header and specify tts-1 as the model. A typical request includes the input text plus TTS parameters such as voice and response format.

curl https://api.cometapi.com/v1/audio/speech \
  -H "Authorization: Bearer $COMETAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "tts-1",
    "input": "Welcome to CometAPI text to speech.",
    "voice": "alloy",
    "response_format": "mp3"
  }' \
  --output speech.mp3

Step 3: Retrieve and Verify Results

After submitting your request, the tts-1 API returns generated audio content if the call succeeds. Save the returned file or stream, verify that the audio plays correctly, and confirm that the selected voice, speed, and format match your application requirements. If needed, retry with adjusted parameters to improve the final output.

Giรก cแบฃ cho tts-1

Khรกm phรก mแปฉc giรก cแบกnh tranh cho tts-1, ฤ‘ฦฐแปฃc thiแบฟt kแบฟ ฤ‘แปƒ phรน hแปฃp vแป›i nhiแปu ngรขn sรกch vร  nhu cแบงu sแปญ dแปฅng khรกc nhau. Cรกc gรณi linh hoแบกt cแปงa chรบng tรดi ฤ‘แบฃm bแบฃo bแบกn chแป‰ trแบฃ tiแปn cho nhแปฏng gรฌ bแบกn sแปญ dแปฅng, giรบp dแป… dร ng mแปŸ rแป™ng quy mรด khi yรชu cแบงu cแปงa bแบกn tฤƒng lรชn. Khรกm phรก cรกch tts-1 cรณ thแปƒ nรขng cao cรกc dแปฑ รกn cแปงa bแบกn trong khi vแบซn kiแปƒm soรกt ฤ‘ฦฐแปฃc chi phรญ.

Comet Price (USD / M Tokens)Official Price (USD / M Tokens)Discount
ฤแบงu vร o:$12/M
ฤแบงu ra:$12/M
ฤแบงu vร o:$15/M
ฤแบงu ra:$15/M
-20%

Mรฃ mแบซu vร  API cho tts-1

Truy cแบญp mรฃ mแบซu toร n diแป‡n vร  tร i nguyรชn API cho tts-1 ฤ‘แปƒ tแป‘i ฦฐu hรณa quy trรฌnh tรญch hแปฃp cแปงa bแบกn. Tร i liแป‡u chi tiแบฟt cแปงa chรบng tรดi cung cแบฅp hฦฐแป›ng dแบซn tแปซng bฦฐแป›c, giรบp bแบกn khai thรกc toร n bแป™ tiแปm nฤƒng cแปงa tts-1 trong cรกc dแปฑ รกn cแปงa mรฌnh.