OpenAI-compatible text-to-speech endpoint (input, voice, response_format) for drop-in use
OpenAI-compatible text-to-speech endpoint (input, voice, response_format) for drop-in use with existing OpenAI TTS clients, 1 of 10 standard voices, for 501-2000 characters, WAV/FLAC/OGG output. Use it to: voice a longer OpenAI-formatted request without an API key, migrate an existing TTS integration to pay-per-call pricing, synthesize extended text through a familiar request shape. USDC on Base via x402.
3000 (raw units)
price
4
calls / 30d
1
unique payers
2026-09-14
updated
Provider
voice.forgemesh.io · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x962794FB8aD92941fAf1ab446b9e30637B86F331",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "3000",
"maxTimeoutSeconds": 1800
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"input": "Hello world",
"model": "forgemesh-voice",
"response_format": "wav",
"voice": "M1"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"content_type": "audio/wav",
"description": "OpenAI-compatible inline speech audio response"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"input": {
"description": "OpenAI-compatible text input to synthesize, max 2000 characters",
"maxLength": 2000,
"minLength": 1,
"type": "string"
},
"model": {
"description": "Ignored — always uses ForgeMesh Voice",
"type": "string"
},
"response_format": {
"description": "Requested audio format",
"enum": [
"wav",
"flac",
"ogg"
],
"type": "string"
},
"voice": {
"description": "Standard voice: M1-M5 or F1-F5",
"enum": [
"M1",
"M2",
"M3",
"M4",
"M5",
"F1",
"F2",
"F3",
"F4",
"F5"
],
"type": "string"
}
},
"required": [
"input"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"audio": {
"description": "Inline WAV bytes in the HTTP response body",
"type": "string"
},
"content_type": {
"const": "audio/wav",
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"tags": [
"text-to-speech",
"tts",
"openai-compatible",
"long-form",
"audio",
"wav"
]
}Use it
curl
curl "https://voice.forgemesh.io/v1/audio/speech-long" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://voice.forgemesh.io/v1/audio/speech-long");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://voice.forgemesh.io/v1/audio/speech-long")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/4562.json, and this resource appears in /discovery/resources and /discovery/search.