Get approximate duration

You can get approximate duration of your speech before rendering

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
string
required

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

string
enum
required

Voice provider. Can be obtained from "Languages/Voices list" API endpoint from "voiceProvider" param.

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
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json