Downloading results: when it is present in an API response, actionResultsDownloadURLs contains the authenticated URLs for downloading each generated result file.

MXPROCESS

API : أنشئ نصوص فيديوهات قصيرة موثقة من الاتجاهات الحديثة في بلد ما.

    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
  • Action parameters

    Send parameters as a JSON object. Required fields are marked with required.

    • country — string; required; maximum 2 characters.
    • periodHours — enum:24,48,72; required.
    • maxTrends — integer; required; minimum 1; maximum 10.
    • language — string; maximum 80 characters.
    • targetPlatform — enum:tiktok,youtube_shorts,instagram_reels.
    • maxScriptDuration — integer; minimum 15; maximum 60.
    If your file is accessible by URL, you can ignore the "file=@.." field and directly use the URL of your file in the "fileUrl" field

    The API sends a JSON response to confirm that the process is finished. Download the generated files with the authenticated URLs in actionResultsDownloadURLs.

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



    Contact us This API is also available in asynchronous mode : Developer API : GenerateVideoScriptsFromTrends