relay

AudioSpeech

post/v1/audio/speech

Request

  • The document declares no server URL.
  • Auth
    API key in header Authorization

Headers

Aiproxy-Channelstring

Optional Aiproxy-Channel header

X-Aiproxy-Groupstring

Optional group ID for internal token requests

X-Aiproxy-Group-Channel-Mode'global' | 'own'

Optional group channel mode for internal token requests. Values: global, own

Request body

inputstring required
modelstring required
response_formatstring
speednumber
stream_formatstring
voicestring required

Response

audio binary

string binary required

Changes

    • info

      added the new optional header request parameter X-Aiproxy-Group

    • info

      added the new optional header request parameter X-Aiproxy-Group-Channel-Mode