Skip to main content
POST
Create audio from text using text-to-speech.

Authorizations

X-API-Key
string
header
required

Company API key - scoped to a specific company. Generate from the Integrations page in your dashboard.

Body

application/json

Audio creation request

Request body for creating audio

text
string
required

Text to convert to speech

companyId
string

Company ID

model
string

ElevenLabs model (default: eleven_flash_v2_5)

speed
number

Playback speed (default: 1.0)

voiceId
string

Voice ID for ElevenLabs (default: pNInz6obpgDQGcFmaJgB)

Response

Created audio

Audio creation response

audioId
string

Created audio ID

msg
string

Success message