Skip to content
Immersive AI

Text To Speech

Audio by Henri Huotari · Oct 24, 2025

Generate speech. Returns Immediately. Voice options: alloy, echo, fable, onyx, nova, shimmer

This file couldn't be loaded. The link may have expired.
Output result.mp3

Run it yourself

Set IMMERSIVE_API_KEY to an API key from your account. Create a free account to get one.

curl -X POST 'https://ai.im.inc/api/v1/audio/tts' \
  -H "Authorization: Bearer $IMMERSIVE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": "Immersive AI is a revolutionary platform for generating assets of all kinds using the best AI models in the world!",
  "voice": "nova",
  "language": "en"
}'
const response = await fetch("https://ai.im.inc/api/v1/audio/tts", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.IMMERSIVE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "input": "Immersive AI is a revolutionary platform for generating assets of all kinds using the best AI models in the world!",
    "voice": "nova",
    "language": "en"
  }),
});

console.log(await response.json());
import os
import requests

response = requests.post(
    "https://ai.im.inc/api/v1/audio/tts",
    headers={"Authorization": f"Bearer {os.environ['IMMERSIVE_API_KEY']}"},
    json={
        "input": "Immersive AI is a revolutionary platform for generating assets of all kinds using the best AI models in the world!",
        "voice": "nova",
        "language": "en",
    },
    timeout=300,
)
print(response.json())
{
    "url": "https://s3.huotari.ai/immersive/examples/outputs/0f4bcbfd-e6b0-40c2-b8e8-11866cedae87/result.mp3",
    "cost": 1,
    "input": "Immersive AI is a revolutionary platform for generating assets of all kinds using the best AI models in the world!",
    "voice": "nova",
    "status": "completed",
    "speech_id": "645528d7-5d80-4e25-9041-c27b4833495f",
    "processor_used": "tts_openai"
}

Your browser blocked the clipboard. Select the text and copy it by hand.

Endpoint
POST /api/v1/audio/tts
Output
Audio · MP3