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

TTS

Ingresso:$12/M
Uscita:$12/M
Rilasciato:Oct 1, 2025

Sintesi vocale di OpenAI

Nuovo
Uso commerciale

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.

Prezzi per TTS

Esplora i prezzi competitivi per TTS, progettato per adattarsi a vari budget e necessità di utilizzo. I nostri piani flessibili garantiscono che paghi solo per quello che usi, rendendo facile scalare man mano che i tuoi requisiti crescono. Scopri come TTS può migliorare i tuoi progetti mantenendo i costi gestibili.

ModelComet Price (USD / M Tokens)Official Price (USD / M Tokens)Discount
gpt-4o-mini-tts
Ingresso:$9.6/M
Uscita:$9.6/M
Ingresso:$12/M
Uscita:$12/M
-20%
kling_tts
Per Richiesta:$0.0056
Per Richiesta:$0.007
-20%
tts-1
Ingresso:$12/M
Uscita:$12/M
Ingresso:$15/M
Uscita:$15/M
-20%
tts-1-1106
Ingresso:$12/M
Uscita:$12/M
Ingresso:$15/M
Uscita:$15/M
-20%
tts-1-hd
Ingresso:$24/M
Uscita:$24/M
Ingresso:$30/M
Uscita:$30/M
-20%
tts-1-hd-1106
Ingresso:$24/M
Uscita:$24/M
Ingresso:$30/M
Uscita:$30/M
-20%

Codice di esempio e API per TTS

Accedi a codice di esempio completo e risorse API per TTS per semplificare il tuo processo di integrazione. La nostra documentazione dettagliata fornisce una guida passo dopo passo, aiutandoti a sfruttare appieno il potenziale di TTS nei tuoi progetti.

Versioni di TTS

Il motivo per cui TTS dispone di più snapshot può includere fattori potenziali come variazioni nell'output dopo aggiornamenti che richiedono snapshot precedenti per coerenza, offrire agli sviluppatori un periodo di transizione per l'adattamento e la migrazione, e diversi snapshot corrispondenti a endpoint globali o regionali per ottimizzare l'esperienza utente. Per le differenze dettagliate tra le versioni, si prega di fare riferimento alla documentazione ufficiale.

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