简体中文
cURL
curl --request POST \ --url https://geekai.co/api/v1/audio/speech \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "tts-1", "input": "你好, 很高兴见到你!", "voice": "alloy", "response_format": "mp3", "instructions": "<string>", "speed": 1, "retries": 0 }'
This response does not have an example.
将文本转换为语音的接口,支持多种语音模型、声音角色和音频格式。
JWT认证token
成功响应
MP3格式音频