POST
/
speak

introduction

sync. introduces a simple yet powerful way to bring your text to life. our /speak endpoint utilizes state-of-the-art technology to transform any text into spoken words, offering a range of voices and languages to choose from. it’s designed for developers looking to add voice capabilities to their applications, making digital content more accessible and engaging.

discover how to seamlessly integrate spoken audio into your projects for narrations, voiceovers, interactive voice responses, and more. our api is built to be straightforward and developer-friendly, enabling you to start creating voice content in no time.

api features

natural-sounding voices

leverage our diverse set of high-quality, natural-sounding voices across various languages.

flexible integration

easily incorporate text-to-speech capabilities into your applications with minimal effort.

customization options

customize voice parameters to match your specific requirements, enhancing the listening experience.

available models

explore our diverse range of models, each designed for specific syncing needs. selecting the appropriate model ensures optimal performance and results.

built-in voices

Discover our selection of built-in voices available for the animate api, or create a custom voice by following the guide here.

quick start

authentication

before you can start using our api, you need to authenticate your requests. this is done using an x-api-key that links your requests to your account. if you don’t have an api key yet, check out the instructions here to obtain one.

create your speak request

translate your videos

now that you have an x-api-key, you can test out the /speak endpoint. to try out the speak endpoint via the playground above follow the instructions below:

Authorizations

x-api-key
string
headerrequired

Body

application/json
transcript
string
required

A string of text to be spoken by the AI

voiceId
string
default: e5361405-4967-446d-ad63-2f6ed8729c66required

The voice to use for audio generation

maxCredits
number

Maximum number of credits to use for audio generation. If job exceeds this value, the job will be aborted

webhookUrl
string

A url to send a notification to upon completion of audio generation

Response

201 - application/json
id
string
required

A unique identifier for the audio.

createdAt
string
required

The date and time the audio was created.

status
string
required

The status of the audio.

transcriptUrl
string
required

A URL to a file containing the input transcript.

voiceId
string
required

The voice ID used for the audio.

creditsDeducted
number
required

The number of credits deducted for the audio.

errorMessage
string
required

An error message if the audio failed to process.

step
string

The step of the audio.

audioUrl
string

A URL which can be used to download the audio.

webhookUrl
string

The webhook URL to notify the user when the audio is ready.