Localization Translate API
POSThttps://api.acedata.cloud/localization/translate
This API can be used to translate all JSON files into different target locales, to support localization all over the world.
Request Headers
acceptstring
Specify the response format returned by the server.
Please select
authorizationstring
Bearer token
Request Body
inputobjectRequired parameter
Please provide the content that needs to be translated.
localestringRequired parameter
The target language area to be translated to.
extensionstringRequired parameter
The file type of the input text (such as `json` or `md`).
modelstring
The large language model used for translation is `gpt-3.5` by default.
Please select
Response
Localization translation
Allow Use General Balance
When 'Allow General Balance' is enabled, the general balance is used automatically if an app's balance is insufficient.
Kind reminder: For streaming requests, the above code may not be fully applicable. Please refer to the integration documentation for changes.
