Table of Contents

Search

  1. Informatica Intelligent Cloud Services REST API
  2. Platform REST API version 2 resources
  3. Platform REST API version 3 resources
  4. Data Integration REST API
  5. File Ingestion and Replication REST API
  6. Streaming Ingestion and Replication REST API
  7. Model Serve REST API
  8. RunAJob utility
  9. ParamSetCli utility
  10. REST API codes
  11. REST API resource quick references

REST API Reference

REST API Reference

Input and response for the text translation model

Input and response for the text translation model

To generate predictions from the text translation quick start model, include the languages and input text in the request. If successful, the request returns the translated text.

Input fields

Include the following attributes in the request field of the POST request:
Attribute
Type
Description
source_language
String
Language code of the input text.
target_language
String
Language code to translate to.
input_text
String
Text to translate. Text can be a maximum of 3,000 characters.
To see the languages that the model supports and the language codes, refer to the Hugging Face documentation.

POST response

Returns the translated text as a string.

0 COMMENTS

We’d like to hear from you!