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

TTS

Entrada:$12/M
Salida:$12/M
Publicado:Oct 1, 2025

Texto a voz de OpenAI

Nuevo
Uso comercial

Technical Specifications of tts

AttributeDetails
Model Nametts
ProviderOpenAI
CategoryText-to-Speech
InputText
OutputAudio
Context WindowN/A
Typical Use CasesVoice generation, narration, accessibility, audio content creation
PricingRefer to CometAPI pricing for tts

What is tts?

tts is CometAPIโ€™s platform identifier for OpenAI Text-to-Speech. It enables developers to convert written text into natural-sounding audio for applications such as assistants, audiobooks, customer support tools, accessibility features, and media workflows.

Through CometAPI, tts can be accessed using a unified API format, making it easier to integrate speech synthesis into products without managing multiple provider-specific interfaces. It is suited for teams that want reliable text-to-audio generation in a straightforward API workflow.

Main features of tts

  • Natural speech generation: Converts input text into clear, human-like spoken audio suitable for many application scenarios.
  • Unified API access: Available through CometAPIโ€™s standardized interface, simplifying integration and provider management.
  • Developer-friendly workflow: Designed for quick implementation in apps, services, and backend pipelines that need speech output.
  • Broad application fit: Useful for accessibility tools, virtual assistants, content narration, training materials, and interactive experiences.
  • Scalable deployment: Can be used in prototypes as well as production systems that require consistent text-to-speech generation.

How to access and integrate tts

Step 1: Sign Up for API Key

First, sign up for a CometAPI account and obtain your API key. After logging into the dashboard, create or copy your API key and store it securely. This key will be used to authenticate all requests to the tts API.

Step 2: Send Requests to tts API

Use CometAPIโ€™s standard API endpoint and specify the model as tts. Then send your input text in the request body together with any required parameters.

curl --request POST \
  --url https://api.cometapi.com/v1/audio/speech \
  --header "Authorization: Bearer YOUR_COMETAPI_KEY" \
  --header "Content-Type: application/json" \
  --data '{
    "model": "tts",
    "input": "Hello! This is a text-to-speech request using CometAPI."
  }'

Step 3: Retrieve and Verify Results

After submitting the request, CometAPI will return the generated audio result or a response containing the audio output details, depending on your integration method. Verify that the response is successful, confirm the audio content matches the input text, and handle any API errors or retries as needed in your application.

Precios para TTS

Explora precios competitivos para TTS, diseรฑado para adaptarse a diversos presupuestos y necesidades de uso. Nuestros planes flexibles garantizan que solo pagues por lo que uses, facilitando el escalado a medida que crecen tus requisitos. Descubre cรณmo TTS puede mejorar tus proyectos mientras mantienes los costos manejables.

ModelComet Price (USD / M Tokens)Official Price (USD / M Tokens)Discount
gpt-4o-mini-tts
Entrada:$9.6/M
Salida:$9.6/M
Entrada:$12/M
Salida:$12/M
-20%
kling_tts
Por Solicitud:$0.0056
Por Solicitud:$0.007
-20%
tts-1
Entrada:$12/M
Salida:$12/M
Entrada:$15/M
Salida:$15/M
-20%
tts-1-1106
Entrada:$12/M
Salida:$12/M
Entrada:$15/M
Salida:$15/M
-20%
tts-1-hd
Entrada:$24/M
Salida:$24/M
Entrada:$30/M
Salida:$30/M
-20%
tts-1-hd-1106
Entrada:$24/M
Salida:$24/M
Entrada:$30/M
Salida:$30/M
-20%

Cรณdigo de ejemplo y API para TTS

Accede a cรณdigo de muestra completo y recursos de API para TTS para agilizar tu proceso de integraciรณn. Nuestra documentaciรณn detallada proporciona orientaciรณn paso a paso, ayudรกndote a aprovechar todo el potencial de TTS en tus proyectos.

Versiones de TTS

La razรณn por la cual TTS tiene mรบltiples instantรกneas puede incluir factores potenciales como variaciones en la salida tras actualizaciones que requieren instantรกneas anteriores para mantener la coherencia, ofrecer a los desarrolladores un perรญodo de transiciรณn para adaptaciรณn y migraciรณn, y diferentes instantรกneas que corresponden a endpoints globales o regionales para optimizar la experiencia del usuario. Para conocer las diferencias detalladas entre versiones, consulte la documentaciรณn oficial.

Version
gpt-4o-mini-tts
kling_tts
tts-1
tts-1-1106
tts-1-hd
tts-1-hd-1106