curl --request POST \ --url https://api.agntdata.dev/v1/data/x/translate \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "dest": "en", "text": "Moi je vous dis que la table ronde du #PPF @ParisPeaceForum “Navigating the #AI revolution” où il y avait notamment @ylecun (Meta) @BradSmi (Microsoft) et @ianbremmer est assurément à réécouter en replay. (Oui, cela a un peu clashé)."}'
{ "destination_language": "en", "original_language": "fr", "original_text": "Moi je vous dis que la table ronde du #PPF @ParisPeaceForum “Navigating the #AI revolution” où il y avait notamment @ylecun (Meta) @BradSmi (Microsoft) et @ianbremmer est assurément à réécouter en replay. (Oui, cela a un peu clashé).", "translated_text": "I tell you that the round table of the #PPF @ParisPeaceForum “Navigating the #AI revolution” where there was notably @ylecun (Meta) @BradSmi (Microsoft) and @ianbremmer is certainly worth listening to on replay.(Yes, it clashed a bit)."}
Translation
Translate
Return Translated Text and the source language if it wasn’t specified
POST
/
v1
/
data
/
x
/
translate
Translate
curl --request POST \ --url https://api.agntdata.dev/v1/data/x/translate \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "dest": "en", "text": "Moi je vous dis que la table ronde du #PPF @ParisPeaceForum “Navigating the #AI revolution” où il y avait notamment @ylecun (Meta) @BradSmi (Microsoft) et @ianbremmer est assurément à réécouter en replay. (Oui, cela a un peu clashé)."}'
{ "destination_language": "en", "original_language": "fr", "original_text": "Moi je vous dis que la table ronde du #PPF @ParisPeaceForum “Navigating the #AI revolution” où il y avait notamment @ylecun (Meta) @BradSmi (Microsoft) et @ianbremmer est assurément à réécouter en replay. (Oui, cela a un peu clashé).", "translated_text": "I tell you that the round table of the #PPF @ParisPeaceForum “Navigating the #AI revolution” where there was notably @ylecun (Meta) @BradSmi (Microsoft) and @ianbremmer is certainly worth listening to on replay.(Yes, it clashed a bit)."}