Skip to content
Fourohtwo

Text to speech

medien.halowerk.com/v1/text-to-speech

Text to speech: convert text to natural-sounding audio and generate speech audio from text, returned as base64 MP3 (or WAV, Opus, FLAC, linear16) with media type and duration. Text to speech API for up to 10,000 characters per call, over a hundred natural voices (Deepgram Aura) across languages and accents. 0.08 USDC per started 1,000 characters with Aura-2 voices, half that with Aura-1. Same engi

BaseAnswering
POSThttps://medien.halowerk.com/v1/text-to-speech

Uptime100% of 1 check 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/text-to-speech", {
  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"
}

More from Text to SpeechProvider status