OpenAI-compatible text-to-speech endpoint (input, voice, response_format) for dr
OpenAI-compatible text-to-speech endpoint (input, voice, response_format) for drop-in use with code already built against the OpenAI TTS API, 1 of 10 standard voices, up to 500 characters, WAV/FLAC/OGG output. Use it to: swap OpenAI TTS calls for a pay-per-call x402 alternative, generate speech from an existing OpenAI-style client, avoid API-key management for short text-to-audio requests. USDC on Base.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://voice.forgemesh.io/v1/audio/speech
| Category | Image and media |
|---|---|
| Provider host | voice.forgemesh.io |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 4 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"body": {
"input": "Hello world",
"model": "forgemesh-voice",
"response_format": "wav",
"voice": "M1"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$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 \u2014 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"
}