Text to speech
onchaincheck.dev/ai/tts
Text to speech: up to 1,000 characters spoken as a WAV file (22 kHz mono), returned as base64 in JSON. Languages: English, Spanish, French, Chinese, Japanese, Korean (MeloTTS).
GET
https://onchaincheck.dev/ai/ttsUptime100% 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://onchaincheck.dev/ai/tts?text=Your+payment+was+received.+Thank+you.");
console.log(await res.json());Example input
{
"text": "Your payment was received. Thank you."
}More from AI Image & SpeechProvider status
- onchaincheck.dev/ai/imageGenerate an image from a text prompt with FLUX.1 [schnell]: a 1024x1024 JPEG returned as base64 in JSON. Optional steps (1-8, default 4) and seed for repeatable results.0.01
- onchaincheck.dev/ai/transcribeSpeech to text with Whisper large-v3 turbo: pass the URL of an audio file (MP3, WAV, OGG, M4A; up to 15 MB) and get the transcript, detected language, duration, word count and timed segments. Optional language hint.0.01
