GET
/
translate
/
cost

introduction

before submitting a translation job, you can use the /translate/cost endpoint to get an estimate of the cost. this preliminary check is designed to set clear expectations and assist in efficient project management.

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.

estimate your translation cost

with your x-api-key ready, you can estimate the cost for your translation job. to estimate the cost via the playground above follow the instructions below:

the /translate/cost endpoint is a valuable tool for planning your translation projects. an upfront understanding of potential costs enables better credit management and project planning, ensuring your translation efforts proceed without a hitch.

Authorizations

x-api-key
string
headerrequired

Query Parameters

videoUrl
string
required

A url to the video file to be synchronized -- must be publicly accessible

Response

200 - application/json
credits
number
required

The cost of the translation job.

videoLength
number
required

The length of the translated and synchronized video in seconds.