OpenAI Integration
Audio
OpenAI Compatible - Create Speech
OpenAI-compatible speech synthesis endpoint. Drop-in replacement for OpenAI's audio/speech API with identical request/response format.
post/openai/v1/audio/speech
Request body
Example request
{
"model": "tts-1",
"input": "The quick brown fox jumped over the lazy dog.",
"voice": "alloy",
"response_format": "mp3",
"speed": 1,
"instructions": "Speak slowly and clearly",
"stream_format": "sse"
}Response
Audio data