v19

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-30101814.4 KB

Generate audio

post/v1/speech

Headers

X-Data-Retentionboolean

Request body

languagestring

This is optional; an ISO 639 language code to be used for the generation.

textstring required

The text for which you want to generate audio.

voice'sade' | 'segun' | 'femi' | 'funmi' | 'amina' | 'aliyu' | 'hasan' | 'zainab' | 'john' | 'jude' | 'lina' | 'lucy' | 'henry' | 'kani' | 'remi' | 'kingsley' | 'ngozi' | 'amara' | 'obinna' | 'ebuka' | 'hana' | 'haile' | 'tena' | 'tesfaye' | 'ufoma' | 'tega' | 'justice' | 'boma' required
speednumber float

The speed of the voice, defaults to 1.0

format'mp3' | 'wav' | 'ogg_opus' | 'webm_opus' | 'mulaw' | 'alaw' | 'flac' | 'pcm_s16le'

Response

Successful Response