CreateVoice GPT-4o Mini TTS
Official Documentation: https://platform.openai.com/docs/guides/text-to-speech
Endpoint
POST http://v98store.com/v1/audio/speech cURL Command
curl -X POST 'http://v98store.com/v1/audio/speech' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{ "model": "gpt-4o-mini-tts", "input": "The quick brown fox jumped over the lazy dog.", "voice": "alloy" }' Request Body
Example
{
"model": "gpt-4o-mini-tts",
"input": "The quick brown fox jumped over the lazy dog.",
"voice": "alloy"
} Responses
200 -
Example
undefined