تبدیل متن به گفتار (Text to speech)
text_to_speechTurn up to 2000 characters of text (Persian or English) into spoken audio, returned as an MCP audio block (base64, MP3 by default). Default model gpt-4o-mini-tts. Paid from the Gisoo credit of this key like POST /audio/speech; the USD cost is in the text. متن را به فایل صوتی تبدیل میکند؛ هزینه از اعتبار گیسو کم میشود.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | The text to read aloud. | |
| model | No | Speech model id. Default: gpt-4o-mini-tts. | |
| voice | No | Voice name, e.g. alloy, nova (OpenAI) or Kore, Puck (Gemini). Optional. | |
| instructions | No | How to read it, e.g. "calm, slow". Models that support it only. | |
| response_format | No | mp3 |