You're looking at a specific version of this model. Jump to the model overview.
jigsawstack /text-translate:454df4c4
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 |
None
|
|
The text to translate. Can be a single string or an array of strings. Maximum text length is 5000 characters per string.
|
target_language |
string
|
|
The language code of the target language to translate to.
|
current_language |
string
|
The language code of the source text. If not provided, the API will attempt to auto-detect the language.
|
|
api_key |
string
|
🔐 Your JigsawStack API Key (required)
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'anyOf': [{'type': 'string'}, {'items': {'type': 'string'}, 'type': 'array'}],
'title': 'Output'}