Generate OpenAI-Compatible Voice 501-2000 chars

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.

post/v1/audio/speech-long

Request

  • Base URL: https://voice.forgemesh.io
  • URL: https://voice.forgemesh.io/v1/audio/speech-long
  • Auth: none declared

Request body

inputstring required

OpenAI-compatible input text. Use non-long route for 1-500 chars and -long route for 501-2000 chars.

voice'M1' | 'M2' | 'M3' | 'M4' | 'M5' | 'F1' | 'F2' | 'F3' | 'F4' | 'F5'

Standard voice: M1-M5 or F1-F5

modelstring

Optional compatibility field; ForgeMesh Voice is always used

response_format'wav' | 'flac' | 'ogg'

Requested audio format

Response

Successful synthesis response

Changes

No recorded changes to this operation across all 1 revision of this API.