# OpenAI Text-to-Speech — card for AI agents

TTS API (gpt-4o-mini-tts, tts-1, tts-1-hd) with built-in voices and custom voices for eligible customers.

Category: Voiceover (text-to-speech) · maker OpenAI · checked 2026-11-04

## Price
- Price: Paid
- Usage price: Pay as you go: tts-1 $15/1M chars; tts-1-hd $30/1M; gpt-4o-mini-tts $0.60/1M text tokens + $12/1M audio tokens.
- Pricing page: https://developers.openai.com/api/docs/pricing

## License
not stated — https://developers.openai.com/api/docs/guides/custom-voices

- commercial: **unclear** (Commercial use unclear)
- attribution: **no** (No credit needed)
  > Tell listeners that the speech is AI-generated, and preserve any provenance metadata, watermarks, or other indicators of its synthetic origin.
  (https://developers.openai.com/api/docs/guides/custom-voices)
- in app: **unclear** (Shipping inside an app unclear)
- youtube: **conditions** (Monetized YouTube with conditions)
- Why unclear: The page only says output ownership rights "remain governed by your Agreement with OpenAI" and points to a separate Text-to-Speech Supplemental Agreement. It does not state whether the speech output may be used commercially, in apps or in p

## Rules to follow
- Tell end users clearly that the TTS voice is AI-generated.
- Create custom voices only with a consent recording of the voice actor reading the consent phrase.

## Can an AI agent use it by itself?
**No** · package: Agent installs a package or loads it from a CDN

## How an agent gets files
- POST https://api.openai.com/v1/audio/speech (OpenAI SDKs for JavaScript, Python, Go, Java, C#, Ruby). (sign-in: api-key)
- Formats: mp3, opus, aac, flac, wav, pcm
- Not allowed: Tell end users clearly that the TTS voice is AI-generated.
- Not allowed: Custom voices need an approved consent recording; children's voices and imitating named persons are not allowed.
- Not allowed: The page says tts-1, tts-1-hd and gpt-4o-mini-tts shut down on January 6, 2027.
- Not allowed: Output ownership is governed by your Agreement with OpenAI.

## How to connect
- Public API
- API docs: https://developers.openai.com/api/docs/guides/text-to-speech (API key needed)
- npm: `npm install openai`
- PyPI: `pip install openai`
- Website: https://openai.com

## Notes
The tts-1 model page labels it 'Deprecated'. Voices are optimized for English.

## Lines to paste into your prompt or AGENTS.md

```
- OpenAI Text-to-Speech (Voiceover (text-to-speech)). TTS API (gpt-4o-mini-tts, tts-1, tts-1-hd) with built-in voices and custom voices for eligible customers. Price: paid; commercial use unclear; no credit needed; shipping inside an app unclear.
  Connect: API docs https://developers.openai.com/api/docs/guides/text-to-speech (API key needed); npm openai; PyPI openai.
  Get files: POST https://api.openai.com/v1/audio/speech (OpenAI SDKs for JavaScript, Python, Go, Java, C#, Ruby) (mp3, opus, aac, flac, wav, pcm).
  Not allowed: Tell end users clearly that the TTS voice is AI-generated.
  Not allowed: Custom voices need an approved consent recording; children's voices and imitating named persons are not allowed.
  Not allowed: The page says tts-1, tts-1-hd and gpt-4o-mini-tts shut down on January 6, 2027.
  Not allowed: Output ownership is governed by your Agreement with OpenAI.
  Rule: Tell end users clearly that the TTS voice is AI-generated.
  Rule: Create custom voices only with a consent recording of the voice actor reading the consent phrase.
  License: https://developers.openai.com/api/docs/guides/custom-voices (checked 2026-11-04; details: https://agentgid.com/assets/openai-tts/)
```

Not verified: Usage-policy and services-agreement pages returned 403; output ownership not read; the guide mentions both 11 and 13 voices.

## Links
- AgentGid page: https://agentgid.com/assets/openai-tts/
- Source: https://developers.openai.com/api/docs/guides/text-to-speech
- Source: https://developers.openai.com/api/docs/models/gpt-4o-mini-tts
- Source: https://developers.openai.com/api/docs/models/tts-1
- Source: https://developers.openai.com/api/docs/guides/custom-voices

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
