Powered by Shisa.ai LLMs
Translation API
Best-in-class Japanese-English LLM translation that understands context, nuance, and cultural subtleties. Built on our proprietary Shisa.ai models trained specifically for Japanese-English translation.
Why Choose Our Translation API?
Enterprise-grade translation powered by cutting-edge LLM technology
Context-Aware Translation
Our LLM understands context, idioms, and cultural nuances for natural translations
Lightning Fast
Process millions of characters per second with sub-second response times
Enterprise Security
Your data is encrypted in transit and at rest, with SOC 2 compliance
Domain Customization
Fine-tune on your industry terminology and style for perfect brand alignment
Document Preservation
Maintains formatting, structure, and layout in translated documents
Real-time Translation
Stream translations for chat, live content, and interactive applications
Try It Yourself
Experience our Translation API with this interactive demo. Translate between Japanese, English, and Chinese instantly.
🌐 Translation Demo
Translate between Japanese and English
0/500
Translation will appear here
💡 💡 Ctrl+Enter to translate quickly
Simple Integration
Get started in minutes with our developer-friendly API
Quick Start with cURL
curl -X POST "https://api.shisa.ai/translate/" \
-H "Authorization: shsk:YOUR_API_KEY" \
-F "text=今日は素晴らしい天気ですね。" \
-F "source_lang=ja" \
-F "target_lang=en" \
-F "stream=false"Python Integration
import requests
def translate_text(text, source_lang="ja", target_lang="en"):
response = requests.post(
"https://api.shisa.ai/translate/",
headers={
"Authorization": "shsk:YOUR_API_KEY"
},
data={
"text": text,
"source_lang": source_lang,
"target_lang": target_lang,
"stream": "false"
}
)
return response.json()
# Example usage
result = translate_text("ビジネスの成功をお祈りします。")
print(result["choices"][0]["message"]["content"])JavaScript/TypeScript Integration
const translateText = async (text, sourceLang = 'ja', targetLang = 'en') => {
const formData = new FormData();
formData.append('text', text);
formData.append('source_lang', sourceLang);
formData.append('target_lang', targetLang);
formData.append('stream', 'false');
const response = await fetch('https://api.shisa.ai/translate/', {
method: 'POST',
headers: {
'Authorization': 'shsk:YOUR_API_KEY',
},
body: formData,
});
const data = await response.json();
return data.choices[0].message.content;
};
// Example usage
const translation = await translateText('日本とアメリカの架け橋になる');
console.log(translation); // Returns translated textResponse Format
{
"id": "trans_20f537a6-da14-4c98-8ee3-063319c45072",
"object": "translation.completion",
"created": 1768299459,
"model": "shisa-ai/chotto",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "お腹が空いた。"
},
"finish_reason": "stop"
}
],
"transcription": "I am hungry",
"source_lang": "en",
"target_lang": "ja",
"balance": {
"free": 1000,
"premium": 0
},
"usage": {
"prompt_tokens": 3,
"completion_tokens": 1,
"total_tokens": 4
}
}Streaming Response
curl -X POST "https://api.shisa.ai/translate/" \
-H "Authorization: shsk:YOUR_API_KEY" \
-F "text=I am hungry" \
-F "source_lang=en" \
-F "target_lang=ja" \
-F "stream=true"With streaming enabled, responses are delivered as Server-Sent Events (SSE) for real-time translation:
data: {"id": "trans_446d7397-...", "object": "translation.completion.chunk", "choices": [{"delta": {"content": ""}, "index": 0}]}
data: {"id": "trans_fe190f5d-...", "object": "translation.completion.chunk", "choices": [{"delta": {"content": "お"}, "index": 0}]}
data: {"id": "trans_71bbdcec-...", "object": "translation.completion.chunk", "choices": [{"delta": {"content": "腹が"}, "index": 0}]}
data: {"id": "trans_7c2d47d7-...", "object": "translation.completion.chunk", "choices": [{"delta": {"content": "空いた"}, "index": 0}]}
data: {"id": "trans_99e10e01-...", "object": "translation.completion.chunk", "choices": [{"delta": {"content": "。"}, "index": 0}]}
data: {"id": "trans_0a0396bd-...", "choices": [{"delta": {}, "index": 0, "finish_reason": "stop"}], "usage": {...}}
data: [DONE]Trusted Use Cases
See how businesses leverage our Translation API
Content Localization
Translate marketing materials, product descriptions, and website content while maintaining brand voice and cultural relevance.
- E-commerce product pages
- Marketing campaigns
- Blog articles & SEO content
- Mobile app interfaces
Customer Support
Enable multilingual customer service with real-time translation for chat, email, and ticket systems.
- Live chat translation
- Email support automation
- Knowledge base articles
- FAQ translations
Documentation & Training
Translate technical documentation, training materials, and internal communications accurately.
- API documentation
- User manuals
- Training materials
- Internal communications
Ready to Break Language Barriers?
Start translating with our powerful API today. Free tier available with 500K characters per month.