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

voiceId
string

Voice ID for ElevenLabs (default: pNInz6obpgDQGcFmaJgB)

speed
number

Playback speed (default: 1.0)

model
string

Legacy alias for modelId. Defaults to configured speech model (Eleven v3 when unset).

modelId
string

ElevenLabs speech model; takes precedence over model. Uses the same generation and model-based pricing as create_speech.

companyId
string

Company ID

Response

Created audio

Audio creation response

audioId
string

Created audio ID

audioUrl
string

Permanent public audio URL

duration
number

Measured audio duration in seconds

model
string

Model used for generation

creditsCharged
number

Credits charged for this generation

format
string

Audio format

msg
string

Success message