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

MXPROCESS

API : Generate trend videos and publish them to an authorized YouTube channel.

    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.
    • maxVideos — integer; required; minimum 1; maximum 4.
    • excludeSport — boolean.
    • language — string; maximum 80 characters.
    • imageSource — enum:ai,wikimedia_commons.
    • maxScriptDuration — integer; minimum 15; maximum 60.
    • privacyStatus — enum:private,unlisted,public.
    • imageInstructions — string; maximum 500 characters.
    • facebookPageId — string; maximum 128 characters.
    • facebookPublishMode — enum:video,youtube_link,text_only,double.
    • voiceName — string; maximum 120 characters.
    • categoryId — enum:1,2,10,15,17,19,20,22,23,24,25,26,27,28.
    • watermarkText — string; maximum 80 characters.
    • hideHumanFaces — boolean.
    • specificTopic — string; maximum 200 characters.
    • source — enum:google_trends,children_story,specific_topic.
    • specificTopicCategory — enum:automobile,nutrition,fitness,weight_loss_women,personal_finance,youtube,tiktok,entrepreneurship,technology,artificial_intelligence,home_garden,cooking,travel,beauty,fashion,parenting,pets,relationships,career,education,language_learning,history,science,nature,entertainment,gaming,crime.
    • chooseRandomTopic — boolean.
    • youtubeConnectionId — integer.
    • tiktokConnectionIds — integer; minimum 1.
    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 : AutomatedShortsPublisher