Skip to content
Fourohtwo

Text to speech (TTS) API

medien.halowerk.com/v1/tts

Text to speech (TTS) API: convert text to speech and generate speech audio from text. Up to 10,000 characters into a natural voice clip (MP3, WAV, Opus, FLAC or linear16, base64 with media type and duration), over a hundred text to speech voices across languages and accents. 0.08 USDC per started 1,000 characters with Aura-2 voices, half that with Aura-1. Short phrases up to 200 characters: /v1/tt

BaseAnswering
POSThttps://medien.halowerk.com/v1/tts

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://medien.halowerk.com/v1/tts", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"encoding":"mp3","text":"Your order has shipped and will arrive on Thursday. Reply to this message if you need to change the delivery address.","voice":"aura-2-thalia-en"}),
});
console.log(await res.json());

Example input

{
  "encoding": "mp3",
  "text": "Your order has shipped and will arrive on Thursday. Reply to this message if you need to change the delivery address.",
  "voice": "aura-2-thalia-en"
}