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.

    • sourceFileId — file.
    • imageSource — enum:ai,wikimedia_commons,user_images,ai_series_characters.
    • language — enum:en,fr,es,de,hi,zh,ar.
    • voiceGender — enum:male,female.
    • voiceName — string; maximum 120 characters.
    • watermarkText — string; maximum 80 characters.
    • longFormatVideo — boolean.
    • initialSceneFileId — file.
    • finalSceneFileId — file.
    • userImage1FileId — file.
    • userImage2FileId — file.
    • userImage3FileId — file.
    • userImage4FileId — file.
    • userImage5FileId — file.
    • automaticScript — boolean.
    • automaticScriptTopic — string; maximum 300 characters.
    • automaticScriptCountry — enum:FR,US,DE,ES,GB,EG,IN,CN,CA.
    • automaticScriptExcludeSport — boolean.
    • aiSeriesEpisodeId — 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 : GenerateAiVideo