OpenAI TTS-1

OpenAI
Text-to-Speech

OpenAI's text-to-speech model. Six built-in voices with natural intonation.

Examples

See what OpenAI TTS-1 can generate

Notification Voice

Input text:

"Your order has been confirmed and is being prepared. Estimated delivery time is thirty-five minutes. You'll receive a notification when your driver is on the way."

0:04

Tutorial Guide

Input text:

"Step one: open your terminal and navigate to the project directory. Step two: run npm install to download all dependencies. Step three: create a dot env file and add your API keys. Finally, run npm run dev to start the development server."

0:04
Try OpenAI TTS-1

1.0x

0:00
Sign up free to start generating
Get Started

Pricing

Price per Generation
Per generation€0.60

API Integration

Use our OpenAI-compatible API to integrate OpenAI TTS-1 into your application.

Install
npm install railwail
JavaScript / TypeScript
import railwail from "railwail";

const rw = railwail("YOUR_API_KEY");

// Simple — just pass a string
const reply = await rw.run("openai-tts-1", "Hello! What can you do?");
console.log(reply);

// With message history
const reply2 = await rw.run("openai-tts-1", [
  { role: "system", content: "You are a helpful assistant." },
  { role: "user", content: "Explain quantum computing simply." },
]);
console.log(reply2);

// Full response with usage info
const res = await rw.chat("openai-tts-1", [
  { role: "user", content: "Hello!" },
], { temperature: 0.7, max_tokens: 500 });
console.log(res.choices[0].message.content);
console.log(res.usage);
Specifications
Avg. latency
2.0s
Est. duration
2s
Provider
OpenAI
Category
Text-to-Speech
Supported Formats
mp3
opus
aac
flac
Tags
fast
affordable
Try this model

Free credits on sign-up

Start using OpenAI TTS-1 today

Get started with free credits. No credit card required. Access OpenAI TTS-1 and 100+ other models through a single API.