OpenAI audio speech

Relayed to a speech model as sent, apart from model. response_format is mp3, wav or pcm, whose length the Gateway measures; settled by that duration and the input text.

post/v1/audio/speech

Request

Headers

Idempotency-Keystring

Request body

modelstring required

A model of this kind enabled for the workspace; auto is refused.

inputstring required
voiceunknown required
instructionsstring
response_format'mp3' | 'wav' | 'pcm'
speednumber

Response

The audio file.

Changes

No recorded changes to this operation across all 1 revision of this API.