Readme
🌍 JigsawStack Text Translation
This model wraps the JigsawStack Text Translate API
Translate text from one language to another with JigsawStack’s powerful AI Translation API. This model on Replicate wraps the /v1/ai/translate
endpoint and supports multilingual translation with automatic language detection.
🧠 What It Does
You provide one or more text strings along with the target language (and optionally the source language), and the model returns accurate translations. Perfect for localization, chat apps, content pipelines, or multilingual support bots.
🔑 Inputs
Name | Type | Required | Description |
---|---|---|---|
text |
string or list | ✅ Yes | Text to translate (single string or array of strings, max 5000 chars each) |
target_language |
string | ✅ Yes | Language code to translate the text into (e.g., es , fr , hi , ja ) |
current_language |
string | ❌ No | Language code of the source text (optional – will auto-detect if omitted) |
api_key |
string | ✅ Yes | Your JigsawStack API key |
📤 Output
- A translated version of the input text
- If a single string is provided, returns a single translated string
- If an array is provided, returns an array of translated strings