Audio

Create speech

Binary audio. The gateway currently labels responses audio/mpeg even for other requested encodings.

post/audio/speech

Request

  • Base URL: https://api.voidai.app/v1
  • URL: https://api.voidai.app/v1/audio/speech
  • Auth: one of:
    • HTTP bearer
    • API key in header x-api-key

Request body

modelstring required

Exact model ID from GET /models. Endpoint support and account eligibility are required.

inputstring required
voice'alloy' | 'echo' | 'fable' | 'onyx' | 'nova' | 'shimmer' required
response_format'mp3' | 'opus' | 'aac' | 'flac' | 'wav' | 'pcm'
speednumber

Response

Successful response.

Changes

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