TTS-1 HD | Text to speech API

TTS-1 HD is a high-quality text-to-speech model that provides superior audio quality compared to TTS-1.
Context
Input
$39 / 1M
Output
Released
Jan 5, 2026

How to use TTS-1 HD | Text to speech API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to openai/tts-1-hd.
import requests

r = requests.post(
    "https://api.aimlapi.com/v1/tts",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    json={
      "model": "openai/tts-1-hd",
      "text": "Hello from AI/ML API",
      "voice": "alloy"
    },
)
print(r.json()["audio"])  # URL to the generated audio
const r = await fetch("https://api.aimlapi.com/v1/tts", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "openai/tts-1-hd",
    "text": "Hello from AI/ML API",
    "voice": "alloy"
  }),
});
const { audio } = await r.json();
console.log(audio); // URL to the generated audio
curl -X POST https://api.aimlapi.com/v1/tts \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/tts-1-hd","text":"Hello from AI/ML API","voice":"alloy"}'

# the JSON response contains "audio" — a URL to the generated speech

OpenAI-compatible — swap the base URL and it works with your existing SDK.

TTS-1 HD | Text to speech API Pricing

TypePrice
Input
$39 / 1M tokens
Output
tokens

Start building with TTS-1 HD | Text to speech

Get API Key
1000+ models, one API.