
intelligent-utilities/simple-translate

Translate text
Public
103
runs
Run intelligent-utilities/simple-translate with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
text |
string
|
Text to translate
|
|
target_lang |
string
|
Target language code (e.g., en, es, fr)
|
{
"type": "object",
"title": "Input",
"required": [
"text",
"target_lang"
],
"properties": {
"text": {
"type": "string",
"title": "Text",
"x-order": 0,
"description": "Text to translate"
},
"target_lang": {
"type": "string",
"title": "Target Lang",
"x-order": 1,
"description": "Target language code (e.g., en, es, fr)"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output"
}
Example API response
View prediction
('Ceci est un modèle simple qui peut renvoyer le texte donné dans la langue de '
'votre choix.')