Get approximate duration

You can get approximate duration of your speech before rendering

Provider names are lowercase, and the body is validated strictly — an unknown field, or a capitalised provider such as Azure, is rejected with 400.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Use this endpoint to know the duration of your speech generated by a specific voice.

This can be used for:

  • Make sure your video slide speech fits the duration limits. (For most avatars it's 60 seconds)
  • Know the duration of the whole video before rendering.
Body Params

The body is validated strictly: any field not listed here returns 400, as does a provider outside the enum.

string
required

Voice ID. Can be obtained from "Languages/Voices list" API endpoint from "voice" param.

string
enum
required

TTS provider that owns voice. The two must match, and the value is lowercase — Azure is rejected.

Allowed:
string
required
Defaults to English

Language name. Can be obtained from "Languages/Voices list" API endpoint in the object of root array (Language object) as "name" param.

string
required

Text from which to get voice duration

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json