Gpt 4o Mini Tts
GPT-4o mini TTS is a text-to-speech model built on GPT-4o mini, a fast and powerful language model. Use it to convert text to natural sounding spoken text.
API Endpoint
POST `https://audio.siraya.pro/v1/audio/speech``
Request Parameters
Header
| Parameter | Type | Required | Description |
|---|---|---|---|
Authorization |
string | Yes | Your API Key (e.g., Bearer <API_KEY>). |
Body
| Parameter | Type | Default | Description |
|---|---|---|---|
model |
string | - | The model ID: Header. |
input |
string | - | The text to convert to speech. |
voice |
string | - | The voice ID to use. |
output_format |
string | url |
Result format (url or b64_json). |