Skip to content
Fourohtwo

api.gaents.com/v1/jobs/tts-piper

Text to speech (Piper, English voices) Speaks English text aloud with Piper TTS and returns a WAV file (base64, 22.05 kHz mono). Voices: en_US-ljspeech-medium (one female voice, public domain) and en_US-libritts_r-medium (904 speakers, CC BY 4.0).

BaseAnswering
POSThttps://api.gaents.com/v1/jobs/tts-piper

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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.gaents.com/v1/jobs/tts-piper", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"speaker":0,"text":"Hello from gaents.","voice":"en_US-ljspeech-medium"}),
});
console.log(await res.json());

Example input

{
  "speaker": 0,
  "text": "Hello from gaents.",
  "voice": "en_US-ljspeech-medium"
}

More from gaents