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

TTS

Wejล›cie:$12/M
Wyjล›cie:$12/M
Wydano:Oct 1, 2025

Synteza mowy OpenAI

Nowy
Uลผycie komercyjne

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.

Cennik dla TTS

Poznaj konkurencyjne ceny dla TTS, zaprojektowane tak, aby pasowaล‚y do rรณลผnych budลผetรณw i potrzeb uลผytkowania. Nasze elastyczne plany zapewniajฤ…, ลผe pล‚acisz tylko za to, czego uลผywasz, co uล‚atwia skalowanie w miarฤ™ wzrostu Twoich wymagaล„. Odkryj, jak TTS moลผe ulepszyฤ‡ Twoje projekty przy jednoczesnym utrzymaniu kosztรณw na rozsฤ…dnym poziomie.

ModelComet Price (USD / M Tokens)Official Price (USD / M Tokens)Discount
gpt-4o-mini-tts
Wejล›cie:$9.6/M
Wyjล›cie:$9.6/M
Wejล›cie:$12/M
Wyjล›cie:$12/M
-20%
kling_tts
Na ลผฤ…danie:$0.0056
Na ลผฤ…danie:$0.007
-20%
tts-1
Wejล›cie:$12/M
Wyjล›cie:$12/M
Wejล›cie:$15/M
Wyjล›cie:$15/M
-20%
tts-1-1106
Wejล›cie:$12/M
Wyjล›cie:$12/M
Wejล›cie:$15/M
Wyjล›cie:$15/M
-20%
tts-1-hd
Wejล›cie:$24/M
Wyjล›cie:$24/M
Wejล›cie:$30/M
Wyjล›cie:$30/M
-20%
tts-1-hd-1106
Wejล›cie:$24/M
Wyjล›cie:$24/M
Wejล›cie:$30/M
Wyjล›cie:$30/M
-20%

Przykล‚adowy kod i API dla TTS

Uzyskaj dostฤ™p do kompleksowego przykล‚adowego kodu i zasobรณw API dla TTS, aby usprawniฤ‡ proces integracji. Nasza szczegรณล‚owa dokumentacja zapewnia wskazรณwki krok po kroku, pomagajฤ…c wykorzystaฤ‡ peล‚ny potencjaล‚ TTS w Twoich projektach.

Wersje modelu TTS

Powody, dla ktรณrych TTS posiada wiele migawek, mogฤ… obejmowaฤ‡ takie czynniki jak: rรณลผnice w wynikach po aktualizacjach wymagajฤ…ce starszych migawek dla zachowania spรณjnoล›ci, zapewnienie programistom okresu przejล›ciowego na adaptacjฤ™ i migracjฤ™, oraz rรณลผne migawki odpowiadajฤ…ce globalnym lub regionalnym punktom koล„cowym w celu optymalizacji doล›wiadczenia uลผytkownika. Aby poznaฤ‡ szczegรณล‚owe rรณลผnice miฤ™dzy wersjami, zapoznaj siฤ™ z oficjalnฤ… dokumentacjฤ….

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