Skip to content
Fourohtwo

Text to speech API, OpenAI-compatible

medien.halowerk.com/v1/audio/speech

Text to speech API, OpenAI-compatible: POST /v1/audio/speech with model, input and voice (alloy, ash, coral, echo, fable, nova, onyx, sage, shimmer and more) returns the speech audio bytes, MP3 by default or opus, aac, flac, wav, pcm, like OpenAI tts-1. Convert text to speech with natural Deepgram Aura-2 voices, speed 0.25-4.0, up to 4096 characters. 0.02 USDC per started 250 characters; swap the

BaseAnswering
POSThttps://medien.halowerk.com/v1/audio/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/audio/speech", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"input":"Your order has shipped and will arrive on Thursday.","model":"tts-1","response_format":"mp3","voice":"alloy"}),
});
console.log(await res.json());

Example input

{
  "input": "Your order has shipped and will arrive on Thursday.",
  "model": "tts-1",
  "response_format": "mp3",
  "voice": "alloy"
}

More from HALOWERK Text to SpeechProvider status