MXPROCESS

API : Turn one spoken video into professionally translated SRT and WebVTT captions with a localization quality register.

    This API is simple to use. You just have to follow these steps

  • Create a free account
  • Click on the link you receive by email to confirm your address
  • Generate a token with credentials
  • You can use any language to make this CURL call. (Python, PHP, Java, JavaScript...) Need help ?



    If your credentials are correct, our server will provide you with a token as a response :
    YOUR_TOKEN is valid for one hour, its duration can be extended using YOUR_REFRESH_TOKEN

  • Use the token to start the process asynchronously

  • Upload exactly one MP4, MOV, MKV, WebM, AVI or M4V video with an audio track. sourceLanguage may be Auto-detect from video; targetLanguage and audience are bounded text values. The asynchronous response returns an action id and tracking URL. Poll it until accomplished is true, then download each SRT, VTT, CSV, TXT or JSON result using the authenticated download endpoint.



    The API sends you a Json response to confirm that the process has started. take note of the "trackingUrl" field, it is the one that allows you to follow the process that you have launched. In this answer you also find the ID of your process, here in our example the ID is 643 :

  • So to follow the progress, you do a simple GET(you can make this http call every 10 seconds):


  • If the process is not yet completed, you will receive this type of response with "accomplished": false

    If the process is completed, you will receive this type of response with "accomplished": true and an actionResults field that contains the results:

    The most important field in this Json is: actionResults, and therefore to download the result:
    The format of the download URL is always as follows :
    https://mxprocess.com/api/actions/download-action-result/{id}/{fileName}
    For example, in our case : id = 643 and fileName = 35084b44a841ec597be3048df44145e8.txt.log


This documentation is not clear? (Python, PHP, Java, JavaScript...) Need help ?



Contact us This API is also available in synchronous mode : Developer API : VideoLocalizationPack