Document Translator passing bytes and not URIs

Dascanio, Nicholas 0 Reputation points
2023-10-10T12:12:33.3266667+00:00

Hi all,

I wanted to know whether i can use the Document Translation API to translated documents by passing them directly as bytes stream. I know that one can make the POST request (start translation job) by passing the container or the blob directly, but I would like to use the API without passing through the Storage Account.

Is it possibile?

Thank you

Azure Translator
Azure Translator
An Azure service to easily conduct machine translation with a simple REST API call.
348 questions
{count} votes

1 answer

Sort by: Most helpful
  1. YutongTie-MSFT 46,996 Reputation points
    2023-10-10T22:06:52.5433333+00:00

    Hello @Dascanio, Nicholas

    Thanks for reaching out to us, I am sorry the storage account is necessary for both source container and target container as the document described.

    • An Azure Blob Storage account. You also need to create containers in your Azure Blob Storage account for your source and target files:
      • Source container. This container is where you upload your files for translation (required).
        • Target container. This container is where your translated files are stored (required).

    Please share your scenario so that we can forward it to product team as product feedback for further consideration. Please let me know if you need more help.

    Regards,

    Yutong

    -Please kindy accept the answer and vote 'Yes' if you feel helpful to support the community, thanks a lot.

    0 comments No comments