Skip to main content
POST
Text To Speech

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model_id
string
default:""

Hugging Face model ID used for text to speech generation.

text
string
default:""

Text input for speech generation.

description
string
default:A male speaker delivers a slightly expressive and animated speech with a moderate speed and pitch.

Description of speaker to steer text to speech generation.

Response

Successful Response

Response model for audio generation.

audio
MediaURL · object
required

The generated audio.

Last modified on May 18, 2026